• HostingApi - functional programming interface

    Parameters

    Returns {
        adminEnableDisableHosting(groupId, appId, adminEnableDisableHostingRequest?, options?) => Promise<((axios?, basePath?) => AxiosPromise<void>)>;
        adminGetAllHostedAssets(groupId, appId, options?) => Promise<((axios?, basePath?) => AxiosPromise<any>)>;
        adminGetHostedAsset(path, prefix?, options?) => Promise<((axios?, basePath?) => AxiosPromise<HostedAssetMetadata>)>;
        adminGetHostingConfig(groupId, appId, options?) => Promise<((axios?, basePath?) => AxiosPromise<HostingConfiguration>)>;
        adminMoveCopyHostedAsset(groupId, appId, adminMoveCopyHostedAssetRequest, options?) => Promise<((axios?, basePath?) => AxiosPromise<void>)>;
        adminUpdateHostedAsset(path, adminUpdateHostedAssetRequest, options?) => Promise<((axios?, basePath?) => AxiosPromise<void>)>;
        adminUploadHostedAsset(path, adminUploadHostedAssetRequest, options?) => Promise<((axios?, basePath?) => AxiosPromise<void>)>;
    }

    • adminEnableDisableHosting:function
      • Enable or disable App Services Hosting for your app. Changes to hosting can take up to 15 minutes to take effect. This endpoint does not notify you when the changes have taken effect, only that the change operation was successfully received by the server. You can see if the hosting enablement/disablement is complete by calling the Get Hosting Configuration endpoint.

        Parameters

        Returns Promise<((axios?, basePath?) => AxiosPromise<void>)>

        Summary

        Enable/Disable Hosting

        Throws

    • adminGetAllHostedAssets:function
      • Parameters

        Returns Promise<((axios?, basePath?) => AxiosPromise<any>)>

        Summary

        List all hosted assets

        Throws

    • adminGetHostedAsset:function
      • Parameters

        • path: any

          The resource path of a hosted asset.

        • Optional prefix: any

          Return only those assets where the resource path begins with the specified prefix.

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<HostedAssetMetadata>)>

        Summary

        Retrieve metadata for a specific hosted asset

        Throws

    • adminGetHostingConfig:function
    • adminMoveCopyHostedAsset:function
      • Move or copy a hosted asset to a new resource path.

        Parameters

        Returns Promise<((axios?, basePath?) => AxiosPromise<void>)>

        Summary

        Move or copy a hosted asset

        Throws

    • adminUpdateHostedAsset:function
      • Update the metadata attributes of a hosted asset at a specific resource path.

        Parameters

        • path: any

          The resource path of a hosted asset.

        • adminUpdateHostedAssetRequest: AdminUpdateHostedAssetRequest

          The new metadata attributes for the hosted asset. These attributes replace all existing attributes for the file.

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<void>)>

        Summary

        Update the metadata attributes of a hosted asset

        Throws

    • adminUploadHostedAsset:function
      • Upload or replace a hosted asset at a specific resource path.

        Parameters

        • path: any

          The resource path of a hosted asset.

        • adminUploadHostedAssetRequest: AdminUploadHostedAssetRequest

          The hosted asset file and its metadata. (Must use `Content-Type: multipart/mixed`)

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<void>)>

        Summary

        Upload or replace a hosted asset

        Throws

    Export

Generated using TypeDoc