IDefinition<FluentT> Interface

Definition

The entirety of the web app base definition.

public interface IDefinition<FluentT> : Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithAppSettings<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithAuthentication<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithClientAffinityEnabled<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithClientCertEnabled<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithConnectionString<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithCreate<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithDiagnosticLogging<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithHostNameBinding<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithHostNameSslBinding<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithManagedServiceIdentity<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithScmSiteAlsoStopped<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithSiteConfigs<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithSourceControl<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithSystemAssignedIdentityBasedAccessOrCreate<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithUserAssignedManagedServiceIdentityBasedAccessOrCreate<FluentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithWebContainer<FluentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithCreate<FluentT>>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<FluentT>
type IDefinition<'FluentT> = interface
    interface IWithWebContainer<'FluentT>
    interface IWithCreate<'FluentT>
    interface ICreatable<'FluentT>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate<'FluentT>>
    interface IWithClientAffinityEnabled<'FluentT>
    interface IWithClientCertEnabled<'FluentT>
    interface IWithScmSiteAlsoStopped<'FluentT>
    interface IWithSiteConfigs<'FluentT>
    interface IWithAppSettings<'FluentT>
    interface IWithConnectionString<'FluentT>
    interface IWithSourceControl<'FluentT>
    interface IWithHostNameBinding<'FluentT>
    interface IWithHostNameSslBinding<'FluentT>
    interface IWithAuthentication<'FluentT>
    interface IWithDiagnosticLogging<'FluentT>
    interface IBeta
    interface IWithManagedServiceIdentity<'FluentT>
    interface IWithSystemAssignedIdentityBasedAccessOrCreate<'FluentT>
    interface IWithUserAssignedManagedServiceIdentityBasedAccessOrCreate<'FluentT>
Public Interface IDefinition(Of FluentT)
Implements IBeta, ICreatable(Of FluentT), IDefinitionWithTags(Of IWithCreate(Of FluentT)), IWithAppSettings(Of FluentT), IWithAuthentication(Of FluentT), IWithClientAffinityEnabled(Of FluentT), IWithClientCertEnabled(Of FluentT), IWithConnectionString(Of FluentT), IWithCreate(Of FluentT), IWithDiagnosticLogging(Of FluentT), IWithHostNameBinding(Of FluentT), IWithHostNameSslBinding(Of FluentT), IWithManagedServiceIdentity(Of FluentT), IWithScmSiteAlsoStopped(Of FluentT), IWithSiteConfigs(Of FluentT), IWithSourceControl(Of FluentT), IWithSystemAssignedIdentityBasedAccessOrCreate(Of FluentT), IWithUserAssignedManagedServiceIdentityBasedAccessOrCreate(Of FluentT), IWithWebContainer(Of FluentT)

Type Parameters

FluentT

The type of the resource.

Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
DefineAuthentication()

Specifies the definition of a new authentication configuration.

(Inherited from IWithAuthentication<FluentT>)
DefineDiagnosticLogsConfiguration()

Gets Specifies the definition of a new diagnostic logs configuration.

(Inherited from IWithDiagnosticLogging<FluentT>)
DefineHostnameBinding()

Starts the definition of a new host name binding.

(Inherited from IWithHostNameBinding<FluentT>)
DefineSourceControl()

Starts the definition of a new source control.

(Inherited from IWithSourceControl<FluentT>)
DefineSslBinding()

Starts a definition of an SSL binding.

(Inherited from IWithHostNameSslBinding<FluentT>)
WithAppSetting(String, String)

Adds an app setting to the web app.

(Inherited from IWithAppSettings<FluentT>)
WithAppSettings(IDictionary<String,String>)

Specifies the app settings for the web app as a Map.

(Inherited from IWithAppSettings<FluentT>)
WithAutoSwapSlotName(String)

Specifies the slot name to auto-swap when a deployment is completed in this web app / deployment slot.

(Inherited from IWithSiteConfigs<FluentT>)
WithClientAffinityEnabled(Boolean)

Specifies if client affinity is enabled.

(Inherited from IWithClientAffinityEnabled<FluentT>)
WithClientCertEnabled(Boolean)

Specifies if client cert is enabled.

(Inherited from IWithClientCertEnabled<FluentT>)
WithConnectionString(String, String, ConnectionStringType)

Adds a connection string to the web app.

(Inherited from IWithConnectionString<FluentT>)
WithContainerLoggingDisabled()

Disable the container logging for Linux web apps.

(Inherited from IWithDiagnosticLogging<FluentT>)
WithContainerLoggingEnabled()

Specifies the configuration for container logging for Linux web apps. Logs will be stored on the file system for up to 35 MB.

(Inherited from IWithDiagnosticLogging<FluentT>)
WithContainerLoggingEnabled(Int32, Int32)

Specifies the configuration for container logging for Linux web apps.

(Inherited from IWithDiagnosticLogging<FluentT>)
WithDefaultDocument(String)

Adds a default document.

(Inherited from IWithSiteConfigs<FluentT>)
WithDefaultDocuments(IList<String>)

Adds a list of default documents.

(Inherited from IWithSiteConfigs<FluentT>)
WithExistingUserAssignedManagedServiceIdentity(IIdentity)

Specifies an existing user assigned identity to be associated with the web app.

(Inherited from IWithUserAssignedManagedServiceIdentityBasedAccessOrCreate<FluentT>)
WithFtpsState(FtpsState)

Sets whether the web app supports certain type of FTP(S).

(Inherited from IWithSiteConfigs<FluentT>)
WithHttp20Enabled(Boolean)

Sets whether the web app accepts HTTP 2.0 traffic.

(Inherited from IWithSiteConfigs<FluentT>)
WithHttpsOnly(Boolean)

Sets whether the web app only accepts HTTPS traffic.

(Inherited from IWithSiteConfigs<FluentT>)
WithJavaVersion(JavaVersion)

Specifies the Java version.

(Inherited from IWithSiteConfigs<FluentT>)
WithLocalGitSourceControl()

Specifies the source control to be a local Git repository on the web app.

(Inherited from IWithSourceControl<FluentT>)
WithManagedHostnameBindings(IAppServiceDomain, String[])

Defines a list of host names of an Azure managed domain. The DNS record type is defaulted to be CNAME except for the root level domain (".

(Inherited from IWithHostNameBinding<FluentT>)
WithManagedPipelineMode(ManagedPipelineMode)

Specifies the managed pipeline mode.

(Inherited from IWithSiteConfigs<FluentT>)
WithNetFrameworkVersion(NetFrameworkVersion)

Specifies the .NET Framework version.

(Inherited from IWithSiteConfigs<FluentT>)
WithNewUserAssignedManagedServiceIdentity(ICreatable<IIdentity>)

Specifies the definition of a not-yet-created user assigned identity to be associated with the web app.

(Inherited from IWithUserAssignedManagedServiceIdentityBasedAccessOrCreate<FluentT>)
WithoutDefaultDocument(String)

Removes a default document.

(Inherited from IWithSiteConfigs<FluentT>)
WithoutPhp()

Turn off PHP support.

(Inherited from IWithSiteConfigs<FluentT>)
WithoutSystemAssignedManagedServiceIdentity()

Specifies that System Assigned (Local) Managed Service Identity needs to be disabled.

(Inherited from IWithManagedServiceIdentity<FluentT>)
WithoutUserAssignedManagedServiceIdentity(String)

Specifies that an user assigned identity associated with the web app should be removed.

(Inherited from IWithUserAssignedManagedServiceIdentityBasedAccessOrCreate<FluentT>)
WithPhpVersion(PhpVersion)

Specifies the PHP version.

(Inherited from IWithSiteConfigs<FluentT>)
WithPlatformArchitecture(PlatformArchitecture)

Specifies the platform architecture to use.

(Inherited from IWithSiteConfigs<FluentT>)
WithPythonVersion(PythonVersion)

Specifies the Python version.

(Inherited from IWithSiteConfigs<FluentT>)
WithRemoteDebuggingDisabled()

Disables remote debugging.

(Inherited from IWithSiteConfigs<FluentT>)
WithRemoteDebuggingEnabled(RemoteVisualStudioVersion)

Specifies the Visual Studio version for remote debugging.

(Inherited from IWithSiteConfigs<FluentT>)
WithScmSiteAlsoStopped(Boolean)

Specifies if SCM site is also stopped when the web app is stopped.

(Inherited from IWithScmSiteAlsoStopped<FluentT>)
WithStickyAppSetting(String, String)

Adds an app setting to the web app. This app setting will be swapped as well after a deployment slot swap.

(Inherited from IWithAppSettings<FluentT>)
WithStickyAppSettings(IDictionary<String,String>)

Specifies the app settings for the web app as a Map. These app settings will be swapped as well after a deployment slot swap.

(Inherited from IWithAppSettings<FluentT>)
WithStickyConnectionString(String, String, ConnectionStringType)

Adds a connection string to the web app. This connection string will be swapped as well after a deployment slot swap.

(Inherited from IWithConnectionString<FluentT>)
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.

(Inherited from IWithSystemAssignedIdentityBasedAccessOrCreate<FluentT>)
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.

(Inherited from IWithSystemAssignedIdentityBasedAccessOrCreate<FluentT>)
WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole)

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.

(Inherited from IWithSystemAssignedIdentityBasedAccessOrCreate<FluentT>)
WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String)

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.

(Inherited from IWithSystemAssignedIdentityBasedAccessOrCreate<FluentT>)
WithSystemAssignedManagedServiceIdentity()

Specifies that System Assigned Managed Service Identity needs to be enabled in the web app.

(Inherited from IWithManagedServiceIdentity<FluentT>)
WithTag(String, String)

Adds a tag to the resource.

(Inherited from IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

Specifies tags for the resource as a {@link Map}.

(Inherited from IDefinitionWithTags<T>)
WithThirdPartyHostnameBinding(String, String[])

Defines a list of host names of an externally purchased domain. The hostnames must be configured before hand to point to the web app.

(Inherited from IWithHostNameBinding<FluentT>)
WithUserAssignedManagedServiceIdentity()

Specifies that User Assigned Managed Service Identity needs to be enabled in the web app.

(Inherited from IWithManagedServiceIdentity<FluentT>)
WithVirtualApplications(IList<VirtualApplication>)

Sets the virtual applications in the web app.

(Inherited from IWithSiteConfigs<FluentT>)
WithWebAppAlwaysOn(Boolean)

Specifies if the VM powering the web app is always powered on.

(Inherited from IWithSiteConfigs<FluentT>)
WithWebContainer(WebContainer)

Specifies the Java web container.

(Inherited from IWithWebContainer<FluentT>)
WithWebSocketsEnabled(Boolean)

Specifies if web sockets are enabled.

(Inherited from IWithSiteConfigs<FluentT>)

Applies to