RecoveryServicesDataReplicationExtensions.CheckDataReplicationNameAvailabilityAsync Methode

Definition

Überprüft die Verfügbarkeit des Ressourcennamens.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/locations/{location}/checkNameAvailability
  • Vorgang IdCheckNameAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationNameAvailabilityResult>> CheckDataReplicationNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationNameAvailabilityContent content = default, System.Threading.CancellationToken cancellationToken = default);
static member CheckDataReplicationNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationNameAvailabilityResult>>
<Extension()>
Public Function CheckDataReplicationNameAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional content As DataReplicationNameAvailabilityContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataReplicationNameAvailabilityResult))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

location
AzureLocation

Der Name der Azure-Region.

content
DataReplicationNameAvailabilityContent

Ressourcendetails.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: