IWithSystemAssignedIdentityBasedAccessOrCreateBeta.WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET