Share via


CloudServiceProperties Constructors

Definition

Overloads

CloudServiceProperties()

Initializes a new instance of the CloudServiceProperties class.

CloudServiceProperties(String, String, String, Nullable<Boolean>, Nullable<Boolean>, String, CloudServiceRoleProfile, CloudServiceOsProfile, CloudServiceNetworkProfile, CloudServiceExtensionProfile, String, String)

Initializes a new instance of the CloudServiceProperties class.

CloudServiceProperties()

Initializes a new instance of the CloudServiceProperties class.

public CloudServiceProperties ();
Public Sub New ()

Applies to

CloudServiceProperties(String, String, String, Nullable<Boolean>, Nullable<Boolean>, String, CloudServiceRoleProfile, CloudServiceOsProfile, CloudServiceNetworkProfile, CloudServiceExtensionProfile, String, String)

Initializes a new instance of the CloudServiceProperties class.

public CloudServiceProperties (string packageUrl = default, string configuration = default, string configurationUrl = default, bool? startCloudService = default, bool? allowModelOverride = default, string upgradeMode = default, Microsoft.Azure.Management.Compute.Models.CloudServiceRoleProfile roleProfile = default, Microsoft.Azure.Management.Compute.Models.CloudServiceOsProfile osProfile = default, Microsoft.Azure.Management.Compute.Models.CloudServiceNetworkProfile networkProfile = default, Microsoft.Azure.Management.Compute.Models.CloudServiceExtensionProfile extensionProfile = default, string provisioningState = default, string uniqueId = default);
new Microsoft.Azure.Management.Compute.Models.CloudServiceProperties : string * string * string * Nullable<bool> * Nullable<bool> * string * Microsoft.Azure.Management.Compute.Models.CloudServiceRoleProfile * Microsoft.Azure.Management.Compute.Models.CloudServiceOsProfile * Microsoft.Azure.Management.Compute.Models.CloudServiceNetworkProfile * Microsoft.Azure.Management.Compute.Models.CloudServiceExtensionProfile * string * string -> Microsoft.Azure.Management.Compute.Models.CloudServiceProperties
Public Sub New (Optional packageUrl As String = Nothing, Optional configuration As String = Nothing, Optional configurationUrl As String = Nothing, Optional startCloudService As Nullable(Of Boolean) = Nothing, Optional allowModelOverride As Nullable(Of Boolean) = Nothing, Optional upgradeMode As String = Nothing, Optional roleProfile As CloudServiceRoleProfile = Nothing, Optional osProfile As CloudServiceOsProfile = Nothing, Optional networkProfile As CloudServiceNetworkProfile = Nothing, Optional extensionProfile As CloudServiceExtensionProfile = Nothing, Optional provisioningState As String = Nothing, Optional uniqueId As String = Nothing)

Parameters

packageUrl
String

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
String

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

configurationUrl
String

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.

startCloudService
Nullable<Boolean>

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

allowModelOverride
Nullable<Boolean>

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

upgradeMode
String

Possible values include: 'Auto', 'Manual', 'Simultaneous'

extensionProfile
CloudServiceExtensionProfile
provisioningState
String

The provisioning state, which only appears in the response.

uniqueId
String

The unique identifier for the cloud service.

Applies to