Licenses interface
Интерфейс, представляющий лицензии.
Методы
Сведения о методе
beginCreateOrUpdate(string, string, License, LicensesCreateOrUpdateOptionalParams)
Операция создания или обновления лицензии.
function beginCreateOrUpdate(resourceGroupName: string, licenseName: string, parameters: License, options?: LicensesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<License>, License>>
Параметры
- resourceGroupName
-
string
Имя группы ресурсов. Имя не учитывает регистр.
- licenseName
-
string
Имя лицензии.
- parameters
- License
Параметры, предоставленные операции создания лицензий.
Параметры параметров.
Возвращаемое значение
Promise<@azure/core-lro.SimplePollerLike<OperationState<License>, License>>
beginCreateOrUpdateAndWait(string, string, License, LicensesCreateOrUpdateOptionalParams)
Операция создания или обновления лицензии.
function beginCreateOrUpdateAndWait(resourceGroupName: string, licenseName: string, parameters: License, options?: LicensesCreateOrUpdateOptionalParams): Promise<License>
Параметры
- resourceGroupName
-
string
Имя группы ресурсов. Имя не учитывает регистр.
- licenseName
-
string
Имя лицензии.
- parameters
- License
Параметры, предоставленные операции создания лицензий.
Параметры параметров.
Возвращаемое значение
Promise<License>
beginDelete(string, string, LicensesDeleteOptionalParams)
Операция удаления лицензии.
function beginDelete(resourceGroupName: string, licenseName: string, options?: LicensesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Параметры
- resourceGroupName
-
string
Имя группы ресурсов. Имя не учитывает регистр.
- licenseName
-
string
Имя лицензии.
- options
- LicensesDeleteOptionalParams
Параметры параметров.
Возвращаемое значение
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, LicensesDeleteOptionalParams)
Операция удаления лицензии.
function beginDeleteAndWait(resourceGroupName: string, licenseName: string, options?: LicensesDeleteOptionalParams): Promise<void>
Параметры
- resourceGroupName
-
string
Имя группы ресурсов. Имя не учитывает регистр.
- licenseName
-
string
Имя лицензии.
- options
- LicensesDeleteOptionalParams
Параметры параметров.
Возвращаемое значение
Promise<void>
beginUpdate(string, string, LicenseUpdate, LicensesUpdateOptionalParams)
Операция обновления лицензии.
function beginUpdate(resourceGroupName: string, licenseName: string, parameters: LicenseUpdate, options?: LicensesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<License>, License>>
Параметры
- resourceGroupName
-
string
Имя группы ресурсов. Имя не учитывает регистр.
- licenseName
-
string
Имя лицензии.
- parameters
- LicenseUpdate
Параметры, предоставленные операции обновления лицензии.
- options
- LicensesUpdateOptionalParams
Параметры параметров.
Возвращаемое значение
Promise<@azure/core-lro.SimplePollerLike<OperationState<License>, License>>
beginUpdateAndWait(string, string, LicenseUpdate, LicensesUpdateOptionalParams)
Операция обновления лицензии.
function beginUpdateAndWait(resourceGroupName: string, licenseName: string, parameters: LicenseUpdate, options?: LicensesUpdateOptionalParams): Promise<License>
Параметры
- resourceGroupName
-
string
Имя группы ресурсов. Имя не учитывает регистр.
- licenseName
-
string
Имя лицензии.
- parameters
- LicenseUpdate
Параметры, предоставленные операции обновления лицензии.
- options
- LicensesUpdateOptionalParams
Параметры параметров.
Возвращаемое значение
Promise<License>
beginValidateLicense(License, LicensesValidateLicenseOptionalParams)
Операция проверки лицензии.
function beginValidateLicense(parameters: License, options?: LicensesValidateLicenseOptionalParams): Promise<SimplePollerLike<OperationState<License>, License>>
Параметры
- parameters
- License
Параметры, предоставленные операции проверки лицензии.
Параметры параметров.
Возвращаемое значение
Promise<@azure/core-lro.SimplePollerLike<OperationState<License>, License>>
beginValidateLicenseAndWait(License, LicensesValidateLicenseOptionalParams)
get(string, string, LicensesGetOptionalParams)
Извлекает сведения о представлении лицензии.
function get(resourceGroupName: string, licenseName: string, options?: LicensesGetOptionalParams): Promise<License>
Параметры
- resourceGroupName
-
string
Имя группы ресурсов. Имя не учитывает регистр.
- licenseName
-
string
Имя лицензии.
- options
- LicensesGetOptionalParams
Параметры параметров.
Возвращаемое значение
Promise<License>
listByResourceGroup(string, LicensesListByResourceGroupOptionalParams)
Операция получения всех лицензий на компьютер, отличный от Azure
function listByResourceGroup(resourceGroupName: string, options?: LicensesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<License, License[], PageSettings>
Параметры
- resourceGroupName
-
string
Имя группы ресурсов. Имя не учитывает регистр.
Параметры параметров.
Возвращаемое значение
listBySubscription(LicensesListBySubscriptionOptionalParams)
Операция получения всех лицензий на компьютер, отличный от Azure
function listBySubscription(options?: LicensesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<License, License[], PageSettings>
Параметры
Параметры параметров.