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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreatewithSystemAssignedIdentityBasedAccessTo(String resourceId, BuiltInRole role)Specifies a system assigned managed service identity with access to a specific resource with a specified role.ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreatewithSystemAssignedIdentityBasedAccessTo(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.WithSystemAssignedIdentityBasedAccessOrCreatewithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole role)Specifies a system assigned managed service identity with access to the current resource group and with the specified role.ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreatewithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(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.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithDnsPrefix
withDnsPrefix
-
Methods inherited from interface com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithLogAnalytics
withLogAnalytics, withLogAnalytics
-
Methods inherited from interface com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithNetworkProfile
withExistingSubnet, withExistingSubnet, withNewNetworkProfileOnExistingVirtualNetwork, withNewVirtualNetwork
-
Methods inherited from interface com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithRestartPolicy
withRestartPolicy
-
Methods inherited from interface com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithSystemAssignedManagedServiceIdentity
withSystemAssignedManagedServiceIdentity
-
Methods inherited from interface com.azure.resourcemanager.containerinstance.models.ContainerGroup.DefinitionStages.WithUserAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentity
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Creatable
create, create, createAsync, createAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags
withTag, withTags
-
-
-
-
Method Detail
-
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
-
-