你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithUserAssignedManagedServiceIdentity.WithNewUserAssignedManagedServiceIdentity 方法

定义

指定要与虚拟机关联的尚未创建的用户分配标识的定义。

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

参数

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

可创建标识定义。

返回

适用于