StaticSites interface

Interface representing a StaticSites.

Methods

beginApproveOrRejectPrivateEndpointConnection(string, string, string, RemotePrivateEndpointConnectionARMResource, StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams)

Description for Approves or rejects a private endpoint connection

beginApproveOrRejectPrivateEndpointConnectionAndWait(string, string, string, RemotePrivateEndpointConnectionARMResource, StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams)

Description for Approves or rejects a private endpoint connection

beginCreateOrUpdateStaticSite(string, string, StaticSiteARMResource, StaticSitesCreateOrUpdateStaticSiteOptionalParams)

Description for Creates a new static site in an existing resource group, or updates an existing static site.

beginCreateOrUpdateStaticSiteAndWait(string, string, StaticSiteARMResource, StaticSitesCreateOrUpdateStaticSiteOptionalParams)

Description for Creates a new static site in an existing resource group, or updates an existing static site.

beginCreateOrUpdateStaticSiteCustomDomain(string, string, string, StaticSiteCustomDomainRequestPropertiesARMResource, StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams)

Description for Creates a new static site custom domain in an existing resource group and static site.

beginCreateOrUpdateStaticSiteCustomDomainAndWait(string, string, string, StaticSiteCustomDomainRequestPropertiesARMResource, StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams)

Description for Creates a new static site custom domain in an existing resource group and static site.

beginCreateZipDeploymentForStaticSite(string, string, StaticSiteZipDeploymentARMResource, StaticSitesCreateZipDeploymentForStaticSiteOptionalParams)

Description for Deploys zipped content to a static site.

beginCreateZipDeploymentForStaticSiteAndWait(string, string, StaticSiteZipDeploymentARMResource, StaticSitesCreateZipDeploymentForStaticSiteOptionalParams)

Description for Deploys zipped content to a static site.

beginCreateZipDeploymentForStaticSiteBuild(string, string, string, StaticSiteZipDeploymentARMResource, StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams)

Description for Deploys zipped content to a specific environment of a static site.

beginCreateZipDeploymentForStaticSiteBuildAndWait(string, string, string, StaticSiteZipDeploymentARMResource, StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams)

Description for Deploys zipped content to a specific environment of a static site.

beginDeletePrivateEndpointConnection(string, string, string, StaticSitesDeletePrivateEndpointConnectionOptionalParams)

Description for Deletes a private endpoint connection

beginDeletePrivateEndpointConnectionAndWait(string, string, string, StaticSitesDeletePrivateEndpointConnectionOptionalParams)

Description for Deletes a private endpoint connection

beginDeleteStaticSite(string, string, StaticSitesDeleteStaticSiteOptionalParams)

Description for Deletes a static site.

beginDeleteStaticSiteAndWait(string, string, StaticSitesDeleteStaticSiteOptionalParams)

Description for Deletes a static site.

beginDeleteStaticSiteBuild(string, string, string, StaticSitesDeleteStaticSiteBuildOptionalParams)

Description for Deletes a static site build.

beginDeleteStaticSiteBuildAndWait(string, string, string, StaticSitesDeleteStaticSiteBuildOptionalParams)

Description for Deletes a static site build.

beginDeleteStaticSiteCustomDomain(string, string, string, StaticSitesDeleteStaticSiteCustomDomainOptionalParams)

Description for Deletes a custom domain.

beginDeleteStaticSiteCustomDomainAndWait(string, string, string, StaticSitesDeleteStaticSiteCustomDomainOptionalParams)

Description for Deletes a custom domain.

beginDetachStaticSite(string, string, StaticSitesDetachStaticSiteOptionalParams)

Description for Detaches a static site.

beginDetachStaticSiteAndWait(string, string, StaticSitesDetachStaticSiteOptionalParams)

Description for Detaches a static site.

beginLinkBackend(string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesLinkBackendOptionalParams)

Link backend to a static site

beginLinkBackendAndWait(string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesLinkBackendOptionalParams)

Link backend to a static site

beginLinkBackendToBuild(string, string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesLinkBackendToBuildOptionalParams)

Link backend to a static site build

beginLinkBackendToBuildAndWait(string, string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesLinkBackendToBuildOptionalParams)

Link backend to a static site build

beginRegisterUserProvidedFunctionAppWithStaticSite(string, string, string, StaticSiteUserProvidedFunctionAppARMResource, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams)

Description for Register a user provided function app with a static site

beginRegisterUserProvidedFunctionAppWithStaticSiteAndWait(string, string, string, StaticSiteUserProvidedFunctionAppARMResource, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams)

Description for Register a user provided function app with a static site

beginRegisterUserProvidedFunctionAppWithStaticSiteBuild(string, string, string, string, StaticSiteUserProvidedFunctionAppARMResource, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams)

Description for Register a user provided function app with a static site build

beginRegisterUserProvidedFunctionAppWithStaticSiteBuildAndWait(string, string, string, string, StaticSiteUserProvidedFunctionAppARMResource, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams)

Description for Register a user provided function app with a static site build

beginValidateBackend(string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesValidateBackendOptionalParams)

Validates that a backend can be linked to a static site

beginValidateBackendAndWait(string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesValidateBackendOptionalParams)

Validates that a backend can be linked to a static site

beginValidateBackendForBuild(string, string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesValidateBackendForBuildOptionalParams)

Validates that a backend can be linked to a static site build

beginValidateBackendForBuildAndWait(string, string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesValidateBackendForBuildOptionalParams)

Validates that a backend can be linked to a static site build

beginValidateCustomDomainCanBeAddedToStaticSite(string, string, string, StaticSiteCustomDomainRequestPropertiesARMResource, StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams)

Description for Validates a particular custom domain can be added to a static site.

beginValidateCustomDomainCanBeAddedToStaticSiteAndWait(string, string, string, StaticSiteCustomDomainRequestPropertiesARMResource, StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams)

Description for Validates a particular custom domain can be added to a static site.

createOrUpdateBasicAuth(string, string, string, StaticSiteBasicAuthPropertiesARMResource, StaticSitesCreateOrUpdateBasicAuthOptionalParams)

Description for Adds or updates basic auth for a static site.

createOrUpdateBuildDatabaseConnection(string, string, string, string, DatabaseConnection, StaticSitesCreateOrUpdateBuildDatabaseConnectionOptionalParams)

Description for Create or update a database connection for a static site build

createOrUpdateDatabaseConnection(string, string, string, DatabaseConnection, StaticSitesCreateOrUpdateDatabaseConnectionOptionalParams)

Description for Create or update a database connection for a static site

createOrUpdateStaticSiteAppSettings(string, string, StringDictionary, StaticSitesCreateOrUpdateStaticSiteAppSettingsOptionalParams)

Description for Creates or updates the app settings of a static site.

createOrUpdateStaticSiteBuildAppSettings(string, string, string, StringDictionary, StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsOptionalParams)

Description for Creates or updates the app settings of a static site build.

createOrUpdateStaticSiteBuildFunctionAppSettings(string, string, string, StringDictionary, StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptionalParams)

Description for Creates or updates the function app settings of a static site build.

createOrUpdateStaticSiteFunctionAppSettings(string, string, StringDictionary, StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsOptionalParams)

Description for Creates or updates the function app settings of a static site.

createUserRolesInvitationLink(string, string, StaticSiteUserInvitationRequestResource, StaticSitesCreateUserRolesInvitationLinkOptionalParams)

Description for Creates an invitation link for a user with the role

deleteBuildDatabaseConnection(string, string, string, string, StaticSitesDeleteBuildDatabaseConnectionOptionalParams)

Delete a database connection for a static site build

deleteDatabaseConnection(string, string, string, StaticSitesDeleteDatabaseConnectionOptionalParams)

Delete a database connection for a static site

deleteStaticSiteUser(string, string, string, string, StaticSitesDeleteStaticSiteUserOptionalParams)

Description for Deletes the user entry from the static site.

detachUserProvidedFunctionAppFromStaticSite(string, string, string, StaticSitesDetachUserProvidedFunctionAppFromStaticSiteOptionalParams)

Description for Detach the user provided function app from the static site

detachUserProvidedFunctionAppFromStaticSiteBuild(string, string, string, string, StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildOptionalParams)

Description for Detach the user provided function app from the static site build

getBasicAuth(string, string, string, StaticSitesGetBasicAuthOptionalParams)

Description for Gets the basic auth properties for a static site.

getBuildDatabaseConnection(string, string, string, string, StaticSitesGetBuildDatabaseConnectionOptionalParams)

Returns overview of a database connection for a static site build by name

getBuildDatabaseConnectionWithDetails(string, string, string, string, StaticSitesGetBuildDatabaseConnectionWithDetailsOptionalParams)

Returns details of a database connection for a static site build by name

getDatabaseConnection(string, string, string, StaticSitesGetDatabaseConnectionOptionalParams)

Returns overview of a database connection for a static site by name

getDatabaseConnectionWithDetails(string, string, string, StaticSitesGetDatabaseConnectionWithDetailsOptionalParams)

Returns details of a database connection for a static site by name

getLinkedBackend(string, string, string, StaticSitesGetLinkedBackendOptionalParams)

Returns the details of a linked backend linked to a static site by name

getLinkedBackendForBuild(string, string, string, string, StaticSitesGetLinkedBackendForBuildOptionalParams)

Returns the details of a linked backend linked to a static site build by name

getPrivateEndpointConnection(string, string, string, StaticSitesGetPrivateEndpointConnectionOptionalParams)

Description for Gets a private endpoint connection

getPrivateLinkResources(string, string, StaticSitesGetPrivateLinkResourcesOptionalParams)

Description for Gets the private link resources

getStaticSite(string, string, StaticSitesGetStaticSiteOptionalParams)

Description for Gets the details of a static site.

getStaticSiteBuild(string, string, string, StaticSitesGetStaticSiteBuildOptionalParams)

Description for Gets the details of a static site build.

getStaticSiteCustomDomain(string, string, string, StaticSitesGetStaticSiteCustomDomainOptionalParams)

Description for Gets an existing custom domain for a particular static site.

getUserProvidedFunctionAppForStaticSite(string, string, string, StaticSitesGetUserProvidedFunctionAppForStaticSiteOptionalParams)

Description for Gets the details of the user provided function app registered with a static site

getUserProvidedFunctionAppForStaticSiteBuild(string, string, string, string, StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildOptionalParams)

Description for Gets the details of the user provided function app registered with a static site build

list(StaticSitesListOptionalParams)

Description for Get all Static Sites for a subscription.

listBasicAuth(string, string, StaticSitesListBasicAuthOptionalParams)

Description for Gets the basic auth properties for a static site as a collection.

listBuildDatabaseConnections(string, string, string, StaticSitesGetBuildDatabaseConnectionsOptionalParams)

Returns overviews of database connections for a static site build

listBuildDatabaseConnectionsWithDetails(string, string, string, StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams)

Returns details of database connections for a static site build

listDatabaseConnections(string, string, StaticSitesGetDatabaseConnectionsOptionalParams)

Returns overviews of database connections for a static site

listDatabaseConnectionsWithDetails(string, string, StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams)

Returns details of database connections for a static site

listLinkedBackends(string, string, StaticSitesGetLinkedBackendsOptionalParams)

Returns details of all backends linked to a static site

listLinkedBackendsForBuild(string, string, string, StaticSitesGetLinkedBackendsForBuildOptionalParams)

Returns details of all backends linked to a static site build

listPrivateEndpointConnectionList(string, string, StaticSitesGetPrivateEndpointConnectionListOptionalParams)

Description for Gets the list of private endpoint connections associated with a static site

listStaticSiteAppSettings(string, string, StaticSitesListStaticSiteAppSettingsOptionalParams)

Description for Gets the application settings of a static site.

listStaticSiteBuildAppSettings(string, string, string, StaticSitesListStaticSiteBuildAppSettingsOptionalParams)

Description for Gets the application settings of a static site build.

listStaticSiteBuildFunctionAppSettings(string, string, string, StaticSitesListStaticSiteBuildFunctionAppSettingsOptionalParams)

Description for Gets the application settings of a static site build.

listStaticSiteBuildFunctions(string, string, string, StaticSitesListStaticSiteBuildFunctionsOptionalParams)

Description for Gets the functions of a particular static site build.

listStaticSiteBuilds(string, string, StaticSitesGetStaticSiteBuildsOptionalParams)

Description for Gets all static site builds for a particular static site.

listStaticSiteConfiguredRoles(string, string, StaticSitesListStaticSiteConfiguredRolesOptionalParams)

Description for Lists the roles configured for the static site.

listStaticSiteCustomDomains(string, string, StaticSitesListStaticSiteCustomDomainsOptionalParams)

Description for Gets all static site custom domains for a particular static site.

listStaticSiteFunctionAppSettings(string, string, StaticSitesListStaticSiteFunctionAppSettingsOptionalParams)

Description for Gets the application settings of a static site.

listStaticSiteFunctions(string, string, StaticSitesListStaticSiteFunctionsOptionalParams)

Description for Gets the functions of a static site.

listStaticSitesByResourceGroup(string, StaticSitesGetStaticSitesByResourceGroupOptionalParams)

Description for Gets all static sites in the specified resource group.

listStaticSiteSecrets(string, string, StaticSitesListStaticSiteSecretsOptionalParams)

Description for Lists the secrets for an existing static site.

listStaticSiteUsers(string, string, string, StaticSitesListStaticSiteUsersOptionalParams)

Description for Gets the list of users of a static site.

listUserProvidedFunctionAppsForStaticSite(string, string, StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams)

Description for Gets the details of the user provided function apps registered with a static site

listUserProvidedFunctionAppsForStaticSiteBuild(string, string, string, StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams)

Description for Gets the details of the user provided function apps registered with a static site build

previewWorkflow(string, StaticSitesWorkflowPreviewRequest, StaticSitesPreviewWorkflowOptionalParams)

Description for Generates a preview workflow file for the static site

resetStaticSiteApiKey(string, string, StaticSiteResetPropertiesARMResource, StaticSitesResetStaticSiteApiKeyOptionalParams)

Description for Resets the api key for an existing static site.

unlinkBackend(string, string, string, StaticSitesUnlinkBackendOptionalParams)

Unlink a backend from a static site

unlinkBackendFromBuild(string, string, string, string, StaticSitesUnlinkBackendFromBuildOptionalParams)

Unlink a backend from a static site build

updateBuildDatabaseConnection(string, string, string, string, DatabaseConnectionPatchRequest, StaticSitesUpdateBuildDatabaseConnectionOptionalParams)

Description for Create or update a database connection for a static site build

updateDatabaseConnection(string, string, string, DatabaseConnectionPatchRequest, StaticSitesUpdateDatabaseConnectionOptionalParams)

Description for Create or update a database connection for a static site

updateStaticSite(string, string, StaticSitePatchResource, StaticSitesUpdateStaticSiteOptionalParams)

Description for Creates a new static site in an existing resource group, or updates an existing static site.

updateStaticSiteUser(string, string, string, string, StaticSiteUserARMResource, StaticSitesUpdateStaticSiteUserOptionalParams)

Description for Updates a user entry with the listed roles

Method Details

beginApproveOrRejectPrivateEndpointConnection(string, string, string, RemotePrivateEndpointConnectionARMResource, StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams)

Description for Approves or rejects a private endpoint connection

function beginApproveOrRejectPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise<SimplePollerLike<OperationState<RemotePrivateEndpointConnectionARMResource>, RemotePrivateEndpointConnectionARMResource>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

privateEndpointConnectionName

string

Name of the private endpoint connection.

privateEndpointWrapper
RemotePrivateEndpointConnectionARMResource

Request body.

Returns

beginApproveOrRejectPrivateEndpointConnectionAndWait(string, string, string, RemotePrivateEndpointConnectionARMResource, StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams)

Description for Approves or rejects a private endpoint connection

function beginApproveOrRejectPrivateEndpointConnectionAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: StaticSitesApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise<RemotePrivateEndpointConnectionARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

privateEndpointConnectionName

string

Name of the private endpoint connection.

privateEndpointWrapper
RemotePrivateEndpointConnectionARMResource

Request body.

Returns

beginCreateOrUpdateStaticSite(string, string, StaticSiteARMResource, StaticSitesCreateOrUpdateStaticSiteOptionalParams)

Description for Creates a new static site in an existing resource group, or updates an existing static site.

function beginCreateOrUpdateStaticSite(resourceGroupName: string, name: string, staticSiteEnvelope: StaticSiteARMResource, options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams): Promise<SimplePollerLike<OperationState<StaticSiteARMResource>, StaticSiteARMResource>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site to create or update.

staticSiteEnvelope
StaticSiteARMResource

A JSON representation of the staticsite properties. See example.

options
StaticSitesCreateOrUpdateStaticSiteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<StaticSiteARMResource>, StaticSiteARMResource>>

beginCreateOrUpdateStaticSiteAndWait(string, string, StaticSiteARMResource, StaticSitesCreateOrUpdateStaticSiteOptionalParams)

Description for Creates a new static site in an existing resource group, or updates an existing static site.

function beginCreateOrUpdateStaticSiteAndWait(resourceGroupName: string, name: string, staticSiteEnvelope: StaticSiteARMResource, options?: StaticSitesCreateOrUpdateStaticSiteOptionalParams): Promise<StaticSiteARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site to create or update.

staticSiteEnvelope
StaticSiteARMResource

A JSON representation of the staticsite properties. See example.

options
StaticSitesCreateOrUpdateStaticSiteOptionalParams

The options parameters.

Returns

beginCreateOrUpdateStaticSiteCustomDomain(string, string, string, StaticSiteCustomDomainRequestPropertiesARMResource, StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams)

Description for Creates a new static site custom domain in an existing resource group and static site.

function beginCreateOrUpdateStaticSiteCustomDomain(resourceGroupName: string, name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams): Promise<SimplePollerLike<OperationState<StaticSiteCustomDomainOverviewARMResource>, StaticSiteCustomDomainOverviewARMResource>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

domainName

string

The custom domain to create.

staticSiteCustomDomainRequestPropertiesEnvelope
StaticSiteCustomDomainRequestPropertiesARMResource

A JSON representation of the static site custom domain request properties. See example.

Returns

beginCreateOrUpdateStaticSiteCustomDomainAndWait(string, string, string, StaticSiteCustomDomainRequestPropertiesARMResource, StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams)

Description for Creates a new static site custom domain in an existing resource group and static site.

function beginCreateOrUpdateStaticSiteCustomDomainAndWait(resourceGroupName: string, name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, options?: StaticSitesCreateOrUpdateStaticSiteCustomDomainOptionalParams): Promise<StaticSiteCustomDomainOverviewARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

domainName

string

The custom domain to create.

staticSiteCustomDomainRequestPropertiesEnvelope
StaticSiteCustomDomainRequestPropertiesARMResource

A JSON representation of the static site custom domain request properties. See example.

Returns

beginCreateZipDeploymentForStaticSite(string, string, StaticSiteZipDeploymentARMResource, StaticSitesCreateZipDeploymentForStaticSiteOptionalParams)

Description for Deploys zipped content to a static site.

function beginCreateZipDeploymentForStaticSite(resourceGroupName: string, name: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

staticSiteZipDeploymentEnvelope
StaticSiteZipDeploymentARMResource

A JSON representation of the StaticSiteZipDeployment properties. See example.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginCreateZipDeploymentForStaticSiteAndWait(string, string, StaticSiteZipDeploymentARMResource, StaticSitesCreateZipDeploymentForStaticSiteOptionalParams)

Description for Deploys zipped content to a static site.

function beginCreateZipDeploymentForStaticSiteAndWait(resourceGroupName: string, name: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, options?: StaticSitesCreateZipDeploymentForStaticSiteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

staticSiteZipDeploymentEnvelope
StaticSiteZipDeploymentARMResource

A JSON representation of the StaticSiteZipDeployment properties. See example.

Returns

Promise<void>

beginCreateZipDeploymentForStaticSiteBuild(string, string, string, StaticSiteZipDeploymentARMResource, StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams)

Description for Deploys zipped content to a specific environment of a static site.

function beginCreateZipDeploymentForStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

Name of the environment.

staticSiteZipDeploymentEnvelope
StaticSiteZipDeploymentARMResource

A JSON representation of the StaticSiteZipDeployment properties. See example.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginCreateZipDeploymentForStaticSiteBuildAndWait(string, string, string, StaticSiteZipDeploymentARMResource, StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams)

Description for Deploys zipped content to a specific environment of a static site.

function beginCreateZipDeploymentForStaticSiteBuildAndWait(resourceGroupName: string, name: string, environmentName: string, staticSiteZipDeploymentEnvelope: StaticSiteZipDeploymentARMResource, options?: StaticSitesCreateZipDeploymentForStaticSiteBuildOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

Name of the environment.

staticSiteZipDeploymentEnvelope
StaticSiteZipDeploymentARMResource

A JSON representation of the StaticSiteZipDeployment properties. See example.

Returns

Promise<void>

beginDeletePrivateEndpointConnection(string, string, string, StaticSitesDeletePrivateEndpointConnectionOptionalParams)

Description for Deletes a private endpoint connection

function beginDeletePrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams): Promise<SimplePollerLike<OperationState<StaticSitesDeletePrivateEndpointConnectionResponse>, StaticSitesDeletePrivateEndpointConnectionResponse>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

privateEndpointConnectionName

string

Name of the private endpoint connection.

Returns

beginDeletePrivateEndpointConnectionAndWait(string, string, string, StaticSitesDeletePrivateEndpointConnectionOptionalParams)

Description for Deletes a private endpoint connection

function beginDeletePrivateEndpointConnectionAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: StaticSitesDeletePrivateEndpointConnectionOptionalParams): Promise<StaticSitesDeletePrivateEndpointConnectionResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

privateEndpointConnectionName

string

Name of the private endpoint connection.

Returns

beginDeleteStaticSite(string, string, StaticSitesDeleteStaticSiteOptionalParams)

Description for Deletes a static site.

function beginDeleteStaticSite(resourceGroupName: string, name: string, options?: StaticSitesDeleteStaticSiteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site to delete.

options
StaticSitesDeleteStaticSiteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteStaticSiteAndWait(string, string, StaticSitesDeleteStaticSiteOptionalParams)

Description for Deletes a static site.

function beginDeleteStaticSiteAndWait(resourceGroupName: string, name: string, options?: StaticSitesDeleteStaticSiteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site to delete.

options
StaticSitesDeleteStaticSiteOptionalParams

The options parameters.

Returns

Promise<void>

beginDeleteStaticSiteBuild(string, string, string, StaticSitesDeleteStaticSiteBuildOptionalParams)

Description for Deletes a static site build.

function beginDeleteStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesDeleteStaticSiteBuildOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

options
StaticSitesDeleteStaticSiteBuildOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteStaticSiteBuildAndWait(string, string, string, StaticSitesDeleteStaticSiteBuildOptionalParams)

Description for Deletes a static site build.

function beginDeleteStaticSiteBuildAndWait(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesDeleteStaticSiteBuildOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

options
StaticSitesDeleteStaticSiteBuildOptionalParams

The options parameters.

Returns

Promise<void>

beginDeleteStaticSiteCustomDomain(string, string, string, StaticSitesDeleteStaticSiteCustomDomainOptionalParams)

Description for Deletes a custom domain.

function beginDeleteStaticSiteCustomDomain(resourceGroupName: string, name: string, domainName: string, options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

domainName

string

The custom domain to delete.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteStaticSiteCustomDomainAndWait(string, string, string, StaticSitesDeleteStaticSiteCustomDomainOptionalParams)

Description for Deletes a custom domain.

function beginDeleteStaticSiteCustomDomainAndWait(resourceGroupName: string, name: string, domainName: string, options?: StaticSitesDeleteStaticSiteCustomDomainOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

domainName

string

The custom domain to delete.

Returns

Promise<void>

beginDetachStaticSite(string, string, StaticSitesDetachStaticSiteOptionalParams)

Description for Detaches a static site.

function beginDetachStaticSite(resourceGroupName: string, name: string, options?: StaticSitesDetachStaticSiteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site to detach.

options
StaticSitesDetachStaticSiteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDetachStaticSiteAndWait(string, string, StaticSitesDetachStaticSiteOptionalParams)

Description for Detaches a static site.

function beginDetachStaticSiteAndWait(resourceGroupName: string, name: string, options?: StaticSitesDetachStaticSiteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site to detach.

options
StaticSitesDetachStaticSiteOptionalParams

The options parameters.

Returns

Promise<void>

beginLinkBackend(string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesLinkBackendOptionalParams)

Link backend to a static site

function beginLinkBackend(resourceGroupName: string, name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesLinkBackendOptionalParams): Promise<SimplePollerLike<OperationState<StaticSiteLinkedBackendARMResource>, StaticSiteLinkedBackendARMResource>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

linkedBackendName

string

Name of the backend to link to the static site

staticSiteLinkedBackendEnvelope
StaticSiteLinkedBackendARMResource

A JSON representation of the linked backend request properties

options
StaticSitesLinkBackendOptionalParams

The options parameters.

Returns

beginLinkBackendAndWait(string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesLinkBackendOptionalParams)

Link backend to a static site

function beginLinkBackendAndWait(resourceGroupName: string, name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesLinkBackendOptionalParams): Promise<StaticSiteLinkedBackendARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

linkedBackendName

string

Name of the backend to link to the static site

staticSiteLinkedBackendEnvelope
StaticSiteLinkedBackendARMResource

A JSON representation of the linked backend request properties

options
StaticSitesLinkBackendOptionalParams

The options parameters.

Returns

beginLinkBackendToBuild(string, string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesLinkBackendToBuildOptionalParams)

Link backend to a static site build

function beginLinkBackendToBuild(resourceGroupName: string, name: string, environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesLinkBackendToBuildOptionalParams): Promise<SimplePollerLike<OperationState<StaticSiteLinkedBackendARMResource>, StaticSiteLinkedBackendARMResource>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier

linkedBackendName

string

Name of the backend to link to the static site

staticSiteLinkedBackendEnvelope
StaticSiteLinkedBackendARMResource

A JSON representation of the linked backend request properties

options
StaticSitesLinkBackendToBuildOptionalParams

The options parameters.

Returns

beginLinkBackendToBuildAndWait(string, string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesLinkBackendToBuildOptionalParams)

Link backend to a static site build

function beginLinkBackendToBuildAndWait(resourceGroupName: string, name: string, environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesLinkBackendToBuildOptionalParams): Promise<StaticSiteLinkedBackendARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier

linkedBackendName

string

Name of the backend to link to the static site

staticSiteLinkedBackendEnvelope
StaticSiteLinkedBackendARMResource

A JSON representation of the linked backend request properties

options
StaticSitesLinkBackendToBuildOptionalParams

The options parameters.

Returns

beginRegisterUserProvidedFunctionAppWithStaticSite(string, string, string, StaticSiteUserProvidedFunctionAppARMResource, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams)

Description for Register a user provided function app with a static site

function beginRegisterUserProvidedFunctionAppWithStaticSite(resourceGroupName: string, name: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams): Promise<SimplePollerLike<OperationState<StaticSiteUserProvidedFunctionAppARMResource>, StaticSiteUserProvidedFunctionAppARMResource>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

functionAppName

string

Name of the function app to register with the static site.

staticSiteUserProvidedFunctionEnvelope
StaticSiteUserProvidedFunctionAppARMResource

A JSON representation of the user provided function app properties. See example.

Returns

beginRegisterUserProvidedFunctionAppWithStaticSiteAndWait(string, string, string, StaticSiteUserProvidedFunctionAppARMResource, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams)

Description for Register a user provided function app with a static site

function beginRegisterUserProvidedFunctionAppWithStaticSiteAndWait(resourceGroupName: string, name: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteOptionalParams): Promise<StaticSiteUserProvidedFunctionAppARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

functionAppName

string

Name of the function app to register with the static site.

staticSiteUserProvidedFunctionEnvelope
StaticSiteUserProvidedFunctionAppARMResource

A JSON representation of the user provided function app properties. See example.

Returns

beginRegisterUserProvidedFunctionAppWithStaticSiteBuild(string, string, string, string, StaticSiteUserProvidedFunctionAppARMResource, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams)

Description for Register a user provided function app with a static site build

function beginRegisterUserProvidedFunctionAppWithStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams): Promise<SimplePollerLike<OperationState<StaticSiteUserProvidedFunctionAppARMResource>, StaticSiteUserProvidedFunctionAppARMResource>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

functionAppName

string

Name of the function app to register with the static site build.

staticSiteUserProvidedFunctionEnvelope
StaticSiteUserProvidedFunctionAppARMResource

A JSON representation of the user provided function app properties. See example.

Returns

beginRegisterUserProvidedFunctionAppWithStaticSiteBuildAndWait(string, string, string, string, StaticSiteUserProvidedFunctionAppARMResource, StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams)

Description for Register a user provided function app with a static site build

function beginRegisterUserProvidedFunctionAppWithStaticSiteBuildAndWait(resourceGroupName: string, name: string, environmentName: string, functionAppName: string, staticSiteUserProvidedFunctionEnvelope: StaticSiteUserProvidedFunctionAppARMResource, options?: StaticSitesRegisterUserProvidedFunctionAppWithStaticSiteBuildOptionalParams): Promise<StaticSiteUserProvidedFunctionAppARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

functionAppName

string

Name of the function app to register with the static site build.

staticSiteUserProvidedFunctionEnvelope
StaticSiteUserProvidedFunctionAppARMResource

A JSON representation of the user provided function app properties. See example.

Returns

beginValidateBackend(string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesValidateBackendOptionalParams)

Validates that a backend can be linked to a static site

function beginValidateBackend(resourceGroupName: string, name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesValidateBackendOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

linkedBackendName

string

Name of the linked backend that should be retrieved

staticSiteLinkedBackendEnvelope
StaticSiteLinkedBackendARMResource

A JSON representation of the linked backend request properties

options
StaticSitesValidateBackendOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginValidateBackendAndWait(string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesValidateBackendOptionalParams)

Validates that a backend can be linked to a static site

function beginValidateBackendAndWait(resourceGroupName: string, name: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesValidateBackendOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

linkedBackendName

string

Name of the linked backend that should be retrieved

staticSiteLinkedBackendEnvelope
StaticSiteLinkedBackendARMResource

A JSON representation of the linked backend request properties

options
StaticSitesValidateBackendOptionalParams

The options parameters.

Returns

Promise<void>

beginValidateBackendForBuild(string, string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesValidateBackendForBuildOptionalParams)

Validates that a backend can be linked to a static site build

function beginValidateBackendForBuild(resourceGroupName: string, name: string, environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesValidateBackendForBuildOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier

linkedBackendName

string

Name of the linked backend that should be retrieved

staticSiteLinkedBackendEnvelope
StaticSiteLinkedBackendARMResource

A JSON representation of the linked backend request properties

options
StaticSitesValidateBackendForBuildOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginValidateBackendForBuildAndWait(string, string, string, string, StaticSiteLinkedBackendARMResource, StaticSitesValidateBackendForBuildOptionalParams)

Validates that a backend can be linked to a static site build

function beginValidateBackendForBuildAndWait(resourceGroupName: string, name: string, environmentName: string, linkedBackendName: string, staticSiteLinkedBackendEnvelope: StaticSiteLinkedBackendARMResource, options?: StaticSitesValidateBackendForBuildOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier

linkedBackendName

string

Name of the linked backend that should be retrieved

staticSiteLinkedBackendEnvelope
StaticSiteLinkedBackendARMResource

A JSON representation of the linked backend request properties

options
StaticSitesValidateBackendForBuildOptionalParams

The options parameters.

Returns

Promise<void>

beginValidateCustomDomainCanBeAddedToStaticSite(string, string, string, StaticSiteCustomDomainRequestPropertiesARMResource, StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams)

Description for Validates a particular custom domain can be added to a static site.

function beginValidateCustomDomainCanBeAddedToStaticSite(resourceGroupName: string, name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

domainName

string

The custom domain to validate.

staticSiteCustomDomainRequestPropertiesEnvelope
StaticSiteCustomDomainRequestPropertiesARMResource

A JSON representation of the static site custom domain request properties. See example.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginValidateCustomDomainCanBeAddedToStaticSiteAndWait(string, string, string, StaticSiteCustomDomainRequestPropertiesARMResource, StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams)

Description for Validates a particular custom domain can be added to a static site.

function beginValidateCustomDomainCanBeAddedToStaticSiteAndWait(resourceGroupName: string, name: string, domainName: string, staticSiteCustomDomainRequestPropertiesEnvelope: StaticSiteCustomDomainRequestPropertiesARMResource, options?: StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

domainName

string

The custom domain to validate.

staticSiteCustomDomainRequestPropertiesEnvelope
StaticSiteCustomDomainRequestPropertiesARMResource

A JSON representation of the static site custom domain request properties. See example.

Returns

Promise<void>

createOrUpdateBasicAuth(string, string, string, StaticSiteBasicAuthPropertiesARMResource, StaticSitesCreateOrUpdateBasicAuthOptionalParams)

Description for Adds or updates basic auth for a static site.

function createOrUpdateBasicAuth(resourceGroupName: string, name: string, basicAuthName: string, basicAuthEnvelope: StaticSiteBasicAuthPropertiesARMResource, options?: StaticSitesCreateOrUpdateBasicAuthOptionalParams): Promise<StaticSiteBasicAuthPropertiesARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

basicAuthName

string

name of the basic auth entry.

basicAuthEnvelope
StaticSiteBasicAuthPropertiesARMResource

A JSON representation of the basic auth properties.

options
StaticSitesCreateOrUpdateBasicAuthOptionalParams

The options parameters.

Returns

createOrUpdateBuildDatabaseConnection(string, string, string, string, DatabaseConnection, StaticSitesCreateOrUpdateBuildDatabaseConnectionOptionalParams)

Description for Create or update a database connection for a static site build

function createOrUpdateBuildDatabaseConnection(resourceGroupName: string, name: string, environmentName: string, databaseConnectionName: string, databaseConnectionRequestEnvelope: DatabaseConnection, options?: StaticSitesCreateOrUpdateBuildDatabaseConnectionOptionalParams): Promise<DatabaseConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier.

databaseConnectionName

string

Name of the database connection.

databaseConnectionRequestEnvelope
DatabaseConnection

A JSON representation of the database connection request properties

Returns

createOrUpdateDatabaseConnection(string, string, string, DatabaseConnection, StaticSitesCreateOrUpdateDatabaseConnectionOptionalParams)

Description for Create or update a database connection for a static site

function createOrUpdateDatabaseConnection(resourceGroupName: string, name: string, databaseConnectionName: string, databaseConnectionRequestEnvelope: DatabaseConnection, options?: StaticSitesCreateOrUpdateDatabaseConnectionOptionalParams): Promise<DatabaseConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

databaseConnectionName

string

Name of the database connection.

databaseConnectionRequestEnvelope
DatabaseConnection

A JSON representation of the database connection request properties

Returns

createOrUpdateStaticSiteAppSettings(string, string, StringDictionary, StaticSitesCreateOrUpdateStaticSiteAppSettingsOptionalParams)

Description for Creates or updates the app settings of a static site.

function createOrUpdateStaticSiteAppSettings(resourceGroupName: string, name: string, appSettings: StringDictionary, options?: StaticSitesCreateOrUpdateStaticSiteAppSettingsOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

appSettings
StringDictionary

The dictionary containing the static site app settings to update.

Returns

Promise<StringDictionary>

createOrUpdateStaticSiteBuildAppSettings(string, string, string, StringDictionary, StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsOptionalParams)

Description for Creates or updates the app settings of a static site build.

function createOrUpdateStaticSiteBuildAppSettings(resourceGroupName: string, name: string, environmentName: string, appSettings: StringDictionary, options?: StaticSitesCreateOrUpdateStaticSiteBuildAppSettingsOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

appSettings
StringDictionary

The dictionary containing the static site app settings to update.

Returns

Promise<StringDictionary>

createOrUpdateStaticSiteBuildFunctionAppSettings(string, string, string, StringDictionary, StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptionalParams)

Description for Creates or updates the function app settings of a static site build.

function createOrUpdateStaticSiteBuildFunctionAppSettings(resourceGroupName: string, name: string, environmentName: string, appSettings: StringDictionary, options?: StaticSitesCreateOrUpdateStaticSiteBuildFunctionAppSettingsOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

appSettings
StringDictionary

The dictionary containing the static site function app settings to update.

Returns

Promise<StringDictionary>

createOrUpdateStaticSiteFunctionAppSettings(string, string, StringDictionary, StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsOptionalParams)

Description for Creates or updates the function app settings of a static site.

function createOrUpdateStaticSiteFunctionAppSettings(resourceGroupName: string, name: string, appSettings: StringDictionary, options?: StaticSitesCreateOrUpdateStaticSiteFunctionAppSettingsOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

appSettings
StringDictionary

The dictionary containing the static site function app settings to update.

Returns

Promise<StringDictionary>

Description for Creates an invitation link for a user with the role

function createUserRolesInvitationLink(resourceGroupName: string, name: string, staticSiteUserRolesInvitationEnvelope: StaticSiteUserInvitationRequestResource, options?: StaticSitesCreateUserRolesInvitationLinkOptionalParams): Promise<StaticSiteUserInvitationResponseResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

staticSiteUserRolesInvitationEnvelope
StaticSiteUserInvitationRequestResource

Static sites user roles invitation resource.

Returns

deleteBuildDatabaseConnection(string, string, string, string, StaticSitesDeleteBuildDatabaseConnectionOptionalParams)

Delete a database connection for a static site build

function deleteBuildDatabaseConnection(resourceGroupName: string, name: string, environmentName: string, databaseConnectionName: string, options?: StaticSitesDeleteBuildDatabaseConnectionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier.

databaseConnectionName

string

Name of the database connection.

Returns

Promise<void>

deleteDatabaseConnection(string, string, string, StaticSitesDeleteDatabaseConnectionOptionalParams)

Delete a database connection for a static site

function deleteDatabaseConnection(resourceGroupName: string, name: string, databaseConnectionName: string, options?: StaticSitesDeleteDatabaseConnectionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

databaseConnectionName

string

Name of the database connection.

options
StaticSitesDeleteDatabaseConnectionOptionalParams

The options parameters.

Returns

Promise<void>

deleteStaticSiteUser(string, string, string, string, StaticSitesDeleteStaticSiteUserOptionalParams)

Description for Deletes the user entry from the static site.

function deleteStaticSiteUser(resourceGroupName: string, name: string, authprovider: string, userid: string, options?: StaticSitesDeleteStaticSiteUserOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the staticsite.

authprovider

string

The auth provider for this user.

userid

string

The user id of the user.

options
StaticSitesDeleteStaticSiteUserOptionalParams

The options parameters.

Returns

Promise<void>

detachUserProvidedFunctionAppFromStaticSite(string, string, string, StaticSitesDetachUserProvidedFunctionAppFromStaticSiteOptionalParams)

Description for Detach the user provided function app from the static site

function detachUserProvidedFunctionAppFromStaticSite(resourceGroupName: string, name: string, functionAppName: string, options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

functionAppName

string

Name of the function app registered with the static site.

Returns

Promise<void>

detachUserProvidedFunctionAppFromStaticSiteBuild(string, string, string, string, StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildOptionalParams)

Description for Detach the user provided function app from the static site build

function detachUserProvidedFunctionAppFromStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, functionAppName: string, options?: StaticSitesDetachUserProvidedFunctionAppFromStaticSiteBuildOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

functionAppName

string

Name of the function app registered with the static site build.

Returns

Promise<void>

getBasicAuth(string, string, string, StaticSitesGetBasicAuthOptionalParams)

Description for Gets the basic auth properties for a static site.

function getBasicAuth(resourceGroupName: string, name: string, basicAuthName: string, options?: StaticSitesGetBasicAuthOptionalParams): Promise<StaticSiteBasicAuthPropertiesARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

basicAuthName

string

name of the basic auth entry.

options
StaticSitesGetBasicAuthOptionalParams

The options parameters.

Returns

getBuildDatabaseConnection(string, string, string, string, StaticSitesGetBuildDatabaseConnectionOptionalParams)

Returns overview of a database connection for a static site build by name

function getBuildDatabaseConnection(resourceGroupName: string, name: string, environmentName: string, databaseConnectionName: string, options?: StaticSitesGetBuildDatabaseConnectionOptionalParams): Promise<DatabaseConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier.

databaseConnectionName

string

Name of the database connection.

options
StaticSitesGetBuildDatabaseConnectionOptionalParams

The options parameters.

Returns

getBuildDatabaseConnectionWithDetails(string, string, string, string, StaticSitesGetBuildDatabaseConnectionWithDetailsOptionalParams)

Returns details of a database connection for a static site build by name

function getBuildDatabaseConnectionWithDetails(resourceGroupName: string, name: string, environmentName: string, databaseConnectionName: string, options?: StaticSitesGetBuildDatabaseConnectionWithDetailsOptionalParams): Promise<DatabaseConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier.

databaseConnectionName

string

Name of the database connection.

Returns

getDatabaseConnection(string, string, string, StaticSitesGetDatabaseConnectionOptionalParams)

Returns overview of a database connection for a static site by name

function getDatabaseConnection(resourceGroupName: string, name: string, databaseConnectionName: string, options?: StaticSitesGetDatabaseConnectionOptionalParams): Promise<DatabaseConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

databaseConnectionName

string

Name of the database connection.

options
StaticSitesGetDatabaseConnectionOptionalParams

The options parameters.

Returns

getDatabaseConnectionWithDetails(string, string, string, StaticSitesGetDatabaseConnectionWithDetailsOptionalParams)

Returns details of a database connection for a static site by name

function getDatabaseConnectionWithDetails(resourceGroupName: string, name: string, databaseConnectionName: string, options?: StaticSitesGetDatabaseConnectionWithDetailsOptionalParams): Promise<DatabaseConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

databaseConnectionName

string

Name of the database connection.

Returns

getLinkedBackend(string, string, string, StaticSitesGetLinkedBackendOptionalParams)

Returns the details of a linked backend linked to a static site by name

function getLinkedBackend(resourceGroupName: string, name: string, linkedBackendName: string, options?: StaticSitesGetLinkedBackendOptionalParams): Promise<StaticSiteLinkedBackendARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

linkedBackendName

string

Name of the linked backend that should be retrieved

options
StaticSitesGetLinkedBackendOptionalParams

The options parameters.

Returns

getLinkedBackendForBuild(string, string, string, string, StaticSitesGetLinkedBackendForBuildOptionalParams)

Returns the details of a linked backend linked to a static site build by name

function getLinkedBackendForBuild(resourceGroupName: string, name: string, environmentName: string, linkedBackendName: string, options?: StaticSitesGetLinkedBackendForBuildOptionalParams): Promise<StaticSiteLinkedBackendARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier

linkedBackendName

string

Name of the linked backend that should be retrieved

options
StaticSitesGetLinkedBackendForBuildOptionalParams

The options parameters.

Returns

getPrivateEndpointConnection(string, string, string, StaticSitesGetPrivateEndpointConnectionOptionalParams)

Description for Gets a private endpoint connection

function getPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: StaticSitesGetPrivateEndpointConnectionOptionalParams): Promise<RemotePrivateEndpointConnectionARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

privateEndpointConnectionName

string

Name of the private endpoint connection.

Returns

getPrivateLinkResources(string, string, StaticSitesGetPrivateLinkResourcesOptionalParams)

Description for Gets the private link resources

function getPrivateLinkResources(resourceGroupName: string, name: string, options?: StaticSitesGetPrivateLinkResourcesOptionalParams): Promise<PrivateLinkResourcesWrapper>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the site.

options
StaticSitesGetPrivateLinkResourcesOptionalParams

The options parameters.

Returns

getStaticSite(string, string, StaticSitesGetStaticSiteOptionalParams)

Description for Gets the details of a static site.

function getStaticSite(resourceGroupName: string, name: string, options?: StaticSitesGetStaticSiteOptionalParams): Promise<StaticSiteARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

options
StaticSitesGetStaticSiteOptionalParams

The options parameters.

Returns

getStaticSiteBuild(string, string, string, StaticSitesGetStaticSiteBuildOptionalParams)

Description for Gets the details of a static site build.

function getStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesGetStaticSiteBuildOptionalParams): Promise<StaticSiteBuildARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

options
StaticSitesGetStaticSiteBuildOptionalParams

The options parameters.

Returns

getStaticSiteCustomDomain(string, string, string, StaticSitesGetStaticSiteCustomDomainOptionalParams)

Description for Gets an existing custom domain for a particular static site.

function getStaticSiteCustomDomain(resourceGroupName: string, name: string, domainName: string, options?: StaticSitesGetStaticSiteCustomDomainOptionalParams): Promise<StaticSiteCustomDomainOverviewARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site resource to search in.

domainName

string

The custom domain name.

options
StaticSitesGetStaticSiteCustomDomainOptionalParams

The options parameters.

Returns

getUserProvidedFunctionAppForStaticSite(string, string, string, StaticSitesGetUserProvidedFunctionAppForStaticSiteOptionalParams)

Description for Gets the details of the user provided function app registered with a static site

function getUserProvidedFunctionAppForStaticSite(resourceGroupName: string, name: string, functionAppName: string, options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteOptionalParams): Promise<StaticSiteUserProvidedFunctionAppARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

functionAppName

string

Name of the function app registered with the static site.

Returns

getUserProvidedFunctionAppForStaticSiteBuild(string, string, string, string, StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildOptionalParams)

Description for Gets the details of the user provided function app registered with a static site build

function getUserProvidedFunctionAppForStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, functionAppName: string, options?: StaticSitesGetUserProvidedFunctionAppForStaticSiteBuildOptionalParams): Promise<StaticSiteUserProvidedFunctionAppARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

functionAppName

string

Name of the function app registered with the static site build.

Returns

list(StaticSitesListOptionalParams)

Description for Get all Static Sites for a subscription.

function list(options?: StaticSitesListOptionalParams): PagedAsyncIterableIterator<StaticSiteARMResource, StaticSiteARMResource[], PageSettings>

Parameters

options
StaticSitesListOptionalParams

The options parameters.

Returns

listBasicAuth(string, string, StaticSitesListBasicAuthOptionalParams)

Description for Gets the basic auth properties for a static site as a collection.

function listBasicAuth(resourceGroupName: string, name: string, options?: StaticSitesListBasicAuthOptionalParams): PagedAsyncIterableIterator<StaticSiteBasicAuthPropertiesARMResource, StaticSiteBasicAuthPropertiesARMResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

options
StaticSitesListBasicAuthOptionalParams

The options parameters.

Returns

listBuildDatabaseConnections(string, string, string, StaticSitesGetBuildDatabaseConnectionsOptionalParams)

Returns overviews of database connections for a static site build

function listBuildDatabaseConnections(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesGetBuildDatabaseConnectionsOptionalParams): PagedAsyncIterableIterator<DatabaseConnection, DatabaseConnection[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier.

Returns

listBuildDatabaseConnectionsWithDetails(string, string, string, StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams)

Returns details of database connections for a static site build

function listBuildDatabaseConnectionsWithDetails(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesGetBuildDatabaseConnectionsWithDetailsOptionalParams): PagedAsyncIterableIterator<DatabaseConnection, DatabaseConnection[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier.

Returns

listDatabaseConnections(string, string, StaticSitesGetDatabaseConnectionsOptionalParams)

Returns overviews of database connections for a static site

function listDatabaseConnections(resourceGroupName: string, name: string, options?: StaticSitesGetDatabaseConnectionsOptionalParams): PagedAsyncIterableIterator<DatabaseConnection, DatabaseConnection[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

options
StaticSitesGetDatabaseConnectionsOptionalParams

The options parameters.

Returns

listDatabaseConnectionsWithDetails(string, string, StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams)

Returns details of database connections for a static site

function listDatabaseConnectionsWithDetails(resourceGroupName: string, name: string, options?: StaticSitesGetDatabaseConnectionsWithDetailsOptionalParams): PagedAsyncIterableIterator<DatabaseConnection, DatabaseConnection[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

Returns

listLinkedBackends(string, string, StaticSitesGetLinkedBackendsOptionalParams)

Returns details of all backends linked to a static site

function listLinkedBackends(resourceGroupName: string, name: string, options?: StaticSitesGetLinkedBackendsOptionalParams): PagedAsyncIterableIterator<StaticSiteLinkedBackendARMResource, StaticSiteLinkedBackendARMResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

options
StaticSitesGetLinkedBackendsOptionalParams

The options parameters.

Returns

listLinkedBackendsForBuild(string, string, string, StaticSitesGetLinkedBackendsForBuildOptionalParams)

Returns details of all backends linked to a static site build

function listLinkedBackendsForBuild(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesGetLinkedBackendsForBuildOptionalParams): PagedAsyncIterableIterator<StaticSiteLinkedBackendARMResource, StaticSiteLinkedBackendARMResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier

options
StaticSitesGetLinkedBackendsForBuildOptionalParams

The options parameters.

Returns

listPrivateEndpointConnectionList(string, string, StaticSitesGetPrivateEndpointConnectionListOptionalParams)

Description for Gets the list of private endpoint connections associated with a static site

function listPrivateEndpointConnectionList(resourceGroupName: string, name: string, options?: StaticSitesGetPrivateEndpointConnectionListOptionalParams): PagedAsyncIterableIterator<RemotePrivateEndpointConnectionARMResource, RemotePrivateEndpointConnectionARMResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

Returns

listStaticSiteAppSettings(string, string, StaticSitesListStaticSiteAppSettingsOptionalParams)

Description for Gets the application settings of a static site.

function listStaticSiteAppSettings(resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteAppSettingsOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

options
StaticSitesListStaticSiteAppSettingsOptionalParams

The options parameters.

Returns

Promise<StringDictionary>

listStaticSiteBuildAppSettings(string, string, string, StaticSitesListStaticSiteBuildAppSettingsOptionalParams)

Description for Gets the application settings of a static site build.

function listStaticSiteBuildAppSettings(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesListStaticSiteBuildAppSettingsOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

Returns

Promise<StringDictionary>

listStaticSiteBuildFunctionAppSettings(string, string, string, StaticSitesListStaticSiteBuildFunctionAppSettingsOptionalParams)

Description for Gets the application settings of a static site build.

function listStaticSiteBuildFunctionAppSettings(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesListStaticSiteBuildFunctionAppSettingsOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

Returns

Promise<StringDictionary>

listStaticSiteBuildFunctions(string, string, string, StaticSitesListStaticSiteBuildFunctionsOptionalParams)

Description for Gets the functions of a particular static site build.

function listStaticSiteBuildFunctions(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesListStaticSiteBuildFunctionsOptionalParams): PagedAsyncIterableIterator<StaticSiteFunctionOverviewARMResource, StaticSiteFunctionOverviewARMResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

Returns

listStaticSiteBuilds(string, string, StaticSitesGetStaticSiteBuildsOptionalParams)

Description for Gets all static site builds for a particular static site.

function listStaticSiteBuilds(resourceGroupName: string, name: string, options?: StaticSitesGetStaticSiteBuildsOptionalParams): PagedAsyncIterableIterator<StaticSiteBuildARMResource, StaticSiteBuildARMResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

options
StaticSitesGetStaticSiteBuildsOptionalParams

The options parameters.

Returns

listStaticSiteConfiguredRoles(string, string, StaticSitesListStaticSiteConfiguredRolesOptionalParams)

Description for Lists the roles configured for the static site.

function listStaticSiteConfiguredRoles(resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteConfiguredRolesOptionalParams): Promise<StringList>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

Returns

Promise<StringList>

listStaticSiteCustomDomains(string, string, StaticSitesListStaticSiteCustomDomainsOptionalParams)

Description for Gets all static site custom domains for a particular static site.

function listStaticSiteCustomDomains(resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteCustomDomainsOptionalParams): PagedAsyncIterableIterator<StaticSiteCustomDomainOverviewARMResource, StaticSiteCustomDomainOverviewARMResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site resource to search in.

Returns

listStaticSiteFunctionAppSettings(string, string, StaticSitesListStaticSiteFunctionAppSettingsOptionalParams)

Description for Gets the application settings of a static site.

function listStaticSiteFunctionAppSettings(resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteFunctionAppSettingsOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

Returns

Promise<StringDictionary>

listStaticSiteFunctions(string, string, StaticSitesListStaticSiteFunctionsOptionalParams)

Description for Gets the functions of a static site.

function listStaticSiteFunctions(resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteFunctionsOptionalParams): PagedAsyncIterableIterator<StaticSiteFunctionOverviewARMResource, StaticSiteFunctionOverviewARMResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

options
StaticSitesListStaticSiteFunctionsOptionalParams

The options parameters.

Returns

listStaticSitesByResourceGroup(string, StaticSitesGetStaticSitesByResourceGroupOptionalParams)

Description for Gets all static sites in the specified resource group.

function listStaticSitesByResourceGroup(resourceGroupName: string, options?: StaticSitesGetStaticSitesByResourceGroupOptionalParams): PagedAsyncIterableIterator<StaticSiteARMResource, StaticSiteARMResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

Returns

listStaticSiteSecrets(string, string, StaticSitesListStaticSiteSecretsOptionalParams)

Description for Lists the secrets for an existing static site.

function listStaticSiteSecrets(resourceGroupName: string, name: string, options?: StaticSitesListStaticSiteSecretsOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

options
StaticSitesListStaticSiteSecretsOptionalParams

The options parameters.

Returns

Promise<StringDictionary>

listStaticSiteUsers(string, string, string, StaticSitesListStaticSiteUsersOptionalParams)

Description for Gets the list of users of a static site.

function listStaticSiteUsers(resourceGroupName: string, name: string, authprovider: string, options?: StaticSitesListStaticSiteUsersOptionalParams): PagedAsyncIterableIterator<StaticSiteUserARMResource, StaticSiteUserARMResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

authprovider

string

The auth provider for the users.

options
StaticSitesListStaticSiteUsersOptionalParams

The options parameters.

Returns

listUserProvidedFunctionAppsForStaticSite(string, string, StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams)

Description for Gets the details of the user provided function apps registered with a static site

function listUserProvidedFunctionAppsForStaticSite(resourceGroupName: string, name: string, options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteOptionalParams): PagedAsyncIterableIterator<StaticSiteUserProvidedFunctionAppARMResource, StaticSiteUserProvidedFunctionAppARMResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

Returns

listUserProvidedFunctionAppsForStaticSiteBuild(string, string, string, StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams)

Description for Gets the details of the user provided function apps registered with a static site build

function listUserProvidedFunctionAppsForStaticSiteBuild(resourceGroupName: string, name: string, environmentName: string, options?: StaticSitesGetUserProvidedFunctionAppsForStaticSiteBuildOptionalParams): PagedAsyncIterableIterator<StaticSiteUserProvidedFunctionAppARMResource, StaticSiteUserProvidedFunctionAppARMResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

environmentName

string

The stage site identifier.

Returns

previewWorkflow(string, StaticSitesWorkflowPreviewRequest, StaticSitesPreviewWorkflowOptionalParams)

Description for Generates a preview workflow file for the static site

function previewWorkflow(location: string, staticSitesWorkflowPreviewRequest: StaticSitesWorkflowPreviewRequest, options?: StaticSitesPreviewWorkflowOptionalParams): Promise<StaticSitesWorkflowPreview>

Parameters

location

string

Location where you plan to create the static site.

staticSitesWorkflowPreviewRequest
StaticSitesWorkflowPreviewRequest

A JSON representation of the StaticSitesWorkflowPreviewRequest properties. See example.

options
StaticSitesPreviewWorkflowOptionalParams

The options parameters.

Returns

resetStaticSiteApiKey(string, string, StaticSiteResetPropertiesARMResource, StaticSitesResetStaticSiteApiKeyOptionalParams)

Description for Resets the api key for an existing static site.

function resetStaticSiteApiKey(resourceGroupName: string, name: string, resetPropertiesEnvelope: StaticSiteResetPropertiesARMResource, options?: StaticSitesResetStaticSiteApiKeyOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

resetPropertiesEnvelope
StaticSiteResetPropertiesARMResource

Static Site Reset Properties ARM resource.

options
StaticSitesResetStaticSiteApiKeyOptionalParams

The options parameters.

Returns

Promise<void>

unlinkBackend(string, string, string, StaticSitesUnlinkBackendOptionalParams)

Unlink a backend from a static site

function unlinkBackend(resourceGroupName: string, name: string, linkedBackendName: string, options?: StaticSitesUnlinkBackendOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

linkedBackendName

string

Name of the backend linked to the static site

options
StaticSitesUnlinkBackendOptionalParams

The options parameters.

Returns

Promise<void>

unlinkBackendFromBuild(string, string, string, string, StaticSitesUnlinkBackendFromBuildOptionalParams)

Unlink a backend from a static site build

function unlinkBackendFromBuild(resourceGroupName: string, name: string, environmentName: string, linkedBackendName: string, options?: StaticSitesUnlinkBackendFromBuildOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier

linkedBackendName

string

Name of the backend linked to the static site

options
StaticSitesUnlinkBackendFromBuildOptionalParams

The options parameters.

Returns

Promise<void>

updateBuildDatabaseConnection(string, string, string, string, DatabaseConnectionPatchRequest, StaticSitesUpdateBuildDatabaseConnectionOptionalParams)

Description for Create or update a database connection for a static site build

function updateBuildDatabaseConnection(resourceGroupName: string, name: string, environmentName: string, databaseConnectionName: string, databaseConnectionRequestEnvelope: DatabaseConnectionPatchRequest, options?: StaticSitesUpdateBuildDatabaseConnectionOptionalParams): Promise<DatabaseConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

environmentName

string

The stage site identifier.

databaseConnectionName

string

Name of the database connection.

databaseConnectionRequestEnvelope
DatabaseConnectionPatchRequest

A JSON representation of the database connection request properties

Returns

updateDatabaseConnection(string, string, string, DatabaseConnectionPatchRequest, StaticSitesUpdateDatabaseConnectionOptionalParams)

Description for Create or update a database connection for a static site

function updateDatabaseConnection(resourceGroupName: string, name: string, databaseConnectionName: string, databaseConnectionRequestEnvelope: DatabaseConnectionPatchRequest, options?: StaticSitesUpdateDatabaseConnectionOptionalParams): Promise<DatabaseConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site

databaseConnectionName

string

Name of the database connection.

databaseConnectionRequestEnvelope
DatabaseConnectionPatchRequest

A JSON representation of the database connection request properties

options
StaticSitesUpdateDatabaseConnectionOptionalParams

The options parameters.

Returns

updateStaticSite(string, string, StaticSitePatchResource, StaticSitesUpdateStaticSiteOptionalParams)

Description for Creates a new static site in an existing resource group, or updates an existing static site.

function updateStaticSite(resourceGroupName: string, name: string, staticSiteEnvelope: StaticSitePatchResource, options?: StaticSitesUpdateStaticSiteOptionalParams): Promise<StaticSiteARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site to create or update.

staticSiteEnvelope
StaticSitePatchResource

A JSON representation of the staticsite properties. See example.

options
StaticSitesUpdateStaticSiteOptionalParams

The options parameters.

Returns

updateStaticSiteUser(string, string, string, string, StaticSiteUserARMResource, StaticSitesUpdateStaticSiteUserOptionalParams)

Description for Updates a user entry with the listed roles

function updateStaticSiteUser(resourceGroupName: string, name: string, authprovider: string, userid: string, staticSiteUserEnvelope: StaticSiteUserARMResource, options?: StaticSitesUpdateStaticSiteUserOptionalParams): Promise<StaticSiteUserARMResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the static site.

authprovider

string

The auth provider for this user.

userid

string

The user id of the user.

staticSiteUserEnvelope
StaticSiteUserARMResource

A JSON representation of the StaticSiteUser properties. See example.

options
StaticSitesUpdateStaticSiteUserOptionalParams

The options parameters.

Returns