public static interface ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate extends ContainerGroup.DefinitionStages.WithCreate
| Modifier and Type | Method and Description |
|---|---|
ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate |
withSystemAssignedIdentityBasedAccessTo(String resourceId,
BuiltInRole role)
Specifies a system assigned managed service identity with access to a specific resource with a specified
role.
|
ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate |
withSystemAssignedIdentityBasedAccessTo(String resourceId,
String roleDefinitionId)
Specifies a system assigned managed service identity with access to a specific resource with a specified
role from the id.
|
ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate |
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole role)
Specifies a system assigned managed service identity with access to the current resource group and with
the specified role.
|
ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate |
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String roleDefinitionId)
Specifies a system assigned managed service identity with access to the current resource group and with
the specified role from the id.
|
withRestartPolicywithSystemAssignedManagedServiceIdentitywithExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentitywithDnsPrefixwithExistingNetworkProfile, withExistingNetworkProfile, withNewNetworkProfileOnExistingVirtualNetwork, withNewNetworkProfileOnExistingVirtualNetwork, withNewVirtualNetworkwithLogAnalytics, withLogAnalyticscreate, create, createAsync, createAsyncnamewithTag, withTagsContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessTo(String resourceId, BuiltInRole role)
resourceId - the id of the resource you are setting up access torole - access role to be assigned to the identityContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole role)
role - access role to be assigned to the identityContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessTo(String resourceId, String roleDefinitionId)
resourceId - the id of the resource you are setting up access toroleDefinitionId - id of the access role to be assigned to the identityContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String roleDefinitionId)
roleDefinitionId - id of the access role to be assigned to the identityCopyright © 2021 Microsoft Corporation. All rights reserved.