Interface ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
- All Superinterfaces:
ContainerGroup.DefinitionStages.WithAutoGeneratedDomainNameLabelScope, ContainerGroup.DefinitionStages.WithCreate, ContainerGroup.DefinitionStages.WithDnsPrefix, ContainerGroup.DefinitionStages.WithLogAnalytics, ContainerGroup.DefinitionStages.WithNetworkProfile, ContainerGroup.DefinitionStages.WithRestartPolicy, ContainerGroup.DefinitionStages.WithSystemAssignedManagedServiceIdentity, ContainerGroup.DefinitionStages.WithUserAssignedManagedServiceIdentity, com.azure.resourcemanager.resources.fluentcore.model.Creatable<ContainerGroup>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.arm.models.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 ContainerGroup.DefinitionStages.WithAutoGeneratedDomainNameLabelScope
withAutoGeneratedDomainNameLabelScopeMethods inherited from interface ContainerGroup.DefinitionStages.WithCreate
beginCreateMethods inherited from interface ContainerGroup.DefinitionStages.WithDnsPrefix
withDnsPrefixMethods inherited from interface ContainerGroup.DefinitionStages.WithLogAnalytics
withLogAnalytics, withLogAnalyticsMethods inherited from interface ContainerGroup.DefinitionStages.WithNetworkProfile
withExistingSubnet, withExistingSubnet, withNewNetworkProfileOnExistingVirtualNetwork, withNewVirtualNetworkMethods inherited from interface ContainerGroup.DefinitionStages.WithRestartPolicy
withRestartPolicyMethods inherited from interface ContainerGroup.DefinitionStages.WithSystemAssignedManagedServiceIdentity
withSystemAssignedManagedServiceIdentityMethods inherited from interface ContainerGroup.DefinitionStages.WithUserAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentityMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Creatable
create, create, createAsync, createAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags
withTag, withTags
-
Method Details
-
withSystemAssignedIdentityBasedAccessTo
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
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
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
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
-