다음을 통해 공유


IWithSystemAssignedIdentityBasedAccessOrUpdate.WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup Method

Definition

Overloads

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole)

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

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String)

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

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole)

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

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IWithSystemAssignedIdentityBasedAccessOrUpdate WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role);
abstract member WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IWithSystemAssignedIdentityBasedAccessOrUpdate
Public Function WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup (role As BuiltInRole) As IWithSystemAssignedIdentityBasedAccessOrUpdate

Parameters

role
BuiltInRole

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

Returns

Applies to

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String)

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

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

Parameters

roleDefinitionId
String

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

Returns

Applies to