Delen via


Services interface

Interface die een Services vertegenwoordigt.

Methoden

beginCreateOrUpdate(string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Maak een nieuwe service of werk een afsluitende service bij.

beginCreateOrUpdateAndWait(string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Maak een nieuwe service of werk een afsluitende service bij.

beginDelete(string, string, ServicesDeleteOptionalParams)

Bewerking om een service te verwijderen.

beginDeleteAndWait(string, string, ServicesDeleteOptionalParams)

Bewerking om een service te verwijderen.

beginStart(string, string, ServicesStartOptionalParams)

Start een service.

beginStartAndWait(string, string, ServicesStartOptionalParams)

Start een service.

beginStop(string, string, ServicesStopOptionalParams)

Stop een service.

beginStopAndWait(string, string, ServicesStopOptionalParams)

Stop een service.

beginUpdate(string, string, ServiceResource, ServicesUpdateOptionalParams)

Bewerking voor het bijwerken van een afsluitende service.

beginUpdateAndWait(string, string, ServiceResource, ServicesUpdateOptionalParams)

Bewerking voor het bijwerken van een afsluitende service.

checkNameAvailability(string, NameAvailabilityParameters, ServicesCheckNameAvailabilityOptionalParams)

Controleert of de resourcenaam geldig is en nog niet in gebruik is.

disableTestEndpoint(string, string, ServicesDisableTestEndpointOptionalParams)

Schakel de functionaliteit van het testeindpunt voor een service uit.

enableTestEndpoint(string, string, ServicesEnableTestEndpointOptionalParams)

Schakel de functionaliteit van het testeindpunt in voor een service.

get(string, string, ServicesGetOptionalParams)

Haal een service en de eigenschappen ervan op.

list(string, ServicesListOptionalParams)

Verwerkt aanvragen om alle resources in een resourcegroep weer te geven.

listBySubscription(ServicesListBySubscriptionOptionalParams)

Verwerkt aanvragen om alle resources in een abonnement weer te geven.

listTestKeys(string, string, ServicesListTestKeysOptionalParams)

Testsleutels voor een service vermelden.

regenerateTestKey(string, string, RegenerateTestKeyRequestPayload, ServicesRegenerateTestKeyOptionalParams)

Genereer een testsleutel voor een service opnieuw.

Methodedetails

beginCreateOrUpdate(string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Maak een nieuwe service of werk een afsluitende service bij.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

resource
ServiceResource

Parameters voor de bewerking maken of bijwerken

options
ServicesCreateOrUpdateOptionalParams

De optiesparameters.

Retouren

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

beginCreateOrUpdateAndWait(string, string, ServiceResource, ServicesCreateOrUpdateOptionalParams)

Maak een nieuwe service of werk een afsluitende service bij.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

resource
ServiceResource

Parameters voor de bewerking maken of bijwerken

options
ServicesCreateOrUpdateOptionalParams

De optiesparameters.

Retouren

Promise<ServiceResource>

beginDelete(string, string, ServicesDeleteOptionalParams)

Bewerking om een service te verwijderen.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

options
ServicesDeleteOptionalParams

De optiesparameters.

Retouren

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

beginDeleteAndWait(string, string, ServicesDeleteOptionalParams)

Bewerking om een service te verwijderen.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

options
ServicesDeleteOptionalParams

De optiesparameters.

Retouren

Promise<void>

beginStart(string, string, ServicesStartOptionalParams)

Start een service.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

options
ServicesStartOptionalParams

De optiesparameters.

Retouren

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

beginStartAndWait(string, string, ServicesStartOptionalParams)

Start een service.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

options
ServicesStartOptionalParams

De optiesparameters.

Retouren

Promise<void>

beginStop(string, string, ServicesStopOptionalParams)

Stop een service.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

options
ServicesStopOptionalParams

De optiesparameters.

Retouren

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

beginStopAndWait(string, string, ServicesStopOptionalParams)

Stop een service.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

options
ServicesStopOptionalParams

De optiesparameters.

Retouren

Promise<void>

beginUpdate(string, string, ServiceResource, ServicesUpdateOptionalParams)

Bewerking voor het bijwerken van een afsluitende service.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

resource
ServiceResource

Parameters voor de updatebewerking

options
ServicesUpdateOptionalParams

De optiesparameters.

Retouren

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

beginUpdateAndWait(string, string, ServiceResource, ServicesUpdateOptionalParams)

Bewerking voor het bijwerken van een afsluitende service.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

resource
ServiceResource

Parameters voor de updatebewerking

options
ServicesUpdateOptionalParams

De optiesparameters.

Retouren

Promise<ServiceResource>

checkNameAvailability(string, NameAvailabilityParameters, ServicesCheckNameAvailabilityOptionalParams)

Controleert of de resourcenaam geldig is en nog niet in gebruik is.

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

Parameters

location

string

de regio

availabilityParameters
NameAvailabilityParameters

Parameters die aan de bewerking zijn opgegeven.

options
ServicesCheckNameAvailabilityOptionalParams

De optiesparameters.

Retouren

Promise<NameAvailability>

disableTestEndpoint(string, string, ServicesDisableTestEndpointOptionalParams)

Schakel de functionaliteit van het testeindpunt voor een service uit.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

options
ServicesDisableTestEndpointOptionalParams

De optiesparameters.

Retouren

Promise<void>

enableTestEndpoint(string, string, ServicesEnableTestEndpointOptionalParams)

Schakel de functionaliteit van het testeindpunt in voor een service.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

options
ServicesEnableTestEndpointOptionalParams

De optiesparameters.

Retouren

Promise<TestKeys>

get(string, string, ServicesGetOptionalParams)

Haal een service en de eigenschappen ervan op.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

options
ServicesGetOptionalParams

De optiesparameters.

Retouren

Promise<ServiceResource>

list(string, ServicesListOptionalParams)

Verwerkt aanvragen om alle resources in een resourcegroep weer te geven.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

options
ServicesListOptionalParams

De optiesparameters.

Retouren

listBySubscription(ServicesListBySubscriptionOptionalParams)

Verwerkt aanvragen om alle resources in een abonnement weer te geven.

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

Parameters

options
ServicesListBySubscriptionOptionalParams

De optiesparameters.

Retouren

listTestKeys(string, string, ServicesListTestKeysOptionalParams)

Testsleutels voor een service vermelden.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

options
ServicesListTestKeysOptionalParams

De optiesparameters.

Retouren

Promise<TestKeys>

regenerateTestKey(string, string, RegenerateTestKeyRequestPayload, ServicesRegenerateTestKeyOptionalParams)

Genereer een testsleutel voor een service opnieuw.

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

Parameters

resourceGroupName

string

De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal.

serviceName

string

De naam van de serviceresource.

regenerateTestKeyRequest
RegenerateTestKeyRequestPayload

Parameters voor de bewerking

options
ServicesRegenerateTestKeyOptionalParams

De optiesparameters.

Retouren

Promise<TestKeys>