다음을 통해 공유


IWithSystemAssignedIdentityBasedAccessOrUpdate.WithSystemAssignedIdentityBasedAccessTo Method

Definition

Overloads

WithSystemAssignedIdentityBasedAccessTo(String, BuiltInRole)

Specifies that virtual machine's system assigned (local) identity should have the given access (described by the role) on an ARM resource identified by the resource ID. Applications running on the virtual machine will have the same permission (role) on the ARM resource.

WithSystemAssignedIdentityBasedAccessTo(String, String)

Specifies that virtual machine's system assigned (local) identity should have the access (described by the role definition) on an ARM resource identified by the resource ID. Applications running on the virtual machine will have the same permission (role) on the ARM resource.

WithSystemAssignedIdentityBasedAccessTo(String, BuiltInRole)

Specifies that virtual machine's system assigned (local) identity should have the given access (described by the role) on an ARM resource identified by the resource ID. Applications running on the virtual machine will have the same permission (role) on the ARM resource.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IWithSystemAssignedIdentityBasedAccessOrUpdate WithSystemAssignedIdentityBasedAccessTo (string resourceId, Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role);
abstract member WithSystemAssignedIdentityBasedAccessTo : string * Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IWithSystemAssignedIdentityBasedAccessOrUpdate
Public Function WithSystemAssignedIdentityBasedAccessTo (resourceId As String, role As BuiltInRole) As IWithSystemAssignedIdentityBasedAccessOrUpdate

Parameters

resourceId
String

The ARM identifier of the resource.

role
BuiltInRole

Access role to assigned to the virtual machine's local identity.

Returns

Applies to

WithSystemAssignedIdentityBasedAccessTo(String, String)

Specifies that virtual machine's system assigned (local) identity should have the access (described by the role definition) on an ARM resource identified by the resource ID. Applications running on the virtual machine will have the same permission (role) on the ARM resource.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IWithSystemAssignedIdentityBasedAccessOrUpdate WithSystemAssignedIdentityBasedAccessTo (string resourceId, string roleDefinitionId);
abstract member WithSystemAssignedIdentityBasedAccessTo : string * string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IWithSystemAssignedIdentityBasedAccessOrUpdate
Public Function WithSystemAssignedIdentityBasedAccessTo (resourceId As String, roleDefinitionId As String) As IWithSystemAssignedIdentityBasedAccessOrUpdate

Parameters

resourceId
String

Scope of the access represented in ARM resource ID format.

roleDefinitionId
String

Access role definition to assigned to the virtual machine's local identity.

Returns

Applies to