共用方式為


IWithUserAssignedManagedServiceIdentity.WithNewUserAssignedManagedServiceIdentity Method

Definition

Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate WithNewUserAssignedManagedServiceIdentity (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Msi.Fluent.IIdentity> creatableIdentity);
abstract member WithNewUserAssignedManagedServiceIdentity : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Msi.Fluent.IIdentity> -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate
Public Function WithNewUserAssignedManagedServiceIdentity (creatableIdentity As ICreatable(Of IIdentity)) As IWithCreate

Parameters

creatableIdentity
ICreatable<Microsoft.Azure.Management.Msi.Fluent.IIdentity>

A creatable identity definition.

Returns

Applies to