Interface WebAppBase.UpdateStages.WithSystemAssignedIdentityBasedAccess<FluentT>
- Type Parameters:
FluentT
- the type of the resource
- All Known Subinterfaces:
DeploymentSlot.Update
,DeploymentSlotBase.Update<FluentT>
,FunctionApp.Update
,WebApp.Update
,WebApp.UpdateStages.WithStartUpCommand
,WebAppBase.Update<FluentT>
- Enclosing interface:
- WebAppBase.UpdateStages
public static interface WebAppBase.UpdateStages.WithSystemAssignedIdentityBasedAccess<FluentT>
The stage of the System Assigned (Local) Managed Service Identity enabled web app allowing to
set access role for the identity.
-
Method Summary
Modifier and TypeMethodDescriptionwithSystemAssignedIdentityBasedAccessTo
(String resourceId, BuiltInRole role) Specifies that web app's system assigned (local) identity should have the given access (described by the role) on an ARM resource identified by the resource ID.withSystemAssignedIdentityBasedAccessTo
(String resourceId, String roleDefinitionId) Specifies that web app's system assigned (local) identity should have the access (described by the role definition) on an ARM resource identified by the resource ID.Specifies that web app's system assigned (local) identity should have the given access (described by the role) on the resource group that web app resides.withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
(String roleDefinitionId) Specifies that web app's system assigned (local) identity should have the access (described by the role definition) on the resource group that web app resides.
-
Method Details
-
withSystemAssignedIdentityBasedAccessTo
WebAppBase.Update<FluentT> withSystemAssignedIdentityBasedAccessTo(String resourceId, BuiltInRole role) Specifies that web app's system assigned (local) identity should have the given access (described by the role) on an ARM resource identified by the resource ID. Applications running on the web app will have the same permission (role) on the ARM resource.- Parameters:
resourceId
- the ARM identifier of the resourcerole
- access role to assigned to the web app's local identity- Returns:
- the next stage of the update
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
WebAppBase.Update<FluentT> withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole role) Specifies that web app's system assigned (local) identity should have the given access (described by the role) on the resource group that web app resides. Applications running on the web app will have the same permission (role) on the resource group.- Parameters:
role
- access role to assigned to the web app's local identity- Returns:
- the next stage of the update
-
withSystemAssignedIdentityBasedAccessTo
WebAppBase.Update<FluentT> withSystemAssignedIdentityBasedAccessTo(String resourceId, String roleDefinitionId) Specifies that web app's system assigned (local) identity should have the access (described by the role definition) on an ARM resource identified by the resource ID. Applications running on the web app will have the same permission (role) on the ARM resource.- Parameters:
resourceId
- scope of the access represented in ARM resource ID formatroleDefinitionId
- access role definition to assigned to the web app's local identity- Returns:
- the next stage of the update
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
WebAppBase.Update<FluentT> withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String roleDefinitionId) Specifies that web app's system assigned (local) identity should have the access (described by the role definition) on the resource group that web app resides. Applications running on the web app will have the same permission (role) on the resource group.- Parameters:
roleDefinitionId
- access role definition to assigned to the web app's local identity- Returns:
- the next stage of the update
-