Compartir a través de


CloudServiceProperties Class

Definition

Cloud service properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.CloudServicePropertiesTypeConverter))]
public class CloudServiceProperties : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.ICloudServiceProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.CloudServicePropertiesTypeConverter))>]
type CloudServiceProperties = class
    interface ICloudServiceProperties
    interface IJsonSerializable
Public Class CloudServiceProperties
Implements ICloudServiceProperties
Inheritance
CloudServiceProperties
Attributes
Implements

Constructors

CloudServiceProperties()

Creates an new CloudServiceProperties instance.

Properties

AllowModelOverride

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

Configuration

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

ConfigurationUrl

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.

ExtensionProfile

Describes a cloud service extension profile.

NetworkProfile

Network Profile for the cloud service.

OSProfile

Describes the OS profile for the cloud service.

PackageUrl

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.

ProvisioningState

The provisioning state, which only appears in the response.

RoleProfile

Describes the role profile for the cloud service.

StartCloudService

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

UniqueId

The unique identifier for the cloud service.

UpgradeMode

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

Auto

Manual

Simultaneous

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CloudServiceProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CloudServiceProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.ICloudServiceProperties.

FromJsonString(String)

Creates a new instance of CloudServiceProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CloudServiceProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to