Udostępnij za pośrednictwem


CloudServiceExtensionProperties Constructors

Definition

Overloads

CloudServiceExtensionProperties()

Initializes a new instance of the CloudServiceExtensionProperties class.

CloudServiceExtensionProperties(String, String, String, Nullable<Boolean>, Object, Object, CloudServiceVaultAndSecretReference, String, String, IList<String>)

Initializes a new instance of the CloudServiceExtensionProperties class.

CloudServiceExtensionProperties()

Initializes a new instance of the CloudServiceExtensionProperties class.

public CloudServiceExtensionProperties ();
Public Sub New ()

Applies to

CloudServiceExtensionProperties(String, String, String, Nullable<Boolean>, Object, Object, CloudServiceVaultAndSecretReference, String, String, IList<String>)

Initializes a new instance of the CloudServiceExtensionProperties class.

public CloudServiceExtensionProperties (string publisher = default, string type = default, string typeHandlerVersion = default, bool? autoUpgradeMinorVersion = default, object settings = default, object protectedSettings = default, Microsoft.Azure.Management.Compute.Models.CloudServiceVaultAndSecretReference protectedSettingsFromKeyVault = default, string forceUpdateTag = default, string provisioningState = default, System.Collections.Generic.IList<string> rolesAppliedTo = default);
new Microsoft.Azure.Management.Compute.Models.CloudServiceExtensionProperties : string * string * string * Nullable<bool> * obj * obj * Microsoft.Azure.Management.Compute.Models.CloudServiceVaultAndSecretReference * string * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Compute.Models.CloudServiceExtensionProperties
Public Sub New (Optional publisher As String = Nothing, Optional type As String = Nothing, Optional typeHandlerVersion As String = Nothing, Optional autoUpgradeMinorVersion As Nullable(Of Boolean) = Nothing, Optional settings As Object = Nothing, Optional protectedSettings As Object = Nothing, Optional protectedSettingsFromKeyVault As CloudServiceVaultAndSecretReference = Nothing, Optional forceUpdateTag As String = Nothing, Optional provisioningState As String = Nothing, Optional rolesAppliedTo As IList(Of String) = Nothing)

Parameters

publisher
String

The name of the extension handler publisher.

type
String

Specifies the type of the extension.

typeHandlerVersion
String

Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.

autoUpgradeMinorVersion
Nullable<Boolean>

Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.

settings
Object

Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.

protectedSettings
Object

Protected settings for the extension which are encrypted before sent to the role instance.

protectedSettingsFromKeyVault
CloudServiceVaultAndSecretReference
forceUpdateTag
String

Tag to force apply the provided public and protected settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not

provisioningState
String

The provisioning state, which only appears in the response.

rolesAppliedTo
IList<String>

Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.

Applies to