共用方式為


IVirtualMachineExtension Interface

Definition

An immutable client-side representation of an Azure virtual machine extension.

public interface IVirtualMachineExtension : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineExtensionBase, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IChildResource<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachine>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IExternalChildResource<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineExtension,Microsoft.Azure.Management.Compute.Fluent.IVirtualMachine>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineExtensionInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasParent<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachine>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineExtension>
type IVirtualMachineExtension = interface
    interface IVirtualMachineExtensionBase
    interface IHasInner<VirtualMachineExtensionInner>
    interface IExternalChildResource<IVirtualMachineExtension, IVirtualMachine>
    interface IChildResource<IVirtualMachine>
    interface IHasName
    interface IIndexable
    interface IHasParent<IVirtualMachine>
    interface IRefreshable<IVirtualMachineExtension>
Public Interface IVirtualMachineExtension
Implements IChildResource(Of IVirtualMachine), IExternalChildResource(Of IVirtualMachineExtension, IVirtualMachine), IHasInner(Of VirtualMachineExtensionInner), IHasParent(Of IVirtualMachine), IRefreshable(Of IVirtualMachineExtension), IVirtualMachineExtensionBase
Implements

Properties

AutoUpgradeMinorVersionEnabled

Gets true if this extension is configured to upgrade automatically when a new minor version of the extension image that this extension based on is published.

(Inherited from IVirtualMachineExtensionBase)
Id (Inherited from IExternalChildResource<FluentModelT,IParentT>)
Inner (Inherited from IHasInner<T>)
Key (Inherited from IIndexable)
Name

Gets the name of the resource

(Inherited from IHasName)
Parent

Gets the parent of this child resource.

(Inherited from IHasParent<ParentT>)
ProvisioningState

Gets the provisioning state of the virtual machine extension.

(Inherited from IVirtualMachineExtensionBase)
PublicSettings

Gets the public settings of the virtual machine extension as key value pairs.

(Inherited from IVirtualMachineExtensionBase)
PublicSettingsAsJsonString

Gets the public settings of the virtual machine extension as a JSON string.

(Inherited from IVirtualMachineExtensionBase)
PublisherName

Gets the publisher name of the virtual machine extension image this extension is created from.

(Inherited from IVirtualMachineExtensionBase)
Tags

Gets the tags for this virtual machine extension.

(Inherited from IVirtualMachineExtensionBase)
TypeName

Gets the type name of the virtual machine extension image this extension is created from.

(Inherited from IVirtualMachineExtensionBase)
VersionName

Gets the version name of the virtual machine extension image this extension is created from.

(Inherited from IVirtualMachineExtensionBase)

Methods

GetInstanceView()
GetInstanceViewAsync(CancellationToken)
Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)

Applies to