ArmComputeModelFactory.VirtualMachineScaleSetVmExtensionPatch Method

Definition

Initializes a new instance of VirtualMachineScaleSetVmExtensionPatch.

public static Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmExtensionPatch VirtualMachineScaleSetVmExtensionPatch (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, bool? suppressFailures = default, Azure.ResourceManager.Compute.Models.KeyVaultSecretReference keyVaultProtectedSettings = default);
static member VirtualMachineScaleSetVmExtensionPatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Nullable<bool> * Nullable<bool> * BinaryData * BinaryData * Nullable<bool> * Azure.ResourceManager.Compute.Models.KeyVaultSecretReference -> Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmExtensionPatch
Public Shared Function VirtualMachineScaleSetVmExtensionPatch (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 suppressFailures As Nullable(Of Boolean) = Nothing, Optional keyVaultProtectedSettings As KeyVaultSecretReference = Nothing) As VirtualMachineScaleSetVmExtensionPatch

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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.

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 VirtualMachineScaleSetVmExtensionPatch instance for mocking.

Applies to