Package version:

Interface representing a Licenses.

interface Licenses {
    beginCreateOrUpdate(resourceGroupName: string, licenseName: string, parameters: License, options?: LicensesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<License>, License>>;
    beginCreateOrUpdateAndWait(resourceGroupName: string, licenseName: string, parameters: License, options?: LicensesCreateOrUpdateOptionalParams): Promise<License>;
    beginDelete(resourceGroupName: string, licenseName: string, options?: LicensesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
    beginDeleteAndWait(resourceGroupName: string, licenseName: string, options?: LicensesDeleteOptionalParams): Promise<void>;
    beginUpdate(resourceGroupName: string, licenseName: string, parameters: LicenseUpdate, options?: LicensesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<License>, License>>;
    beginUpdateAndWait(resourceGroupName: string, licenseName: string, parameters: LicenseUpdate, options?: LicensesUpdateOptionalParams): Promise<License>;
    beginValidateLicense(parameters: License, options?: LicensesValidateLicenseOptionalParams): Promise<SimplePollerLike<OperationState<License>, License>>;
    beginValidateLicenseAndWait(parameters: License, options?: LicensesValidateLicenseOptionalParams): Promise<License>;
    get(resourceGroupName: string, licenseName: string, options?: LicensesGetOptionalParams): Promise<License>;
    listByResourceGroup(resourceGroupName: string, options?: LicensesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<License>;
    listBySubscription(options?: LicensesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<License>;
}

Methods

  • The operation to create or update a license.

    Parameters

    • resourceGroupName: string

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

    • licenseName: string

      The name of the license.

    • parameters: License

      Parameters supplied to the Create license operation.

    • Optionaloptions: LicensesCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<License>, License>>

  • The operation to create or update a license.

    Parameters

    • resourceGroupName: string

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

    • licenseName: string

      The name of the license.

    • parameters: License

      Parameters supplied to the Create license operation.

    • Optionaloptions: LicensesCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<License>

  • The operation to delete a license.

    Parameters

    • resourceGroupName: string

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

    • licenseName: string

      The name of the license.

    • Optionaloptions: LicensesDeleteOptionalParams

      The options parameters.

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

  • The operation to delete a license.

    Parameters

    • resourceGroupName: string

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

    • licenseName: string

      The name of the license.

    • Optionaloptions: LicensesDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • The operation to update a license.

    Parameters

    • resourceGroupName: string

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

    • licenseName: string

      The name of the license.

    • parameters: LicenseUpdate

      Parameters supplied to the Update license operation.

    • Optionaloptions: LicensesUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<License>, License>>

  • The operation to update a license.

    Parameters

    • resourceGroupName: string

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

    • licenseName: string

      The name of the license.

    • parameters: LicenseUpdate

      Parameters supplied to the Update license operation.

    • Optionaloptions: LicensesUpdateOptionalParams

      The options parameters.

    Returns Promise<License>

  • Retrieves information about the view of a license.

    Parameters

    • resourceGroupName: string

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

    • licenseName: string

      The name of the license.

    • Optionaloptions: LicensesGetOptionalParams

      The options parameters.

    Returns Promise<License>