Compartir a través de


RolesOperationsExtensions.BeginCreateOrUpdateAsync Método

Definición

Cree o actualice un rol.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.Models.Role> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.EdgeGateway.IRolesOperations operations, string deviceName, string name, Microsoft.Azure.Management.EdgeGateway.Models.Role role, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.EdgeGateway.IRolesOperations * string * string * Microsoft.Azure.Management.EdgeGateway.Models.Role * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.Models.Role>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IRolesOperations, deviceName As String, name As String, role As Role, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Role)

Parámetros

operations
IRolesOperations

Grupo de operaciones para este método de extensión.

deviceName
String

El nombre de dispositivo.

name
String

Nombre del rol.

role
Role

Propiedades del rol.

resourceGroupName
String

El nombre del grupo de recursos.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a