Condividi tramite


Licenses interface

Interfaccia che rappresenta una licenza.

Metodi

beginCreateOrUpdate(string, string, License, LicensesCreateOrUpdateOptionalParams)

Operazione per creare o aggiornare una licenza.

beginCreateOrUpdateAndWait(string, string, License, LicensesCreateOrUpdateOptionalParams)

Operazione per creare o aggiornare una licenza.

beginDelete(string, string, LicensesDeleteOptionalParams)

Operazione per eliminare una licenza.

beginDeleteAndWait(string, string, LicensesDeleteOptionalParams)

Operazione per eliminare una licenza.

beginUpdate(string, string, LicenseUpdate, LicensesUpdateOptionalParams)

Operazione per aggiornare una licenza.

beginUpdateAndWait(string, string, LicenseUpdate, LicensesUpdateOptionalParams)

Operazione per aggiornare una licenza.

beginValidateLicense(License, LicensesValidateLicenseOptionalParams)

Operazione per convalidare una licenza.

beginValidateLicenseAndWait(License, LicensesValidateLicenseOptionalParams)

Operazione per convalidare una licenza.

get(string, string, LicensesGetOptionalParams)

Recupera informazioni sulla visualizzazione di una licenza.

listByResourceGroup(string, LicensesListByResourceGroupOptionalParams)

Operazione per ottenere tutte le licenze di un computer non Azure

listBySubscription(LicensesListBySubscriptionOptionalParams)

Operazione per ottenere tutte le licenze di un computer non Azure

Dettagli metodo

beginCreateOrUpdate(string, string, License, LicensesCreateOrUpdateOptionalParams)

Operazione per creare o aggiornare una licenza.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

licenseName

string

Nome della licenza.

parameters
License

Parametri forniti all'operazione Crea licenza.

options
LicensesCreateOrUpdateOptionalParams

Parametri delle opzioni.

Restituisce

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

beginCreateOrUpdateAndWait(string, string, License, LicensesCreateOrUpdateOptionalParams)

Operazione per creare o aggiornare una licenza.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

licenseName

string

Nome della licenza.

parameters
License

Parametri forniti all'operazione Crea licenza.

options
LicensesCreateOrUpdateOptionalParams

Parametri delle opzioni.

Restituisce

Promise<License>

beginDelete(string, string, LicensesDeleteOptionalParams)

Operazione per eliminare una licenza.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

licenseName

string

Nome della licenza.

options
LicensesDeleteOptionalParams

Parametri delle opzioni.

Restituisce

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

beginDeleteAndWait(string, string, LicensesDeleteOptionalParams)

Operazione per eliminare una licenza.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

licenseName

string

Nome della licenza.

options
LicensesDeleteOptionalParams

Parametri delle opzioni.

Restituisce

Promise<void>

beginUpdate(string, string, LicenseUpdate, LicensesUpdateOptionalParams)

Operazione per aggiornare una licenza.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

licenseName

string

Nome della licenza.

parameters
LicenseUpdate

Parametri forniti all'operazione Aggiorna licenza.

options
LicensesUpdateOptionalParams

Parametri delle opzioni.

Restituisce

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

beginUpdateAndWait(string, string, LicenseUpdate, LicensesUpdateOptionalParams)

Operazione per aggiornare una licenza.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

licenseName

string

Nome della licenza.

parameters
LicenseUpdate

Parametri forniti all'operazione Aggiorna licenza.

options
LicensesUpdateOptionalParams

Parametri delle opzioni.

Restituisce

Promise<License>

beginValidateLicense(License, LicensesValidateLicenseOptionalParams)

Operazione per convalidare una licenza.

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

Parametri

parameters
License

Parametri forniti all'operazione di convalida delle licenze.

options
LicensesValidateLicenseOptionalParams

Parametri delle opzioni.

Restituisce

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

beginValidateLicenseAndWait(License, LicensesValidateLicenseOptionalParams)

Operazione per convalidare una licenza.

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

Parametri

parameters
License

Parametri forniti all'operazione di convalida delle licenze.

options
LicensesValidateLicenseOptionalParams

Parametri delle opzioni.

Restituisce

Promise<License>

get(string, string, LicensesGetOptionalParams)

Recupera informazioni sulla visualizzazione di una licenza.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

licenseName

string

Nome della licenza.

options
LicensesGetOptionalParams

Parametri delle opzioni.

Restituisce

Promise<License>

listByResourceGroup(string, LicensesListByResourceGroupOptionalParams)

Operazione per ottenere tutte le licenze di un computer non Azure

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome non fa distinzione tra maiuscole e minuscole.

options
LicensesListByResourceGroupOptionalParams

Parametri delle opzioni.

Restituisce

listBySubscription(LicensesListBySubscriptionOptionalParams)

Operazione per ottenere tutte le licenze di un computer non Azure

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

Parametri

options
LicensesListBySubscriptionOptionalParams

Parametri delle opzioni.

Restituisce