Licenses interface
Interface representing a Licenses.
Methods
Method Details
beginCreateOrUpdate(string, string, License, LicensesCreateOrUpdateOptionalParams)
The operation to create or update a license.
function beginCreateOrUpdate(resourceGroupName: string, licenseName: string, parameters: License, options?: LicensesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<License>, 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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<License>, License>>
beginCreateOrUpdateAndWait(string, string, License, LicensesCreateOrUpdateOptionalParams)
The operation to create or update a license.
function beginCreateOrUpdateAndWait(resourceGroupName: string, licenseName: string, parameters: License, options?: LicensesCreateOrUpdateOptionalParams): Promise<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.
The options parameters.
Returns
Promise<License>
beginDelete(string, string, LicensesDeleteOptionalParams)
The operation to delete a license.
function beginDelete(resourceGroupName: string, licenseName: string, options?: LicensesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- licenseName
-
string
The name of the license.
- options
- LicensesDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, LicensesDeleteOptionalParams)
The operation to delete a license.
function beginDeleteAndWait(resourceGroupName: string, licenseName: string, options?: LicensesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- licenseName
-
string
The name of the license.
- options
- LicensesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
beginUpdate(string, string, LicenseUpdate, LicensesUpdateOptionalParams)
The operation to update a license.
function beginUpdate(resourceGroupName: string, licenseName: string, parameters: LicenseUpdate, options?: LicensesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<License>, 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.
- options
- LicensesUpdateOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<License>, License>>
beginUpdateAndWait(string, string, LicenseUpdate, LicensesUpdateOptionalParams)
The operation to update a license.
function beginUpdateAndWait(resourceGroupName: string, licenseName: string, parameters: LicenseUpdate, options?: LicensesUpdateOptionalParams): Promise<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.
- options
- LicensesUpdateOptionalParams
The options parameters.
Returns
Promise<License>
beginValidateLicense(License, LicensesValidateLicenseOptionalParams)
The operation to validate a license.
function beginValidateLicense(parameters: License, options?: LicensesValidateLicenseOptionalParams): Promise<SimplePollerLike<OperationState<License>, License>>
Parameters
- parameters
- License
Parameters supplied to the license validation operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<License>, License>>
beginValidateLicenseAndWait(License, LicensesValidateLicenseOptionalParams)
The operation to validate a license.
function beginValidateLicenseAndWait(parameters: License, options?: LicensesValidateLicenseOptionalParams): Promise<License>
Parameters
- parameters
- License
Parameters supplied to the license validation operation.
The options parameters.
Returns
Promise<License>
get(string, string, LicensesGetOptionalParams)
Retrieves information about the view of a license.
function get(resourceGroupName: string, licenseName: string, options?: LicensesGetOptionalParams): Promise<License>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- licenseName
-
string
The name of the license.
- options
- LicensesGetOptionalParams
The options parameters.
Returns
Promise<License>
listByResourceGroup(string, LicensesListByResourceGroupOptionalParams)
The operation to get all licenses of a non-Azure machine
function listByResourceGroup(resourceGroupName: string, options?: LicensesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<License, License[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(LicensesListBySubscriptionOptionalParams)
The operation to get all licenses of a non-Azure machine
function listBySubscription(options?: LicensesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<License, License[], PageSettings>
Parameters
The options parameters.