共用方式為


UsersOperationsExtensions.CreateOrUpdate Method

Definition

Create or update a lab user.

public static Microsoft.Azure.Management.LabServices.Models.User CreateOrUpdate (this Microsoft.Azure.Management.LabServices.IUsersOperations operations, Microsoft.Azure.Management.LabServices.Models.User body, string resourceGroupName, string labName, string userName);
static member CreateOrUpdate : Microsoft.Azure.Management.LabServices.IUsersOperations * Microsoft.Azure.Management.LabServices.Models.User * string * string * string -> Microsoft.Azure.Management.LabServices.Models.User
<Extension()>
Public Function CreateOrUpdate (operations As IUsersOperations, body As User, resourceGroupName As String, labName As String, userName As String) As User

Parameters

operations
IUsersOperations

The operations group for this extension method.

body
User

The request body.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

labName
String

The name of the lab that uniquely identifies it within containing lab account. Used in resource URIs.

userName
String

The name of the user that uniquely identifies it within containing lab. Used in resource URIs.

Returns

Remarks

Operation to create or update a lab user.

Applies to