Delen via


ArmComputeModelFactory.VirtualMachineScaleSetVmExtensionData Method

Definition

Initializes a new instance of VirtualMachineScaleSetVmExtensionData.

public static Azure.ResourceManager.Compute.VirtualMachineScaleSetVmExtensionData VirtualMachineScaleSetVmExtensionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = 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, Azure.ResourceManager.Compute.Models.VirtualMachineExtensionInstanceView instanceView = default, bool? suppressFailures = default, Azure.ResourceManager.Compute.Models.KeyVaultSecretReference keyVaultProtectedSettings = default, System.Collections.Generic.IEnumerable<string> provisionAfterExtensions = default);
static member VirtualMachineScaleSetVmExtensionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * string * string * string * string * Nullable<bool> * Nullable<bool> * BinaryData * BinaryData * string * Azure.ResourceManager.Compute.Models.VirtualMachineExtensionInstanceView * Nullable<bool> * Azure.ResourceManager.Compute.Models.KeyVaultSecretReference * seq<string> -> Azure.ResourceManager.Compute.VirtualMachineScaleSetVmExtensionData
Public Shared Function VirtualMachineScaleSetVmExtensionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = 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 instanceView As VirtualMachineExtensionInstanceView = Nothing, Optional suppressFailures As Nullable(Of Boolean) = Nothing, Optional keyVaultProtectedSettings As KeyVaultSecretReference = Nothing, Optional provisionAfterExtensions As IEnumerable(Of String) = Nothing) As VirtualMachineScaleSetVmExtensionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

The location of the extension.

forceUpdateTag
String

How the extension handler should 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.

instanceView
VirtualMachineExtensionInstanceView

The virtual machine extension instance view.

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.

provisionAfterExtensions
IEnumerable<String>

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

Returns

A new VirtualMachineScaleSetVmExtensionData instance for mocking.

Applies to