Share via


RolesOperationsExtensions.BeginCreateOrUpdate Method

Definition

Create or update a role.

public static Microsoft.Azure.Management.EdgeGateway.Models.Role BeginCreateOrUpdate (this Microsoft.Azure.Management.EdgeGateway.IRolesOperations operations, string deviceName, string name, Microsoft.Azure.Management.EdgeGateway.Models.Role role, string resourceGroupName);
static member BeginCreateOrUpdate : Microsoft.Azure.Management.EdgeGateway.IRolesOperations * string * string * Microsoft.Azure.Management.EdgeGateway.Models.Role * string -> Microsoft.Azure.Management.EdgeGateway.Models.Role
<Extension()>
Public Function BeginCreateOrUpdate (operations As IRolesOperations, deviceName As String, name As String, role As Role, resourceGroupName As String) As Role

Parameters

operations
IRolesOperations

The operations group for this extension method.

deviceName
String

The device name.

name
String

The role name.

role
Role

The role properties.

resourceGroupName
String

The resource group name.

Returns

Applies to