Interface FunctionApp
- All Superinterfaces:
GroupableResource<com.microsoft.azure.management.appservice.implementation.AppServiceManager,,com.microsoft.azure.management.appservice.implementation.SiteInner> HasId,HasInner<com.microsoft.azure.management.appservice.implementation.SiteInner>,HasManager<com.microsoft.azure.management.appservice.implementation.AppServiceManager>,HasName,HasResourceGroup,Indexable,Refreshable<FunctionApp>,Resource,Updatable<FunctionApp.Update>,WebAppBase
@Beta
public interface FunctionApp
extends WebAppBase, Refreshable<FunctionApp>, Updatable<FunctionApp.Update>
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.microsoft.azure.management.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T> -
Method Summary
Modifier and TypeMethodDescriptionaddFunctionKey(String functionName, String keyName, String keyValue) Adds a key to a function in this function app.rx.Observable<NameValuePair>addFunctionKeyAsync(String functionName, String keyName, String keyValue) Adds a key to a function in this function app.rx.Observable<String>listFunctionKeys(String functionName) Retrieve the function key for a specific function.listFunctionKeysAsync(String functionName) Retrieve the function key for a specific function.voidremoveFunctionKey(String functionName, String keyName) Removes a key to a function in this function app.rx.CompletableremoveFunctionKeyAsync(String functionName, String keyName) Removes a key to a function in this function app.voidSyncs the triggers on the function app.rx.CompletableSyncs the triggers on the function app.voidtriggerFunction(String functionName, Object payload) Triggers a function.rx.CompletabletriggerFunctionAsync(String functionName, Object payload) Triggers a function.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
idMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
region, regionName, tags, typeMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Updatable
updateMethods inherited from interface com.microsoft.azure.management.appservice.WebAppBase
alwaysOn, applySlotConfigurations, applySlotConfigurationsAsync, appServicePlanId, autoSwapSlotName, availabilityState, clientAffinityEnabled, clientCertEnabled, cloningInfo, containerSize, defaultDocuments, defaultHostName, deploy, diagnosticLogsConfig, documentRoot, enabled, enabledHostNames, ftpsState, getAppSettings, getAppSettingsAsync, getAuthenticationConfig, getAuthenticationConfigAsync, getConnectionStrings, getConnectionStringsAsync, getContainerLogs, getContainerLogsAsync, getContainerLogsZip, getContainerLogsZipAsync, getHostNameBindings, getHostNameBindingsAsync, getPublishingProfile, getPublishingProfileAsync, getSiteAppSettings, getSiteAppSettingsAsync, getSourceControl, getSourceControlAsync, hostNames, hostNamesDisabled, hostNameSslStates, http20Enabled, httpsOnly, isDefaultContainer, javaContainer, javaContainerVersion, javaVersion, lastModifiedTime, linuxFxVersion, localMySqlEnabled, managedPipelineMode, minTlsVersion, netFrameworkVersion, nodeVersion, operatingSystem, outboundIPAddresses, phpVersion, platformArchitecture, pythonVersion, remoteDebuggingEnabled, remoteDebuggingVersion, repositorySiteName, resetSlotConfigurations, resetSlotConfigurationsAsync, restart, restartAsync, scmSiteAlsoStopped, scmType, start, startAsync, state, stop, stopAsync, streamAllLogs, streamAllLogsAsync, streamApplicationLogs, streamApplicationLogsAsync, streamDeploymentLogs, streamDeploymentLogsAsync, streamHttpLogs, streamHttpLogsAsync, streamTraceLogs, streamTraceLogsAsync, swap, swapAsync, systemAssignedManagedServiceIdentityPrincipalId, systemAssignedManagedServiceIdentityTenantId, targetSwapSlot, trafficManagerHostNames, usageState, userAssignedManagedServiceIdentityIds, verifyDomainOwnership, verifyDomainOwnershipAsync, virtualApplications, webSocketsEnabled, zipDeploy, zipDeploy, zipDeployAsync, zipDeployAsync
-
Method Details
-
deploymentSlots
- Returns:
- the entry point to deployment slot management API under the function app
-
storageAccount
StorageAccount storageAccount()- Returns:
- the storage account associated with the function app
-
getMasterKey
String getMasterKey()- Returns:
- the master key for the function app
-
getMasterKeyAsync
rx.Observable<String> getMasterKeyAsync()- Returns:
- the master key for the function app
-
listFunctionKeys
Retrieve the function key for a specific function.- Parameters:
functionName- the name of the function- Returns:
- the function key
-
listFunctionKeysAsync
Retrieve the function key for a specific function.- Parameters:
functionName- the name of the function- Returns:
- the function key
-
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
rx.Observable<NameValuePair> addFunctionKeyAsync(String functionName, String keyName, String keyValue) 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
Removes a key to a function in this function app.- Parameters:
functionName- the name of the functionkeyName- the name of the key to remove
-
removeFunctionKeyAsync
Removes a key to a function in this function app.- Parameters:
functionName- the name of the functionkeyName- the name of the key to remove- Returns:
- the completable of the operation
-
triggerFunction
Triggers a function.- Parameters:
functionName- the name of the functionpayload- the payload to be serialized to JSON
-
triggerFunctionAsync
Triggers a function.- Parameters:
functionName- the name of the functionpayload- the payload to be serialized to JSON- Returns:
- the completable of the operation
-
syncTriggers
void syncTriggers()Syncs the triggers on the function app. -
syncTriggersAsync
rx.Completable syncTriggersAsync()Syncs the triggers on the function app.- Returns:
- a completable for the operation
-