다음을 통해 공유


RolesOperationsExtensions.CreateOrUpdate Method

Definition

Create or update a role.

public static Microsoft.Azure.Management.EdgeGateway.Models.Role CreateOrUpdate (this Microsoft.Azure.Management.EdgeGateway.IRolesOperations operations, string deviceName, string name, Microsoft.Azure.Management.EdgeGateway.Models.Role role, string resourceGroupName);
static member CreateOrUpdate : Microsoft.Azure.Management.EdgeGateway.IRolesOperations * string * string * Microsoft.Azure.Management.EdgeGateway.Models.Role * string -> Microsoft.Azure.Management.EdgeGateway.Models.Role
<Extension()>
Public Function CreateOrUpdate (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