Freigeben über


ServicesOperationsExtensions.EnableTestEndpointAsync Methode

Definition

Aktivieren Sie die Testendpunktfunktionalität für einen Dienst.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.TestKeys> EnableTestEndpointAsync(this Microsoft.Azure.Management.AppPlatform.IServicesOperations operations, string resourceGroupName, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member EnableTestEndpointAsync : Microsoft.Azure.Management.AppPlatform.IServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.TestKeys>
<Extension()>
Public Function EnableTestEndpointAsync (operations As IServicesOperations, resourceGroupName As String, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TestKeys)

Parameter

operations
IServicesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die die Ressource enthält. Dieser Wert kann über die Azure-Ressourcen-Manager-API oder das Portal abgerufen werden.

serviceName
String

Der Name der Dienstressource.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: