Partager via


ServiceUnits interface

Interface représentant une ServiceUnits.

Méthodes

beginCreateOrUpdate(string, string, string, string, ServiceUnitResource, ServiceUnitsCreateOrUpdateOptionalParams)

Il s’agit d’une opération asynchrone et peut être interrogée pour terminer à l’aide de la ressource d’opération retournée par cette opération.

beginCreateOrUpdateAndWait(string, string, string, string, ServiceUnitResource, ServiceUnitsCreateOrUpdateOptionalParams)

Il s’agit d’une opération asynchrone et peut être interrogée pour terminer à l’aide de la ressource d’opération retournée par cette opération.

delete(string, string, string, string, ServiceUnitsDeleteOptionalParams)

Supprime l’unité de service.

get(string, string, string, string, ServiceUnitsGetOptionalParams)

Obtient l’unité de service.

list(string, string, string, ServiceUnitsListOptionalParams)

Répertorie les unités de service sous un service dans la topologie de service.

Détails de la méthode

beginCreateOrUpdate(string, string, string, string, ServiceUnitResource, ServiceUnitsCreateOrUpdateOptionalParams)

Il s’agit d’une opération asynchrone et peut être interrogée pour terminer à l’aide de la ressource d’opération retournée par cette opération.

function beginCreateOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, serviceUnitInfo: ServiceUnitResource, options?: ServiceUnitsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServiceUnitsCreateOrUpdateResponse>, ServiceUnitsCreateOrUpdateResponse>>

Paramètres

resourceGroupName

string

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

serviceTopologyName

string

Nom de la topologie de service .

serviceName

string

Nom de la ressource de service.

serviceUnitName

string

Nom de la ressource d’unité de service.

serviceUnitInfo
ServiceUnitResource

Objet de ressource d’unité de service.

options
ServiceUnitsCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

beginCreateOrUpdateAndWait(string, string, string, string, ServiceUnitResource, ServiceUnitsCreateOrUpdateOptionalParams)

Il s’agit d’une opération asynchrone et peut être interrogée pour terminer à l’aide de la ressource d’opération retournée par cette opération.

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

Paramètres

resourceGroupName

string

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

serviceTopologyName

string

Nom de la topologie de service .

serviceName

string

Nom de la ressource de service.

serviceUnitName

string

Nom de la ressource d’unité de service.

serviceUnitInfo
ServiceUnitResource

Objet de ressource d’unité de service.

options
ServiceUnitsCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

delete(string, string, string, string, ServiceUnitsDeleteOptionalParams)

Supprime l’unité de service.

function delete(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceUnitName: string, options?: ServiceUnitsDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

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

serviceTopologyName

string

Nom de la topologie de service .

serviceName

string

Nom de la ressource de service.

serviceUnitName

string

Nom de la ressource d’unité de service.

options
ServiceUnitsDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, string, string, ServiceUnitsGetOptionalParams)

Obtient l’unité de service.

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

Paramètres

resourceGroupName

string

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

serviceTopologyName

string

Nom de la topologie de service .

serviceName

string

Nom de la ressource de service.

serviceUnitName

string

Nom de la ressource d’unité de service.

options
ServiceUnitsGetOptionalParams

Paramètres d’options.

Retours

list(string, string, string, ServiceUnitsListOptionalParams)

Répertorie les unités de service sous un service dans la topologie de service.

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

Paramètres

resourceGroupName

string

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

serviceTopologyName

string

Nom de la topologie de service .

serviceName

string

Nom de la ressource de service.

options
ServiceUnitsListOptionalParams

Paramètres d’options.

Retours