共用方式為


UserAssignedIdentitiesOperationsExtensions.CreateOrUpdate Method

Definition

Create or update an identity in the specified subscription and resource group.

public static Microsoft.Azure.Management.ManagedServiceIdentity.Models.Identity CreateOrUpdate (this Microsoft.Azure.Management.ManagedServiceIdentity.IUserAssignedIdentitiesOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.ManagedServiceIdentity.Models.Identity parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.ManagedServiceIdentity.IUserAssignedIdentitiesOperations * string * string * Microsoft.Azure.Management.ManagedServiceIdentity.Models.Identity -> Microsoft.Azure.Management.ManagedServiceIdentity.Models.Identity
<Extension()>
Public Function CreateOrUpdate (operations As IUserAssignedIdentitiesOperations, resourceGroupName As String, resourceName As String, parameters As Identity) As Identity

Parameters

operations
IUserAssignedIdentitiesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Resource Group to which the identity belongs.

resourceName
String

The name of the identity resource.

parameters
Identity

Parameters to create or update the identity

Returns

Applies to