VirtualMachineExtensions interface
Interface representing a VirtualMachineExtensions.
Methods
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<PollerLike<PollOperationState<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.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<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.
The options parameters.
Returns
Promise<VirtualMachineExtension>
beginDelete(string, string, string, VirtualMachineExtensionsDeleteOptionalParams)
The operation to delete the extension.
function beginDelete(resourceGroupName: string, vmName: string, vmExtensionName: string, options?: VirtualMachineExtensionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<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.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<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.
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<PollerLike<PollOperationState<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.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<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.
The options parameters.
Returns
Promise<VirtualMachineExtension>
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.
The options parameters.
Returns
Promise<VirtualMachineExtension>
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.
The options parameters.
Returns
Promise<VirtualMachineExtensionsListResult>