CloudServiceProperties Class

Cloud service properties.

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

Inheritance
azure.mgmt.compute._serialization.Model
CloudServiceProperties

Constructor

CloudServiceProperties(*, package_url: str | None = None, configuration: str | None = None, configuration_url: str | None = None, start_cloud_service: bool | None = None, allow_model_override: bool | None = None, upgrade_mode: str | _models.CloudServiceUpgradeMode | None = None, role_profile: _models.CloudServiceRoleProfile | None = None, os_profile: _models.CloudServiceOsProfile | None = None, network_profile: _models.CloudServiceNetworkProfile | None = None, extension_profile: _models.CloudServiceExtensionProfile | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
package_url
str

Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.

configuration
str

Specifies the XML service configuration (.cscfg) for the cloud service.

configuration_url
str

Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.

start_cloud_service

(Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.

allow_model_override

(Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively. The default value is false.

upgrade_mode

Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are <br />``<br />Auto<br />``<br />Manual <br />``<br />Simultaneous<br />``<br /> If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence. Known values are: "Auto", "Manual", and "Simultaneous".

role_profile

Describes the role profile for the cloud service.

os_profile

Describes the OS profile for the cloud service.

network_profile

Network Profile for the cloud service.

extension_profile

Describes a cloud service extension profile.

Variables

Name Description
package_url
str

Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.

configuration
str

Specifies the XML service configuration (.cscfg) for the cloud service.

configuration_url
str

Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.

start_cloud_service

(Optional) Indicates whether to start the cloud service immediately after it is created. The default value is true. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.

allow_model_override

(Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively. The default value is false.

upgrade_mode

Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed. Updates can be initiated manually in each update domain or initiated automatically in all update domains. Possible Values are <br />``<br />Auto<br />``<br />Manual <br />``<br />Simultaneous<br />``<br /> If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update. If set to Auto, the update is automatically applied to each update domain in sequence. Known values are: "Auto", "Manual", and "Simultaneous".

role_profile

Describes the role profile for the cloud service.

os_profile

Describes the OS profile for the cloud service.

network_profile

Network Profile for the cloud service.

extension_profile

Describes a cloud service extension profile.

provisioning_state
str

The provisioning state, which only appears in the response.

unique_id
str

The unique identifier for the cloud service.