IWithSystemAssignedIdentityBasedAccess<FluentT>.WithSystemAssignedIdentityBasedAccessTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithSystemAssignedIdentityBasedAccessTo(String, BuiltInRole) |
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. |
WithSystemAssignedIdentityBasedAccessTo(String, String) |
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. |
WithSystemAssignedIdentityBasedAccessTo(String, BuiltInRole)
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.
public Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IUpdate<FluentT> WithSystemAssignedIdentityBasedAccessTo (string resourceId, Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role);
abstract member WithSystemAssignedIdentityBasedAccessTo : string * Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole -> Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IUpdate<'FluentT>
Public Function WithSystemAssignedIdentityBasedAccessTo (resourceId As String, role As BuiltInRole) As IUpdate(Of FluentT)
Parameters
- resourceId
- String
The ARM identifier of the resource.
- role
- BuiltInRole
Access role to assigned to the web app's local identity.
Returns
Applies to
WithSystemAssignedIdentityBasedAccessTo(String, String)
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.
public Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IUpdate<FluentT> WithSystemAssignedIdentityBasedAccessTo (string resourceId, string roleDefinitionId);
abstract member WithSystemAssignedIdentityBasedAccessTo : string * string -> Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IUpdate<'FluentT>
Public Function WithSystemAssignedIdentityBasedAccessTo (resourceId As String, roleDefinitionId As String) As IUpdate(Of FluentT)
Parameters
- resourceId
- String
Scope of the access represented in ARM resource ID format.
- roleDefinitionId
- String
Access role definition to assigned to the web app's local identity.
Returns
Applies to
Azure SDK for .NET