IDefinition Interface
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.
Container interface for all the definitions that need to be implemented.
public interface IDefinition : Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IBlank, Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.INewAppServicePlanWithGroup, Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithCredentials, Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithDockerContainerImage, Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithNewAppServicePlan, Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithStartUpCommand, Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithWindowsRuntimeStack, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithAppSettings<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithAuthentication<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithClientAffinityEnabled<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithClientCertEnabled<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithConnectionString<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithCreate<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithDiagnosticLogging<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithHostNameBinding<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithHostNameSslBinding<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithManagedServiceIdentity<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithScmSiteAlsoStopped<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithSiteConfigs<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithSourceControl<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithNewAppServicePlan>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithNewAppServicePlan>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithNewAppServicePlan>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithNewAppServicePlan>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.INewAppServicePlanWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithCreate<Microsoft.Azure.Management.AppService.Fluent.IWebApp>>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.AppService.Fluent.IWebApp>
type IDefinition = interface
interface IBlank
interface IDefinitionWithRegion<INewAppServicePlanWithGroup>
interface INewAppServicePlanWithGroup
interface IWithGroup<IWithNewAppServicePlan>
interface IWithExistingResourceGroup<IWithNewAppServicePlan>
interface IWithNewResourceGroup<IWithNewAppServicePlan>
interface IWithCreatableResourceGroup<IWithNewAppServicePlan>
interface IWithNewAppServicePlan
interface IWithDockerContainerImage
interface IWithContainerImage
interface IWithCredentials
interface IWithStartUpCommand
interface IWithCreate
interface ICreatable<IWebApp>
interface IIndexable
interface IWithCreate<IWebApp>
interface IDefinitionWithTags<IWithCreate<IWebApp>>
interface IWithClientAffinityEnabled<IWebApp>
interface IWithClientCertEnabled<IWebApp>
interface IWithScmSiteAlsoStopped<IWebApp>
interface IWithSiteConfigs<IWebApp>
interface IWithAppSettings<IWebApp>
interface IWithConnectionString<IWebApp>
interface IWithSourceControl<IWebApp>
interface IWithHostNameBinding<IWebApp>
interface IWithHostNameSslBinding<IWebApp>
interface IWithAuthentication<IWebApp>
interface IWithDiagnosticLogging<IWebApp>
interface IBeta
interface IWithManagedServiceIdentity<IWebApp>
interface IWithWindowsRuntimeStack
Public Interface IDefinition
Implements IBeta, IBlank, ICreatable(Of IWebApp), IDefinitionWithRegion(Of INewAppServicePlanWithGroup), IDefinitionWithTags(Of IWithCreate(Of IWebApp)), INewAppServicePlanWithGroup, IWithAppSettings(Of IWebApp), IWithAuthentication(Of IWebApp), IWithClientAffinityEnabled(Of IWebApp), IWithClientCertEnabled(Of IWebApp), IWithConnectionString(Of IWebApp), IWithCreatableResourceGroup(Of IWithNewAppServicePlan), IWithCreate(Of IWebApp), IWithCredentials, IWithDiagnosticLogging(Of IWebApp), IWithDockerContainerImage, IWithExistingResourceGroup(Of IWithNewAppServicePlan), IWithGroup(Of IWithNewAppServicePlan), IWithHostNameBinding(Of IWebApp), IWithHostNameSslBinding(Of IWebApp), IWithManagedServiceIdentity(Of IWebApp), IWithNewAppServicePlan, IWithNewResourceGroup(Of IWithNewAppServicePlan), IWithScmSiteAlsoStopped(Of IWebApp), IWithSiteConfigs(Of IWebApp), IWithSourceControl(Of IWebApp), IWithStartUpCommand, IWithWindowsRuntimeStack
- Implements
-
IBlank INewAppServicePlanWithGroup IWithContainerImage IWithCreate IWithCredentials IWithDockerContainerImage IWithNewAppServicePlan IWithStartUpCommand IWithWindowsRuntimeStack IWithAppSettings<FluentT> IWithAppSettings<IWebApp> IWithAuthentication<FluentT> IWithAuthentication<IWebApp> IWithClientAffinityEnabled<FluentT> IWithClientAffinityEnabled<IWebApp> IWithClientCertEnabled<FluentT> IWithClientCertEnabled<IWebApp> IWithConnectionString<FluentT> IWithConnectionString<IWebApp> IWithCreate<IWebApp> IWithDiagnosticLogging<FluentT> IWithDiagnosticLogging<IWebApp> IWithHostNameBinding<FluentT> IWithHostNameBinding<IWebApp> IWithHostNameSslBinding<FluentT> IWithHostNameSslBinding<IWebApp> IWithManagedServiceIdentity<FluentT> IWithManagedServiceIdentity<IWebApp> IWithScmSiteAlsoStopped<FluentT> IWithScmSiteAlsoStopped<IWebApp> IWithSiteConfigs<FluentT> IWithSiteConfigs<IWebApp> IWithSourceControl<FluentT> IWithSourceControl<IWebApp> IWithCreatableResourceGroup<IWithNewAppServicePlan> IWithCreatableResourceGroup<T> IWithExistingResourceGroup<IWithNewAppServicePlan> IWithExistingResourceGroup<T> IWithGroup<IWithNewAppServicePlan> IWithNewResourceGroup<IWithNewAppServicePlan> IWithNewResourceGroup<T> IBeta IDefinitionWithRegion<INewAppServicePlanWithGroup> IDefinitionWithTags<IWithCreate<FluentT>> IDefinitionWithTags<IWithCreate<IWebApp>> ICreatable<FluentT> ICreatable<IWebApp> IIndexable
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>) |
WithBuiltInImage(RuntimeStack) |
Specifies the docker container image to be a built in one. (Inherited from IWithDockerContainerImage) |
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>) |
WithCredentials(String, String) |
Specifies the username and password for Docker Hub or the docker registry. (Inherited from IWithCredentials) |
WithDefaultDocument(String) |
Adds a default document. (Inherited from IWithSiteConfigs<FluentT>) |
WithDefaultDocuments(IList<String>) |
Adds a list of default documents. (Inherited from IWithSiteConfigs<FluentT>) |
WithExistingLinuxPlan(IAppServicePlan) |
Uses an existing app service plan for the web app. (Inherited from IBlank) |
WithExistingResourceGroup(IResourceGroup) |
Associates the resource with an existing resource group. (Inherited from IWithExistingResourceGroup<T>) |
WithExistingResourceGroup(String) |
Associates the resource with an existing resource group. (Inherited from IWithExistingResourceGroup<T>) |
WithExistingWindowsPlan(IAppServicePlan) |
Uses an existing app service plan for the web app. (Inherited from IBlank) |
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>) |
WithNewFreeAppServicePlan() |
Creates a new free app service plan. This will fail if there are 10 or more free plans in the current subscription. (Inherited from IWithNewAppServicePlan) |
WithNewLinuxPlan(ICreatable<IAppServicePlan>) |
Creates a new app service plan to use. (Inherited from IWithNewAppServicePlan) |
WithNewLinuxPlan(PricingTier) |
Creates a new app service plan to use. (Inherited from IWithNewAppServicePlan) |
WithNewResourceGroup() | (Inherited from IWithNewResourceGroup<T>) |
WithNewResourceGroup(ICreatable<IResourceGroup>) |
Creates a new resource group to put the resource in, based on the definition specified. (Inherited from IWithCreatableResourceGroup<T>) |
WithNewResourceGroup(String) | (Inherited from IWithNewResourceGroup<T>) |
WithNewSharedAppServicePlan() |
Creates a new shared app service plan. (Inherited from IWithNewAppServicePlan) |
WithNewWindowsPlan(ICreatable<IAppServicePlan>) |
Creates a new app service plan to use. (Inherited from IWithNewAppServicePlan) |
WithNewWindowsPlan(PricingTier) |
Creates a new app service plan to use. (Inherited from IWithNewAppServicePlan) |
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>) |
WithPhpVersion(PhpVersion) |
Specifies the PHP version. (Inherited from IWithSiteConfigs<FluentT>) |
WithPlatformArchitecture(PlatformArchitecture) |
Specifies the platform architecture to use. (Inherited from IWithSiteConfigs<FluentT>) |
WithPrivateDockerHubImage(String) |
Specifies the docker container image to be one from Docker Hub. (Inherited from IWithContainerImage) |
WithPrivateRegistryImage(String, String) |
Specifies the docker container image to be one from a private registry. (Inherited from IWithContainerImage) |
WithPublicDockerHubImage(String) |
Specifies the docker container image to be one from Docker Hub. (Inherited from IWithContainerImage) |
WithPythonVersion(PythonVersion) |
Specifies the Python version. (Inherited from IWithSiteConfigs<FluentT>) |
WithRegion(Region) |
Specifies the region for the resource. (Inherited from IDefinitionWithRegion<T>) |
WithRegion(String) |
Specifies the region for the resource by name. (Inherited from IDefinitionWithRegion<T>) |
WithRemoteDebuggingDisabled() |
Disables remote debugging. (Inherited from IWithSiteConfigs<FluentT>) |
WithRemoteDebuggingEnabled(RemoteVisualStudioVersion) |
Specifies the Visual Studio version for remote debugging. (Inherited from IWithSiteConfigs<FluentT>) |
WithRuntimeStack(WebAppRuntimeStack) |
Specifies the runtime stack for the web app on Windows operating system. (Inherited from IWithWindowsRuntimeStack) |
WithScmSiteAlsoStopped(Boolean) |
Specifies if SCM site is also stopped when the web app is stopped. (Inherited from IWithScmSiteAlsoStopped<FluentT>) |
WithStartUpCommand(String) |
Specifies the startup command. (Inherited from IWithStartUpCommand) |
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>) |
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>) |
WithWebSocketsEnabled(Boolean) |
Specifies if web sockets are enabled. (Inherited from IWithSiteConfigs<FluentT>) |
Applies to
Azure SDK for .NET