CloudServiceProperties Class

Cloud service properties.

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

Inheritance
CloudServiceProperties

Constructor

CloudServiceProperties(*, package_url: Optional[str] = None, configuration: Optional[str] = None, configuration_url: Optional[str] = None, start_cloud_service: Optional[bool] = None, upgrade_mode: Optional[Union[str, azure.mgmt.compute.v2020_10_01_preview.models._compute_management_client_enums.CloudServiceUpgradeMode]] = None, role_profile: Optional[azure.mgmt.compute.v2020_10_01_preview.models._models_py3.CloudServiceRoleProfile] = None, os_profile: Optional[azure.mgmt.compute.v2020_10_01_preview.models._models_py3.CloudServiceOsProfile] = None, network_profile: Optional[azure.mgmt.compute.v2020_10_01_preview.models._models_py3.CloudServiceNetworkProfile] = None, extension_profile: Optional[azure.mgmt.compute.v2020_10_01_preview.models._models_py3.CloudServiceExtensionProfile] = None, **kwargs)

Parameters

package_url
str
Required

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
Required

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

configuration_url
str
Required

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
bool
Required

(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.

upgrade_mode
str or CloudServiceUpgradeMode
Required

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. Possible values include: "Auto", "Manual", "Simultaneous".

role_profile
CloudServiceRoleProfile
Required

Describes the role profile for the cloud service.

os_profile
CloudServiceOsProfile
Required

Describes the OS profile for the cloud service.

network_profile
CloudServiceNetworkProfile
Required

Network Profile for the cloud service.

extension_profile
CloudServiceExtensionProfile
Required

Describes a cloud service extension profile.

Variables

provisioning_state
str

The provisioning state, which only appears in the response.

unique_id
str

The unique identifier for the cloud service.