Compartir a través de


ApiManagementServiceOperationsExtensions.BeginCreateOrUpdateAsync Método

Definición

Crea o actualiza un servicio API Management. Se trata de una operación de larga duración y puede tardar varios minutos en completarse.

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

Parámetros

operations
IApiManagementServiceOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

serviceName
String

Nombre del servicio API Management.

parameters
ApiManagementServiceResource

Parámetros proporcionados a la operación de servicio CreateOrUpdate API Management.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a