/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PollerLike, PollOperationState } from "@azure/core-lro";
import {
StaticSiteARMResource,
StaticSitesListOptionalParams,
StaticSitesGetStaticSitesByResourceGroupOptionalParams,
StaticSiteUserARMResource,
StaticSitesListStaticSiteUsersOptionalParams,
StaticSiteBuildARMResource,
StaticSitesGetStaticSiteBuildsOptionalParams,
StaticSiteFunctionOverviewARMResource,
StaticSitesListStaticSiteBuildFunctionsOptionalParams,
StaticSiteUserProvidedFunctionAppARMResource,
StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams,
StaticSiteCustomDomainOverviewARMResource,
StaticSitesListStaticSiteCustomDomainsOptionalParams,
StaticSitesListStaticSiteFunctionsOptionalParams,
RemotePrivateEndpointConnectionARMResource,
StaticSitesGetPrivateEndpointConnectionListOptionalParams,
StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams,
StaticSiteLinkedBackendARMResource,
StaticSitesGetLinkedBackendsOptionalParams,
StaticSitesGetLinkedBackendsForBuildOptionalParams,
StaticSitesWorkflowPreviewRequest,
StaticSitesPreviewWorkflowOptionalParams,
StaticSitesPreviewWorkflowResponse,
StaticSitesGetStaticSiteOptionalParams,
StaticSitesGetStaticSiteResponse,
StaticSitesCreateOrUpdateStaticSiteOptionalParams,
StaticSitesCreateOrUpdateStaticSiteResponse,
StaticSitesDeleteStaticSiteOptionalParams,
StaticSitePatchResource,
StaticSitesUpdateStaticSiteOptionalParams,
StaticSitesUpdateStaticSiteResponse,
StaticSitesDeleteStaticSiteUserOptionalParams,
StaticSitesUpdateStaticSiteUserOptionalParams,
StaticSitesUpdateStaticSiteUserResponse,
StaticSitesGetStaticSiteBuildOptionalParams,
StaticSitesGetStaticSiteBuildResponse,
StaticSitesDeleteStaticSiteBuildOptionalParams,
StringDictionary,
StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsOptionalParams,
StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsResponse,
StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptionalParams,
StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse,
StaticSitesListStaticSiteBuildAppSettingsOptionalParams,
StaticSitesListStaticSiteBuildAppSettingsResponse,
StaticSitesListStaticSiteBuildFunctionAppSettingsOptionalParams,
StaticSitesListStaticSiteBuildFunctionAppSettingsResponse,
StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildOptionalParams,
StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildResponse,
StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams,
StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse,
StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildOptionalParams,
StaticSiteZipDeploymentARMResource,
StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams,
StaticSitesCreateOrUpdateStaticSiteAppSettingsOptionalParams,
StaticSitesCreateOrUpdateStaticSiteAppSettingsResponse,
StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsOptionalParams,
StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsResponse,
StaticSiteUserInvitationRequestResource,
StaticSitesCreateUserRolesInvitationLinkOptionalParams,
StaticSitesCreateUserRolesInvitationLinkResponse,
StaticSitesGetStaticSiteCustomDomainOptionalParams,
StaticSitesGetStaticSiteCustomDomainResponse,
StaticSiteCustomDomainRequestPropertiesARMResource,
StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams,
StaticSitesCreateOrUpdateStaticSiteCustomDomainResponse,
StaticSitesDeleteStaticSiteCustomDomainOptionalParams,
StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams,
StaticSitesDetachStaticSiteOptionalParams,
StaticSitesListStaticSiteAppSettingsOptionalParams,
StaticSitesListStaticSiteAppSettingsResponse,
StaticSitesListStaticSiteConfiguredRolesOptionalParams,
StaticSitesListStaticSiteConfiguredRolesResponse,
StaticSitesListStaticSiteFunctionAppSettingsOptionalParams,
StaticSitesListStaticSiteFunctionAppSettingsResponse,
StaticSitesListStaticSiteSecretsOptionalParams,
StaticSitesListStaticSiteSecretsResponse,
StaticSitesGetPrivateEndpointConnectionOptionalParams,
StaticSitesGetPrivateEndpointConnectionResponse,
PrivateLinkConnectionApprovalRequestResource,
StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams,
StaticSitesApproveOrRejectPrivateEndpointConnectionResponse,
StaticSitesDeletePrivateEndpointConnectionOptionalParams,
StaticSitesDeletePrivateEndpointConnectionResponse,
StaticSitesGetPrivateLinkResourcesOptionalParams,
StaticSitesGetPrivateLinkResourcesResponse,
StaticSiteResetPropertiesARMResource,
StaticSitesResetStaticSiteApiKeyOptionalParams,
StaticSitesGetUserProvidedFunctionAppForStaticSiteOptionalParams,
StaticSitesGetUserProvidedFunctionAppForStaticSiteResponse,
StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams,
StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse,
StaticSitesDetachUserProvidedFunctionAppFromStaticSiteOptionalParams,
StaticSitesCreateZipDeploymentForStaticSiteOptionalParams,
StaticSitesValidateBackendOptionalParams,
StaticSitesValidateBackendForBuildOptionalParams,
StaticSitesGetLinkedBackendOptionalParams,
StaticSitesGetLinkedBackendResponse,
StaticSitesLinkBackendOptionalParams,
StaticSitesLinkBackendResponse,
StaticSitesUnlinkBackendOptionalParams,
StaticSitesGetLinkedBackendForBuildOptionalParams,
StaticSitesGetLinkedBackendForBuildResponse,
StaticSitesLinkBackendToBuildOptionalParams,
StaticSitesLinkBackendToBuildResponse,
StaticSitesUnlinkBackendFromBuildOptionalParams
} from "../models";
///
/** Interface representing a StaticSites. */
export interface StaticSites {
/**
* Description for Get all Static Sites for a subscription.
* @param options The options parameters.
*/
list(
options?: StaticSitesListOptionalParams
): PagedAsyncIterableIterator;
/**
* Description for Gets all static sites in the specified resource group.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param options The options parameters.
*/
listStaticSitesByResourceGroup(
resourceGroupName: string,
options?: StaticSitesGetStaticSitesByResourceGroupOptionalParams
): PagedAsyncIterableIterator;
/**
* Description for Gets the list of users of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param authprovider The auth provider for the users.
* @param options The options parameters.
*/
listStaticSiteUsers(
resourceGroupName: string,
name: string,
authprovider: string,
options?: StaticSitesListStaticSiteUsersOptionalParams
): PagedAsyncIterableIterator;
/**
* Description for Gets all static site builds for a particular static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listStaticSiteBuilds(
resourceGroupName: string,
name: string,
options?: StaticSitesGetStaticSiteBuildsOptionalParams
): PagedAsyncIterableIterator;
/**
* Description for Gets the functions of a particular static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
listStaticSiteBuildFunctions(
resourceGroupName: string,
name: string,
environmentName: string,
options?: StaticSitesListStaticSiteBuildFunctionsOptionalParams
): PagedAsyncIterableIterator;
/**
* Description for Gets the details of the user provided function apps registered with a static site
* build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
listUserProvidedFunctionAppsForStaticSiteBuild(
resourceGroupName: string,
name: string,
environmentName: string,
options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams
): PagedAsyncIterableIterator;
/**
* Description for Gets all static site custom domains for a particular static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site resource to search in.
* @param options The options parameters.
*/
listStaticSiteCustomDomains(
resourceGroupName: string,
name: string,
options?: StaticSitesListStaticSiteCustomDomainsOptionalParams
): PagedAsyncIterableIterator;
/**
* Description for Gets the functions of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listStaticSiteFunctions(
resourceGroupName: string,
name: string,
options?: StaticSitesListStaticSiteFunctionsOptionalParams
): PagedAsyncIterableIterator;
/**
* Description for Gets the list of private endpoint connections associated with a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listPrivateEndpointConnectionList(
resourceGroupName: string,
name: string,
options?: StaticSitesGetPrivateEndpointConnectionListOptionalParams
): PagedAsyncIterableIterator;
/**
* Description for Gets the details of the user provided function apps registered with a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listUserProvidedFunctionAppsForStaticSite(
resourceGroupName: string,
name: string,
options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams
): PagedAsyncIterableIterator;
/**
* Returns details of all backends linked to a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param options The options parameters.
*/
listLinkedBackends(
resourceGroupName: string,
name: string,
options?: StaticSitesGetLinkedBackendsOptionalParams
): PagedAsyncIterableIterator;
/**
* Returns details of all backends linked to a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param options The options parameters.
*/
listLinkedBackendsForBuild(
resourceGroupName: string,
name: string,
environmentName: string,
options?: StaticSitesGetLinkedBackendsForBuildOptionalParams
): PagedAsyncIterableIterator;
/**
* Description for Generates a preview workflow file for the static site
* @param location Location where you plan to create the static site.
* @param staticSitesWorkflowPreviewRequest A JSON representation of the
* StaticSitesWorkflowPreviewRequest properties. See example.
* @param options The options parameters.
*/
previewWorkflow(
location: string,
staticSitesWorkflowPreviewRequest: StaticSitesWorkflowPreviewRequest,
options?: StaticSitesPreviewWorkflowOptionalParams
): Promise;
/**
* Description for Gets the details of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
getStaticSite(
resourceGroupName: string,
name: string,
options?: StaticSitesGetStaticSiteOptionalParams
): Promise;
/**
* Description for Creates a new static site in an existing resource group, or updates an existing
* static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to create or update.
* @param staticSiteEnvelope A JSON representation of the staticsite properties. See example.
* @param options The options parameters.
*/
beginCreateOrUpdateStaticSite(
resourceGroupName: string,
name: string,
staticSiteEnvelope: StaticSiteARMResource,
options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams
): Promise<
PollerLike<
PollOperationState,
StaticSitesCreateOrUpdateStaticSiteResponse
>
>;
/**
* Description for Creates a new static site in an existing resource group, or updates an existing
* static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to create or update.
* @param staticSiteEnvelope A JSON representation of the staticsite properties. See example.
* @param options The options parameters.
*/
beginCreateOrUpdateStaticSiteAndWait(
resourceGroupName: string,
name: string,
staticSiteEnvelope: StaticSiteARMResource,
options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams
): Promise;
/**
* Description for Deletes a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to delete.
* @param options The options parameters.
*/
beginDeleteStaticSite(
resourceGroupName: string,
name: string,
options?: StaticSitesDeleteStaticSiteOptionalParams
): Promise, void>>;
/**
* Description for Deletes a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to delete.
* @param options The options parameters.
*/
beginDeleteStaticSiteAndWait(
resourceGroupName: string,
name: string,
options?: StaticSitesDeleteStaticSiteOptionalParams
): Promise;
/**
* Description for Creates a new static site in an existing resource group, or updates an existing
* static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to create or update.
* @param staticSiteEnvelope A JSON representation of the staticsite properties. See example.
* @param options The options parameters.
*/
updateStaticSite(
resourceGroupName: string,
name: string,
staticSiteEnvelope: StaticSitePatchResource,
options?: StaticSitesUpdateStaticSiteOptionalParams
): Promise;
/**
* Description for Deletes the user entry from the static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the staticsite.
* @param authprovider The auth provider for this user.
* @param userid The user id of the user.
* @param options The options parameters.
*/
deleteStaticSiteUser(
resourceGroupName: string,
name: string,
authprovider: string,
userid: string,
options?: StaticSitesDeleteStaticSiteUserOptionalParams
): Promise;
/**
* Description for Updates a user entry with the listed roles
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param authprovider The auth provider for this user.
* @param userid The user id of the user.
* @param staticSiteUserEnvelope A JSON representation of the StaticSiteUser properties. See example.
* @param options The options parameters.
*/
updateStaticSiteUser(
resourceGroupName: string,
name: string,
authprovider: string,
userid: string,
staticSiteUserEnvelope: StaticSiteUserARMResource,
options?: StaticSitesUpdateStaticSiteUserOptionalParams
): Promise;
/**
* Description for Gets the details of a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
getStaticSiteBuild(
resourceGroupName: string,
name: string,
environmentName: string,
options?: StaticSitesGetStaticSiteBuildOptionalParams
): Promise;
/**
* Description for Deletes a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
beginDeleteStaticSiteBuild(
resourceGroupName: string,
name: string,
environmentName: string,
options?: StaticSitesDeleteStaticSiteBuildOptionalParams
): Promise, void>>;
/**
* Description for Deletes a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
beginDeleteStaticSiteBuildAndWait(
resourceGroupName: string,
name: string,
environmentName: string,
options?: StaticSitesDeleteStaticSiteBuildOptionalParams
): Promise;
/**
* Description for Creates or updates the app settings of a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param appSettings The dictionary containing the static site app settings to update.
* @param options The options parameters.
*/
createOrUpdateStaticSiteBuildAppSettings(
resourceGroupName: string,
name: string,
environmentName: string,
appSettings: StringDictionary,
options?: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsOptionalParams
): Promise;
/**
* Description for Creates or updates the function app settings of a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param appSettings The dictionary containing the static site function app settings to update.
* @param options The options parameters.
*/
createOrUpdateStaticSiteBuildFunctionAppSettings(
resourceGroupName: string,
name: string,
environmentName: string,
appSettings: StringDictionary,
options?: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptionalParams
): Promise<
StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsResponse
>;
/**
* Description for Gets the application settings of a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
listStaticSiteBuildAppSettings(
resourceGroupName: string,
name: string,
environmentName: string,
options?: StaticSitesListStaticSiteBuildAppSettingsOptionalParams
): Promise;
/**
* Description for Gets the application settings of a static site build.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param options The options parameters.
*/
listStaticSiteBuildFunctionAppSettings(
resourceGroupName: string,
name: string,
environmentName: string,
options?: StaticSitesListStaticSiteBuildFunctionAppSettingsOptionalParams
): Promise;
/**
* Description for Gets the details of the user provided function app registered with a static site
* build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param functionAppName Name of the function app registered with the static site build.
* @param options The options parameters.
*/
getUserProvidedFunctionAppForStaticSiteBuild(
resourceGroupName: string,
name: string,
environmentName: string,
functionAppName: string,
options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildOptionalParams
): Promise;
/**
* Description for Register a user provided function app with a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param functionAppName Name of the function app to register with the static site build.
* @param staticSiteUserProvidedFunctionEnvelope A JSON representation of the user provided function
* app properties. See example.
* @param options The options parameters.
*/
beginRegisterUserProvidedFunctionAppWithStaticSiteBuild(
resourceGroupName: string,
name: string,
environmentName: string,
functionAppName: string,
staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource,
options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams
): Promise<
PollerLike<
PollOperationState<
StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse
>,
StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse
>
>;
/**
* Description for Register a user provided function app with a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param functionAppName Name of the function app to register with the static site build.
* @param staticSiteUserProvidedFunctionEnvelope A JSON representation of the user provided function
* app properties. See example.
* @param options The options parameters.
*/
beginRegisterUserProvidedFunctionAppWithStaticSiteBuildAndWait(
resourceGroupName: string,
name: string,
environmentName: string,
functionAppName: string,
staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource,
options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams
): Promise<
StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildResponse
>;
/**
* Description for Detach the user provided function app from the static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName The stage site identifier.
* @param functionAppName Name of the function app registered with the static site build.
* @param options The options parameters.
*/
detachUserProvidedFunctionAppFromStaticSiteBuild(
resourceGroupName: string,
name: string,
environmentName: string,
functionAppName: string,
options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildOptionalParams
): Promise;
/**
* Description for Deploys zipped content to a specific environment of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName Name of the environment.
* @param staticSiteZipDeploymentEnvelope A JSON representation of the StaticSiteZipDeployment
* properties. See example.
* @param options The options parameters.
*/
beginCreateZipDeploymentForStaticSiteBuild(
resourceGroupName: string,
name: string,
environmentName: string,
staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource,
options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams
): Promise, void>>;
/**
* Description for Deploys zipped content to a specific environment of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param environmentName Name of the environment.
* @param staticSiteZipDeploymentEnvelope A JSON representation of the StaticSiteZipDeployment
* properties. See example.
* @param options The options parameters.
*/
beginCreateZipDeploymentForStaticSiteBuildAndWait(
resourceGroupName: string,
name: string,
environmentName: string,
staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource,
options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams
): Promise;
/**
* Description for Creates or updates the app settings of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param appSettings The dictionary containing the static site app settings to update.
* @param options The options parameters.
*/
createOrUpdateStaticSiteAppSettings(
resourceGroupName: string,
name: string,
appSettings: StringDictionary,
options?: StaticSitesCreateOrUpdateStaticSiteAppSettingsOptionalParams
): Promise;
/**
* Description for Creates or updates the function app settings of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param appSettings The dictionary containing the static site function app settings to update.
* @param options The options parameters.
*/
createOrUpdateStaticSiteFunctionAppSettings(
resourceGroupName: string,
name: string,
appSettings: StringDictionary,
options?: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsOptionalParams
): Promise;
/**
* Description for Creates an invitation link for a user with the role
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param staticSiteUserRolesInvitationEnvelope Static sites user roles invitation resource.
* @param options The options parameters.
*/
createUserRolesInvitationLink(
resourceGroupName: string,
name: string,
staticSiteUserRolesInvitationEnvelope: StaticSiteUserInvitationRequestResource,
options?: StaticSitesCreateUserRolesInvitationLinkOptionalParams
): Promise;
/**
* Description for Gets an existing custom domain for a particular static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site resource to search in.
* @param domainName The custom domain name.
* @param options The options parameters.
*/
getStaticSiteCustomDomain(
resourceGroupName: string,
name: string,
domainName: string,
options?: StaticSitesGetStaticSiteCustomDomainOptionalParams
): Promise;
/**
* Description for Creates a new static site custom domain in an existing resource group and static
* site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param domainName The custom domain to create.
* @param staticSiteCustomDomainRequestPropertiesEnvelope A JSON representation of the static site
* custom domain request properties. See example.
* @param options The options parameters.
*/
beginCreateOrUpdateStaticSiteCustomDomain(
resourceGroupName: string,
name: string,
domainName: string,
staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource,
options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams
): Promise<
PollerLike<
PollOperationState<
StaticSitesCreateOrUpdateStaticSiteCustomDomainResponse
>,
StaticSitesCreateOrUpdateStaticSiteCustomDomainResponse
>
>;
/**
* Description for Creates a new static site custom domain in an existing resource group and static
* site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param domainName The custom domain to create.
* @param staticSiteCustomDomainRequestPropertiesEnvelope A JSON representation of the static site
* custom domain request properties. See example.
* @param options The options parameters.
*/
beginCreateOrUpdateStaticSiteCustomDomainAndWait(
resourceGroupName: string,
name: string,
domainName: string,
staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource,
options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams
): Promise;
/**
* Description for Deletes a custom domain.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param domainName The custom domain to delete.
* @param options The options parameters.
*/
beginDeleteStaticSiteCustomDomain(
resourceGroupName: string,
name: string,
domainName: string,
options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams
): Promise, void>>;
/**
* Description for Deletes a custom domain.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param domainName The custom domain to delete.
* @param options The options parameters.
*/
beginDeleteStaticSiteCustomDomainAndWait(
resourceGroupName: string,
name: string,
domainName: string,
options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams
): Promise;
/**
* Description for Validates a particular custom domain can be added to a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param domainName The custom domain to validate.
* @param staticSiteCustomDomainRequestPropertiesEnvelope A JSON representation of the static site
* custom domain request properties. See example.
* @param options The options parameters.
*/
beginValidateCustomDomainCanBeAddedToStaticSite(
resourceGroupName: string,
name: string,
domainName: string,
staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource,
options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams
): Promise, void>>;
/**
* Description for Validates a particular custom domain can be added to a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param domainName The custom domain to validate.
* @param staticSiteCustomDomainRequestPropertiesEnvelope A JSON representation of the static site
* custom domain request properties. See example.
* @param options The options parameters.
*/
beginValidateCustomDomainCanBeAddedToStaticSiteAndWait(
resourceGroupName: string,
name: string,
domainName: string,
staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource,
options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams
): Promise;
/**
* Description for Detaches a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to detach.
* @param options The options parameters.
*/
beginDetachStaticSite(
resourceGroupName: string,
name: string,
options?: StaticSitesDetachStaticSiteOptionalParams
): Promise, void>>;
/**
* Description for Detaches a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site to detach.
* @param options The options parameters.
*/
beginDetachStaticSiteAndWait(
resourceGroupName: string,
name: string,
options?: StaticSitesDetachStaticSiteOptionalParams
): Promise;
/**
* Description for Gets the application settings of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listStaticSiteAppSettings(
resourceGroupName: string,
name: string,
options?: StaticSitesListStaticSiteAppSettingsOptionalParams
): Promise;
/**
* Description for Lists the roles configured for the static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listStaticSiteConfiguredRoles(
resourceGroupName: string,
name: string,
options?: StaticSitesListStaticSiteConfiguredRolesOptionalParams
): Promise;
/**
* Description for Gets the application settings of a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listStaticSiteFunctionAppSettings(
resourceGroupName: string,
name: string,
options?: StaticSitesListStaticSiteFunctionAppSettingsOptionalParams
): Promise;
/**
* Description for Lists the secrets for an existing static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param options The options parameters.
*/
listStaticSiteSecrets(
resourceGroupName: string,
name: string,
options?: StaticSitesListStaticSiteSecretsOptionalParams
): Promise;
/**
* Description for Gets a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param privateEndpointConnectionName Name of the private endpoint connection.
* @param options The options parameters.
*/
getPrivateEndpointConnection(
resourceGroupName: string,
name: string,
privateEndpointConnectionName: string,
options?: StaticSitesGetPrivateEndpointConnectionOptionalParams
): Promise;
/**
* Description for Approves or rejects a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param privateEndpointConnectionName Name of the private endpoint connection.
* @param privateEndpointWrapper Request body.
* @param options The options parameters.
*/
beginApproveOrRejectPrivateEndpointConnection(
resourceGroupName: string,
name: string,
privateEndpointConnectionName: string,
privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource,
options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams
): Promise<
PollerLike<
PollOperationState<
StaticSitesApproveOrRejectPrivateEndpointConnectionResponse
>,
StaticSitesApproveOrRejectPrivateEndpointConnectionResponse
>
>;
/**
* Description for Approves or rejects a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param privateEndpointConnectionName Name of the private endpoint connection.
* @param privateEndpointWrapper Request body.
* @param options The options parameters.
*/
beginApproveOrRejectPrivateEndpointConnectionAndWait(
resourceGroupName: string,
name: string,
privateEndpointConnectionName: string,
privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource,
options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams
): Promise;
/**
* Description for Deletes a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param privateEndpointConnectionName Name of the private endpoint connection.
* @param options The options parameters.
*/
beginDeletePrivateEndpointConnection(
resourceGroupName: string,
name: string,
privateEndpointConnectionName: string,
options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams
): Promise<
PollerLike<
PollOperationState,
StaticSitesDeletePrivateEndpointConnectionResponse
>
>;
/**
* Description for Deletes a private endpoint connection
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param privateEndpointConnectionName Name of the private endpoint connection.
* @param options The options parameters.
*/
beginDeletePrivateEndpointConnectionAndWait(
resourceGroupName: string,
name: string,
privateEndpointConnectionName: string,
options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams
): Promise;
/**
* Description for Gets the private link resources
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the site.
* @param options The options parameters.
*/
getPrivateLinkResources(
resourceGroupName: string,
name: string,
options?: StaticSitesGetPrivateLinkResourcesOptionalParams
): Promise;
/**
* Description for Resets the api key for an existing static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param resetPropertiesEnvelope Static Site Reset Properties ARM resource.
* @param options The options parameters.
*/
resetStaticSiteApiKey(
resourceGroupName: string,
name: string,
resetPropertiesEnvelope: StaticSiteResetPropertiesARMResource,
options?: StaticSitesResetStaticSiteApiKeyOptionalParams
): Promise;
/**
* Description for Gets the details of the user provided function app registered with a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param functionAppName Name of the function app registered with the static site.
* @param options The options parameters.
*/
getUserProvidedFunctionAppForStaticSite(
resourceGroupName: string,
name: string,
functionAppName: string,
options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteOptionalParams
): Promise;
/**
* Description for Register a user provided function app with a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param functionAppName Name of the function app to register with the static site.
* @param staticSiteUserProvidedFunctionEnvelope A JSON representation of the user provided function
* app properties. See example.
* @param options The options parameters.
*/
beginRegisterUserProvidedFunctionAppWithStaticSite(
resourceGroupName: string,
name: string,
functionAppName: string,
staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource,
options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams
): Promise<
PollerLike<
PollOperationState<
StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse
>,
StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteResponse
>
>;
/**
* Description for Register a user provided function app with a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param functionAppName Name of the function app to register with the static site.
* @param staticSiteUserProvidedFunctionEnvelope A JSON representation of the user provided function
* app properties. See example.
* @param options The options parameters.
*/
beginRegisterUserProvidedFunctionAppWithStaticSiteAndWait(
resourceGroupName: string,
name: string,
functionAppName: string,
staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource,
options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams
): Promise;
/**
* Description for Detach the user provided function app from the static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param functionAppName Name of the function app registered with the static site.
* @param options The options parameters.
*/
detachUserProvidedFunctionAppFromStaticSite(
resourceGroupName: string,
name: string,
functionAppName: string,
options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteOptionalParams
): Promise;
/**
* Description for Deploys zipped content to a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param staticSiteZipDeploymentEnvelope A JSON representation of the StaticSiteZipDeployment
* properties. See example.
* @param options The options parameters.
*/
beginCreateZipDeploymentForStaticSite(
resourceGroupName: string,
name: string,
staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource,
options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams
): Promise, void>>;
/**
* Description for Deploys zipped content to a static site.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site.
* @param staticSiteZipDeploymentEnvelope A JSON representation of the StaticSiteZipDeployment
* properties. See example.
* @param options The options parameters.
*/
beginCreateZipDeploymentForStaticSiteAndWait(
resourceGroupName: string,
name: string,
staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource,
options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams
): Promise;
/**
* Validates that a backend can be linked to a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param linkedBackendName Name of the linked backend that should be retrieved
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginValidateBackend(
resourceGroupName: string,
name: string,
linkedBackendName: string,
staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource,
options?: StaticSitesValidateBackendOptionalParams
): Promise, void>>;
/**
* Validates that a backend can be linked to a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param linkedBackendName Name of the linked backend that should be retrieved
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginValidateBackendAndWait(
resourceGroupName: string,
name: string,
linkedBackendName: string,
staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource,
options?: StaticSitesValidateBackendOptionalParams
): Promise;
/**
* Validates that a backend can be linked to a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param linkedBackendName Name of the linked backend that should be retrieved
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginValidateBackendForBuild(
resourceGroupName: string,
name: string,
environmentName: string,
linkedBackendName: string,
staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource,
options?: StaticSitesValidateBackendForBuildOptionalParams
): Promise, void>>;
/**
* Validates that a backend can be linked to a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param linkedBackendName Name of the linked backend that should be retrieved
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginValidateBackendForBuildAndWait(
resourceGroupName: string,
name: string,
environmentName: string,
linkedBackendName: string,
staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource,
options?: StaticSitesValidateBackendForBuildOptionalParams
): Promise;
/**
* Returns the details of a linked backend linked to a static site by name
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param linkedBackendName Name of the linked backend that should be retrieved
* @param options The options parameters.
*/
getLinkedBackend(
resourceGroupName: string,
name: string,
linkedBackendName: string,
options?: StaticSitesGetLinkedBackendOptionalParams
): Promise;
/**
* Link backend to a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param linkedBackendName Name of the backend to link to the static site
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginLinkBackend(
resourceGroupName: string,
name: string,
linkedBackendName: string,
staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource,
options?: StaticSitesLinkBackendOptionalParams
): Promise<
PollerLike<
PollOperationState,
StaticSitesLinkBackendResponse
>
>;
/**
* Link backend to a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param linkedBackendName Name of the backend to link to the static site
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginLinkBackendAndWait(
resourceGroupName: string,
name: string,
linkedBackendName: string,
staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource,
options?: StaticSitesLinkBackendOptionalParams
): Promise;
/**
* Unlink a backend from a static site
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param linkedBackendName Name of the backend linked to the static site
* @param options The options parameters.
*/
unlinkBackend(
resourceGroupName: string,
name: string,
linkedBackendName: string,
options?: StaticSitesUnlinkBackendOptionalParams
): Promise;
/**
* Returns the details of a linked backend linked to a static site build by name
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param linkedBackendName Name of the linked backend that should be retrieved
* @param options The options parameters.
*/
getLinkedBackendForBuild(
resourceGroupName: string,
name: string,
environmentName: string,
linkedBackendName: string,
options?: StaticSitesGetLinkedBackendForBuildOptionalParams
): Promise;
/**
* Link backend to a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param linkedBackendName Name of the backend to link to the static site
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginLinkBackendToBuild(
resourceGroupName: string,
name: string,
environmentName: string,
linkedBackendName: string,
staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource,
options?: StaticSitesLinkBackendToBuildOptionalParams
): Promise<
PollerLike<
PollOperationState,
StaticSitesLinkBackendToBuildResponse
>
>;
/**
* Link backend to a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param linkedBackendName Name of the backend to link to the static site
* @param staticSiteLinkedBackendEnvelope A JSON representation of the linked backend request
* properties
* @param options The options parameters.
*/
beginLinkBackendToBuildAndWait(
resourceGroupName: string,
name: string,
environmentName: string,
linkedBackendName: string,
staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource,
options?: StaticSitesLinkBackendToBuildOptionalParams
): Promise;
/**
* Unlink a backend from a static site build
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the static site
* @param environmentName The stage site identifier
* @param linkedBackendName Name of the backend linked to the static site
* @param options The options parameters.
*/
unlinkBackendFromBuild(
resourceGroupName: string,
name: string,
environmentName: string,
linkedBackendName: string,
options?: StaticSitesUnlinkBackendFromBuildOptionalParams
): Promise;
}