Share via


RolesOperationsExtensions.CreateOrUpdate Method

Definition

Create or update a role.

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