Compartir a través de


AppPlatformExtensions.CheckAppPlatformNameAvailability Método

Definición

Comprueba que el nombre del recurso es válido y que aún no está en uso.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.AppPlatform/locations/{location}/checkNameAvailability
  • IdServices_CheckNameAvailability de operación
public static Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformNameAvailabilityResult> CheckAppPlatformNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.AppPlatform.Models.AppPlatformNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckAppPlatformNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.AppPlatform.Models.AppPlatformNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformNameAvailabilityResult>
<Extension()>
Public Function CheckAppPlatformNameAvailability (subscriptionResource As SubscriptionResource, location As AzureLocation, content As AppPlatformNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AppPlatformNameAvailabilityResult)

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

location
AzureLocation

la región.

content
AppPlatformNameAvailabilityContent

Parámetros proporcionados a la operación.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a