Sdílet prostřednictvím


IWithSystemAssignedIdentityBasedAccessOrCreateBeta.WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup Method

Definition

Overloads

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole)

Specifies a system assigned managed service identity with access to the current resource group and with the specified role.

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String)

Specifies a system assigned managed service identity with access to the current resource group and with the specified role from the id.

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole)

Specifies a system assigned managed service identity with access to the current resource group and with the specified role.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithSystemAssignedIdentityBasedAccessOrCreate WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role);
abstract member WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithSystemAssignedIdentityBasedAccessOrCreate
Public Function WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup (role As BuiltInRole) As IWithSystemAssignedIdentityBasedAccessOrCreate

Parameters

role
BuiltInRole

Access role to be assigned to the identity.

Returns

Applies to

WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String)

Specifies a system assigned managed service identity with access to the current resource group and with the specified role from the id.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithSystemAssignedIdentityBasedAccessOrCreate WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup (string roleDefinitionId);
abstract member WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup : string -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithSystemAssignedIdentityBasedAccessOrCreate
Public Function WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup (roleDefinitionId As String) As IWithSystemAssignedIdentityBasedAccessOrCreate

Parameters

roleDefinitionId
String

Id of the access role to be assigned to the identity.

Returns

Applies to