Interface WebAppBase.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate<FluentT>
- Type Parameters:
FluentT- the type of the resource
- All Superinterfaces:
Creatable<FluentT>, HasName, Indexable, Resource.DefinitionWithTags<WebAppBase.DefinitionStages.WithCreate<FluentT>>, WebAppBase.DefinitionStages.WithAppSettings<FluentT>, WebAppBase.DefinitionStages.WithAuthentication<FluentT>, WebAppBase.DefinitionStages.WithClientAffinityEnabled<FluentT>, WebAppBase.DefinitionStages.WithClientCertEnabled<FluentT>, WebAppBase.DefinitionStages.WithConnectionString<FluentT>, WebAppBase.DefinitionStages.WithContainerSize<FluentT>, WebAppBase.DefinitionStages.WithCreate<FluentT>, WebAppBase.DefinitionStages.WithDiagnosticLogging<FluentT>, WebAppBase.DefinitionStages.WithHostNameBinding<FluentT>, WebAppBase.DefinitionStages.WithHostNameSslBinding<FluentT>, WebAppBase.DefinitionStages.WithManagedServiceIdentity<FluentT>, WebAppBase.DefinitionStages.WithNetworkAccess<FluentT>, WebAppBase.DefinitionStages.WithScmSiteAlsoStopped<FluentT>, WebAppBase.DefinitionStages.WithSiteConfigs<FluentT>, WebAppBase.DefinitionStages.WithSourceControl<FluentT>
- All Known Subinterfaces:
WebAppBase.Definition<FluentT>
- Enclosing interface:
WebAppBase.DefinitionStages
public static interface WebAppBase.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate<FluentT>
extends WebAppBase.DefinitionStages.WithCreate<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, com.azure.resourcemanager.authorization.models.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.withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(com.azure.resourcemanager.authorization.models.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.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.Methods inherited from interface Creatable
create, create, createAsync, createAsyncMethods inherited from interface Resource.DefinitionWithTags
withTag, withTagsMethods inherited from interface WebAppBase.DefinitionStages.WithAppSettings
withAppSetting, withAppSettings, withStickyAppSetting, withStickyAppSettingsMethods inherited from interface WebAppBase.DefinitionStages.WithAuthentication
defineAuthenticationMethods inherited from interface WebAppBase.DefinitionStages.WithClientAffinityEnabled
withClientAffinityEnabledMethods inherited from interface WebAppBase.DefinitionStages.WithClientCertEnabled
withClientCertEnabledMethods inherited from interface WebAppBase.DefinitionStages.WithConnectionString
withConnectionString, withStickyConnectionStringMethods inherited from interface WebAppBase.DefinitionStages.WithContainerSize
withContainerSizeMethods inherited from interface WebAppBase.DefinitionStages.WithDiagnosticLogging
defineDiagnosticLogsConfiguration, withContainerLoggingDisabled, withContainerLoggingEnabled, withContainerLoggingEnabledMethods inherited from interface WebAppBase.DefinitionStages.WithHostNameBinding
defineHostnameBinding, withManagedHostnameBindings, withThirdPartyHostnameBindingMethods inherited from interface WebAppBase.DefinitionStages.WithHostNameSslBinding
defineSslBindingMethods inherited from interface WebAppBase.DefinitionStages.WithManagedServiceIdentity
withoutSystemAssignedManagedServiceIdentity, withSystemAssignedManagedServiceIdentity, withUserAssignedManagedServiceIdentityMethods inherited from interface WebAppBase.DefinitionStages.WithNetworkAccess
disablePublicNetworkAccess, withAccessFromIpAddress, withAccessFromIpAddressRange, withAccessFromNetworkSubnet, withAccessRuleMethods inherited from interface WebAppBase.DefinitionStages.WithScmSiteAlsoStopped
withScmSiteAlsoStoppedMethods inherited from interface WebAppBase.DefinitionStages.WithSiteConfigs
withAutoSwapSlotName, withDefaultDocument, withDefaultDocuments, withFtpsState, withHttp20Enabled, withHttpsOnly, withJavaVersion, withManagedPipelineMode, withMinTlsVersion, withNetFrameworkVersion, withoutDefaultDocument, withPhpVersion, withPlatformArchitecture, withPythonVersion, withRemoteDebuggingDisabled, withRemoteDebuggingEnabled, withVirtualApplications, withWebAppAlwaysOn, withWebSocketsEnabledMethods inherited from interface WebAppBase.DefinitionStages.WithSourceControl
defineSourceControl, withLocalGitSourceControl
-
Method Details
-
withSystemAssignedIdentityBasedAccessTo
WebAppBase.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate<FluentT> withSystemAssignedIdentityBasedAccessTo(String resourceId, com.azure.resourcemanager.authorization.models.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 definition
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
WebAppBase.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate<FluentT> withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(com.azure.resourcemanager.authorization.models.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 definition
-
withSystemAssignedIdentityBasedAccessTo
WebAppBase.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate<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 definition
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
WebAppBase.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate<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 definition
-