Interface FunctionApp
- All Superinterfaces:
FunctionAppBasic, com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource<AppServiceManager, SiteInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<SiteInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<AppServiceManager>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<FunctionApp>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListingPrivateEndpointConnection, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListingPrivateLinkResource, SupportsOneDeploy, com.azure.resourcemanager.resources.fluentcore.collection.SupportsUpdatingPrivateEndpointConnection, com.azure.resourcemanager.resources.fluentcore.model.Updatable<FunctionApp.Update>, WebAppBase, WebSiteBase
public interface FunctionApp
extends FunctionAppBasic, WebAppBase, com.azure.resourcemanager.resources.fluentcore.model.Updatable<FunctionApp.Update>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListingPrivateLinkResource, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListingPrivateEndpointConnection, com.azure.resourcemanager.resources.fluentcore.collection.SupportsUpdatingPrivateEndpointConnection, SupportsOneDeploy
An immutable client-side representation of an Azure Function App.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContainer interface for all the definitions that need to be implemented.static interfaceGrouping of all the function app definition stages.static interfaceThe template for a function app update operation, containing all the settings that can be modified.static interfaceGrouping of all the function app update stages.Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags<T>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.UpdateWithTags<T> -
Field Summary
Fields inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
DUMMY -
Method Summary
Modifier and TypeMethodDescriptionaddFunctionKey(String functionName, String keyName, String keyValue) Adds a key to a function in this function app.addFunctionKeyAsync(String functionName, String keyName, String keyValue) Adds a key to a function in this function app.Gets the entry point to deployment slot management API under the function app.Gets the master key for the function app.Gets the master key for the function app.listFunctionKeys(String functionName) Retrieve the function key for a specific function.listFunctionKeysAsync(String functionName) Retrieve the function key for a specific function.com.azure.core.http.rest.PagedIterable<FunctionEnvelope> List function information elements.Retrieve the ID of the Azure Container Apps environment that the Function App runs on.Retrieves the maximum replica count.Retrieves the minimum replica count.voidremoveFunctionKey(String functionName, String keyName) Removes a key to a function in this function app.removeFunctionKeyAsync(String functionName, String keyName) Removes a key to a function in this function app.Gets the storage account associated with the function app.voidSyncs the triggers on the function app.Syncs the triggers on the function app.voidtriggerFunction(String functionName, Object payload) Triggers a function.triggerFunctionAsync(String functionName, Object payload) Triggers a function.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasId
idMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, typeMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListingPrivateEndpointConnection
listPrivateEndpointConnections, listPrivateEndpointConnectionsAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListingPrivateLinkResource
listPrivateLinkResources, listPrivateLinkResourcesAsyncMethods inherited from interface SupportsOneDeploy
deploy, deploy, deploy, deploy, deployAsync, deployAsync, deployAsync, deployAsync, getDeploymentStatus, getDeploymentStatusAsync, pushDeploy, pushDeployAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsUpdatingPrivateEndpointConnection
approvePrivateEndpointConnection, approvePrivateEndpointConnectionAsync, rejectPrivateEndpointConnection, rejectPrivateEndpointConnectionAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable
updateMethods inherited from interface WebAppBase
alwaysOn, applySlotConfigurations, applySlotConfigurationsAsync, autoSwapSlotName, defaultDocuments, deploy, diagnosticLogsConfig, documentRoot, ftpsState, getAppSettings, getAppSettingsAsync, getAuthenticationConfig, getAuthenticationConfigAsync, getConnectionStrings, getConnectionStringsAsync, getContainerLogs, getContainerLogsAsync, getContainerLogsZip, getContainerLogsZipAsync, getHostnameBindings, getHostnameBindingsAsync, getPublishingProfile, getPublishingProfileAsync, getSiteAppSettings, getSiteAppSettingsAsync, getSourceControl, getSourceControlAsync, http20Enabled, ipSecurityRules, javaContainer, javaContainerVersion, javaVersion, linuxFxVersion, localMySqlEnabled, managedPipelineMode, minTlsVersion, netFrameworkVersion, nodeVersion, phpVersion, platformArchitecture, publicNetworkAccess, pythonVersion, remoteDebuggingEnabled, remoteDebuggingVersion, resetSlotConfigurations, resetSlotConfigurationsAsync, restart, restartAsync, scmType, start, startAsync, stop, stopAsync, streamAllLogs, streamAllLogsAsync, streamApplicationLogs, streamApplicationLogsAsync, streamDeploymentLogs, streamDeploymentLogsAsync, streamHttpLogs, streamHttpLogsAsync, streamTraceLogs, streamTraceLogsAsync, swap, swapAsync, systemAssignedManagedServiceIdentityPrincipalId, systemAssignedManagedServiceIdentityTenantId, userAssignedManagedServiceIdentityIds, verifyDomainOwnership, verifyDomainOwnershipAsync, virtualApplications, webSocketsEnabled, windowsFxVersion, zipDeploy, zipDeploy, zipDeployAsync, zipDeployAsyncMethods inherited from interface WebSiteBase
appServicePlanId, availabilityState, clientAffinityEnabled, clientCertEnabled, clientCertExclusionPaths, cloningInfo, containerSize, dailyMemoryTimeQuota, defaultHostname, enabled, enabledHostNames, hostingEnvironmentProfile, hostnames, hostnamesDisabled, hostnameSslStates, httpsOnly, hyperV, identity, isDefaultContainer, lastModifiedTime, maxNumberOfWorkers, operatingSystem, outboundIPAddresses, possibleOutboundIpAddresses, redundancyMode, repositorySiteName, scmSiteAlsoStopped, slotSwapStatus, state, suspendedTill, targetSwapSlot, trafficManagerHostNames, usageState
-
Method Details
-
deploymentSlots
FunctionDeploymentSlots deploymentSlots()Gets the entry point to deployment slot management API under the function app.- Returns:
- the entry point to deployment slot management API under the function app
-
storageAccount
StorageAccount storageAccount()Gets the storage account associated with the function app.- Returns:
- the storage account associated with the function app
-
getMasterKey
String getMasterKey()Gets the master key for the function app.- Returns:
- the master key for the function app
-
getMasterKeyAsync
-
listFunctions
com.azure.core.http.rest.PagedIterable<FunctionEnvelope> listFunctions()List function information elements.- Returns:
- list of function information elements
-
listFunctionKeys
-
listFunctionKeysAsync
-
addFunctionKey
Adds a key to a function in this function app.- Parameters:
functionName- the name of the functionkeyName- the name of the key to addkeyValue- optional. If not provided, a value will be generated.- Returns:
- the added function key
-
addFunctionKeyAsync
Adds a key to a function in this function app.- Parameters:
functionName- the name of the functionkeyName- the name of the key to addkeyValue- optional. If not provided, a value will be generated.- Returns:
- the added function key
-
removeFunctionKey
-
removeFunctionKeyAsync
-
triggerFunction
-
triggerFunctionAsync
-
syncTriggers
void syncTriggers()Syncs the triggers on the function app. -
syncTriggersAsync
-
managedEnvironmentId
String managedEnvironmentId()Retrieve the ID of the Azure Container Apps environment that the Function App runs on.- Returns:
- the ID of the Azure Container Apps environment
- See Also:
-
maxReplicas
-
minReplicas
-