Interface ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
- All Superinterfaces:
ContainerGroup.DefinitionStages.WithCreate,ContainerGroup.DefinitionStages.WithDnsPrefix,ContainerGroup.DefinitionStages.WithLogAnalytics,ContainerGroup.DefinitionStages.WithNetworkProfile,ContainerGroup.DefinitionStages.WithRestartPolicy,ContainerGroup.DefinitionStages.WithSystemAssignedManagedServiceIdentity,ContainerGroup.DefinitionStages.WithUserAssignedManagedServiceIdentity,Creatable<ContainerGroup>,HasName,Indexable,Resource.DefinitionWithTags<ContainerGroup.DefinitionStages.WithCreate>
- All Known Subinterfaces:
ContainerGroup.Definition
- Enclosing interface:
- ContainerGroup.DefinitionStages
public static interface ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
extends ContainerGroup.DefinitionStages.WithCreate
The stage of the container instance definition allowing to specify system assigned managed service identity with specific
role based access.
-
Method Summary
Modifier and TypeMethodDescriptionwithSystemAssignedIdentityBasedAccessTo(String resourceId, BuiltInRole role) Specifies a system assigned managed service identity with access to a specific resource with a specified role.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.Specifies a system assigned managed service identity with access to the current resource group and with the specified role.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.Methods inherited from interface com.microsoft.azure.management.containerinstance.ContainerGroup.DefinitionStages.WithDnsPrefix
withDnsPrefixMethods inherited from interface com.microsoft.azure.management.containerinstance.ContainerGroup.DefinitionStages.WithLogAnalytics
withLogAnalytics, withLogAnalyticsMethods inherited from interface com.microsoft.azure.management.containerinstance.ContainerGroup.DefinitionStages.WithNetworkProfile
withNetworkProfileIdMethods inherited from interface com.microsoft.azure.management.containerinstance.ContainerGroup.DefinitionStages.WithRestartPolicy
withRestartPolicyMethods inherited from interface com.microsoft.azure.management.containerinstance.ContainerGroup.DefinitionStages.WithSystemAssignedManagedServiceIdentity
withSystemAssignedManagedServiceIdentityMethods inherited from interface com.microsoft.azure.management.containerinstance.ContainerGroup.DefinitionStages.WithUserAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentityMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Creatable
create, createAsync, createAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags
withTag, withTags
-
Method Details
-
withSystemAssignedIdentityBasedAccessTo
@Beta(V1_23_0) 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.- Parameters:
resourceId- the id of the resource you are setting up access torole- access role to be assigned to the identity- Returns:
- the next stage of the definition
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
@Beta(V1_23_0) 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.- Parameters:
role- access role to be assigned to the identity- Returns:
- the next stage of the definition
-
withSystemAssignedIdentityBasedAccessTo
@Beta(V1_23_0) 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.- Parameters:
resourceId- the id of the resource you are setting up access toroleDefinitionId- id of the access role to be assigned to the identity- Returns:
- the next stage of the definition
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
@Beta(V1_23_0) 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.- Parameters:
roleDefinitionId- id of the access role to be assigned to the identity- Returns:
- the next stage of the definition
-