Udostępnij za pośrednictwem


IWithSystemAssignedIdentityBasedAccessOrApply.WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup Method

Definition

Overloads

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole)

Specifies that virtual machine scale set'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 scale set VM instance will have the same permission (role) on the resource group.

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String)

Specifies that virtual machine scale set'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 scale set VM instance will have the same permission (role) on the resource group.

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole)

Specifies that virtual machine scale set'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 scale set VM instance will have the same permission (role) on the resource group.

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

Parameters

role
BuiltInRole

Access role to assigned to the scale set local identity.

Returns

Applies to

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String)

Specifies that virtual machine scale set'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 scale set VM instance will have the same permission (role) on the resource group.

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

Parameters

roleDefinitionId
String

Access role definition to assigned to the scale set local identity.

Returns

Applies to