snowflake.core.service.Service

class snowflake.core.service.Service(name: str, compute_pool: str, min_instances: int, max_instances: int, database_name: str | None = None, schema_name: str | None = None, owner: str | None = None, dns_name: str | None = None, public_endpoints: str | None = None, spec: ServiceSpecificationModel | None = None)

Bases: object

Methods

__init__(name: str, compute_pool: str, min_instances: int, max_instances: int, database_name: str | None = None, schema_name: str | None = None, owner: str | None = None, dns_name: str | None = None, public_endpoints: str | None = None, spec: ServiceSpecificationModel | None = None)
classmethod from_dict(obj: dict) ServiceModel

Create an instance of Service from a dict

to_dict()

Returns the dictionary representation of the model using alias