Aracılığıyla paylaş


VirtualMachineExtensions interface

Interface representing a VirtualMachineExtensions.

Methods

beginCreateOrUpdate(string, string, string, VirtualMachineExtension, VirtualMachineExtensionsCreateOrUpdateOptionalParams)

The operation to create or update the extension.

beginCreateOrUpdateAndWait(string, string, string, VirtualMachineExtension, VirtualMachineExtensionsCreateOrUpdateOptionalParams)

The operation to create or update the extension.

beginDelete(string, string, string, VirtualMachineExtensionsDeleteOptionalParams)

The operation to delete the extension.

beginDeleteAndWait(string, string, string, VirtualMachineExtensionsDeleteOptionalParams)

The operation to delete the extension.

beginUpdate(string, string, string, VirtualMachineExtensionUpdate, VirtualMachineExtensionsUpdateOptionalParams)

The operation to update the extension.

beginUpdateAndWait(string, string, string, VirtualMachineExtensionUpdate, VirtualMachineExtensionsUpdateOptionalParams)

The operation to update the extension.

get(string, string, string, VirtualMachineExtensionsGetOptionalParams)

The operation to get the extension.

list(string, string, VirtualMachineExtensionsListOptionalParams)

The operation to get all extensions of a Virtual Machine.

Method Details

beginCreateOrUpdate(string, string, string, VirtualMachineExtension, VirtualMachineExtensionsCreateOrUpdateOptionalParams)

The operation to create or update the extension.

function beginCreateOrUpdate(resourceGroupName: string, vmName: string, vmExtensionName: string, extensionParameters: VirtualMachineExtension, options?: VirtualMachineExtensionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineExtension>, VirtualMachineExtension>>

Parameters

resourceGroupName

string

The name of the resource group.

vmName

string

The name of the virtual machine where the extension should be created or updated.

vmExtensionName

string

The name of the virtual machine extension.

extensionParameters
VirtualMachineExtension

Parameters supplied to the Create Virtual Machine Extension operation.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineExtension>, VirtualMachineExtension>>

beginCreateOrUpdateAndWait(string, string, string, VirtualMachineExtension, VirtualMachineExtensionsCreateOrUpdateOptionalParams)

The operation to create or update the extension.

function beginCreateOrUpdateAndWait(resourceGroupName: string, vmName: string, vmExtensionName: string, extensionParameters: VirtualMachineExtension, options?: VirtualMachineExtensionsCreateOrUpdateOptionalParams): Promise<VirtualMachineExtension>

Parameters

resourceGroupName

string

The name of the resource group.

vmName

string

The name of the virtual machine where the extension should be created or updated.

vmExtensionName

string

The name of the virtual machine extension.

extensionParameters
VirtualMachineExtension

Parameters supplied to the Create Virtual Machine Extension operation.

Returns

beginDelete(string, string, string, VirtualMachineExtensionsDeleteOptionalParams)

The operation to delete the extension.

function beginDelete(resourceGroupName: string, vmName: string, vmExtensionName: string, options?: VirtualMachineExtensionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

vmName

string

The name of the virtual machine where the extension should be deleted.

vmExtensionName

string

The name of the virtual machine extension.

options
VirtualMachineExtensionsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, VirtualMachineExtensionsDeleteOptionalParams)

The operation to delete the extension.

function beginDeleteAndWait(resourceGroupName: string, vmName: string, vmExtensionName: string, options?: VirtualMachineExtensionsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

vmName

string

The name of the virtual machine where the extension should be deleted.

vmExtensionName

string

The name of the virtual machine extension.

options
VirtualMachineExtensionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, VirtualMachineExtensionUpdate, VirtualMachineExtensionsUpdateOptionalParams)

The operation to update the extension.

function beginUpdate(resourceGroupName: string, vmName: string, vmExtensionName: string, extensionParameters: VirtualMachineExtensionUpdate, options?: VirtualMachineExtensionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineExtension>, VirtualMachineExtension>>

Parameters

resourceGroupName

string

The name of the resource group.

vmName

string

The name of the virtual machine where the extension should be updated.

vmExtensionName

string

The name of the virtual machine extension.

extensionParameters
VirtualMachineExtensionUpdate

Parameters supplied to the Update Virtual Machine Extension operation.

options
VirtualMachineExtensionsUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineExtension>, VirtualMachineExtension>>

beginUpdateAndWait(string, string, string, VirtualMachineExtensionUpdate, VirtualMachineExtensionsUpdateOptionalParams)

The operation to update the extension.

function beginUpdateAndWait(resourceGroupName: string, vmName: string, vmExtensionName: string, extensionParameters: VirtualMachineExtensionUpdate, options?: VirtualMachineExtensionsUpdateOptionalParams): Promise<VirtualMachineExtension>

Parameters

resourceGroupName

string

The name of the resource group.

vmName

string

The name of the virtual machine where the extension should be updated.

vmExtensionName

string

The name of the virtual machine extension.

extensionParameters
VirtualMachineExtensionUpdate

Parameters supplied to the Update Virtual Machine Extension operation.

options
VirtualMachineExtensionsUpdateOptionalParams

The options parameters.

Returns

get(string, string, string, VirtualMachineExtensionsGetOptionalParams)

The operation to get the extension.

function get(resourceGroupName: string, vmName: string, vmExtensionName: string, options?: VirtualMachineExtensionsGetOptionalParams): Promise<VirtualMachineExtension>

Parameters

resourceGroupName

string

The name of the resource group.

vmName

string

The name of the virtual machine containing the extension.

vmExtensionName

string

The name of the virtual machine extension.

options
VirtualMachineExtensionsGetOptionalParams

The options parameters.

Returns

list(string, string, VirtualMachineExtensionsListOptionalParams)

The operation to get all extensions of a Virtual Machine.

function list(resourceGroupName: string, vmName: string, options?: VirtualMachineExtensionsListOptionalParams): Promise<VirtualMachineExtensionsListResult>

Parameters

resourceGroupName

string

The name of the resource group.

vmName

string

The name of the virtual machine containing the extension.

options
VirtualMachineExtensionsListOptionalParams

The options parameters.

Returns