VirtualMachineExtension Class
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.
Describes a Virtual Machine Extension.
[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineExtension : Microsoft.Azure.Management.Compute.Models.ResourceWithOptionalLocation
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualMachineExtension = class
inherit ResourceWithOptionalLocation
Public Class VirtualMachineExtension
Inherits ResourceWithOptionalLocation
- Inheritance
- Attributes
Constructors
VirtualMachineExtension() |
Initializes a new instance of the VirtualMachineExtension class. |
VirtualMachineExtension(String, String, String, String, IDictionary<String, String>, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Object, Object, String, VirtualMachineExtensionInstanceView, Nullable<Boolean>, KeyVaultSecretReference, IList<String>) |
Initializes a new instance of the VirtualMachineExtension class. |
Properties
AutoUpgradeMinorVersion |
Gets or sets 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 |
Gets or sets indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. |
ForceUpdateTag |
Gets or sets how the extension handler should be forced to update even if the extension configuration has not changed. |
Id |
Gets resource Id (Inherited from ResourceWithOptionalLocation) |
InstanceView |
Gets or sets the virtual machine extension instance view. |
Location |
Gets or sets resource location (Inherited from ResourceWithOptionalLocation) |
Name |
Gets resource name (Inherited from ResourceWithOptionalLocation) |
ProtectedSettings |
Gets or sets the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. |
ProtectedSettingsFromKeyVault |
Gets or sets the extensions protected settings that are passed by reference, and consumed from key vault |
ProvisionAfterExtensions |
Gets or sets collection of extension names after which this extension needs to be provisioned. |
ProvisioningState |
Gets the provisioning state, which only appears in the response. |
Publisher |
Gets or sets the name of the extension handler publisher. |
Settings |
Gets or sets json formatted public settings for the extension. |
SuppressFailures |
Gets or sets 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. |
Tags |
Gets or sets resource tags (Inherited from ResourceWithOptionalLocation) |
Type |
Gets resource type (Inherited from ResourceWithOptionalLocation) |
TypeHandlerVersion |
Gets or sets specifies the version of the script handler. |
VirtualMachineExtensionType |
Gets or sets specifies the type of the extension; an example is "CustomScriptExtension". |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기