ServiceResourceProperties Class

Services response resource.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: DataTransferServiceResourceProperties, GraphAPIComputeServiceResourceProperties, MaterializedViewsBuilderServiceResourceProperties, SqlDedicatedGatewayServiceResourceProperties

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.cosmosdb._serialization.Model
ServiceResourceProperties

Constructor

ServiceResourceProperties(*, additional_properties: Dict[str, Any] | None = None, instance_size: str | _models.ServiceSize | None = None, instance_count: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
additional_properties

Unmatched properties from the message are deserialized to this collection.

instance_size

Instance type for the service. Known values are: "Cosmos.D4s", "Cosmos.D8s", and "Cosmos.D16s".

instance_count
int

Instance count for the service.

Variables

Name Description
additional_properties

Unmatched properties from the message are deserialized to this collection.

creation_time

Time of the last state change (ISO-8601 format).

instance_size

Instance type for the service. Known values are: "Cosmos.D4s", "Cosmos.D8s", and "Cosmos.D16s".

instance_count
int

Instance count for the service.

service_type

ServiceType for the service. Required. Known values are: "SqlDedicatedGateway", "DataTransfer", "GraphAPICompute", and "MaterializedViewsBuilder".

status

Describes the status of a service. Known values are: "Creating", "Running", "Updating", "Deleting", "Error", and "Stopped".