MachineExtensions interface

Interface representing a MachineExtensions.

Methods

beginCreateOrUpdate(string, string, string, MachineExtension, MachineExtensionsCreateOrUpdateOptionalParams)

The operation to create or update the extension.

beginCreateOrUpdateAndWait(string, string, string, MachineExtension, MachineExtensionsCreateOrUpdateOptionalParams)

The operation to create or update the extension.

beginDelete(string, string, string, MachineExtensionsDeleteOptionalParams)

The operation to delete the extension.

beginDeleteAndWait(string, string, string, MachineExtensionsDeleteOptionalParams)

The operation to delete the extension.

beginUpdate(string, string, string, MachineExtensionUpdate, MachineExtensionsUpdateOptionalParams)

The operation to create or update the extension.

beginUpdateAndWait(string, string, string, MachineExtensionUpdate, MachineExtensionsUpdateOptionalParams)

The operation to create or update the extension.

get(string, string, string, MachineExtensionsGetOptionalParams)

The operation to get the extension.

list(string, string, MachineExtensionsListOptionalParams)

The operation to get all extensions of a non-Azure machine

Method Details

beginCreateOrUpdate(string, string, string, MachineExtension, MachineExtensionsCreateOrUpdateOptionalParams)

The operation to create or update the extension.

function beginCreateOrUpdate(resourceGroupName: string, machineName: string, extensionName: string, extensionParameters: MachineExtension, options?: MachineExtensionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<MachineExtension>, MachineExtension>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

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

extensionName

string

The name of the machine extension.

extensionParameters
MachineExtension

Parameters supplied to the Create Machine Extension operation.

options
MachineExtensionsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<MachineExtension>, MachineExtension>>

beginCreateOrUpdateAndWait(string, string, string, MachineExtension, MachineExtensionsCreateOrUpdateOptionalParams)

The operation to create or update the extension.

function beginCreateOrUpdateAndWait(resourceGroupName: string, machineName: string, extensionName: string, extensionParameters: MachineExtension, options?: MachineExtensionsCreateOrUpdateOptionalParams): Promise<MachineExtension>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

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

extensionName

string

The name of the machine extension.

extensionParameters
MachineExtension

Parameters supplied to the Create Machine Extension operation.

options
MachineExtensionsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<MachineExtension>

beginDelete(string, string, string, MachineExtensionsDeleteOptionalParams)

The operation to delete the extension.

function beginDelete(resourceGroupName: string, machineName: string, extensionName: string, options?: MachineExtensionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

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

extensionName

string

The name of the machine extension.

options
MachineExtensionsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, MachineExtensionsDeleteOptionalParams)

The operation to delete the extension.

function beginDeleteAndWait(resourceGroupName: string, machineName: string, extensionName: string, options?: MachineExtensionsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

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

extensionName

string

The name of the machine extension.

options
MachineExtensionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, MachineExtensionUpdate, MachineExtensionsUpdateOptionalParams)

The operation to create or update the extension.

function beginUpdate(resourceGroupName: string, machineName: string, extensionName: string, extensionParameters: MachineExtensionUpdate, options?: MachineExtensionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<MachineExtension>, MachineExtension>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

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

extensionName

string

The name of the machine extension.

extensionParameters
MachineExtensionUpdate

Parameters supplied to the Create Machine Extension operation.

options
MachineExtensionsUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<MachineExtension>, MachineExtension>>

beginUpdateAndWait(string, string, string, MachineExtensionUpdate, MachineExtensionsUpdateOptionalParams)

The operation to create or update the extension.

function beginUpdateAndWait(resourceGroupName: string, machineName: string, extensionName: string, extensionParameters: MachineExtensionUpdate, options?: MachineExtensionsUpdateOptionalParams): Promise<MachineExtension>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

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

extensionName

string

The name of the machine extension.

extensionParameters
MachineExtensionUpdate

Parameters supplied to the Create Machine Extension operation.

options
MachineExtensionsUpdateOptionalParams

The options parameters.

Returns

Promise<MachineExtension>

get(string, string, string, MachineExtensionsGetOptionalParams)

The operation to get the extension.

function get(resourceGroupName: string, machineName: string, extensionName: string, options?: MachineExtensionsGetOptionalParams): Promise<MachineExtension>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

The name of the machine containing the extension.

extensionName

string

The name of the machine extension.

options
MachineExtensionsGetOptionalParams

The options parameters.

Returns

Promise<MachineExtension>

list(string, string, MachineExtensionsListOptionalParams)

The operation to get all extensions of a non-Azure machine

function list(resourceGroupName: string, machineName: string, options?: MachineExtensionsListOptionalParams): PagedAsyncIterableIterator<MachineExtension, MachineExtension[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

The name of the machine containing the extension.

options
MachineExtensionsListOptionalParams

The options parameters.

Returns