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.
|
withRestartPolicy
withSystemAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentity
withDnsPrefix
withNetworkProfileId
withLogAnalytics, withLogAnalytics
create, createAsync, createAsync
key
name
withTag, withTags
@Beta(value=V1_23_0) ContainerGroup.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 identity@Beta(value=V1_23_0) ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole role)
role
- access role to be assigned to the identity@Beta(value=V1_23_0) ContainerGroup.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 identity@Beta(value=V1_23_0) ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String roleDefinitionId)
roleDefinitionId
- id of the access role to be assigned to the identityCopyright © 2019. All rights reserved.