Interface FunctionApp

  • All Superinterfaces:
    com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<com.microsoft.azure.management.appservice.implementation.AppServiceManager,​com.microsoft.azure.management.appservice.implementation.SiteInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasId, com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.appservice.implementation.SiteInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.appservice.implementation.AppServiceManager>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasName, com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup, com.microsoft.azure.management.resources.fluentcore.model.Indexable, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<FunctionApp>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource, com.microsoft.azure.management.resources.fluentcore.model.Updatable<FunctionApp.Update>, WebAppBase

    @Beta
    public interface FunctionApp
    extends WebAppBase, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<FunctionApp>, com.microsoft.azure.management.resources.fluentcore.model.Updatable<FunctionApp.Update>
    An immutable client-side representation of an Azure Function App.
    • Method Detail

      • deploymentSlots

        @Beta(V1_3_0)
        FunctionDeploymentSlots deploymentSlots()
        Returns:
        the entry point to deployment slot management API under the function app
      • storageAccount

        com.microsoft.azure.management.storage.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

        Map<String,​String> listFunctionKeys​(String functionName)
        Retrieve the function key for a specific function.
        Parameters:
        functionName - the name of the function
        Returns:
        the function key
      • listFunctionKeysAsync

        rx.Observable<Map<String,​String>> listFunctionKeysAsync​(String functionName)
        Retrieve the function key for a specific function.
        Parameters:
        functionName - the name of the function
        Returns:
        the function key
      • addFunctionKey

        NameValuePair addFunctionKey​(String functionName,
                                     String keyName,
                                     String keyValue)
        Adds a key to a function in this function app.
        Parameters:
        functionName - the name of the function
        keyName - the name of the key to add
        keyValue - 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 function
        keyName - the name of the key to add
        keyValue - optional. If not provided, a value will be generated.
        Returns:
        the added function key
      • removeFunctionKey

        void removeFunctionKey​(String functionName,
                               String keyName)
        Removes a key to a function in this function app.
        Parameters:
        functionName - the name of the function
        keyName - the name of the key to remove
      • removeFunctionKeyAsync

        rx.Completable removeFunctionKeyAsync​(String functionName,
                                              String keyName)
        Removes a key to a function in this function app.
        Parameters:
        functionName - the name of the function
        keyName - the name of the key to remove
        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