Partager via


Services interface

Interface représentant un service.

Méthodes

beginCreateOrUpdate(string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Créez un service ou mettez à jour un service sortant.

beginCreateOrUpdateAndWait(string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Créez un service ou mettez à jour un service sortant.

beginDelete(string, string, ServicesDeleteOptionalParams)

Opération de suppression d’un service.

beginDeleteAndWait(string, string, ServicesDeleteOptionalParams)

Opération de suppression d’un service.

beginStart(string, string, ServicesStartOptionalParams)

Démarrez un service.

beginStartAndWait(string, string, ServicesStartOptionalParams)

Démarrez un service.

beginStop(string, string, ServicesStopOptionalParams)

Arrêtez un service.

beginStopAndWait(string, string, ServicesStopOptionalParams)

Arrêtez un service.

beginUpdate(string, string, ServiceResource, ServicesUpdateOptionalParams)

Opération de mise à jour d’un service sortant.

beginUpdateAndWait(string, string, ServiceResource, ServicesUpdateOptionalParams)

Opération de mise à jour d’un service sortant.

checkNameAvailability(string, NameAvailabilityParameters, ServicesCheckNameAvailabilityOptionalParams)

Vérifie que le nom de la ressource est valide et n’est pas déjà utilisé.

disableTestEndpoint(string, string, ServicesDisableTestEndpointOptionalParams)

Désactivez la fonctionnalité de point de terminaison de test pour un service.

enableTestEndpoint(string, string, ServicesEnableTestEndpointOptionalParams)

Activez la fonctionnalité de point de terminaison de test pour un service.

get(string, string, ServicesGetOptionalParams)

Obtenir un service et ses propriétés.

list(string, ServicesListOptionalParams)

Gère les demandes pour répertorier toutes les ressources d’un groupe de ressources.

listBySubscription(ServicesListBySubscriptionOptionalParams)

Gère les requêtes pour répertorier toutes les ressources d’un abonnement.

listTestKeys(string, string, ServicesListTestKeysOptionalParams)

Répertoriez les clés de test pour un service.

regenerateTestKey(string, string, RegenerateTestKeyRequestPayload, ServicesRegenerateTestKeyOptionalParams)

Régénérer une clé de test pour un service.

Détails de la méthode

beginCreateOrUpdate(string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Créez un service ou mettez à jour un service sortant.

function beginCreateOrUpdate(resourceGroupName: string, serviceName: string, resource: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServiceResource>, ServiceResource>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

resource
ServiceResource

Paramètres de l’opération de création ou de mise à jour

options
ServicesCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

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

beginCreateOrUpdateAndWait(string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Créez un service ou mettez à jour un service sortant.

function beginCreateOrUpdateAndWait(resourceGroupName: string, serviceName: string, resource: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams): Promise<ServiceResource>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

resource
ServiceResource

Paramètres de l’opération de création ou de mise à jour

options
ServicesCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

Promise<ServiceResource>

beginDelete(string, string, ServicesDeleteOptionalParams)

Opération de suppression d’un service.

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

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

options
ServicesDeleteOptionalParams

Paramètres d’options.

Retours

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

beginDeleteAndWait(string, string, ServicesDeleteOptionalParams)

Opération de suppression d’un service.

function beginDeleteAndWait(resourceGroupName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

options
ServicesDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

beginStart(string, string, ServicesStartOptionalParams)

Démarrez un service.

function beginStart(resourceGroupName: string, serviceName: string, options?: ServicesStartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

options
ServicesStartOptionalParams

Paramètres d’options.

Retours

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

beginStartAndWait(string, string, ServicesStartOptionalParams)

Démarrez un service.

function beginStartAndWait(resourceGroupName: string, serviceName: string, options?: ServicesStartOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

options
ServicesStartOptionalParams

Paramètres d’options.

Retours

Promise<void>

beginStop(string, string, ServicesStopOptionalParams)

Arrêtez un service.

function beginStop(resourceGroupName: string, serviceName: string, options?: ServicesStopOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

options
ServicesStopOptionalParams

Paramètres d’options.

Retours

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

beginStopAndWait(string, string, ServicesStopOptionalParams)

Arrêtez un service.

function beginStopAndWait(resourceGroupName: string, serviceName: string, options?: ServicesStopOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

options
ServicesStopOptionalParams

Paramètres d’options.

Retours

Promise<void>

beginUpdate(string, string, ServiceResource, ServicesUpdateOptionalParams)

Opération de mise à jour d’un service sortant.

function beginUpdate(resourceGroupName: string, serviceName: string, resource: ServiceResource, options?: ServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServiceResource>, ServiceResource>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

resource
ServiceResource

Paramètres de l’opération de mise à jour

options
ServicesUpdateOptionalParams

Paramètres d’options.

Retours

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

beginUpdateAndWait(string, string, ServiceResource, ServicesUpdateOptionalParams)

Opération de mise à jour d’un service sortant.

function beginUpdateAndWait(resourceGroupName: string, serviceName: string, resource: ServiceResource, options?: ServicesUpdateOptionalParams): Promise<ServiceResource>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

resource
ServiceResource

Paramètres de l’opération de mise à jour

options
ServicesUpdateOptionalParams

Paramètres d’options.

Retours

Promise<ServiceResource>

checkNameAvailability(string, NameAvailabilityParameters, ServicesCheckNameAvailabilityOptionalParams)

Vérifie que le nom de la ressource est valide et n’est pas déjà utilisé.

function checkNameAvailability(location: string, availabilityParameters: NameAvailabilityParameters, options?: ServicesCheckNameAvailabilityOptionalParams): Promise<NameAvailability>

Paramètres

location

string

la région

availabilityParameters
NameAvailabilityParameters

Paramètres fournis à l’opération.

options
ServicesCheckNameAvailabilityOptionalParams

Paramètres d’options.

Retours

Promise<NameAvailability>

disableTestEndpoint(string, string, ServicesDisableTestEndpointOptionalParams)

Désactivez la fonctionnalité de point de terminaison de test pour un service.

function disableTestEndpoint(resourceGroupName: string, serviceName: string, options?: ServicesDisableTestEndpointOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

options
ServicesDisableTestEndpointOptionalParams

Paramètres d’options.

Retours

Promise<void>

enableTestEndpoint(string, string, ServicesEnableTestEndpointOptionalParams)

Activez la fonctionnalité de point de terminaison de test pour un service.

function enableTestEndpoint(resourceGroupName: string, serviceName: string, options?: ServicesEnableTestEndpointOptionalParams): Promise<TestKeys>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

options
ServicesEnableTestEndpointOptionalParams

Paramètres d’options.

Retours

Promise<TestKeys>

get(string, string, ServicesGetOptionalParams)

Obtenir un service et ses propriétés.

function get(resourceGroupName: string, serviceName: string, options?: ServicesGetOptionalParams): Promise<ServiceResource>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

options
ServicesGetOptionalParams

Paramètres d’options.

Retours

Promise<ServiceResource>

list(string, ServicesListOptionalParams)

Gère les demandes pour répertorier toutes les ressources d’un groupe de ressources.

function list(resourceGroupName: string, options?: ServicesListOptionalParams): PagedAsyncIterableIterator<ServiceResource, ServiceResource[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

options
ServicesListOptionalParams

Paramètres d’options.

Retours

listBySubscription(ServicesListBySubscriptionOptionalParams)

Gère les requêtes pour répertorier toutes les ressources d’un abonnement.

function listBySubscription(options?: ServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ServiceResource, ServiceResource[], PageSettings>

Paramètres

options
ServicesListBySubscriptionOptionalParams

Paramètres d’options.

Retours

listTestKeys(string, string, ServicesListTestKeysOptionalParams)

Répertoriez les clés de test pour un service.

function listTestKeys(resourceGroupName: string, serviceName: string, options?: ServicesListTestKeysOptionalParams): Promise<TestKeys>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

options
ServicesListTestKeysOptionalParams

Paramètres d’options.

Retours

Promise<TestKeys>

regenerateTestKey(string, string, RegenerateTestKeyRequestPayload, ServicesRegenerateTestKeyOptionalParams)

Régénérer une clé de test pour un service.

function regenerateTestKey(resourceGroupName: string, serviceName: string, regenerateTestKeyRequest: RegenerateTestKeyRequestPayload, options?: ServicesRegenerateTestKeyOptionalParams): Promise<TestKeys>

Paramètres

resourceGroupName

string

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serviceName

string

Nom de la ressource de service.

regenerateTestKeyRequest
RegenerateTestKeyRequestPayload

Paramètres de l’opération

options
ServicesRegenerateTestKeyOptionalParams

Paramètres d’options.

Retours

Promise<TestKeys>