Partager via


Licenses interface

Interface représentant une licence.

Méthodes

beginCreateOrUpdate(string, string, License, LicensesCreateOrUpdateOptionalParams)

Opération de création ou de mise à jour d’une licence.

beginCreateOrUpdateAndWait(string, string, License, LicensesCreateOrUpdateOptionalParams)

Opération de création ou de mise à jour d’une licence.

beginDelete(string, string, LicensesDeleteOptionalParams)

Opération de suppression d’une licence.

beginDeleteAndWait(string, string, LicensesDeleteOptionalParams)

Opération de suppression d’une licence.

beginUpdate(string, string, LicenseUpdate, LicensesUpdateOptionalParams)

Opération de mise à jour d’une licence.

beginUpdateAndWait(string, string, LicenseUpdate, LicensesUpdateOptionalParams)

Opération de mise à jour d’une licence.

beginValidateLicense(License, LicensesValidateLicenseOptionalParams)

Opération de validation d’une licence.

beginValidateLicenseAndWait(License, LicensesValidateLicenseOptionalParams)

Opération de validation d’une licence.

get(string, string, LicensesGetOptionalParams)

Récupère des informations sur la vue d’une licence.

listByResourceGroup(string, LicensesListByResourceGroupOptionalParams)

Opération permettant d’obtenir toutes les licences d’une machine non-Azure

listBySubscription(LicensesListBySubscriptionOptionalParams)

Opération permettant d’obtenir toutes les licences d’une machine non-Azure

Détails de la méthode

beginCreateOrUpdate(string, string, License, LicensesCreateOrUpdateOptionalParams)

Opération de création ou de mise à jour d’une licence.

function beginCreateOrUpdate(resourceGroupName: string, licenseName: string, parameters: License, options?: LicensesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<License>, License>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

licenseName

string

Nom de la licence.

parameters
License

Paramètres fournis à l’opération Créer une licence.

options
LicensesCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<License>, License>>

beginCreateOrUpdateAndWait(string, string, License, LicensesCreateOrUpdateOptionalParams)

Opération de création ou de mise à jour d’une licence.

function beginCreateOrUpdateAndWait(resourceGroupName: string, licenseName: string, parameters: License, options?: LicensesCreateOrUpdateOptionalParams): Promise<License>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

licenseName

string

Nom de la licence.

parameters
License

Paramètres fournis à l’opération Créer une licence.

options
LicensesCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<License>

beginDelete(string, string, LicensesDeleteOptionalParams)

Opération de suppression d’une licence.

function beginDelete(resourceGroupName: string, licenseName: string, options?: LicensesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

licenseName

string

Nom de la licence.

options
LicensesDeleteOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, LicensesDeleteOptionalParams)

Opération de suppression d’une licence.

function beginDeleteAndWait(resourceGroupName: string, licenseName: string, options?: LicensesDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

licenseName

string

Nom de la licence.

options
LicensesDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

beginUpdate(string, string, LicenseUpdate, LicensesUpdateOptionalParams)

Opération de mise à jour d’une licence.

function beginUpdate(resourceGroupName: string, licenseName: string, parameters: LicenseUpdate, options?: LicensesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<License>, License>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

licenseName

string

Nom de la licence.

parameters
LicenseUpdate

Paramètres fournis à l’opération de licence De mise à jour.

options
LicensesUpdateOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<License>, License>>

beginUpdateAndWait(string, string, LicenseUpdate, LicensesUpdateOptionalParams)

Opération de mise à jour d’une licence.

function beginUpdateAndWait(resourceGroupName: string, licenseName: string, parameters: LicenseUpdate, options?: LicensesUpdateOptionalParams): Promise<License>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

licenseName

string

Nom de la licence.

parameters
LicenseUpdate

Paramètres fournis à l’opération de licence De mise à jour.

options
LicensesUpdateOptionalParams

Paramètres d’options.

Retours

Promise<License>

beginValidateLicense(License, LicensesValidateLicenseOptionalParams)

Opération de validation d’une licence.

function beginValidateLicense(parameters: License, options?: LicensesValidateLicenseOptionalParams): Promise<SimplePollerLike<OperationState<License>, License>>

Paramètres

parameters
License

Paramètres fournis à l’opération de validation de licence.

options
LicensesValidateLicenseOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<License>, License>>

beginValidateLicenseAndWait(License, LicensesValidateLicenseOptionalParams)

Opération de validation d’une licence.

function beginValidateLicenseAndWait(parameters: License, options?: LicensesValidateLicenseOptionalParams): Promise<License>

Paramètres

parameters
License

Paramètres fournis à l’opération de validation de licence.

options
LicensesValidateLicenseOptionalParams

Paramètres d’options.

Retours

Promise<License>

get(string, string, LicensesGetOptionalParams)

Récupère des informations sur la vue d’une licence.

function get(resourceGroupName: string, licenseName: string, options?: LicensesGetOptionalParams): Promise<License>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

licenseName

string

Nom de la licence.

options
LicensesGetOptionalParams

Paramètres d’options.

Retours

Promise<License>

listByResourceGroup(string, LicensesListByResourceGroupOptionalParams)

Opération permettant d’obtenir toutes les licences d’une machine non-Azure

function listByResourceGroup(resourceGroupName: string, options?: LicensesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<License, License[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

options
LicensesListByResourceGroupOptionalParams

Paramètres d’options.

Retours

listBySubscription(LicensesListBySubscriptionOptionalParams)

Opération permettant d’obtenir toutes les licences d’une machine non-Azure

function listBySubscription(options?: LicensesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<License, License[], PageSettings>

Paramètres

options
LicensesListBySubscriptionOptionalParams

Paramètres d’options.

Retours