ArmComputeModelFactory.VirtualMachineExtensionData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of VirtualMachineExtensionData.
public static Azure.ResourceManager.Compute.VirtualMachineExtensionData VirtualMachineExtensionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = 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 VirtualMachineExtensionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * 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.VirtualMachineExtensionData
Public Shared Function VirtualMachineExtensionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As 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 VirtualMachineExtensionData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- 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.
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.
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.
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 VirtualMachineExtensionData instance for mocking.