Condividi tramite


ServiceUnits class

Classe che rappresenta un oggetto ServiceUnits.

Costruttori

ServiceUnits(AzureDeploymentManagerContext)

Creare un'entità ServiceUnits.

Metodi

beginCreateOrUpdate(string, string, string, string, ServiceUnitResource, RequestOptionsBase)

Si tratta di un'operazione asincrona e può essere eseguito il polling fino al completamento usando la risorsa dell'operazione restituita da questa operazione.

createOrUpdate(string, string, string, string, ServiceUnitResource, RequestOptionsBase)

Si tratta di un'operazione asincrona e può essere eseguito il polling fino al completamento usando la risorsa dell'operazione restituita da questa operazione.

deleteMethod(string, string, string, string, RequestOptionsBase)
deleteMethod(string, string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, string, ServiceCallback<void>)
get(string, string, string, string, RequestOptionsBase)
get(string, string, string, string, RequestOptionsBase, ServiceCallback<ServiceUnitResource>)
get(string, string, string, string, ServiceCallback<ServiceUnitResource>)
list(string, string, string, RequestOptionsBase)
list(string, string, string, RequestOptionsBase, ServiceCallback<ServiceUnitResource[]>)
list(string, string, string, ServiceCallback<ServiceUnitResource[]>)

Dettagli costruttore

ServiceUnits(AzureDeploymentManagerContext)

Creare un'entità ServiceUnits.

new ServiceUnits(client: AzureDeploymentManagerContext)

Parametri

client
AzureDeploymentManagerContext

Riferimento al client del servizio.

Dettagli metodo

beginCreateOrUpdate(string, string, string, string, ServiceUnitResource, RequestOptionsBase)

Si tratta di un'operazione asincrona e può essere eseguito il polling fino al completamento usando la risorsa dell'operazione restituita da questa operazione.

function beginCreateOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, serviceUnitInfo: ServiceUnitResource, options?: RequestOptionsBase): Promise<LROPoller>

Parametri

resourceGroupName

string

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

serviceTopologyName

string

Nome della topologia del servizio.

serviceName

string

Nome della risorsa del servizio.

serviceUnitName

string

Nome della risorsa unità di servizio.

serviceUnitInfo
ServiceUnitResource

Oggetto risorsa unità di servizio.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise<msRestAzure.LROPoller>

createOrUpdate(string, string, string, string, ServiceUnitResource, RequestOptionsBase)

Si tratta di un'operazione asincrona e può essere eseguito il polling fino al completamento usando la risorsa dell'operazione restituita da questa operazione.

function createOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, serviceUnitInfo: ServiceUnitResource, options?: RequestOptionsBase): Promise<ServiceUnitsCreateOrUpdateResponse>

Parametri

resourceGroupName

string

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

serviceTopologyName

string

Nome della topologia del servizio.

serviceName

string

Nome della risorsa del servizio.

serviceUnitName

string

Nome della risorsa unità di servizio.

serviceUnitInfo
ServiceUnitResource

Oggetto risorsa unità di servizio.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.ServiceUnitsCreateOrUpdateResponse>

deleteMethod(string, string, string, string, RequestOptionsBase)

function deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parametri

resourceGroupName

string

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

serviceTopologyName

string

Nome della topologia del servizio.

serviceName

string

Nome della risorsa del servizio.

serviceUnitName

string

Nome della risorsa unità di servizio.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<RestResponse>

Prometti<msRest.RestResponse>

deleteMethod(string, string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parametri

resourceGroupName

string

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

serviceTopologyName

string

Nome della topologia del servizio.

serviceName

string

Nome della risorsa del servizio.

serviceUnitName

string

Nome della risorsa unità di servizio.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<void>

Callback

deleteMethod(string, string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, callback: ServiceCallback<void>)

Parametri

resourceGroupName

string

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

serviceTopologyName

string

Nome della topologia del servizio.

serviceName

string

Nome della risorsa del servizio.

serviceUnitName

string

Nome della risorsa unità di servizio.

callback

ServiceCallback<void>

Callback

get(string, string, string, string, RequestOptionsBase)

function get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options?: RequestOptionsBase): Promise<ServiceUnitsGetResponse>

Parametri

resourceGroupName

string

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

serviceTopologyName

string

Nome della topologia del servizio.

serviceName

string

Nome della risorsa del servizio.

serviceUnitName

string

Nome della risorsa unità di servizio.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.ServiceUnitsGetResponse>

get(string, string, string, string, RequestOptionsBase, ServiceCallback<ServiceUnitResource>)

function get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceUnitResource>)

Parametri

resourceGroupName

string

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

serviceTopologyName

string

Nome della topologia del servizio.

serviceName

string

Nome della risorsa del servizio.

serviceUnitName

string

Nome della risorsa unità di servizio.

options
RequestOptionsBase

Parametri facoltativi

get(string, string, string, string, ServiceCallback<ServiceUnitResource>)

function get(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, callback: ServiceCallback<ServiceUnitResource>)

Parametri

resourceGroupName

string

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

serviceTopologyName

string

Nome della topologia del servizio.

serviceName

string

Nome della risorsa del servizio.

serviceUnitName

string

Nome della risorsa unità di servizio.

list(string, string, string, RequestOptionsBase)

function list(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options?: RequestOptionsBase): Promise<ServiceUnitsListResponse>

Parametri

resourceGroupName

string

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

serviceTopologyName

string

Nome della topologia del servizio.

serviceName

string

Nome della risorsa del servizio.

options
RequestOptionsBase

Parametri facoltativi

Restituisce

Promise<Models.ServiceUnitsListResponse>

list(string, string, string, RequestOptionsBase, ServiceCallback<ServiceUnitResource[]>)

function list(resourceGroupName: string, serviceTopologyName: string, serviceName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceUnitResource[]>)

Parametri

resourceGroupName

string

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

serviceTopologyName

string

Nome della topologia del servizio.

serviceName

string

Nome della risorsa del servizio.

options
RequestOptionsBase

Parametri facoltativi

callback

ServiceCallback<ServiceUnitResource[]>

Callback

list(string, string, string, ServiceCallback<ServiceUnitResource[]>)

function list(resourceGroupName: string, serviceTopologyName: string, serviceName: string, callback: ServiceCallback<ServiceUnitResource[]>)

Parametri

resourceGroupName

string

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

serviceTopologyName

string

Nome della topologia del servizio.

serviceName

string

Nome della risorsa del servizio.

callback

ServiceCallback<ServiceUnitResource[]>

Callback