ArmComputeModelFactory.VirtualMachineScaleSetExtensionData Method

Definition

Initializes a new instance of VirtualMachineScaleSetExtensionData.

public static Azure.ResourceManager.Compute.VirtualMachineScaleSetExtensionData VirtualMachineScaleSetExtensionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string forceUpdateTag = default, string publisher = default, string extensionType = default, string typeHandlerVersion = default, bool? autoUpgradeMinorVersion = default, bool? enableAutomaticUpgrade = default, BinaryData settings = default, BinaryData protectedSettings = default, string provisioningState = default, System.Collections.Generic.IEnumerable<string> provisionAfterExtensions = default, bool? suppressFailures = default, Azure.ResourceManager.Compute.Models.KeyVaultSecretReference keyVaultProtectedSettings = default);
static member VirtualMachineScaleSetExtensionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Nullable<bool> * Nullable<bool> * BinaryData * BinaryData * string * seq<string> * Nullable<bool> * Azure.ResourceManager.Compute.Models.KeyVaultSecretReference -> Azure.ResourceManager.Compute.VirtualMachineScaleSetExtensionData
Public Shared Function VirtualMachineScaleSetExtensionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional forceUpdateTag As String = Nothing, Optional publisher As String = Nothing, Optional extensionType As String = Nothing, Optional typeHandlerVersion As String = Nothing, Optional autoUpgradeMinorVersion As Nullable(Of Boolean) = Nothing, Optional enableAutomaticUpgrade As Nullable(Of Boolean) = Nothing, Optional settings As BinaryData = Nothing, Optional protectedSettings As BinaryData = Nothing, Optional provisioningState As String = Nothing, Optional provisionAfterExtensions As IEnumerable(Of String) = Nothing, Optional suppressFailures As Nullable(Of Boolean) = Nothing, Optional keyVaultProtectedSettings As KeyVaultSecretReference = Nothing) As VirtualMachineScaleSetExtensionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

forceUpdateTag
String

If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.

publisher
String

The name of the extension handler publisher.

extensionType
String

Specifies the type of the extension; an example is "CustomScriptExtension".

typeHandlerVersion
String

Specifies the version of the script handler.

autoUpgradeMinorVersion
Nullable<Boolean>

Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.

enableAutomaticUpgrade
Nullable<Boolean>

Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.

settings
BinaryData

Json formatted public settings for the extension.

protectedSettings
BinaryData

The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.

provisioningState
String

The provisioning state, which only appears in the response.

provisionAfterExtensions
IEnumerable<String>

Collection of extension names after which this extension needs to be provisioned.

suppressFailures
Nullable<Boolean>

Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.

keyVaultProtectedSettings
KeyVaultSecretReference

The extensions protected settings that are passed by reference, and consumed from key vault.

Returns

A new VirtualMachineScaleSetExtensionData instance for mocking.

Applies to