Package version:

Interface representing a MachineExtensions.

interface MachineExtensions {
    beginCreateOrUpdate(resourceGroupName: string, machineName: string, extensionName: string, extensionParameters: MachineExtension, options?: MachineExtensionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MachineExtension>, MachineExtension>>;
    beginCreateOrUpdateAndWait(resourceGroupName: string, machineName: string, extensionName: string, extensionParameters: MachineExtension, options?: MachineExtensionsCreateOrUpdateOptionalParams): Promise<MachineExtension>;
    beginDelete(resourceGroupName: string, machineName: string, extensionName: string, options?: MachineExtensionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
    beginDeleteAndWait(resourceGroupName: string, machineName: string, extensionName: string, options?: MachineExtensionsDeleteOptionalParams): Promise<void>;
    beginUpdate(resourceGroupName: string, machineName: string, extensionName: string, extensionParameters: MachineExtensionUpdate, options?: MachineExtensionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MachineExtension>, MachineExtension>>;
    beginUpdateAndWait(resourceGroupName: string, machineName: string, extensionName: string, extensionParameters: MachineExtensionUpdate, options?: MachineExtensionsUpdateOptionalParams): Promise<MachineExtension>;
    get(resourceGroupName: string, machineName: string, extensionName: string, options?: MachineExtensionsGetOptionalParams): Promise<MachineExtension>;
    list(resourceGroupName: string, machineName: string, options?: MachineExtensionsListOptionalParams): PagedAsyncIterableIterator<MachineExtension>;
}

Methods

  • The operation to create or update the extension.

    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.

    • Optionaloptions: MachineExtensionsCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<MachineExtension>

  • The operation to delete the extension.

    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.

    • Optionaloptions: MachineExtensionsDeleteOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<void>, void>>

  • The operation to delete the extension.

    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.

    • Optionaloptions: MachineExtensionsDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • The operation to update the extension.

    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.

    • Optionaloptions: MachineExtensionsUpdateOptionalParams

      The options parameters.

    Returns Promise<MachineExtension>