Delen via


IWithSystemAssignedIdentityBasedAccessOrCreate.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

The next stage of the definition.

Implements

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

The ID of the access role to be assigned to the identity.

Returns

The next stage of the defintion.

Implements

Applies to