Dela via


UsersOperationsExtensions.CreateOrUpdate Method

Definition

Creates a new user or updates an existing user's information on a Data Box Edge/Data Box Gateway device.

public static Microsoft.Azure.Management.DataBoxEdge.Models.User CreateOrUpdate (this Microsoft.Azure.Management.DataBoxEdge.IUsersOperations operations, string deviceName, string name, Microsoft.Azure.Management.DataBoxEdge.Models.User user, string resourceGroupName);
static member CreateOrUpdate : Microsoft.Azure.Management.DataBoxEdge.IUsersOperations * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.User * string -> Microsoft.Azure.Management.DataBoxEdge.Models.User
<Extension()>
Public Function CreateOrUpdate (operations As IUsersOperations, deviceName As String, name As String, user As User, resourceGroupName As String) As User

Parameters

operations
IUsersOperations

The operations group for this extension method.

deviceName
String

The device name.

name
String

The user name.

user
User

The user details.

resourceGroupName
String

The resource group name.

Returns

Applies to