共用方式為


IUpdate Interface

Definition

The template for a function app update operation, containing all the settings that can be modified.

public interface IUpdate : Microsoft.Azure.Management.AppService.Fluent.FunctionApp.Update.IWithAppServicePlan, Microsoft.Azure.Management.AppService.Fluent.FunctionApp.Update.IWithDailyUsageQuota, Microsoft.Azure.Management.AppService.Fluent.FunctionApp.Update.IWithRuntimeVersion, Microsoft.Azure.Management.AppService.Fluent.FunctionApp.Update.IWithStorageAccount, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IUpdate<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithAppSettings<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithAuthentication<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithClientAffinityEnabled<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithClientCertEnabled<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithConnectionString<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithDiagnosticLogging<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithHostNameBinding<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithHostNameSslBinding<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithManagedServiceIdentity<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithScmSiteAlsoStopped<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithSiteConfigs<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithSourceControl<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithSystemAssignedIdentityBasedAccess<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IWithUserAssignedManagedServiceIdentityBasedAccess<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Update.IUpdateWithTags<Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Update.IUpdate<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.AppService.Fluent.IFunctionApp>
type IUpdate = interface
    interface IUpdate<IFunctionApp>
    interface IAppliable<IFunctionApp>
    interface IIndexable
    interface IUpdateWithTags<IUpdate<IFunctionApp>>
    interface IWithClientAffinityEnabled<IFunctionApp>
    interface IWithClientCertEnabled<IFunctionApp>
    interface IWithScmSiteAlsoStopped<IFunctionApp>
    interface IWithSiteConfigs<IFunctionApp>
    interface IWithAppSettings<IFunctionApp>
    interface IWithConnectionString<IFunctionApp>
    interface IWithSourceControl<IFunctionApp>
    interface IWithHostNameBinding<IFunctionApp>
    interface IWithHostNameSslBinding<IFunctionApp>
    interface IWithAuthentication<IFunctionApp>
    interface IWithDiagnosticLogging<IFunctionApp>
    interface IBeta
    interface IWithManagedServiceIdentity<IFunctionApp>
    interface IWithSystemAssignedIdentityBasedAccess<IFunctionApp>
    interface IWithUserAssignedManagedServiceIdentityBasedAccess<IFunctionApp>
    interface IWithAppServicePlan
    interface IWithRuntimeVersion
    interface IWithStorageAccount
    interface IWithDailyUsageQuota
Public Interface IUpdate
Implements IAppliable(Of IFunctionApp), IBeta, IUpdate(Of IFunctionApp), IUpdateWithTags(Of IUpdate(Of IFunctionApp)), IWithAppServicePlan, IWithAppSettings(Of IFunctionApp), IWithAuthentication(Of IFunctionApp), IWithClientAffinityEnabled(Of IFunctionApp), IWithClientCertEnabled(Of IFunctionApp), IWithConnectionString(Of IFunctionApp), IWithDailyUsageQuota, IWithDiagnosticLogging(Of IFunctionApp), IWithHostNameBinding(Of IFunctionApp), IWithHostNameSslBinding(Of IFunctionApp), IWithManagedServiceIdentity(Of IFunctionApp), IWithRuntimeVersion, IWithScmSiteAlsoStopped(Of IFunctionApp), IWithSiteConfigs(Of IFunctionApp), IWithSourceControl(Of IFunctionApp), IWithStorageAccount, IWithSystemAssignedIdentityBasedAccess(Of IFunctionApp), IWithUserAssignedManagedServiceIdentityBasedAccess(Of IFunctionApp)
Implements

Properties

Key (Inherited from IIndexable)

Methods

Apply()

Execute the update request.

(Inherited from IAppliable<T>)
ApplyAsync(CancellationToken, Boolean)

Execute the update request asynchronously.

(Inherited from IAppliable<T>)
DefineAuthentication()

Specifies the definition of a new authentication configuration.

(Inherited from IWithAuthentication<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>)
UpdateDiagnosticLogsConfiguration()

Gets Specifies the update of an existing diagnostic logs configuration.

(Inherited from IWithDiagnosticLogging<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>)
WithAppSettingStickiness(String, Boolean)

Changes the stickiness of an app setting.

(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>)
WithConnectionStringStickiness(String, Boolean)

Changes the stickiness of a connection string.

(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>)
WithDailyUsageQuota(Int32)

Specifies the daily usage data cap.

(Inherited from IWithDailyUsageQuota)
WithDefaultDocument(String)

Adds a default document.

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

Adds a list of default documents.

(Inherited from IWithSiteConfigs<FluentT>)
WithExistingAppServicePlan(IAppServicePlan)

Uses an existing app service plan for the function app.

(Inherited from IWithAppServicePlan)
WithExistingStorageAccount(IStorageAccount)

Specifies the storage account to use for the function app.

(Inherited from IWithStorageAccount)
WithExistingUserAssignedManagedServiceIdentity(IIdentity)

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

(Inherited from IWithUserAssignedManagedServiceIdentityBasedAccess<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>)
WithLatestRuntimeVersion()

Uses the latest runtime version for the function app.

(Inherited from IWithRuntimeVersion)
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>)
WithNewAppServicePlan(ICreatable<IAppServicePlan>)

Creates a new app service plan to use.

(Inherited from IWithAppServicePlan)
WithNewAppServicePlan(PricingTier)

Creates a new app service plan to use.

(Inherited from IWithAppServicePlan)
WithNewConsumptionPlan()

Creates a new consumption plan to use.

(Inherited from IWithAppServicePlan)
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 IWithAppServicePlan)
WithNewSharedAppServicePlan()

Creates a new shared app service plan.

(Inherited from IWithAppServicePlan)
WithNewStorageAccount(String, SkuName)

Creates a new storage account to use for the function app.

(Inherited from IWithStorageAccount)
WithNewUserAssignedManagedServiceIdentity(ICreatable<IIdentity>)

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

(Inherited from IWithUserAssignedManagedServiceIdentityBasedAccess<FluentT>)
WithoutAppSetting(String)

Removes an app setting from the web app.

(Inherited from IWithAppSettings<FluentT>)
WithoutAuthentication()

Turns off the authentication on the web app.

(Inherited from IWithAuthentication<FluentT>)
WithoutConnectionString(String)

Removes a connection string from the web app.

(Inherited from IWithConnectionString<FluentT>)
WithoutDailyUsageQuota()

Specifies the daily usage data cap.

(Inherited from IWithDailyUsageQuota)
WithoutDefaultDocument(String)

Removes a default document.

(Inherited from IWithSiteConfigs<FluentT>)
WithoutHostnameBinding(String)

Unbinds a hostname from the web app.

(Inherited from IWithHostNameBinding<FluentT>)
WithoutJava()

Turn off Java support.

(Inherited from IWithSiteConfigs<FluentT>)
WithoutPython()

Turn off Python support.

(Inherited from IWithSiteConfigs<FluentT>)
WithoutSourceControl()

Removes source control for deployment from the web app.

(Inherited from IWithSourceControl<FluentT>)
WithoutSslBinding(String)

Removes an SSL binding for a specific hostname.

(Inherited from IWithHostNameSslBinding<FluentT>)
WithoutSystemAssignedManagedServiceIdentity()

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

(Inherited from IWithSystemAssignedIdentityBasedAccess<FluentT>)
WithoutTag(String)

Removes a tag from the resource.

(Inherited from IUpdateWithTags<T>)
WithoutUserAssignedManagedServiceIdentity(String)

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

(Inherited from IWithUserAssignedManagedServiceIdentityBasedAccess<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>)
WithRuntimeVersion(String)

Specifies the runtime version for the function app.

(Inherited from IWithRuntimeVersion)
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 stay at the slot during a swap.

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

Specifies the app settings for the web app as a Map. These app settings will stay at the slot during a swap.

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

Adds a connection string to the web app. This connection string will stay at the slot during a 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 IWithSystemAssignedIdentityBasedAccess<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 IWithSystemAssignedIdentityBasedAccess<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 IWithSystemAssignedIdentityBasedAccess<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 IWithSystemAssignedIdentityBasedAccess<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 IUpdateWithTags<T>)
WithTags(IDictionary<String,String>)

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

(Inherited from IUpdateWithTags<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