WebApps interface

Interface representing a WebApps.

Methods

addPremierAddOn(string, string, string, PremierAddOn, WebAppsAddPremierAddOnOptionalParams)

Updates a named add-on of an app.

addPremierAddOnSlot(string, string, string, string, PremierAddOn, WebAppsAddPremierAddOnSlotOptionalParams)

Updates a named add-on of an app.

analyzeCustomHostname(string, string, WebAppsAnalyzeCustomHostnameOptionalParams)

Analyze a custom hostname.

analyzeCustomHostnameSlot(string, string, string, WebAppsAnalyzeCustomHostnameSlotOptionalParams)

Analyze a custom hostname.

applySlotConfigToProduction(string, string, CsmSlotEntity, WebAppsApplySlotConfigToProductionOptionalParams)

Applies the configuration settings from the target slot onto the current slot.

applySlotConfigurationSlot(string, string, string, CsmSlotEntity, WebAppsApplySlotConfigurationSlotOptionalParams)

Applies the configuration settings from the target slot onto the current slot.

backup(string, string, BackupRequest, WebAppsBackupOptionalParams)

Creates a backup of an app.

backupSlot(string, string, string, BackupRequest, WebAppsBackupSlotOptionalParams)

Creates a backup of an app.

beginCreateFunction(string, string, string, FunctionEnvelope, WebAppsCreateFunctionOptionalParams)

Create function for web site, or a deployment slot.

beginCreateFunctionAndWait(string, string, string, FunctionEnvelope, WebAppsCreateFunctionOptionalParams)

Create function for web site, or a deployment slot.

beginCreateInstanceFunctionSlot(string, string, string, string, FunctionEnvelope, WebAppsCreateInstanceFunctionSlotOptionalParams)

Create function for web site, or a deployment slot.

beginCreateInstanceFunctionSlotAndWait(string, string, string, string, FunctionEnvelope, WebAppsCreateInstanceFunctionSlotOptionalParams)

Create function for web site, or a deployment slot.

beginCreateInstanceMSDeployOperation(string, string, string, MSDeploy, WebAppsCreateInstanceMSDeployOperationOptionalParams)

Invoke the MSDeploy web app extension.

beginCreateInstanceMSDeployOperationAndWait(string, string, string, MSDeploy, WebAppsCreateInstanceMSDeployOperationOptionalParams)

Invoke the MSDeploy web app extension.

beginCreateInstanceMSDeployOperationSlot(string, string, string, string, MSDeploy, WebAppsCreateInstanceMSDeployOperationSlotOptionalParams)

Invoke the MSDeploy web app extension.

beginCreateInstanceMSDeployOperationSlotAndWait(string, string, string, string, MSDeploy, WebAppsCreateInstanceMSDeployOperationSlotOptionalParams)

Invoke the MSDeploy web app extension.

beginCreateMSDeployOperation(string, string, MSDeploy, WebAppsCreateMSDeployOperationOptionalParams)

Invoke the MSDeploy web app extension.

beginCreateMSDeployOperationAndWait(string, string, MSDeploy, WebAppsCreateMSDeployOperationOptionalParams)

Invoke the MSDeploy web app extension.

beginCreateMSDeployOperationSlot(string, string, string, MSDeploy, WebAppsCreateMSDeployOperationSlotOptionalParams)

Invoke the MSDeploy web app extension.

beginCreateMSDeployOperationSlotAndWait(string, string, string, MSDeploy, WebAppsCreateMSDeployOperationSlotOptionalParams)

Invoke the MSDeploy web app extension.

beginCreateOrUpdate(string, string, Site, WebAppsCreateOrUpdateOptionalParams)

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

beginCreateOrUpdateAndWait(string, string, Site, WebAppsCreateOrUpdateOptionalParams)

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

beginCreateOrUpdateSlot(string, string, string, Site, WebAppsCreateOrUpdateSlotOptionalParams)

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

beginCreateOrUpdateSlotAndWait(string, string, string, Site, WebAppsCreateOrUpdateSlotOptionalParams)

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

beginCreateOrUpdateSourceControl(string, string, SiteSourceControl, WebAppsCreateOrUpdateSourceControlOptionalParams)

Updates the source control configuration of an app.

beginCreateOrUpdateSourceControlAndWait(string, string, SiteSourceControl, WebAppsCreateOrUpdateSourceControlOptionalParams)

Updates the source control configuration of an app.

beginCreateOrUpdateSourceControlSlot(string, string, string, SiteSourceControl, WebAppsCreateOrUpdateSourceControlSlotOptionalParams)

Updates the source control configuration of an app.

beginCreateOrUpdateSourceControlSlotAndWait(string, string, string, SiteSourceControl, WebAppsCreateOrUpdateSourceControlSlotOptionalParams)

Updates the source control configuration of an app.

beginInstallSiteExtension(string, string, string, WebAppsInstallSiteExtensionOptionalParams)

Install site extension on a web site, or a deployment slot.

beginInstallSiteExtensionAndWait(string, string, string, WebAppsInstallSiteExtensionOptionalParams)

Install site extension on a web site, or a deployment slot.

beginInstallSiteExtensionSlot(string, string, string, string, WebAppsInstallSiteExtensionSlotOptionalParams)

Install site extension on a web site, or a deployment slot.

beginInstallSiteExtensionSlotAndWait(string, string, string, string, WebAppsInstallSiteExtensionSlotOptionalParams)

Install site extension on a web site, or a deployment slot.

beginListPublishingCredentials(string, string, WebAppsListPublishingCredentialsOptionalParams)

Gets the Git/FTP publishing credentials of an app.

beginListPublishingCredentialsAndWait(string, string, WebAppsListPublishingCredentialsOptionalParams)

Gets the Git/FTP publishing credentials of an app.

beginListPublishingCredentialsSlot(string, string, string, WebAppsListPublishingCredentialsSlotOptionalParams)

Gets the Git/FTP publishing credentials of an app.

beginListPublishingCredentialsSlotAndWait(string, string, string, WebAppsListPublishingCredentialsSlotOptionalParams)

Gets the Git/FTP publishing credentials of an app.

beginMigrateMySql(string, string, MigrateMySqlRequest, WebAppsMigrateMySqlOptionalParams)

Migrates a local (in-app) MySql database to a remote MySql database.

beginMigrateMySqlAndWait(string, string, MigrateMySqlRequest, WebAppsMigrateMySqlOptionalParams)

Migrates a local (in-app) MySql database to a remote MySql database.

beginMigrateStorage(string, string, string, StorageMigrationOptions, WebAppsMigrateStorageOptionalParams)

Restores a web app.

beginMigrateStorageAndWait(string, string, string, StorageMigrationOptions, WebAppsMigrateStorageOptionalParams)

Restores a web app.

beginRestore(string, string, string, RestoreRequest, WebAppsRestoreOptionalParams)

Restores a specific backup to another app (or deployment slot, if specified).

beginRestoreAndWait(string, string, string, RestoreRequest, WebAppsRestoreOptionalParams)

Restores a specific backup to another app (or deployment slot, if specified).

beginRestoreFromBackupBlob(string, string, RestoreRequest, WebAppsRestoreFromBackupBlobOptionalParams)

Restores an app from a backup blob in Azure Storage.

beginRestoreFromBackupBlobAndWait(string, string, RestoreRequest, WebAppsRestoreFromBackupBlobOptionalParams)

Restores an app from a backup blob in Azure Storage.

beginRestoreFromBackupBlobSlot(string, string, string, RestoreRequest, WebAppsRestoreFromBackupBlobSlotOptionalParams)

Restores an app from a backup blob in Azure Storage.

beginRestoreFromBackupBlobSlotAndWait(string, string, string, RestoreRequest, WebAppsRestoreFromBackupBlobSlotOptionalParams)

Restores an app from a backup blob in Azure Storage.

beginRestoreFromDeletedApp(string, string, DeletedAppRestoreRequest, WebAppsRestoreFromDeletedAppOptionalParams)

Restores a deleted web app to this web app.

beginRestoreFromDeletedAppAndWait(string, string, DeletedAppRestoreRequest, WebAppsRestoreFromDeletedAppOptionalParams)

Restores a deleted web app to this web app.

beginRestoreFromDeletedAppSlot(string, string, string, DeletedAppRestoreRequest, WebAppsRestoreFromDeletedAppSlotOptionalParams)

Restores a deleted web app to this web app.

beginRestoreFromDeletedAppSlotAndWait(string, string, string, DeletedAppRestoreRequest, WebAppsRestoreFromDeletedAppSlotOptionalParams)

Restores a deleted web app to this web app.

beginRestoreSlot(string, string, string, string, RestoreRequest, WebAppsRestoreSlotOptionalParams)

Restores a specific backup to another app (or deployment slot, if specified).

beginRestoreSlotAndWait(string, string, string, string, RestoreRequest, WebAppsRestoreSlotOptionalParams)

Restores a specific backup to another app (or deployment slot, if specified).

beginRestoreSnapshot(string, string, SnapshotRestoreRequest, WebAppsRestoreSnapshotOptionalParams)

Restores a web app from a snapshot.

beginRestoreSnapshotAndWait(string, string, SnapshotRestoreRequest, WebAppsRestoreSnapshotOptionalParams)

Restores a web app from a snapshot.

beginRestoreSnapshotSlot(string, string, string, SnapshotRestoreRequest, WebAppsRestoreSnapshotSlotOptionalParams)

Restores a web app from a snapshot.

beginRestoreSnapshotSlotAndWait(string, string, string, SnapshotRestoreRequest, WebAppsRestoreSnapshotSlotOptionalParams)

Restores a web app from a snapshot.

beginStartNetworkTrace(string, string, WebAppsStartNetworkTraceOptionalParams)

Start capturing network packets for the site.

beginStartNetworkTraceAndWait(string, string, WebAppsStartNetworkTraceOptionalParams)

Start capturing network packets for the site.

beginStartNetworkTraceSlot(string, string, string, WebAppsStartNetworkTraceSlotOptionalParams)

Start capturing network packets for the site.

beginStartNetworkTraceSlotAndWait(string, string, string, WebAppsStartNetworkTraceSlotOptionalParams)

Start capturing network packets for the site.

beginStartWebSiteNetworkTraceOperation(string, string, WebAppsStartWebSiteNetworkTraceOperationOptionalParams)

Start capturing network packets for the site.

beginStartWebSiteNetworkTraceOperationAndWait(string, string, WebAppsStartWebSiteNetworkTraceOperationOptionalParams)

Start capturing network packets for the site.

beginStartWebSiteNetworkTraceOperationSlot(string, string, string, WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams)

Start capturing network packets for the site.

beginStartWebSiteNetworkTraceOperationSlotAndWait(string, string, string, WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams)

Start capturing network packets for the site.

beginSwapSlot(string, string, string, CsmSlotEntity, WebAppsSwapSlotOptionalParams)

Swaps two deployment slots of an app.

beginSwapSlotAndWait(string, string, string, CsmSlotEntity, WebAppsSwapSlotOptionalParams)

Swaps two deployment slots of an app.

beginSwapSlotWithProduction(string, string, CsmSlotEntity, WebAppsSwapSlotWithProductionOptionalParams)

Swaps two deployment slots of an app.

beginSwapSlotWithProductionAndWait(string, string, CsmSlotEntity, WebAppsSwapSlotWithProductionOptionalParams)

Swaps two deployment slots of an app.

createDeployment(string, string, string, Deployment, WebAppsCreateDeploymentOptionalParams)

Create a deployment for an app, or a deployment slot.

createDeploymentSlot(string, string, string, string, Deployment, WebAppsCreateDeploymentSlotOptionalParams)

Create a deployment for an app, or a deployment slot.

createOrUpdateConfiguration(string, string, SiteConfigResource, WebAppsCreateOrUpdateConfigurationOptionalParams)

Updates the configuration of an app.

createOrUpdateConfigurationSlot(string, string, string, SiteConfigResource, WebAppsCreateOrUpdateConfigurationSlotOptionalParams)

Updates the configuration of an app.

createOrUpdateDomainOwnershipIdentifier(string, string, string, Identifier, WebAppsCreateOrUpdateDomainOwnershipIdentifierOptionalParams)

Creates a domain ownership identifier for web app, or updates an existing ownership identifier.

createOrUpdateDomainOwnershipIdentifierSlot(string, string, string, string, Identifier, WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotOptionalParams)

Creates a domain ownership identifier for web app, or updates an existing ownership identifier.

createOrUpdateFunctionSecret(string, string, string, string, KeyInfo, WebAppsCreateOrUpdateFunctionSecretOptionalParams)

Add or update a function secret.

createOrUpdateFunctionSecretSlot(string, string, string, string, string, KeyInfo, WebAppsCreateOrUpdateFunctionSecretSlotOptionalParams)

Add or update a function secret.

createOrUpdateHostNameBinding(string, string, string, HostNameBinding, WebAppsCreateOrUpdateHostNameBindingOptionalParams)

Creates a hostname binding for an app.

createOrUpdateHostNameBindingSlot(string, string, string, string, HostNameBinding, WebAppsCreateOrUpdateHostNameBindingSlotOptionalParams)

Creates a hostname binding for an app.

createOrUpdateHostSecret(string, string, string, string, KeyInfo, WebAppsCreateOrUpdateHostSecretOptionalParams)

Add or update a host level secret.

createOrUpdateHostSecretSlot(string, string, string, string, string, KeyInfo, WebAppsCreateOrUpdateHostSecretSlotOptionalParams)

Add or update a host level secret.

createOrUpdateHybridConnection(string, string, string, string, HybridConnection, WebAppsCreateOrUpdateHybridConnectionOptionalParams)

Creates a new Hybrid Connection using a Service Bus relay.

createOrUpdateHybridConnectionSlot(string, string, string, string, string, HybridConnection, WebAppsCreateOrUpdateHybridConnectionSlotOptionalParams)

Creates a new Hybrid Connection using a Service Bus relay.

createOrUpdatePublicCertificate(string, string, string, PublicCertificate, WebAppsCreateOrUpdatePublicCertificateOptionalParams)

Creates a hostname binding for an app.

createOrUpdatePublicCertificateSlot(string, string, string, string, PublicCertificate, WebAppsCreateOrUpdatePublicCertificateSlotOptionalParams)

Creates a hostname binding for an app.

createOrUpdateRelayServiceConnection(string, string, string, RelayServiceConnectionEntity, WebAppsCreateOrUpdateRelayServiceConnectionOptionalParams)

Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).

createOrUpdateRelayServiceConnectionSlot(string, string, string, string, RelayServiceConnectionEntity, WebAppsCreateOrUpdateRelayServiceConnectionSlotOptionalParams)

Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).

createOrUpdateSwiftVirtualNetworkConnection(string, string, SwiftVirtualNetwork, WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionOptionalParams)

Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in.

createOrUpdateSwiftVirtualNetworkConnectionSlot(string, string, string, SwiftVirtualNetwork, WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionSlotOptionalParams)

Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in.

createOrUpdateVnetConnection(string, string, string, VnetInfo, WebAppsCreateOrUpdateVnetConnectionOptionalParams)

Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).

createOrUpdateVnetConnectionGateway(string, string, string, string, VnetGateway, WebAppsCreateOrUpdateVnetConnectionGatewayOptionalParams)

Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).

createOrUpdateVnetConnectionGatewaySlot(string, string, string, string, string, VnetGateway, WebAppsCreateOrUpdateVnetConnectionGatewaySlotOptionalParams)

Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).

createOrUpdateVnetConnectionSlot(string, string, string, string, VnetInfo, WebAppsCreateOrUpdateVnetConnectionSlotOptionalParams)

Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).

delete(string, string, WebAppsDeleteOptionalParams)

Deletes a web, mobile, or API app, or one of the deployment slots.

deleteBackup(string, string, string, WebAppsDeleteBackupOptionalParams)

Deletes a backup of an app by its ID.

deleteBackupConfiguration(string, string, WebAppsDeleteBackupConfigurationOptionalParams)

Deletes the backup configuration of an app.

deleteBackupConfigurationSlot(string, string, string, WebAppsDeleteBackupConfigurationSlotOptionalParams)

Deletes the backup configuration of an app.

deleteBackupSlot(string, string, string, string, WebAppsDeleteBackupSlotOptionalParams)

Deletes a backup of an app by its ID.

deleteContinuousWebJob(string, string, string, WebAppsDeleteContinuousWebJobOptionalParams)

Delete a continuous web job by its ID for an app, or a deployment slot.

deleteContinuousWebJobSlot(string, string, string, string, WebAppsDeleteContinuousWebJobSlotOptionalParams)

Delete a continuous web job by its ID for an app, or a deployment slot.

deleteDeployment(string, string, string, WebAppsDeleteDeploymentOptionalParams)

Delete a deployment by its ID for an app, or a deployment slot.

deleteDeploymentSlot(string, string, string, string, WebAppsDeleteDeploymentSlotOptionalParams)

Delete a deployment by its ID for an app, or a deployment slot.

deleteDomainOwnershipIdentifier(string, string, string, WebAppsDeleteDomainOwnershipIdentifierOptionalParams)

Deletes a domain ownership identifier for a web app.

deleteDomainOwnershipIdentifierSlot(string, string, string, string, WebAppsDeleteDomainOwnershipIdentifierSlotOptionalParams)

Deletes a domain ownership identifier for a web app.

deleteFunction(string, string, string, WebAppsDeleteFunctionOptionalParams)

Delete a function for web site, or a deployment slot.

deleteFunctionSecret(string, string, string, string, WebAppsDeleteFunctionSecretOptionalParams)

Delete a function secret.

deleteFunctionSecretSlot(string, string, string, string, string, WebAppsDeleteFunctionSecretSlotOptionalParams)

Delete a function secret.

deleteHostNameBinding(string, string, string, WebAppsDeleteHostNameBindingOptionalParams)

Deletes a hostname binding for an app.

deleteHostNameBindingSlot(string, string, string, string, WebAppsDeleteHostNameBindingSlotOptionalParams)

Deletes a hostname binding for an app.

deleteHostSecret(string, string, string, string, WebAppsDeleteHostSecretOptionalParams)

Delete a host level secret.

deleteHostSecretSlot(string, string, string, string, string, WebAppsDeleteHostSecretSlotOptionalParams)

Delete a host level secret.

deleteHybridConnection(string, string, string, string, WebAppsDeleteHybridConnectionOptionalParams)

Removes a Hybrid Connection from this site.

deleteHybridConnectionSlot(string, string, string, string, string, WebAppsDeleteHybridConnectionSlotOptionalParams)

Removes a Hybrid Connection from this site.

deleteInstanceFunctionSlot(string, string, string, string, WebAppsDeleteInstanceFunctionSlotOptionalParams)

Delete a function for web site, or a deployment slot.

deleteInstanceProcess(string, string, string, string, WebAppsDeleteInstanceProcessOptionalParams)

Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.

deleteInstanceProcessSlot(string, string, string, string, string, WebAppsDeleteInstanceProcessSlotOptionalParams)

Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.

deletePremierAddOn(string, string, string, WebAppsDeletePremierAddOnOptionalParams)

Delete a premier add-on from an app.

deletePremierAddOnSlot(string, string, string, string, WebAppsDeletePremierAddOnSlotOptionalParams)

Delete a premier add-on from an app.

deleteProcess(string, string, string, WebAppsDeleteProcessOptionalParams)

Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.

deleteProcessSlot(string, string, string, string, WebAppsDeleteProcessSlotOptionalParams)

Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.

deletePublicCertificate(string, string, string, WebAppsDeletePublicCertificateOptionalParams)

Deletes a hostname binding for an app.

deletePublicCertificateSlot(string, string, string, string, WebAppsDeletePublicCertificateSlotOptionalParams)

Deletes a hostname binding for an app.

deleteRelayServiceConnection(string, string, string, WebAppsDeleteRelayServiceConnectionOptionalParams)

Deletes a relay service connection by its name.

deleteRelayServiceConnectionSlot(string, string, string, string, WebAppsDeleteRelayServiceConnectionSlotOptionalParams)

Deletes a relay service connection by its name.

deleteSiteExtension(string, string, string, WebAppsDeleteSiteExtensionOptionalParams)

Remove a site extension from a web site, or a deployment slot.

deleteSiteExtensionSlot(string, string, string, string, WebAppsDeleteSiteExtensionSlotOptionalParams)

Remove a site extension from a web site, or a deployment slot.

deleteSlot(string, string, string, WebAppsDeleteSlotOptionalParams)

Deletes a web, mobile, or API app, or one of the deployment slots.

deleteSourceControl(string, string, WebAppsDeleteSourceControlOptionalParams)

Deletes the source control configuration of an app.

deleteSourceControlSlot(string, string, string, WebAppsDeleteSourceControlSlotOptionalParams)

Deletes the source control configuration of an app.

deleteSwiftVirtualNetwork(string, string, WebAppsDeleteSwiftVirtualNetworkOptionalParams)

Deletes a Swift Virtual Network connection from an app (or deployment slot).

deleteSwiftVirtualNetworkSlot(string, string, string, WebAppsDeleteSwiftVirtualNetworkSlotOptionalParams)

Deletes a Swift Virtual Network connection from an app (or deployment slot).

deleteTriggeredWebJob(string, string, string, WebAppsDeleteTriggeredWebJobOptionalParams)

Delete a triggered web job by its ID for an app, or a deployment slot.

deleteTriggeredWebJobSlot(string, string, string, string, WebAppsDeleteTriggeredWebJobSlotOptionalParams)

Delete a triggered web job by its ID for an app, or a deployment slot.

deleteVnetConnection(string, string, string, WebAppsDeleteVnetConnectionOptionalParams)

Deletes a connection from an app (or deployment slot to a named virtual network.

deleteVnetConnectionSlot(string, string, string, string, WebAppsDeleteVnetConnectionSlotOptionalParams)

Deletes a connection from an app (or deployment slot to a named virtual network.

discoverBackup(string, string, RestoreRequest, WebAppsDiscoverBackupOptionalParams)

Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.

discoverBackupSlot(string, string, string, RestoreRequest, WebAppsDiscoverBackupSlotOptionalParams)

Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.

generateNewSitePublishingPassword(string, string, WebAppsGenerateNewSitePublishingPasswordOptionalParams)

Generates a new publishing password for an app (or deployment slot, if specified).

generateNewSitePublishingPasswordSlot(string, string, string, WebAppsGenerateNewSitePublishingPasswordSlotOptionalParams)

Generates a new publishing password for an app (or deployment slot, if specified).

get(string, string, WebAppsGetOptionalParams)

Gets the details of a web, mobile, or API app.

getAuthSettings(string, string, WebAppsGetAuthSettingsOptionalParams)

Gets the Authentication/Authorization settings of an app.

getAuthSettingsSlot(string, string, string, WebAppsGetAuthSettingsSlotOptionalParams)

Gets the Authentication/Authorization settings of an app.

getBackupConfiguration(string, string, WebAppsGetBackupConfigurationOptionalParams)

Gets the backup configuration of an app.

getBackupConfigurationSlot(string, string, string, WebAppsGetBackupConfigurationSlotOptionalParams)

Gets the backup configuration of an app.

getBackupStatus(string, string, string, WebAppsGetBackupStatusOptionalParams)

Gets a backup of an app by its ID.

getBackupStatusSlot(string, string, string, string, WebAppsGetBackupStatusSlotOptionalParams)

Gets a backup of an app by its ID.

getConfiguration(string, string, WebAppsGetConfigurationOptionalParams)

Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.

getConfigurationSlot(string, string, string, WebAppsGetConfigurationSlotOptionalParams)

Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.

getConfigurationSnapshot(string, string, string, WebAppsGetConfigurationSnapshotOptionalParams)

Gets a snapshot of the configuration of an app at a previous point in time.

getConfigurationSnapshotSlot(string, string, string, string, WebAppsGetConfigurationSnapshotSlotOptionalParams)

Gets a snapshot of the configuration of an app at a previous point in time.

getContainerLogsZip(string, string, WebAppsGetContainerLogsZipOptionalParams)

Gets the ZIP archived docker log files for the given site

getContainerLogsZipSlot(string, string, string, WebAppsGetContainerLogsZipSlotOptionalParams)

Gets the ZIP archived docker log files for the given site

getContinuousWebJob(string, string, string, WebAppsGetContinuousWebJobOptionalParams)

Gets a continuous web job by its ID for an app, or a deployment slot.

getContinuousWebJobSlot(string, string, string, string, WebAppsGetContinuousWebJobSlotOptionalParams)

Gets a continuous web job by its ID for an app, or a deployment slot.

getDeployment(string, string, string, WebAppsGetDeploymentOptionalParams)

Get a deployment by its ID for an app, or a deployment slot.

getDeploymentSlot(string, string, string, string, WebAppsGetDeploymentSlotOptionalParams)

Get a deployment by its ID for an app, or a deployment slot.

getDiagnosticLogsConfiguration(string, string, WebAppsGetDiagnosticLogsConfigurationOptionalParams)

Gets the logging configuration of an app.

getDiagnosticLogsConfigurationSlot(string, string, string, WebAppsGetDiagnosticLogsConfigurationSlotOptionalParams)

Gets the logging configuration of an app.

getDomainOwnershipIdentifier(string, string, string, WebAppsGetDomainOwnershipIdentifierOptionalParams)

Get domain ownership identifier for web app.

getDomainOwnershipIdentifierSlot(string, string, string, string, WebAppsGetDomainOwnershipIdentifierSlotOptionalParams)

Get domain ownership identifier for web app.

getFunction(string, string, string, WebAppsGetFunctionOptionalParams)

Get function information by its ID for web site, or a deployment slot.

getFunctionsAdminToken(string, string, WebAppsGetFunctionsAdminTokenOptionalParams)

Fetch a short lived token that can be exchanged for a master key.

getFunctionsAdminTokenSlot(string, string, string, WebAppsGetFunctionsAdminTokenSlotOptionalParams)

Fetch a short lived token that can be exchanged for a master key.

getHostNameBinding(string, string, string, WebAppsGetHostNameBindingOptionalParams)

Get the named hostname binding for an app (or deployment slot, if specified).

getHostNameBindingSlot(string, string, string, string, WebAppsGetHostNameBindingSlotOptionalParams)

Get the named hostname binding for an app (or deployment slot, if specified).

getHybridConnection(string, string, string, string, WebAppsGetHybridConnectionOptionalParams)

Retrieves a specific Service Bus Hybrid Connection used by this Web App.

getHybridConnectionSlot(string, string, string, string, string, WebAppsGetHybridConnectionSlotOptionalParams)

Retrieves a specific Service Bus Hybrid Connection used by this Web App.

getInstanceFunctionSlot(string, string, string, string, WebAppsGetInstanceFunctionSlotOptionalParams)

Get function information by its ID for web site, or a deployment slot.

getInstanceMSDeployLog(string, string, string, WebAppsGetInstanceMSDeployLogOptionalParams)

Get the MSDeploy Log for the last MSDeploy operation.

getInstanceMSDeployLogSlot(string, string, string, string, WebAppsGetInstanceMSDeployLogSlotOptionalParams)

Get the MSDeploy Log for the last MSDeploy operation.

getInstanceMsDeployStatus(string, string, string, WebAppsGetInstanceMsDeployStatusOptionalParams)

Get the status of the last MSDeploy operation.

getInstanceMsDeployStatusSlot(string, string, string, string, WebAppsGetInstanceMsDeployStatusSlotOptionalParams)

Get the status of the last MSDeploy operation.

getInstanceProcess(string, string, string, string, WebAppsGetInstanceProcessOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

getInstanceProcessDump(string, string, string, string, WebAppsGetInstanceProcessDumpOptionalParams)

Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.

getInstanceProcessDumpSlot(string, string, string, string, string, WebAppsGetInstanceProcessDumpSlotOptionalParams)

Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.

getInstanceProcessModule(string, string, string, string, string, WebAppsGetInstanceProcessModuleOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

getInstanceProcessModuleSlot(string, string, string, string, string, string, WebAppsGetInstanceProcessModuleSlotOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

getInstanceProcessSlot(string, string, string, string, string, WebAppsGetInstanceProcessSlotOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

getInstanceProcessThread(string, string, string, string, string, WebAppsGetInstanceProcessThreadOptionalParams)

Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.

getInstanceProcessThreadSlot(string, string, string, string, string, string, WebAppsGetInstanceProcessThreadSlotOptionalParams)

Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.

getMigrateMySqlStatus(string, string, WebAppsGetMigrateMySqlStatusOptionalParams)

Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled

getMigrateMySqlStatusSlot(string, string, string, WebAppsGetMigrateMySqlStatusSlotOptionalParams)

Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled

getMSDeployLog(string, string, WebAppsGetMSDeployLogOptionalParams)

Get the MSDeploy Log for the last MSDeploy operation.

getMSDeployLogSlot(string, string, string, WebAppsGetMSDeployLogSlotOptionalParams)

Get the MSDeploy Log for the last MSDeploy operation.

getMSDeployStatus(string, string, WebAppsGetMSDeployStatusOptionalParams)

Get the status of the last MSDeploy operation.

getMSDeployStatusSlot(string, string, string, WebAppsGetMSDeployStatusSlotOptionalParams)

Get the status of the last MSDeploy operation.

getNetworkTraceOperation(string, string, string, WebAppsGetNetworkTraceOperationOptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

getNetworkTraceOperationSlot(string, string, string, string, WebAppsGetNetworkTraceOperationSlotOptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

getNetworkTraceOperationSlotV2(string, string, string, string, WebAppsGetNetworkTraceOperationSlotV2OptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

getNetworkTraceOperationV2(string, string, string, WebAppsGetNetworkTraceOperationV2OptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

getNetworkTraces(string, string, string, WebAppsGetNetworkTracesOptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

getNetworkTracesSlot(string, string, string, string, WebAppsGetNetworkTracesSlotOptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

getNetworkTracesSlotV2(string, string, string, string, WebAppsGetNetworkTracesSlotV2OptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

getNetworkTracesV2(string, string, string, WebAppsGetNetworkTracesV2OptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

getPremierAddOn(string, string, string, WebAppsGetPremierAddOnOptionalParams)

Gets a named add-on of an app.

getPremierAddOnSlot(string, string, string, string, WebAppsGetPremierAddOnSlotOptionalParams)

Gets a named add-on of an app.

getPrivateAccess(string, string, WebAppsGetPrivateAccessOptionalParams)

Gets data around private site access enablement and authorized Virtual Networks that can access the site.

getPrivateAccessSlot(string, string, string, WebAppsGetPrivateAccessSlotOptionalParams)

Gets data around private site access enablement and authorized Virtual Networks that can access the site.

getProcess(string, string, string, WebAppsGetProcessOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

getProcessDump(string, string, string, WebAppsGetProcessDumpOptionalParams)

Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.

getProcessDumpSlot(string, string, string, string, WebAppsGetProcessDumpSlotOptionalParams)

Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.

getProcessModule(string, string, string, string, WebAppsGetProcessModuleOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

getProcessModuleSlot(string, string, string, string, string, WebAppsGetProcessModuleSlotOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

getProcessSlot(string, string, string, string, WebAppsGetProcessSlotOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

getProcessThread(string, string, string, string, WebAppsGetProcessThreadOptionalParams)

Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.

getProcessThreadSlot(string, string, string, string, string, WebAppsGetProcessThreadSlotOptionalParams)

Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.

getPublicCertificate(string, string, string, WebAppsGetPublicCertificateOptionalParams)

Get the named public certificate for an app (or deployment slot, if specified).

getPublicCertificateSlot(string, string, string, string, WebAppsGetPublicCertificateSlotOptionalParams)

Get the named public certificate for an app (or deployment slot, if specified).

getRelayServiceConnection(string, string, string, WebAppsGetRelayServiceConnectionOptionalParams)

Gets a hybrid connection configuration by its name.

getRelayServiceConnectionSlot(string, string, string, string, WebAppsGetRelayServiceConnectionSlotOptionalParams)

Gets a hybrid connection configuration by its name.

getSiteExtension(string, string, string, WebAppsGetSiteExtensionOptionalParams)

Get site extension information by its ID for a web site, or a deployment slot.

getSiteExtensionSlot(string, string, string, string, WebAppsGetSiteExtensionSlotOptionalParams)

Get site extension information by its ID for a web site, or a deployment slot.

getSitePhpErrorLogFlag(string, string, WebAppsGetSitePhpErrorLogFlagOptionalParams)

Gets web app's event logs.

getSitePhpErrorLogFlagSlot(string, string, string, WebAppsGetSitePhpErrorLogFlagSlotOptionalParams)

Gets web app's event logs.

getSlot(string, string, string, WebAppsGetSlotOptionalParams)

Gets the details of a web, mobile, or API app.

getSourceControl(string, string, WebAppsGetSourceControlOptionalParams)

Gets the source control configuration of an app.

getSourceControlSlot(string, string, string, WebAppsGetSourceControlSlotOptionalParams)

Gets the source control configuration of an app.

getSwiftVirtualNetworkConnection(string, string, WebAppsGetSwiftVirtualNetworkConnectionOptionalParams)

Gets a Swift Virtual Network connection.

getSwiftVirtualNetworkConnectionSlot(string, string, string, WebAppsGetSwiftVirtualNetworkConnectionSlotOptionalParams)

Gets a Swift Virtual Network connection.

getTriggeredWebJob(string, string, string, WebAppsGetTriggeredWebJobOptionalParams)

Gets a triggered web job by its ID for an app, or a deployment slot.

getTriggeredWebJobHistory(string, string, string, string, WebAppsGetTriggeredWebJobHistoryOptionalParams)

Gets a triggered web job's history by its ID for an app, , or a deployment slot.

getTriggeredWebJobHistorySlot(string, string, string, string, string, WebAppsGetTriggeredWebJobHistorySlotOptionalParams)

Gets a triggered web job's history by its ID for an app, , or a deployment slot.

getTriggeredWebJobSlot(string, string, string, string, WebAppsGetTriggeredWebJobSlotOptionalParams)

Gets a triggered web job by its ID for an app, or a deployment slot.

getVnetConnection(string, string, string, WebAppsGetVnetConnectionOptionalParams)

Gets a virtual network the app (or deployment slot) is connected to by name.

getVnetConnectionGateway(string, string, string, string, WebAppsGetVnetConnectionGatewayOptionalParams)

Gets an app's Virtual Network gateway.

getVnetConnectionGatewaySlot(string, string, string, string, string, WebAppsGetVnetConnectionGatewaySlotOptionalParams)

Gets an app's Virtual Network gateway.

getVnetConnectionSlot(string, string, string, string, WebAppsGetVnetConnectionSlotOptionalParams)

Gets a virtual network the app (or deployment slot) is connected to by name.

getWebJob(string, string, string, WebAppsGetWebJobOptionalParams)

Get webjob information for an app, or a deployment slot.

getWebJobSlot(string, string, string, string, WebAppsGetWebJobSlotOptionalParams)

Get webjob information for an app, or a deployment slot.

getWebSiteContainerLogs(string, string, WebAppsGetWebSiteContainerLogsOptionalParams)

Gets the last lines of docker logs for the given site

getWebSiteContainerLogsSlot(string, string, string, WebAppsGetWebSiteContainerLogsSlotOptionalParams)

Gets the last lines of docker logs for the given site

isCloneable(string, string, WebAppsIsCloneableOptionalParams)

Shows whether an app can be cloned to another resource group or subscription.

isCloneableSlot(string, string, string, WebAppsIsCloneableSlotOptionalParams)

Shows whether an app can be cloned to another resource group or subscription.

list(WebAppsListOptionalParams)

Get all apps for a subscription.

listApplicationSettings(string, string, WebAppsListApplicationSettingsOptionalParams)

Gets the application settings of an app.

listApplicationSettingsSlot(string, string, string, WebAppsListApplicationSettingsSlotOptionalParams)

Gets the application settings of an app.

listAzureStorageAccounts(string, string, WebAppsListAzureStorageAccountsOptionalParams)

Gets the Azure storage account configurations of an app.

listAzureStorageAccountsSlot(string, string, string, WebAppsListAzureStorageAccountsSlotOptionalParams)

Gets the Azure storage account configurations of an app.

listBackups(string, string, WebAppsListBackupsOptionalParams)

Gets existing backups of an app.

listBackupsSlot(string, string, string, WebAppsListBackupsSlotOptionalParams)

Gets existing backups of an app.

listBackupStatusSecrets(string, string, string, BackupRequest, WebAppsListBackupStatusSecretsOptionalParams)

Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.

listBackupStatusSecretsSlot(string, string, string, string, BackupRequest, WebAppsListBackupStatusSecretsSlotOptionalParams)

Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.

listByResourceGroup(string, WebAppsListByResourceGroupOptionalParams)

Gets all web, mobile, and API apps in the specified resource group.

listConfigurations(string, string, WebAppsListConfigurationsOptionalParams)

List the configurations of an app

listConfigurationSnapshotInfo(string, string, WebAppsListConfigurationSnapshotInfoOptionalParams)

Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.

listConfigurationSnapshotInfoSlot(string, string, string, WebAppsListConfigurationSnapshotInfoSlotOptionalParams)

Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.

listConfigurationsSlot(string, string, string, WebAppsListConfigurationsSlotOptionalParams)

List the configurations of an app

listConnectionStrings(string, string, WebAppsListConnectionStringsOptionalParams)

Gets the connection strings of an app.

listConnectionStringsSlot(string, string, string, WebAppsListConnectionStringsSlotOptionalParams)

Gets the connection strings of an app.

listContinuousWebJobs(string, string, WebAppsListContinuousWebJobsOptionalParams)

List continuous web jobs for an app, or a deployment slot.

listContinuousWebJobsSlot(string, string, string, WebAppsListContinuousWebJobsSlotOptionalParams)

List continuous web jobs for an app, or a deployment slot.

listDeploymentLog(string, string, string, WebAppsListDeploymentLogOptionalParams)

List deployment log for specific deployment for an app, or a deployment slot.

listDeploymentLogSlot(string, string, string, string, WebAppsListDeploymentLogSlotOptionalParams)

List deployment log for specific deployment for an app, or a deployment slot.

listDeployments(string, string, WebAppsListDeploymentsOptionalParams)

List deployments for an app, or a deployment slot.

listDeploymentsSlot(string, string, string, WebAppsListDeploymentsSlotOptionalParams)

List deployments for an app, or a deployment slot.

listDomainOwnershipIdentifiers(string, string, WebAppsListDomainOwnershipIdentifiersOptionalParams)

Lists ownership identifiers for domain associated with web app.

listDomainOwnershipIdentifiersSlot(string, string, string, WebAppsListDomainOwnershipIdentifiersSlotOptionalParams)

Lists ownership identifiers for domain associated with web app.

listFunctionKeys(string, string, string, WebAppsListFunctionKeysOptionalParams)

Get function keys for a function in a web site, or a deployment slot.

listFunctionKeysSlot(string, string, string, string, WebAppsListFunctionKeysSlotOptionalParams)

Get function keys for a function in a web site, or a deployment slot.

listFunctions(string, string, WebAppsListFunctionsOptionalParams)

List the functions for a web site, or a deployment slot.

listFunctionSecrets(string, string, string, WebAppsListFunctionSecretsOptionalParams)

Get function secrets for a function in a web site, or a deployment slot.

listFunctionSecretsSlot(string, string, string, string, WebAppsListFunctionSecretsSlotOptionalParams)

Get function secrets for a function in a web site, or a deployment slot.

listHostKeys(string, string, WebAppsListHostKeysOptionalParams)

Get host secrets for a function app.

listHostKeysSlot(string, string, string, WebAppsListHostKeysSlotOptionalParams)

Get host secrets for a function app.

listHostNameBindings(string, string, WebAppsListHostNameBindingsOptionalParams)

Get hostname bindings for an app or a deployment slot.

listHostNameBindingsSlot(string, string, string, WebAppsListHostNameBindingsSlotOptionalParams)

Get hostname bindings for an app or a deployment slot.

listHybridConnectionKeys(string, string, string, string, WebAppsListHybridConnectionKeysOptionalParams)

Gets the send key name and value for a Hybrid Connection.

listHybridConnectionKeysSlot(string, string, string, string, string, WebAppsListHybridConnectionKeysSlotOptionalParams)

Gets the send key name and value for a Hybrid Connection.

listHybridConnections(string, string, WebAppsListHybridConnectionsOptionalParams)

Retrieves all Service Bus Hybrid Connections used by this Web App.

listHybridConnectionsSlot(string, string, string, WebAppsListHybridConnectionsSlotOptionalParams)

Retrieves all Service Bus Hybrid Connections used by this Web App.

listInstanceFunctionsSlot(string, string, string, WebAppsListInstanceFunctionsSlotOptionalParams)

List the functions for a web site, or a deployment slot.

listInstanceIdentifiers(string, string, WebAppsListInstanceIdentifiersOptionalParams)

Gets all scale-out instances of an app.

listInstanceIdentifiersSlot(string, string, string, WebAppsListInstanceIdentifiersSlotOptionalParams)

Gets all scale-out instances of an app.

listInstanceProcesses(string, string, string, WebAppsListInstanceProcessesOptionalParams)

Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

listInstanceProcessesSlot(string, string, string, string, WebAppsListInstanceProcessesSlotOptionalParams)

Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

listInstanceProcessModules(string, string, string, string, WebAppsListInstanceProcessModulesOptionalParams)

List module information for a process by its ID for a specific scaled-out instance in a web site.

listInstanceProcessModulesSlot(string, string, string, string, string, WebAppsListInstanceProcessModulesSlotOptionalParams)

List module information for a process by its ID for a specific scaled-out instance in a web site.

listInstanceProcessThreads(string, string, string, string, WebAppsListInstanceProcessThreadsOptionalParams)

List the threads in a process by its ID for a specific scaled-out instance in a web site.

listInstanceProcessThreadsSlot(string, string, string, string, string, WebAppsListInstanceProcessThreadsSlotOptionalParams)

List the threads in a process by its ID for a specific scaled-out instance in a web site.

listMetadata(string, string, WebAppsListMetadataOptionalParams)

Gets the metadata of an app.

listMetadataSlot(string, string, string, WebAppsListMetadataSlotOptionalParams)

Gets the metadata of an app.

listMetricDefinitions(string, string, WebAppsListMetricDefinitionsOptionalParams)

Gets all metric definitions of an app (or deployment slot, if specified).

listMetricDefinitionsSlot(string, string, string, WebAppsListMetricDefinitionsSlotOptionalParams)

Gets all metric definitions of an app (or deployment slot, if specified).

listMetrics(string, string, WebAppsListMetricsOptionalParams)

Gets performance metrics of an app (or deployment slot, if specified).

listMetricsSlot(string, string, string, WebAppsListMetricsSlotOptionalParams)

Gets performance metrics of an app (or deployment slot, if specified).

listNetworkFeatures(string, string, string, WebAppsListNetworkFeaturesOptionalParams)

Gets all network features used by the app (or deployment slot, if specified).

listNetworkFeaturesSlot(string, string, string, string, WebAppsListNetworkFeaturesSlotOptionalParams)

Gets all network features used by the app (or deployment slot, if specified).

listPerfMonCounters(string, string, WebAppsListPerfMonCountersOptionalParams)

Gets perfmon counters for web app.

listPerfMonCountersSlot(string, string, string, WebAppsListPerfMonCountersSlotOptionalParams)

Gets perfmon counters for web app.

listPremierAddOns(string, string, WebAppsListPremierAddOnsOptionalParams)

Gets the premier add-ons of an app.

listPremierAddOnsSlot(string, string, string, WebAppsListPremierAddOnsSlotOptionalParams)

Gets the premier add-ons of an app.

listProcesses(string, string, WebAppsListProcessesOptionalParams)

Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

listProcessesSlot(string, string, string, WebAppsListProcessesSlotOptionalParams)

Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

listProcessModules(string, string, string, WebAppsListProcessModulesOptionalParams)

List module information for a process by its ID for a specific scaled-out instance in a web site.

listProcessModulesSlot(string, string, string, string, WebAppsListProcessModulesSlotOptionalParams)

List module information for a process by its ID for a specific scaled-out instance in a web site.

listProcessThreads(string, string, string, WebAppsListProcessThreadsOptionalParams)

List the threads in a process by its ID for a specific scaled-out instance in a web site.

listProcessThreadsSlot(string, string, string, string, WebAppsListProcessThreadsSlotOptionalParams)

List the threads in a process by its ID for a specific scaled-out instance in a web site.

listPublicCertificates(string, string, WebAppsListPublicCertificatesOptionalParams)

Get public certificates for an app or a deployment slot.

listPublicCertificatesSlot(string, string, string, WebAppsListPublicCertificatesSlotOptionalParams)

Get public certificates for an app or a deployment slot.

listPublishingProfileXmlWithSecrets(string, string, CsmPublishingProfileOptions, WebAppsListPublishingProfileXmlWithSecretsOptionalParams)

Gets the publishing profile for an app (or deployment slot, if specified).

listPublishingProfileXmlWithSecretsSlot(string, string, string, CsmPublishingProfileOptions, WebAppsListPublishingProfileXmlWithSecretsSlotOptionalParams)

Gets the publishing profile for an app (or deployment slot, if specified).

listRelayServiceConnections(string, string, WebAppsListRelayServiceConnectionsOptionalParams)

Gets hybrid connections configured for an app (or deployment slot, if specified).

listRelayServiceConnectionsSlot(string, string, string, WebAppsListRelayServiceConnectionsSlotOptionalParams)

Gets hybrid connections configured for an app (or deployment slot, if specified).

listSiteExtensions(string, string, WebAppsListSiteExtensionsOptionalParams)

Get list of siteextensions for a web site, or a deployment slot.

listSiteExtensionsSlot(string, string, string, WebAppsListSiteExtensionsSlotOptionalParams)

Get list of siteextensions for a web site, or a deployment slot.

listSitePushSettings(string, string, WebAppsListSitePushSettingsOptionalParams)

Gets the Push settings associated with web app.

listSitePushSettingsSlot(string, string, string, WebAppsListSitePushSettingsSlotOptionalParams)

Gets the Push settings associated with web app.

listSlotConfigurationNames(string, string, WebAppsListSlotConfigurationNamesOptionalParams)

Gets the names of app settings and connection strings that stick to the slot (not swapped).

listSlotDifferencesFromProduction(string, string, CsmSlotEntity, WebAppsListSlotDifferencesFromProductionOptionalParams)

Get the difference in configuration settings between two web app slots.

listSlotDifferencesSlot(string, string, string, CsmSlotEntity, WebAppsListSlotDifferencesSlotOptionalParams)

Get the difference in configuration settings between two web app slots.

listSlots(string, string, WebAppsListSlotsOptionalParams)

Gets an app's deployment slots.

listSnapshots(string, string, WebAppsListSnapshotsOptionalParams)

Returns all Snapshots to the user.

listSnapshotsFromDRSecondary(string, string, WebAppsListSnapshotsFromDRSecondaryOptionalParams)

Returns all Snapshots to the user from DRSecondary endpoint.

listSnapshotsFromDRSecondarySlot(string, string, string, WebAppsListSnapshotsFromDRSecondarySlotOptionalParams)

Returns all Snapshots to the user from DRSecondary endpoint.

listSnapshotsSlot(string, string, string, WebAppsListSnapshotsSlotOptionalParams)

Returns all Snapshots to the user.

listSyncFunctionTriggers(string, string, WebAppsListSyncFunctionTriggersOptionalParams)

This is to allow calling via powershell and ARM template.

listSyncFunctionTriggersSlot(string, string, string, WebAppsListSyncFunctionTriggersSlotOptionalParams)

This is to allow calling via powershell and ARM template.

listSyncStatus(string, string, WebAppsListSyncStatusOptionalParams)

This is to allow calling via powershell and ARM template.

listSyncStatusSlot(string, string, string, WebAppsListSyncStatusSlotOptionalParams)

This is to allow calling via powershell and ARM template.

listTriggeredWebJobHistory(string, string, string, WebAppsListTriggeredWebJobHistoryOptionalParams)

List a triggered web job's history for an app, or a deployment slot.

listTriggeredWebJobHistorySlot(string, string, string, string, WebAppsListTriggeredWebJobHistorySlotOptionalParams)

List a triggered web job's history for an app, or a deployment slot.

listTriggeredWebJobs(string, string, WebAppsListTriggeredWebJobsOptionalParams)

List triggered web jobs for an app, or a deployment slot.

listTriggeredWebJobsSlot(string, string, string, WebAppsListTriggeredWebJobsSlotOptionalParams)

List triggered web jobs for an app, or a deployment slot.

listUsages(string, string, WebAppsListUsagesOptionalParams)

Gets the quota usage information of an app (or deployment slot, if specified).

listUsagesSlot(string, string, string, WebAppsListUsagesSlotOptionalParams)

Gets the quota usage information of an app (or deployment slot, if specified).

listVnetConnections(string, string, WebAppsListVnetConnectionsOptionalParams)

Gets the virtual networks the app (or deployment slot) is connected to.

listVnetConnectionsSlot(string, string, string, WebAppsListVnetConnectionsSlotOptionalParams)

Gets the virtual networks the app (or deployment slot) is connected to.

listWebJobs(string, string, WebAppsListWebJobsOptionalParams)

List webjobs for an app, or a deployment slot.

listWebJobsSlot(string, string, string, WebAppsListWebJobsSlotOptionalParams)

List webjobs for an app, or a deployment slot.

putPrivateAccessVnet(string, string, PrivateAccess, WebAppsPutPrivateAccessVnetOptionalParams)

Sets data around private site access enablement and authorized Virtual Networks that can access the site.

putPrivateAccessVnetSlot(string, string, string, PrivateAccess, WebAppsPutPrivateAccessVnetSlotOptionalParams)

Sets data around private site access enablement and authorized Virtual Networks that can access the site.

recoverSiteConfigurationSnapshot(string, string, string, WebAppsRecoverSiteConfigurationSnapshotOptionalParams)

Reverts the configuration of an app to a previous snapshot.

recoverSiteConfigurationSnapshotSlot(string, string, string, string, WebAppsRecoverSiteConfigurationSnapshotSlotOptionalParams)

Reverts the configuration of an app to a previous snapshot.

resetProductionSlotConfig(string, string, WebAppsResetProductionSlotConfigOptionalParams)

Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.

resetSlotConfigurationSlot(string, string, string, WebAppsResetSlotConfigurationSlotOptionalParams)

Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.

restart(string, string, WebAppsRestartOptionalParams)

Restarts an app (or deployment slot, if specified).

restartSlot(string, string, string, WebAppsRestartSlotOptionalParams)

Restarts an app (or deployment slot, if specified).

runTriggeredWebJob(string, string, string, WebAppsRunTriggeredWebJobOptionalParams)

Run a triggered web job for an app, or a deployment slot.

runTriggeredWebJobSlot(string, string, string, string, WebAppsRunTriggeredWebJobSlotOptionalParams)

Run a triggered web job for an app, or a deployment slot.

start(string, string, WebAppsStartOptionalParams)

Starts an app (or deployment slot, if specified).

startContinuousWebJob(string, string, string, WebAppsStartContinuousWebJobOptionalParams)

Start a continuous web job for an app, or a deployment slot.

startContinuousWebJobSlot(string, string, string, string, WebAppsStartContinuousWebJobSlotOptionalParams)

Start a continuous web job for an app, or a deployment slot.

startSlot(string, string, string, WebAppsStartSlotOptionalParams)

Starts an app (or deployment slot, if specified).

startWebSiteNetworkTrace(string, string, WebAppsStartWebSiteNetworkTraceOptionalParams)

Start capturing network packets for the site (To be deprecated).

startWebSiteNetworkTraceSlot(string, string, string, WebAppsStartWebSiteNetworkTraceSlotOptionalParams)

Start capturing network packets for the site (To be deprecated).

stop(string, string, WebAppsStopOptionalParams)

Stops an app (or deployment slot, if specified).

stopContinuousWebJob(string, string, string, WebAppsStopContinuousWebJobOptionalParams)

Stop a continuous web job for an app, or a deployment slot.

stopContinuousWebJobSlot(string, string, string, string, WebAppsStopContinuousWebJobSlotOptionalParams)

Stop a continuous web job for an app, or a deployment slot.

stopNetworkTrace(string, string, WebAppsStopNetworkTraceOptionalParams)

Stop ongoing capturing network packets for the site.

stopNetworkTraceSlot(string, string, string, WebAppsStopNetworkTraceSlotOptionalParams)

Stop ongoing capturing network packets for the site.

stopSlot(string, string, string, WebAppsStopSlotOptionalParams)

Stops an app (or deployment slot, if specified).

stopWebSiteNetworkTrace(string, string, WebAppsStopWebSiteNetworkTraceOptionalParams)

Stop ongoing capturing network packets for the site.

stopWebSiteNetworkTraceSlot(string, string, string, WebAppsStopWebSiteNetworkTraceSlotOptionalParams)

Stop ongoing capturing network packets for the site.

syncFunctions(string, string, WebAppsSyncFunctionsOptionalParams)

Syncs function trigger metadata to the management database

syncFunctionsSlot(string, string, string, WebAppsSyncFunctionsSlotOptionalParams)

Syncs function trigger metadata to the management database

syncFunctionTriggers(string, string, WebAppsSyncFunctionTriggersOptionalParams)

Syncs function trigger metadata to the management database

syncFunctionTriggersSlot(string, string, string, WebAppsSyncFunctionTriggersSlotOptionalParams)

Syncs function trigger metadata to the management database

syncRepository(string, string, WebAppsSyncRepositoryOptionalParams)

Sync web app repository.

syncRepositorySlot(string, string, string, WebAppsSyncRepositorySlotOptionalParams)

Sync web app repository.

update(string, string, SitePatchResource, WebAppsUpdateOptionalParams)

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

updateApplicationSettings(string, string, StringDictionary, WebAppsUpdateApplicationSettingsOptionalParams)

Replaces the application settings of an app.

updateApplicationSettingsSlot(string, string, string, StringDictionary, WebAppsUpdateApplicationSettingsSlotOptionalParams)

Replaces the application settings of an app.

updateAuthSettings(string, string, SiteAuthSettings, WebAppsUpdateAuthSettingsOptionalParams)

Updates the Authentication / Authorization settings associated with web app.

updateAuthSettingsSlot(string, string, string, SiteAuthSettings, WebAppsUpdateAuthSettingsSlotOptionalParams)

Updates the Authentication / Authorization settings associated with web app.

updateAzureStorageAccounts(string, string, AzureStoragePropertyDictionaryResource, WebAppsUpdateAzureStorageAccountsOptionalParams)

Updates the Azure storage account configurations of an app.

updateAzureStorageAccountsSlot(string, string, string, AzureStoragePropertyDictionaryResource, WebAppsUpdateAzureStorageAccountsSlotOptionalParams)

Updates the Azure storage account configurations of an app.

updateBackupConfiguration(string, string, BackupRequest, WebAppsUpdateBackupConfigurationOptionalParams)

Updates the backup configuration of an app.

updateBackupConfigurationSlot(string, string, string, BackupRequest, WebAppsUpdateBackupConfigurationSlotOptionalParams)

Updates the backup configuration of an app.

updateConfiguration(string, string, SiteConfigResource, WebAppsUpdateConfigurationOptionalParams)

Updates the configuration of an app.

updateConfigurationSlot(string, string, string, SiteConfigResource, WebAppsUpdateConfigurationSlotOptionalParams)

Updates the configuration of an app.

updateConnectionStrings(string, string, ConnectionStringDictionary, WebAppsUpdateConnectionStringsOptionalParams)

Replaces the connection strings of an app.

updateConnectionStringsSlot(string, string, string, ConnectionStringDictionary, WebAppsUpdateConnectionStringsSlotOptionalParams)

Replaces the connection strings of an app.

updateDiagnosticLogsConfig(string, string, SiteLogsConfig, WebAppsUpdateDiagnosticLogsConfigOptionalParams)

Updates the logging configuration of an app.

updateDiagnosticLogsConfigSlot(string, string, string, SiteLogsConfig, WebAppsUpdateDiagnosticLogsConfigSlotOptionalParams)

Updates the logging configuration of an app.

updateDomainOwnershipIdentifier(string, string, string, Identifier, WebAppsUpdateDomainOwnershipIdentifierOptionalParams)

Creates a domain ownership identifier for web app, or updates an existing ownership identifier.

updateDomainOwnershipIdentifierSlot(string, string, string, string, Identifier, WebAppsUpdateDomainOwnershipIdentifierSlotOptionalParams)

Creates a domain ownership identifier for web app, or updates an existing ownership identifier.

updateHybridConnection(string, string, string, string, HybridConnection, WebAppsUpdateHybridConnectionOptionalParams)

Creates a new Hybrid Connection using a Service Bus relay.

updateHybridConnectionSlot(string, string, string, string, string, HybridConnection, WebAppsUpdateHybridConnectionSlotOptionalParams)

Creates a new Hybrid Connection using a Service Bus relay.

updateMetadata(string, string, StringDictionary, WebAppsUpdateMetadataOptionalParams)

Replaces the metadata of an app.

updateMetadataSlot(string, string, string, StringDictionary, WebAppsUpdateMetadataSlotOptionalParams)

Replaces the metadata of an app.

updatePremierAddOn(string, string, string, PremierAddOnPatchResource, WebAppsUpdatePremierAddOnOptionalParams)

Updates a named add-on of an app.

updatePremierAddOnSlot(string, string, string, string, PremierAddOnPatchResource, WebAppsUpdatePremierAddOnSlotOptionalParams)

Updates a named add-on of an app.

updateRelayServiceConnection(string, string, string, RelayServiceConnectionEntity, WebAppsUpdateRelayServiceConnectionOptionalParams)

Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).

updateRelayServiceConnectionSlot(string, string, string, string, RelayServiceConnectionEntity, WebAppsUpdateRelayServiceConnectionSlotOptionalParams)

Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).

updateSitePushSettings(string, string, PushSettings, WebAppsUpdateSitePushSettingsOptionalParams)

Updates the Push settings associated with web app.

updateSitePushSettingsSlot(string, string, string, PushSettings, WebAppsUpdateSitePushSettingsSlotOptionalParams)

Updates the Push settings associated with web app.

updateSlot(string, string, string, SitePatchResource, WebAppsUpdateSlotOptionalParams)

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

updateSlotConfigurationNames(string, string, SlotConfigNamesResource, WebAppsUpdateSlotConfigurationNamesOptionalParams)

Updates the names of application settings and connection string that remain with the slot during swap operation.

updateSourceControl(string, string, SiteSourceControl, WebAppsUpdateSourceControlOptionalParams)

Updates the source control configuration of an app.

updateSourceControlSlot(string, string, string, SiteSourceControl, WebAppsUpdateSourceControlSlotOptionalParams)

Updates the source control configuration of an app.

updateSwiftVirtualNetworkConnection(string, string, SwiftVirtualNetwork, WebAppsUpdateSwiftVirtualNetworkConnectionOptionalParams)

Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in.

updateSwiftVirtualNetworkConnectionSlot(string, string, string, SwiftVirtualNetwork, WebAppsUpdateSwiftVirtualNetworkConnectionSlotOptionalParams)

Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in.

updateVnetConnection(string, string, string, VnetInfo, WebAppsUpdateVnetConnectionOptionalParams)

Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).

updateVnetConnectionGateway(string, string, string, string, VnetGateway, WebAppsUpdateVnetConnectionGatewayOptionalParams)

Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).

updateVnetConnectionGatewaySlot(string, string, string, string, string, VnetGateway, WebAppsUpdateVnetConnectionGatewaySlotOptionalParams)

Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).

updateVnetConnectionSlot(string, string, string, string, VnetInfo, WebAppsUpdateVnetConnectionSlotOptionalParams)

Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).

Method Details

addPremierAddOn(string, string, string, PremierAddOn, WebAppsAddPremierAddOnOptionalParams)

Updates a named add-on of an app.

function addPremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: PremierAddOn, options?: WebAppsAddPremierAddOnOptionalParams): Promise<PremierAddOn>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

premierAddOnName

string

Add-on name.

premierAddOn
PremierAddOn

A JSON representation of the edited premier add-on.

options
WebAppsAddPremierAddOnOptionalParams

The options parameters.

Returns

Promise<PremierAddOn>

addPremierAddOnSlot(string, string, string, string, PremierAddOn, WebAppsAddPremierAddOnSlotOptionalParams)

Updates a named add-on of an app.

function addPremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, slot: string, premierAddOn: PremierAddOn, options?: WebAppsAddPremierAddOnSlotOptionalParams): Promise<PremierAddOn>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

premierAddOnName

string

Add-on name.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot.

premierAddOn
PremierAddOn

A JSON representation of the edited premier add-on.

options
WebAppsAddPremierAddOnSlotOptionalParams

The options parameters.

Returns

Promise<PremierAddOn>

analyzeCustomHostname(string, string, WebAppsAnalyzeCustomHostnameOptionalParams)

Analyze a custom hostname.

function analyzeCustomHostname(resourceGroupName: string, name: string, options?: WebAppsAnalyzeCustomHostnameOptionalParams): Promise<CustomHostnameAnalysisResult>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

options
WebAppsAnalyzeCustomHostnameOptionalParams

The options parameters.

Returns

analyzeCustomHostnameSlot(string, string, string, WebAppsAnalyzeCustomHostnameSlotOptionalParams)

Analyze a custom hostname.

function analyzeCustomHostnameSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsAnalyzeCustomHostnameSlotOptionalParams): Promise<CustomHostnameAnalysisResult>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

options
WebAppsAnalyzeCustomHostnameSlotOptionalParams

The options parameters.

Returns

applySlotConfigToProduction(string, string, CsmSlotEntity, WebAppsApplySlotConfigToProductionOptionalParams)

Applies the configuration settings from the target slot onto the current slot.

function applySlotConfigToProduction(resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, options?: WebAppsApplySlotConfigToProductionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slotSwapEntity
CsmSlotEntity

JSON object that contains the target slot name. See example.

options
WebAppsApplySlotConfigToProductionOptionalParams

The options parameters.

Returns

Promise<void>

applySlotConfigurationSlot(string, string, string, CsmSlotEntity, WebAppsApplySlotConfigurationSlotOptionalParams)

Applies the configuration settings from the target slot onto the current slot.

function applySlotConfigurationSlot(resourceGroupName: string, name: string, slot: string, slotSwapEntity: CsmSlotEntity, options?: WebAppsApplySlotConfigurationSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the source slot. If a slot is not specified, the production slot is used as the source slot.

slotSwapEntity
CsmSlotEntity

JSON object that contains the target slot name. See example.

options
WebAppsApplySlotConfigurationSlotOptionalParams

The options parameters.

Returns

Promise<void>

backup(string, string, BackupRequest, WebAppsBackupOptionalParams)

Creates a backup of an app.

function backup(resourceGroupName: string, name: string, request: BackupRequest, options?: WebAppsBackupOptionalParams): Promise<BackupItem>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

request
BackupRequest

Backup configuration. You can use the JSON response from the POST action as input here.

options
WebAppsBackupOptionalParams

The options parameters.

Returns

Promise<BackupItem>

backupSlot(string, string, string, BackupRequest, WebAppsBackupSlotOptionalParams)

Creates a backup of an app.

function backupSlot(resourceGroupName: string, name: string, slot: string, request: BackupRequest, options?: WebAppsBackupSlotOptionalParams): Promise<BackupItem>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will create a backup for the production slot.

request
BackupRequest

Backup configuration. You can use the JSON response from the POST action as input here.

options
WebAppsBackupSlotOptionalParams

The options parameters.

Returns

Promise<BackupItem>

beginCreateFunction(string, string, string, FunctionEnvelope, WebAppsCreateFunctionOptionalParams)

Create function for web site, or a deployment slot.

function beginCreateFunction(resourceGroupName: string, name: string, functionName: string, functionEnvelope: FunctionEnvelope, options?: WebAppsCreateFunctionOptionalParams): Promise<PollerLike<PollOperationState<FunctionEnvelope>, FunctionEnvelope>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

Function name.

functionEnvelope
FunctionEnvelope

Function details.

options
WebAppsCreateFunctionOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<FunctionEnvelope>, FunctionEnvelope>>

beginCreateFunctionAndWait(string, string, string, FunctionEnvelope, WebAppsCreateFunctionOptionalParams)

Create function for web site, or a deployment slot.

function beginCreateFunctionAndWait(resourceGroupName: string, name: string, functionName: string, functionEnvelope: FunctionEnvelope, options?: WebAppsCreateFunctionOptionalParams): Promise<FunctionEnvelope>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

Function name.

functionEnvelope
FunctionEnvelope

Function details.

options
WebAppsCreateFunctionOptionalParams

The options parameters.

Returns

Promise<FunctionEnvelope>

beginCreateInstanceFunctionSlot(string, string, string, string, FunctionEnvelope, WebAppsCreateInstanceFunctionSlotOptionalParams)

Create function for web site, or a deployment slot.

function beginCreateInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, functionEnvelope: FunctionEnvelope, options?: WebAppsCreateInstanceFunctionSlotOptionalParams): Promise<PollerLike<PollOperationState<FunctionEnvelope>, FunctionEnvelope>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

Function name.

slot

string

Name of the deployment slot.

functionEnvelope
FunctionEnvelope

Function details.

options
WebAppsCreateInstanceFunctionSlotOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<FunctionEnvelope>, FunctionEnvelope>>

beginCreateInstanceFunctionSlotAndWait(string, string, string, string, FunctionEnvelope, WebAppsCreateInstanceFunctionSlotOptionalParams)

Create function for web site, or a deployment slot.

function beginCreateInstanceFunctionSlotAndWait(resourceGroupName: string, name: string, functionName: string, slot: string, functionEnvelope: FunctionEnvelope, options?: WebAppsCreateInstanceFunctionSlotOptionalParams): Promise<FunctionEnvelope>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

Function name.

slot

string

Name of the deployment slot.

functionEnvelope
FunctionEnvelope

Function details.

options
WebAppsCreateInstanceFunctionSlotOptionalParams

The options parameters.

Returns

Promise<FunctionEnvelope>

beginCreateInstanceMSDeployOperation(string, string, string, MSDeploy, WebAppsCreateInstanceMSDeployOperationOptionalParams)

Invoke the MSDeploy web app extension.

function beginCreateInstanceMSDeployOperation(resourceGroupName: string, name: string, instanceId: string, mSDeploy: MSDeploy, options?: WebAppsCreateInstanceMSDeployOperationOptionalParams): Promise<PollerLike<PollOperationState<MSDeployStatus>, MSDeployStatus>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

instanceId

string

ID of web app instance.

mSDeploy
MSDeploy

Details of MSDeploy operation

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<MSDeployStatus>, MSDeployStatus>>

beginCreateInstanceMSDeployOperationAndWait(string, string, string, MSDeploy, WebAppsCreateInstanceMSDeployOperationOptionalParams)

Invoke the MSDeploy web app extension.

function beginCreateInstanceMSDeployOperationAndWait(resourceGroupName: string, name: string, instanceId: string, mSDeploy: MSDeploy, options?: WebAppsCreateInstanceMSDeployOperationOptionalParams): Promise<MSDeployStatus>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

instanceId

string

ID of web app instance.

mSDeploy
MSDeploy

Details of MSDeploy operation

Returns

Promise<MSDeployStatus>

beginCreateInstanceMSDeployOperationSlot(string, string, string, string, MSDeploy, WebAppsCreateInstanceMSDeployOperationSlotOptionalParams)

Invoke the MSDeploy web app extension.

function beginCreateInstanceMSDeployOperationSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, mSDeploy: MSDeploy, options?: WebAppsCreateInstanceMSDeployOperationSlotOptionalParams): Promise<PollerLike<PollOperationState<MSDeployStatus>, MSDeployStatus>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

instanceId

string

ID of web app instance.

mSDeploy
MSDeploy

Details of MSDeploy operation

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<MSDeployStatus>, MSDeployStatus>>

beginCreateInstanceMSDeployOperationSlotAndWait(string, string, string, string, MSDeploy, WebAppsCreateInstanceMSDeployOperationSlotOptionalParams)

Invoke the MSDeploy web app extension.

function beginCreateInstanceMSDeployOperationSlotAndWait(resourceGroupName: string, name: string, slot: string, instanceId: string, mSDeploy: MSDeploy, options?: WebAppsCreateInstanceMSDeployOperationSlotOptionalParams): Promise<MSDeployStatus>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

instanceId

string

ID of web app instance.

mSDeploy
MSDeploy

Details of MSDeploy operation

Returns

Promise<MSDeployStatus>

beginCreateMSDeployOperation(string, string, MSDeploy, WebAppsCreateMSDeployOperationOptionalParams)

Invoke the MSDeploy web app extension.

function beginCreateMSDeployOperation(resourceGroupName: string, name: string, mSDeploy: MSDeploy, options?: WebAppsCreateMSDeployOperationOptionalParams): Promise<PollerLike<PollOperationState<MSDeployStatus>, MSDeployStatus>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

mSDeploy
MSDeploy

Details of MSDeploy operation

options
WebAppsCreateMSDeployOperationOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<MSDeployStatus>, MSDeployStatus>>

beginCreateMSDeployOperationAndWait(string, string, MSDeploy, WebAppsCreateMSDeployOperationOptionalParams)

Invoke the MSDeploy web app extension.

function beginCreateMSDeployOperationAndWait(resourceGroupName: string, name: string, mSDeploy: MSDeploy, options?: WebAppsCreateMSDeployOperationOptionalParams): Promise<MSDeployStatus>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

mSDeploy
MSDeploy

Details of MSDeploy operation

options
WebAppsCreateMSDeployOperationOptionalParams

The options parameters.

Returns

Promise<MSDeployStatus>

beginCreateMSDeployOperationSlot(string, string, string, MSDeploy, WebAppsCreateMSDeployOperationSlotOptionalParams)

Invoke the MSDeploy web app extension.

function beginCreateMSDeployOperationSlot(resourceGroupName: string, name: string, slot: string, mSDeploy: MSDeploy, options?: WebAppsCreateMSDeployOperationSlotOptionalParams): Promise<PollerLike<PollOperationState<MSDeployStatus>, MSDeployStatus>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

mSDeploy
MSDeploy

Details of MSDeploy operation

options
WebAppsCreateMSDeployOperationSlotOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<MSDeployStatus>, MSDeployStatus>>

beginCreateMSDeployOperationSlotAndWait(string, string, string, MSDeploy, WebAppsCreateMSDeployOperationSlotOptionalParams)

Invoke the MSDeploy web app extension.

function beginCreateMSDeployOperationSlotAndWait(resourceGroupName: string, name: string, slot: string, mSDeploy: MSDeploy, options?: WebAppsCreateMSDeployOperationSlotOptionalParams): Promise<MSDeployStatus>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

mSDeploy
MSDeploy

Details of MSDeploy operation

options
WebAppsCreateMSDeployOperationSlotOptionalParams

The options parameters.

Returns

Promise<MSDeployStatus>

beginCreateOrUpdate(string, string, Site, WebAppsCreateOrUpdateOptionalParams)

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

function beginCreateOrUpdate(resourceGroupName: string, name: string, siteEnvelope: Site, options?: WebAppsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<Site>, Site>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.

siteEnvelope
Site

A JSON representation of the app properties. See example.

options
WebAppsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<Site>, Site>>

beginCreateOrUpdateAndWait(string, string, Site, WebAppsCreateOrUpdateOptionalParams)

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

function beginCreateOrUpdateAndWait(resourceGroupName: string, name: string, siteEnvelope: Site, options?: WebAppsCreateOrUpdateOptionalParams): Promise<Site>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.

siteEnvelope
Site

A JSON representation of the app properties. See example.

options
WebAppsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Site>

beginCreateOrUpdateSlot(string, string, string, Site, WebAppsCreateOrUpdateSlotOptionalParams)

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

function beginCreateOrUpdateSlot(resourceGroupName: string, name: string, slot: string, siteEnvelope: Site, options?: WebAppsCreateOrUpdateSlotOptionalParams): Promise<PollerLike<PollOperationState<Site>, Site>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.

slot

string

Name of the deployment slot to create or update. The name 'production' is reserved.

siteEnvelope
Site

A JSON representation of the app properties. See example.

options
WebAppsCreateOrUpdateSlotOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<Site>, Site>>

beginCreateOrUpdateSlotAndWait(string, string, string, Site, WebAppsCreateOrUpdateSlotOptionalParams)

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

function beginCreateOrUpdateSlotAndWait(resourceGroupName: string, name: string, slot: string, siteEnvelope: Site, options?: WebAppsCreateOrUpdateSlotOptionalParams): Promise<Site>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.

slot

string

Name of the deployment slot to create or update. The name 'production' is reserved.

siteEnvelope
Site

A JSON representation of the app properties. See example.

options
WebAppsCreateOrUpdateSlotOptionalParams

The options parameters.

Returns

Promise<Site>

beginCreateOrUpdateSourceControl(string, string, SiteSourceControl, WebAppsCreateOrUpdateSourceControlOptionalParams)

Updates the source control configuration of an app.

function beginCreateOrUpdateSourceControl(resourceGroupName: string, name: string, siteSourceControl: SiteSourceControl, options?: WebAppsCreateOrUpdateSourceControlOptionalParams): Promise<PollerLike<PollOperationState<SiteSourceControl>, SiteSourceControl>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

siteSourceControl
SiteSourceControl

JSON representation of a SiteSourceControl object. See example.

options
WebAppsCreateOrUpdateSourceControlOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<SiteSourceControl>, SiteSourceControl>>

beginCreateOrUpdateSourceControlAndWait(string, string, SiteSourceControl, WebAppsCreateOrUpdateSourceControlOptionalParams)

Updates the source control configuration of an app.

function beginCreateOrUpdateSourceControlAndWait(resourceGroupName: string, name: string, siteSourceControl: SiteSourceControl, options?: WebAppsCreateOrUpdateSourceControlOptionalParams): Promise<SiteSourceControl>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

siteSourceControl
SiteSourceControl

JSON representation of a SiteSourceControl object. See example.

options
WebAppsCreateOrUpdateSourceControlOptionalParams

The options parameters.

Returns

beginCreateOrUpdateSourceControlSlot(string, string, string, SiteSourceControl, WebAppsCreateOrUpdateSourceControlSlotOptionalParams)

Updates the source control configuration of an app.

function beginCreateOrUpdateSourceControlSlot(resourceGroupName: string, name: string, slot: string, siteSourceControl: SiteSourceControl, options?: WebAppsCreateOrUpdateSourceControlSlotOptionalParams): Promise<PollerLike<PollOperationState<SiteSourceControl>, SiteSourceControl>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update the source control configuration for the production slot.

siteSourceControl
SiteSourceControl

JSON representation of a SiteSourceControl object. See example.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<SiteSourceControl>, SiteSourceControl>>

beginCreateOrUpdateSourceControlSlotAndWait(string, string, string, SiteSourceControl, WebAppsCreateOrUpdateSourceControlSlotOptionalParams)

Updates the source control configuration of an app.

function beginCreateOrUpdateSourceControlSlotAndWait(resourceGroupName: string, name: string, slot: string, siteSourceControl: SiteSourceControl, options?: WebAppsCreateOrUpdateSourceControlSlotOptionalParams): Promise<SiteSourceControl>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update the source control configuration for the production slot.

siteSourceControl
SiteSourceControl

JSON representation of a SiteSourceControl object. See example.

Returns

beginInstallSiteExtension(string, string, string, WebAppsInstallSiteExtensionOptionalParams)

Install site extension on a web site, or a deployment slot.

function beginInstallSiteExtension(resourceGroupName: string, name: string, siteExtensionId: string, options?: WebAppsInstallSiteExtensionOptionalParams): Promise<PollerLike<PollOperationState<SiteExtensionInfo>, SiteExtensionInfo>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

siteExtensionId

string

Site extension name.

options
WebAppsInstallSiteExtensionOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<SiteExtensionInfo>, SiteExtensionInfo>>

beginInstallSiteExtensionAndWait(string, string, string, WebAppsInstallSiteExtensionOptionalParams)

Install site extension on a web site, or a deployment slot.

function beginInstallSiteExtensionAndWait(resourceGroupName: string, name: string, siteExtensionId: string, options?: WebAppsInstallSiteExtensionOptionalParams): Promise<SiteExtensionInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

siteExtensionId

string

Site extension name.

options
WebAppsInstallSiteExtensionOptionalParams

The options parameters.

Returns

beginInstallSiteExtensionSlot(string, string, string, string, WebAppsInstallSiteExtensionSlotOptionalParams)

Install site extension on a web site, or a deployment slot.

function beginInstallSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options?: WebAppsInstallSiteExtensionSlotOptionalParams): Promise<PollerLike<PollOperationState<SiteExtensionInfo>, SiteExtensionInfo>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

siteExtensionId

string

Site extension name.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsInstallSiteExtensionSlotOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<SiteExtensionInfo>, SiteExtensionInfo>>

beginInstallSiteExtensionSlotAndWait(string, string, string, string, WebAppsInstallSiteExtensionSlotOptionalParams)

Install site extension on a web site, or a deployment slot.

function beginInstallSiteExtensionSlotAndWait(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options?: WebAppsInstallSiteExtensionSlotOptionalParams): Promise<SiteExtensionInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

siteExtensionId

string

Site extension name.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsInstallSiteExtensionSlotOptionalParams

The options parameters.

Returns

beginListPublishingCredentials(string, string, WebAppsListPublishingCredentialsOptionalParams)

Gets the Git/FTP publishing credentials of an app.

function beginListPublishingCredentials(resourceGroupName: string, name: string, options?: WebAppsListPublishingCredentialsOptionalParams): Promise<PollerLike<PollOperationState<User>, User>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListPublishingCredentialsOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<User>, User>>

beginListPublishingCredentialsAndWait(string, string, WebAppsListPublishingCredentialsOptionalParams)

Gets the Git/FTP publishing credentials of an app.

function beginListPublishingCredentialsAndWait(resourceGroupName: string, name: string, options?: WebAppsListPublishingCredentialsOptionalParams): Promise<User>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListPublishingCredentialsOptionalParams

The options parameters.

Returns

Promise<User>

beginListPublishingCredentialsSlot(string, string, string, WebAppsListPublishingCredentialsSlotOptionalParams)

Gets the Git/FTP publishing credentials of an app.

function beginListPublishingCredentialsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListPublishingCredentialsSlotOptionalParams): Promise<PollerLike<PollOperationState<User>, User>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot.

options
WebAppsListPublishingCredentialsSlotOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<User>, User>>

beginListPublishingCredentialsSlotAndWait(string, string, string, WebAppsListPublishingCredentialsSlotOptionalParams)

Gets the Git/FTP publishing credentials of an app.

function beginListPublishingCredentialsSlotAndWait(resourceGroupName: string, name: string, slot: string, options?: WebAppsListPublishingCredentialsSlotOptionalParams): Promise<User>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot.

options
WebAppsListPublishingCredentialsSlotOptionalParams

The options parameters.

Returns

Promise<User>

beginMigrateMySql(string, string, MigrateMySqlRequest, WebAppsMigrateMySqlOptionalParams)

Migrates a local (in-app) MySql database to a remote MySql database.

function beginMigrateMySql(resourceGroupName: string, name: string, migrationRequestEnvelope: MigrateMySqlRequest, options?: WebAppsMigrateMySqlOptionalParams): Promise<PollerLike<PollOperationState<Operation>, Operation>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

migrationRequestEnvelope
MigrateMySqlRequest

MySql migration options.

options
WebAppsMigrateMySqlOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<Operation>, Operation>>

beginMigrateMySqlAndWait(string, string, MigrateMySqlRequest, WebAppsMigrateMySqlOptionalParams)

Migrates a local (in-app) MySql database to a remote MySql database.

function beginMigrateMySqlAndWait(resourceGroupName: string, name: string, migrationRequestEnvelope: MigrateMySqlRequest, options?: WebAppsMigrateMySqlOptionalParams): Promise<Operation>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

migrationRequestEnvelope
MigrateMySqlRequest

MySql migration options.

options
WebAppsMigrateMySqlOptionalParams

The options parameters.

Returns

Promise<Operation>

beginMigrateStorage(string, string, string, StorageMigrationOptions, WebAppsMigrateStorageOptionalParams)

Restores a web app.

function beginMigrateStorage(subscriptionName: string, resourceGroupName: string, name: string, migrationOptions: StorageMigrationOptions, options?: WebAppsMigrateStorageOptionalParams): Promise<PollerLike<PollOperationState<StorageMigrationResponse>, StorageMigrationResponse>>

Parameters

subscriptionName

string

Azure subscription.

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

migrationOptions
StorageMigrationOptions

Migration migrationOptions.

options
WebAppsMigrateStorageOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<StorageMigrationResponse>, StorageMigrationResponse>>

beginMigrateStorageAndWait(string, string, string, StorageMigrationOptions, WebAppsMigrateStorageOptionalParams)

Restores a web app.

function beginMigrateStorageAndWait(subscriptionName: string, resourceGroupName: string, name: string, migrationOptions: StorageMigrationOptions, options?: WebAppsMigrateStorageOptionalParams): Promise<StorageMigrationResponse>

Parameters

subscriptionName

string

Azure subscription.

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

migrationOptions
StorageMigrationOptions

Migration migrationOptions.

options
WebAppsMigrateStorageOptionalParams

The options parameters.

Returns

beginRestore(string, string, string, RestoreRequest, WebAppsRestoreOptionalParams)

Restores a specific backup to another app (or deployment slot, if specified).

function beginRestore(resourceGroupName: string, name: string, backupId: string, request: RestoreRequest, options?: WebAppsRestoreOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

backupId

string

ID of the backup.

request
RestoreRequest

Information on restore request .

options
WebAppsRestoreOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginRestoreAndWait(string, string, string, RestoreRequest, WebAppsRestoreOptionalParams)

Restores a specific backup to another app (or deployment slot, if specified).

function beginRestoreAndWait(resourceGroupName: string, name: string, backupId: string, request: RestoreRequest, options?: WebAppsRestoreOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

backupId

string

ID of the backup.

request
RestoreRequest

Information on restore request .

options
WebAppsRestoreOptionalParams

The options parameters.

Returns

Promise<void>

beginRestoreFromBackupBlob(string, string, RestoreRequest, WebAppsRestoreFromBackupBlobOptionalParams)

Restores an app from a backup blob in Azure Storage.

function beginRestoreFromBackupBlob(resourceGroupName: string, name: string, request: RestoreRequest, options?: WebAppsRestoreFromBackupBlobOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

request
RestoreRequest

Information on restore request .

options
WebAppsRestoreFromBackupBlobOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginRestoreFromBackupBlobAndWait(string, string, RestoreRequest, WebAppsRestoreFromBackupBlobOptionalParams)

Restores an app from a backup blob in Azure Storage.

function beginRestoreFromBackupBlobAndWait(resourceGroupName: string, name: string, request: RestoreRequest, options?: WebAppsRestoreFromBackupBlobOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

request
RestoreRequest

Information on restore request .

options
WebAppsRestoreFromBackupBlobOptionalParams

The options parameters.

Returns

Promise<void>

beginRestoreFromBackupBlobSlot(string, string, string, RestoreRequest, WebAppsRestoreFromBackupBlobSlotOptionalParams)

Restores an app from a backup blob in Azure Storage.

function beginRestoreFromBackupBlobSlot(resourceGroupName: string, name: string, slot: string, request: RestoreRequest, options?: WebAppsRestoreFromBackupBlobSlotOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.

request
RestoreRequest

Information on restore request .

options
WebAppsRestoreFromBackupBlobSlotOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginRestoreFromBackupBlobSlotAndWait(string, string, string, RestoreRequest, WebAppsRestoreFromBackupBlobSlotOptionalParams)

Restores an app from a backup blob in Azure Storage.

function beginRestoreFromBackupBlobSlotAndWait(resourceGroupName: string, name: string, slot: string, request: RestoreRequest, options?: WebAppsRestoreFromBackupBlobSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.

request
RestoreRequest

Information on restore request .

options
WebAppsRestoreFromBackupBlobSlotOptionalParams

The options parameters.

Returns

Promise<void>

beginRestoreFromDeletedApp(string, string, DeletedAppRestoreRequest, WebAppsRestoreFromDeletedAppOptionalParams)

Restores a deleted web app to this web app.

function beginRestoreFromDeletedApp(resourceGroupName: string, name: string, restoreRequest: DeletedAppRestoreRequest, options?: WebAppsRestoreFromDeletedAppOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

restoreRequest
DeletedAppRestoreRequest

Deleted web app restore information.

options
WebAppsRestoreFromDeletedAppOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginRestoreFromDeletedAppAndWait(string, string, DeletedAppRestoreRequest, WebAppsRestoreFromDeletedAppOptionalParams)

Restores a deleted web app to this web app.

function beginRestoreFromDeletedAppAndWait(resourceGroupName: string, name: string, restoreRequest: DeletedAppRestoreRequest, options?: WebAppsRestoreFromDeletedAppOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

restoreRequest
DeletedAppRestoreRequest

Deleted web app restore information.

options
WebAppsRestoreFromDeletedAppOptionalParams

The options parameters.

Returns

Promise<void>

beginRestoreFromDeletedAppSlot(string, string, string, DeletedAppRestoreRequest, WebAppsRestoreFromDeletedAppSlotOptionalParams)

Restores a deleted web app to this web app.

function beginRestoreFromDeletedAppSlot(resourceGroupName: string, name: string, slot: string, restoreRequest: DeletedAppRestoreRequest, options?: WebAppsRestoreFromDeletedAppSlotOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

restoreRequest
DeletedAppRestoreRequest

Deleted web app restore information.

options
WebAppsRestoreFromDeletedAppSlotOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginRestoreFromDeletedAppSlotAndWait(string, string, string, DeletedAppRestoreRequest, WebAppsRestoreFromDeletedAppSlotOptionalParams)

Restores a deleted web app to this web app.

function beginRestoreFromDeletedAppSlotAndWait(resourceGroupName: string, name: string, slot: string, restoreRequest: DeletedAppRestoreRequest, options?: WebAppsRestoreFromDeletedAppSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

restoreRequest
DeletedAppRestoreRequest

Deleted web app restore information.

options
WebAppsRestoreFromDeletedAppSlotOptionalParams

The options parameters.

Returns

Promise<void>

beginRestoreSlot(string, string, string, string, RestoreRequest, WebAppsRestoreSlotOptionalParams)

Restores a specific backup to another app (or deployment slot, if specified).

function beginRestoreSlot(resourceGroupName: string, name: string, backupId: string, slot: string, request: RestoreRequest, options?: WebAppsRestoreSlotOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

backupId

string

ID of the backup.

slot

string

Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.

request
RestoreRequest

Information on restore request .

options
WebAppsRestoreSlotOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginRestoreSlotAndWait(string, string, string, string, RestoreRequest, WebAppsRestoreSlotOptionalParams)

Restores a specific backup to another app (or deployment slot, if specified).

function beginRestoreSlotAndWait(resourceGroupName: string, name: string, backupId: string, slot: string, request: RestoreRequest, options?: WebAppsRestoreSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

backupId

string

ID of the backup.

slot

string

Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.

request
RestoreRequest

Information on restore request .

options
WebAppsRestoreSlotOptionalParams

The options parameters.

Returns

Promise<void>

beginRestoreSnapshot(string, string, SnapshotRestoreRequest, WebAppsRestoreSnapshotOptionalParams)

Restores a web app from a snapshot.

function beginRestoreSnapshot(resourceGroupName: string, name: string, restoreRequest: SnapshotRestoreRequest, options?: WebAppsRestoreSnapshotOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

restoreRequest
SnapshotRestoreRequest

Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.

options
WebAppsRestoreSnapshotOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginRestoreSnapshotAndWait(string, string, SnapshotRestoreRequest, WebAppsRestoreSnapshotOptionalParams)

Restores a web app from a snapshot.

function beginRestoreSnapshotAndWait(resourceGroupName: string, name: string, restoreRequest: SnapshotRestoreRequest, options?: WebAppsRestoreSnapshotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

restoreRequest
SnapshotRestoreRequest

Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.

options
WebAppsRestoreSnapshotOptionalParams

The options parameters.

Returns

Promise<void>

beginRestoreSnapshotSlot(string, string, string, SnapshotRestoreRequest, WebAppsRestoreSnapshotSlotOptionalParams)

Restores a web app from a snapshot.

function beginRestoreSnapshotSlot(resourceGroupName: string, name: string, slot: string, restoreRequest: SnapshotRestoreRequest, options?: WebAppsRestoreSnapshotSlotOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

restoreRequest
SnapshotRestoreRequest

Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.

options
WebAppsRestoreSnapshotSlotOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginRestoreSnapshotSlotAndWait(string, string, string, SnapshotRestoreRequest, WebAppsRestoreSnapshotSlotOptionalParams)

Restores a web app from a snapshot.

function beginRestoreSnapshotSlotAndWait(resourceGroupName: string, name: string, slot: string, restoreRequest: SnapshotRestoreRequest, options?: WebAppsRestoreSnapshotSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

restoreRequest
SnapshotRestoreRequest

Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.

options
WebAppsRestoreSnapshotSlotOptionalParams

The options parameters.

Returns

Promise<void>

beginStartNetworkTrace(string, string, WebAppsStartNetworkTraceOptionalParams)

Start capturing network packets for the site.

function beginStartNetworkTrace(resourceGroupName: string, name: string, options?: WebAppsStartNetworkTraceOptionalParams): Promise<PollerLike<PollOperationState<WebAppsStartNetworkTraceResponse>, WebAppsStartNetworkTraceResponse>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

options
WebAppsStartNetworkTraceOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<WebAppsStartNetworkTraceResponse>, WebAppsStartNetworkTraceResponse>>

beginStartNetworkTraceAndWait(string, string, WebAppsStartNetworkTraceOptionalParams)

Start capturing network packets for the site.

function beginStartNetworkTraceAndWait(resourceGroupName: string, name: string, options?: WebAppsStartNetworkTraceOptionalParams): Promise<WebAppsStartNetworkTraceResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

options
WebAppsStartNetworkTraceOptionalParams

The options parameters.

Returns

beginStartNetworkTraceSlot(string, string, string, WebAppsStartNetworkTraceSlotOptionalParams)

Start capturing network packets for the site.

function beginStartNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsStartNetworkTraceSlotOptionalParams): Promise<PollerLike<PollOperationState<WebAppsStartNetworkTraceSlotResponse>, WebAppsStartNetworkTraceSlotResponse>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

slot

string

The name of the slot for this web app.

options
WebAppsStartNetworkTraceSlotOptionalParams

The options parameters.

Returns

beginStartNetworkTraceSlotAndWait(string, string, string, WebAppsStartNetworkTraceSlotOptionalParams)

Start capturing network packets for the site.

function beginStartNetworkTraceSlotAndWait(resourceGroupName: string, name: string, slot: string, options?: WebAppsStartNetworkTraceSlotOptionalParams): Promise<WebAppsStartNetworkTraceSlotResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

slot

string

The name of the slot for this web app.

options
WebAppsStartNetworkTraceSlotOptionalParams

The options parameters.

Returns

beginStartWebSiteNetworkTraceOperation(string, string, WebAppsStartWebSiteNetworkTraceOperationOptionalParams)

Start capturing network packets for the site.

function beginStartWebSiteNetworkTraceOperation(resourceGroupName: string, name: string, options?: WebAppsStartWebSiteNetworkTraceOperationOptionalParams): Promise<PollerLike<PollOperationState<WebAppsStartWebSiteNetworkTraceOperationResponse>, WebAppsStartWebSiteNetworkTraceOperationResponse>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

Returns

beginStartWebSiteNetworkTraceOperationAndWait(string, string, WebAppsStartWebSiteNetworkTraceOperationOptionalParams)

Start capturing network packets for the site.

function beginStartWebSiteNetworkTraceOperationAndWait(resourceGroupName: string, name: string, options?: WebAppsStartWebSiteNetworkTraceOperationOptionalParams): Promise<WebAppsStartWebSiteNetworkTraceOperationResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

Returns

beginStartWebSiteNetworkTraceOperationSlot(string, string, string, WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams)

Start capturing network packets for the site.

function beginStartWebSiteNetworkTraceOperationSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams): Promise<PollerLike<PollOperationState<WebAppsStartWebSiteNetworkTraceOperationSlotResponse>, WebAppsStartWebSiteNetworkTraceOperationSlotResponse>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

slot

string

The name of the slot for this web app.

Returns

beginStartWebSiteNetworkTraceOperationSlotAndWait(string, string, string, WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams)

Start capturing network packets for the site.

function beginStartWebSiteNetworkTraceOperationSlotAndWait(resourceGroupName: string, name: string, slot: string, options?: WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams): Promise<WebAppsStartWebSiteNetworkTraceOperationSlotResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

slot

string

The name of the slot for this web app.

Returns

beginSwapSlot(string, string, string, CsmSlotEntity, WebAppsSwapSlotOptionalParams)

Swaps two deployment slots of an app.

function beginSwapSlot(resourceGroupName: string, name: string, slot: string, slotSwapEntity: CsmSlotEntity, options?: WebAppsSwapSlotOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the source slot. If a slot is not specified, the production slot is used as the source slot.

slotSwapEntity
CsmSlotEntity

JSON object that contains the target slot name. See example.

options
WebAppsSwapSlotOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginSwapSlotAndWait(string, string, string, CsmSlotEntity, WebAppsSwapSlotOptionalParams)

Swaps two deployment slots of an app.

function beginSwapSlotAndWait(resourceGroupName: string, name: string, slot: string, slotSwapEntity: CsmSlotEntity, options?: WebAppsSwapSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the source slot. If a slot is not specified, the production slot is used as the source slot.

slotSwapEntity
CsmSlotEntity

JSON object that contains the target slot name. See example.

options
WebAppsSwapSlotOptionalParams

The options parameters.

Returns

Promise<void>

beginSwapSlotWithProduction(string, string, CsmSlotEntity, WebAppsSwapSlotWithProductionOptionalParams)

Swaps two deployment slots of an app.

function beginSwapSlotWithProduction(resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, options?: WebAppsSwapSlotWithProductionOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slotSwapEntity
CsmSlotEntity

JSON object that contains the target slot name. See example.

options
WebAppsSwapSlotWithProductionOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginSwapSlotWithProductionAndWait(string, string, CsmSlotEntity, WebAppsSwapSlotWithProductionOptionalParams)

Swaps two deployment slots of an app.

function beginSwapSlotWithProductionAndWait(resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, options?: WebAppsSwapSlotWithProductionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slotSwapEntity
CsmSlotEntity

JSON object that contains the target slot name. See example.

options
WebAppsSwapSlotWithProductionOptionalParams

The options parameters.

Returns

Promise<void>

createDeployment(string, string, string, Deployment, WebAppsCreateDeploymentOptionalParams)

Create a deployment for an app, or a deployment slot.

function createDeployment(resourceGroupName: string, name: string, id: string, deployment: Deployment, options?: WebAppsCreateDeploymentOptionalParams): Promise<Deployment>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

id

string

ID of an existing deployment.

deployment
Deployment

Deployment details.

options
WebAppsCreateDeploymentOptionalParams

The options parameters.

Returns

Promise<Deployment>

createDeploymentSlot(string, string, string, string, Deployment, WebAppsCreateDeploymentSlotOptionalParams)

Create a deployment for an app, or a deployment slot.

function createDeploymentSlot(resourceGroupName: string, name: string, id: string, slot: string, deployment: Deployment, options?: WebAppsCreateDeploymentSlotOptionalParams): Promise<Deployment>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

id

string

ID of an existing deployment.

slot

string

Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot.

deployment
Deployment

Deployment details.

options
WebAppsCreateDeploymentSlotOptionalParams

The options parameters.

Returns

Promise<Deployment>

createOrUpdateConfiguration(string, string, SiteConfigResource, WebAppsCreateOrUpdateConfigurationOptionalParams)

Updates the configuration of an app.

function createOrUpdateConfiguration(resourceGroupName: string, name: string, siteConfig: SiteConfigResource, options?: WebAppsCreateOrUpdateConfigurationOptionalParams): Promise<SiteConfigResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

siteConfig
SiteConfigResource

JSON representation of a SiteConfig object. See example.

options
WebAppsCreateOrUpdateConfigurationOptionalParams

The options parameters.

Returns

createOrUpdateConfigurationSlot(string, string, string, SiteConfigResource, WebAppsCreateOrUpdateConfigurationSlotOptionalParams)

Updates the configuration of an app.

function createOrUpdateConfigurationSlot(resourceGroupName: string, name: string, slot: string, siteConfig: SiteConfigResource, options?: WebAppsCreateOrUpdateConfigurationSlotOptionalParams): Promise<SiteConfigResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.

siteConfig
SiteConfigResource

JSON representation of a SiteConfig object. See example.

Returns

createOrUpdateDomainOwnershipIdentifier(string, string, string, Identifier, WebAppsCreateOrUpdateDomainOwnershipIdentifierOptionalParams)

Creates a domain ownership identifier for web app, or updates an existing ownership identifier.

function createOrUpdateDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Identifier, options?: WebAppsCreateOrUpdateDomainOwnershipIdentifierOptionalParams): Promise<Identifier>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

domainOwnershipIdentifierName

string

Name of domain ownership identifier.

domainOwnershipIdentifier
Identifier

A JSON representation of the domain ownership properties.

Returns

Promise<Identifier>

createOrUpdateDomainOwnershipIdentifierSlot(string, string, string, string, Identifier, WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotOptionalParams)

Creates a domain ownership identifier for web app, or updates an existing ownership identifier.

function createOrUpdateDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, slot: string, domainOwnershipIdentifier: Identifier, options?: WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotOptionalParams): Promise<Identifier>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

domainOwnershipIdentifierName

string

Name of domain ownership identifier.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.

domainOwnershipIdentifier
Identifier

A JSON representation of the domain ownership properties.

Returns

Promise<Identifier>

createOrUpdateFunctionSecret(string, string, string, string, KeyInfo, WebAppsCreateOrUpdateFunctionSecretOptionalParams)

Add or update a function secret.

function createOrUpdateFunctionSecret(resourceGroupName: string, name: string, functionName: string, keyName: string, key: KeyInfo, options?: WebAppsCreateOrUpdateFunctionSecretOptionalParams): Promise<KeyInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

The name of the function.

keyName

string

The name of the key.

key
KeyInfo

The key to create or update

options
WebAppsCreateOrUpdateFunctionSecretOptionalParams

The options parameters.

Returns

Promise<KeyInfo>

createOrUpdateFunctionSecretSlot(string, string, string, string, string, KeyInfo, WebAppsCreateOrUpdateFunctionSecretSlotOptionalParams)

Add or update a function secret.

function createOrUpdateFunctionSecretSlot(resourceGroupName: string, name: string, functionName: string, keyName: string, slot: string, key: KeyInfo, options?: WebAppsCreateOrUpdateFunctionSecretSlotOptionalParams): Promise<KeyInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

The name of the function.

keyName

string

The name of the key.

slot

string

Name of the deployment slot.

key
KeyInfo

The key to create or update

Returns

Promise<KeyInfo>

createOrUpdateHostNameBinding(string, string, string, HostNameBinding, WebAppsCreateOrUpdateHostNameBindingOptionalParams)

Creates a hostname binding for an app.

function createOrUpdateHostNameBinding(resourceGroupName: string, name: string, hostName: string, hostNameBinding: HostNameBinding, options?: WebAppsCreateOrUpdateHostNameBindingOptionalParams): Promise<HostNameBinding>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

hostName

string

Hostname in the hostname binding.

hostNameBinding
HostNameBinding

Binding details. This is the JSON representation of a HostNameBinding object.

options
WebAppsCreateOrUpdateHostNameBindingOptionalParams

The options parameters.

Returns

Promise<HostNameBinding>

createOrUpdateHostNameBindingSlot(string, string, string, string, HostNameBinding, WebAppsCreateOrUpdateHostNameBindingSlotOptionalParams)

Creates a hostname binding for an app.

function createOrUpdateHostNameBindingSlot(resourceGroupName: string, name: string, hostName: string, slot: string, hostNameBinding: HostNameBinding, options?: WebAppsCreateOrUpdateHostNameBindingSlotOptionalParams): Promise<HostNameBinding>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

hostName

string

Hostname in the hostname binding.

slot

string

Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.

hostNameBinding
HostNameBinding

Binding details. This is the JSON representation of a HostNameBinding object.

Returns

Promise<HostNameBinding>

createOrUpdateHostSecret(string, string, string, string, KeyInfo, WebAppsCreateOrUpdateHostSecretOptionalParams)

Add or update a host level secret.

function createOrUpdateHostSecret(resourceGroupName: string, name: string, keyType: string, keyName: string, key: KeyInfo, options?: WebAppsCreateOrUpdateHostSecretOptionalParams): Promise<KeyInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

keyType

string

The type of host key.

keyName

string

The name of the key.

key
KeyInfo

The key to create or update

options
WebAppsCreateOrUpdateHostSecretOptionalParams

The options parameters.

Returns

Promise<KeyInfo>

createOrUpdateHostSecretSlot(string, string, string, string, string, KeyInfo, WebAppsCreateOrUpdateHostSecretSlotOptionalParams)

Add or update a host level secret.

function createOrUpdateHostSecretSlot(resourceGroupName: string, name: string, keyType: string, keyName: string, slot: string, key: KeyInfo, options?: WebAppsCreateOrUpdateHostSecretSlotOptionalParams): Promise<KeyInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

keyType

string

The type of host key.

keyName

string

The name of the key.

slot

string

Name of the deployment slot.

key
KeyInfo

The key to create or update

options
WebAppsCreateOrUpdateHostSecretSlotOptionalParams

The options parameters.

Returns

Promise<KeyInfo>

createOrUpdateHybridConnection(string, string, string, string, HybridConnection, WebAppsCreateOrUpdateHybridConnectionOptionalParams)

Creates a new Hybrid Connection using a Service Bus relay.

function createOrUpdateHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: HybridConnection, options?: WebAppsCreateOrUpdateHybridConnectionOptionalParams): Promise<HybridConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

namespaceName

string

The namespace for this hybrid connection.

relayName

string

The relay name for this hybrid connection.

connectionEnvelope
HybridConnection

The details of the hybrid connection.

options
WebAppsCreateOrUpdateHybridConnectionOptionalParams

The options parameters.

Returns

Promise<HybridConnection>

createOrUpdateHybridConnectionSlot(string, string, string, string, string, HybridConnection, WebAppsCreateOrUpdateHybridConnectionSlotOptionalParams)

Creates a new Hybrid Connection using a Service Bus relay.

function createOrUpdateHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, connectionEnvelope: HybridConnection, options?: WebAppsCreateOrUpdateHybridConnectionSlotOptionalParams): Promise<HybridConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

namespaceName

string

The namespace for this hybrid connection.

relayName

string

The relay name for this hybrid connection.

slot

string

The name of the slot for the web app.

connectionEnvelope
HybridConnection

The details of the hybrid connection.

Returns

Promise<HybridConnection>

createOrUpdatePublicCertificate(string, string, string, PublicCertificate, WebAppsCreateOrUpdatePublicCertificateOptionalParams)

Creates a hostname binding for an app.

function createOrUpdatePublicCertificate(resourceGroupName: string, name: string, publicCertificateName: string, publicCertificate: PublicCertificate, options?: WebAppsCreateOrUpdatePublicCertificateOptionalParams): Promise<PublicCertificate>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

publicCertificateName

string

Public certificate name.

publicCertificate
PublicCertificate

Public certificate details. This is the JSON representation of a PublicCertificate object.

Returns

createOrUpdatePublicCertificateSlot(string, string, string, string, PublicCertificate, WebAppsCreateOrUpdatePublicCertificateSlotOptionalParams)

Creates a hostname binding for an app.

function createOrUpdatePublicCertificateSlot(resourceGroupName: string, name: string, publicCertificateName: string, slot: string, publicCertificate: PublicCertificate, options?: WebAppsCreateOrUpdatePublicCertificateSlotOptionalParams): Promise<PublicCertificate>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

publicCertificateName

string

Public certificate name.

slot

string

Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.

publicCertificate
PublicCertificate

Public certificate details. This is the JSON representation of a PublicCertificate object.

Returns

createOrUpdateRelayServiceConnection(string, string, string, RelayServiceConnectionEntity, WebAppsCreateOrUpdateRelayServiceConnectionOptionalParams)

Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).

function createOrUpdateRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: RelayServiceConnectionEntity, options?: WebAppsCreateOrUpdateRelayServiceConnectionOptionalParams): Promise<RelayServiceConnectionEntity>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

entityName

string

Name of the hybrid connection configuration.

connectionEnvelope
RelayServiceConnectionEntity

Details of the hybrid connection configuration.

Returns

createOrUpdateRelayServiceConnectionSlot(string, string, string, string, RelayServiceConnectionEntity, WebAppsCreateOrUpdateRelayServiceConnectionSlotOptionalParams)

Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).

function createOrUpdateRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, slot: string, connectionEnvelope: RelayServiceConnectionEntity, options?: WebAppsCreateOrUpdateRelayServiceConnectionSlotOptionalParams): Promise<RelayServiceConnectionEntity>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

entityName

string

Name of the hybrid connection configuration.

slot

string

Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.

connectionEnvelope
RelayServiceConnectionEntity

Details of the hybrid connection configuration.

Returns

createOrUpdateSwiftVirtualNetworkConnection(string, string, SwiftVirtualNetwork, WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionOptionalParams)

Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in.

function createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: SwiftVirtualNetwork, options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionOptionalParams): Promise<SwiftVirtualNetwork>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

connectionEnvelope
SwiftVirtualNetwork

Properties of the Virtual Network connection. See example.

Returns

createOrUpdateSwiftVirtualNetworkConnectionSlot(string, string, string, SwiftVirtualNetwork, WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionSlotOptionalParams)

Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in.

function createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, connectionEnvelope: SwiftVirtualNetwork, options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionSlotOptionalParams): Promise<SwiftVirtualNetwork>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.

connectionEnvelope
SwiftVirtualNetwork

Properties of the Virtual Network connection. See example.

Returns

createOrUpdateVnetConnection(string, string, string, VnetInfo, WebAppsCreateOrUpdateVnetConnectionOptionalParams)

Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).

function createOrUpdateVnetConnection(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: VnetInfo, options?: WebAppsCreateOrUpdateVnetConnectionOptionalParams): Promise<VnetInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of an existing Virtual Network.

connectionEnvelope
VnetInfo

Properties of the Virtual Network connection. See example.

options
WebAppsCreateOrUpdateVnetConnectionOptionalParams

The options parameters.

Returns

Promise<VnetInfo>

createOrUpdateVnetConnectionGateway(string, string, string, string, VnetGateway, WebAppsCreateOrUpdateVnetConnectionGatewayOptionalParams)

Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).

function createOrUpdateVnetConnectionGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: VnetGateway, options?: WebAppsCreateOrUpdateVnetConnectionGatewayOptionalParams): Promise<VnetGateway>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of the Virtual Network.

gatewayName

string

Name of the gateway. Currently, the only supported string is "primary".

connectionEnvelope
VnetGateway

The properties to update this gateway with.

Returns

Promise<VnetGateway>

createOrUpdateVnetConnectionGatewaySlot(string, string, string, string, string, VnetGateway, WebAppsCreateOrUpdateVnetConnectionGatewaySlotOptionalParams)

Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).

function createOrUpdateVnetConnectionGatewaySlot(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, slot: string, connectionEnvelope: VnetGateway, options?: WebAppsCreateOrUpdateVnetConnectionGatewaySlotOptionalParams): Promise<VnetGateway>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of the Virtual Network.

gatewayName

string

Name of the gateway. Currently, the only supported string is "primary".

slot

string

Name of the deployment slot. If a slot is not specified, the API will add or update a gateway for the production slot's Virtual Network.

connectionEnvelope
VnetGateway

The properties to update this gateway with.

Returns

Promise<VnetGateway>

createOrUpdateVnetConnectionSlot(string, string, string, string, VnetInfo, WebAppsCreateOrUpdateVnetConnectionSlotOptionalParams)

Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).

function createOrUpdateVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, slot: string, connectionEnvelope: VnetInfo, options?: WebAppsCreateOrUpdateVnetConnectionSlotOptionalParams): Promise<VnetInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of an existing Virtual Network.

slot

string

Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.

connectionEnvelope
VnetInfo

Properties of the Virtual Network connection. See example.

Returns

Promise<VnetInfo>

delete(string, string, WebAppsDeleteOptionalParams)

Deletes a web, mobile, or API app, or one of the deployment slots.

function delete(resourceGroupName: string, name: string, options?: WebAppsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app to delete.

options
WebAppsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

deleteBackup(string, string, string, WebAppsDeleteBackupOptionalParams)

Deletes a backup of an app by its ID.

function deleteBackup(resourceGroupName: string, name: string, backupId: string, options?: WebAppsDeleteBackupOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

backupId

string

ID of the backup.

options
WebAppsDeleteBackupOptionalParams

The options parameters.

Returns

Promise<void>

deleteBackupConfiguration(string, string, WebAppsDeleteBackupConfigurationOptionalParams)

Deletes the backup configuration of an app.

function deleteBackupConfiguration(resourceGroupName: string, name: string, options?: WebAppsDeleteBackupConfigurationOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsDeleteBackupConfigurationOptionalParams

The options parameters.

Returns

Promise<void>

deleteBackupConfigurationSlot(string, string, string, WebAppsDeleteBackupConfigurationSlotOptionalParams)

Deletes the backup configuration of an app.

function deleteBackupConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsDeleteBackupConfigurationSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete the backup configuration for the production slot.

options
WebAppsDeleteBackupConfigurationSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteBackupSlot(string, string, string, string, WebAppsDeleteBackupSlotOptionalParams)

Deletes a backup of an app by its ID.

function deleteBackupSlot(resourceGroupName: string, name: string, backupId: string, slot: string, options?: WebAppsDeleteBackupSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

backupId

string

ID of the backup.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot.

options
WebAppsDeleteBackupSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteContinuousWebJob(string, string, string, WebAppsDeleteContinuousWebJobOptionalParams)

Delete a continuous web job by its ID for an app, or a deployment slot.

function deleteContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options?: WebAppsDeleteContinuousWebJobOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

options
WebAppsDeleteContinuousWebJobOptionalParams

The options parameters.

Returns

Promise<void>

deleteContinuousWebJobSlot(string, string, string, string, WebAppsDeleteContinuousWebJobSlotOptionalParams)

Delete a continuous web job by its ID for an app, or a deployment slot.

function deleteContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: WebAppsDeleteContinuousWebJobSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsDeleteContinuousWebJobSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteDeployment(string, string, string, WebAppsDeleteDeploymentOptionalParams)

Delete a deployment by its ID for an app, or a deployment slot.

function deleteDeployment(resourceGroupName: string, name: string, id: string, options?: WebAppsDeleteDeploymentOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

id

string

Deployment ID.

options
WebAppsDeleteDeploymentOptionalParams

The options parameters.

Returns

Promise<void>

deleteDeploymentSlot(string, string, string, string, WebAppsDeleteDeploymentSlotOptionalParams)

Delete a deployment by its ID for an app, or a deployment slot.

function deleteDeploymentSlot(resourceGroupName: string, name: string, id: string, slot: string, options?: WebAppsDeleteDeploymentSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

id

string

Deployment ID.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsDeleteDeploymentSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteDomainOwnershipIdentifier(string, string, string, WebAppsDeleteDomainOwnershipIdentifierOptionalParams)

Deletes a domain ownership identifier for a web app.

function deleteDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, options?: WebAppsDeleteDomainOwnershipIdentifierOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

domainOwnershipIdentifierName

string

Name of domain ownership identifier.

Returns

Promise<void>

deleteDomainOwnershipIdentifierSlot(string, string, string, string, WebAppsDeleteDomainOwnershipIdentifierSlotOptionalParams)

Deletes a domain ownership identifier for a web app.

function deleteDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, slot: string, options?: WebAppsDeleteDomainOwnershipIdentifierSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

domainOwnershipIdentifierName

string

Name of domain ownership identifier.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.

Returns

Promise<void>

deleteFunction(string, string, string, WebAppsDeleteFunctionOptionalParams)

Delete a function for web site, or a deployment slot.

function deleteFunction(resourceGroupName: string, name: string, functionName: string, options?: WebAppsDeleteFunctionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

Function name.

options
WebAppsDeleteFunctionOptionalParams

The options parameters.

Returns

Promise<void>

deleteFunctionSecret(string, string, string, string, WebAppsDeleteFunctionSecretOptionalParams)

Delete a function secret.

function deleteFunctionSecret(resourceGroupName: string, name: string, functionName: string, keyName: string, options?: WebAppsDeleteFunctionSecretOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

The name of the function.

keyName

string

The name of the key.

options
WebAppsDeleteFunctionSecretOptionalParams

The options parameters.

Returns

Promise<void>

deleteFunctionSecretSlot(string, string, string, string, string, WebAppsDeleteFunctionSecretSlotOptionalParams)

Delete a function secret.

function deleteFunctionSecretSlot(resourceGroupName: string, name: string, functionName: string, keyName: string, slot: string, options?: WebAppsDeleteFunctionSecretSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

The name of the function.

keyName

string

The name of the key.

slot

string

Name of the deployment slot.

options
WebAppsDeleteFunctionSecretSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteHostNameBinding(string, string, string, WebAppsDeleteHostNameBindingOptionalParams)

Deletes a hostname binding for an app.

function deleteHostNameBinding(resourceGroupName: string, name: string, hostName: string, options?: WebAppsDeleteHostNameBindingOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

hostName

string

Hostname in the hostname binding.

options
WebAppsDeleteHostNameBindingOptionalParams

The options parameters.

Returns

Promise<void>

deleteHostNameBindingSlot(string, string, string, string, WebAppsDeleteHostNameBindingSlotOptionalParams)

Deletes a hostname binding for an app.

function deleteHostNameBindingSlot(resourceGroupName: string, name: string, slot: string, hostName: string, options?: WebAppsDeleteHostNameBindingSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.

hostName

string

Hostname in the hostname binding.

options
WebAppsDeleteHostNameBindingSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteHostSecret(string, string, string, string, WebAppsDeleteHostSecretOptionalParams)

Delete a host level secret.

function deleteHostSecret(resourceGroupName: string, name: string, keyType: string, keyName: string, options?: WebAppsDeleteHostSecretOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

keyType

string

The type of host key.

keyName

string

The name of the key.

options
WebAppsDeleteHostSecretOptionalParams

The options parameters.

Returns

Promise<void>

deleteHostSecretSlot(string, string, string, string, string, WebAppsDeleteHostSecretSlotOptionalParams)

Delete a host level secret.

function deleteHostSecretSlot(resourceGroupName: string, name: string, keyType: string, keyName: string, slot: string, options?: WebAppsDeleteHostSecretSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

keyType

string

The type of host key.

keyName

string

The name of the key.

slot

string

Name of the deployment slot.

options
WebAppsDeleteHostSecretSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteHybridConnection(string, string, string, string, WebAppsDeleteHybridConnectionOptionalParams)

Removes a Hybrid Connection from this site.

function deleteHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: WebAppsDeleteHybridConnectionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

namespaceName

string

The namespace for this hybrid connection.

relayName

string

The relay name for this hybrid connection.

options
WebAppsDeleteHybridConnectionOptionalParams

The options parameters.

Returns

Promise<void>

deleteHybridConnectionSlot(string, string, string, string, string, WebAppsDeleteHybridConnectionSlotOptionalParams)

Removes a Hybrid Connection from this site.

function deleteHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options?: WebAppsDeleteHybridConnectionSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

namespaceName

string

The namespace for this hybrid connection.

relayName

string

The relay name for this hybrid connection.

slot

string

The name of the slot for the web app.

options
WebAppsDeleteHybridConnectionSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteInstanceFunctionSlot(string, string, string, string, WebAppsDeleteInstanceFunctionSlotOptionalParams)

Delete a function for web site, or a deployment slot.

function deleteInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: WebAppsDeleteInstanceFunctionSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

Function name.

slot

string

Name of the deployment slot.

options
WebAppsDeleteInstanceFunctionSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteInstanceProcess(string, string, string, string, WebAppsDeleteInstanceProcessOptionalParams)

Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.

function deleteInstanceProcess(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: WebAppsDeleteInstanceProcessOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsDeleteInstanceProcessOptionalParams

The options parameters.

Returns

Promise<void>

deleteInstanceProcessSlot(string, string, string, string, string, WebAppsDeleteInstanceProcessSlotOptionalParams)

Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.

function deleteInstanceProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: WebAppsDeleteInstanceProcessSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsDeleteInstanceProcessSlotOptionalParams

The options parameters.

Returns

Promise<void>

deletePremierAddOn(string, string, string, WebAppsDeletePremierAddOnOptionalParams)

Delete a premier add-on from an app.

function deletePremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, options?: WebAppsDeletePremierAddOnOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

premierAddOnName

string

Add-on name.

options
WebAppsDeletePremierAddOnOptionalParams

The options parameters.

Returns

Promise<void>

deletePremierAddOnSlot(string, string, string, string, WebAppsDeletePremierAddOnSlotOptionalParams)

Delete a premier add-on from an app.

function deletePremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, slot: string, options?: WebAppsDeletePremierAddOnSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

premierAddOnName

string

Add-on name.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete the named add-on for the production slot.

options
WebAppsDeletePremierAddOnSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteProcess(string, string, string, WebAppsDeleteProcessOptionalParams)

Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.

function deleteProcess(resourceGroupName: string, name: string, processId: string, options?: WebAppsDeleteProcessOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

options
WebAppsDeleteProcessOptionalParams

The options parameters.

Returns

Promise<void>

deleteProcessSlot(string, string, string, string, WebAppsDeleteProcessSlotOptionalParams)

Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.

function deleteProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: WebAppsDeleteProcessSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

options
WebAppsDeleteProcessSlotOptionalParams

The options parameters.

Returns

Promise<void>

deletePublicCertificate(string, string, string, WebAppsDeletePublicCertificateOptionalParams)

Deletes a hostname binding for an app.

function deletePublicCertificate(resourceGroupName: string, name: string, publicCertificateName: string, options?: WebAppsDeletePublicCertificateOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

publicCertificateName

string

Public certificate name.

options
WebAppsDeletePublicCertificateOptionalParams

The options parameters.

Returns

Promise<void>

deletePublicCertificateSlot(string, string, string, string, WebAppsDeletePublicCertificateSlotOptionalParams)

Deletes a hostname binding for an app.

function deletePublicCertificateSlot(resourceGroupName: string, name: string, slot: string, publicCertificateName: string, options?: WebAppsDeletePublicCertificateSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.

publicCertificateName

string

Public certificate name.

options
WebAppsDeletePublicCertificateSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteRelayServiceConnection(string, string, string, WebAppsDeleteRelayServiceConnectionOptionalParams)

Deletes a relay service connection by its name.

function deleteRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, options?: WebAppsDeleteRelayServiceConnectionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

entityName

string

Name of the hybrid connection configuration.

options
WebAppsDeleteRelayServiceConnectionOptionalParams

The options parameters.

Returns

Promise<void>

deleteRelayServiceConnectionSlot(string, string, string, string, WebAppsDeleteRelayServiceConnectionSlotOptionalParams)

Deletes a relay service connection by its name.

function deleteRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, slot: string, options?: WebAppsDeleteRelayServiceConnectionSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

entityName

string

Name of the hybrid connection configuration.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production slot.

Returns

Promise<void>

deleteSiteExtension(string, string, string, WebAppsDeleteSiteExtensionOptionalParams)

Remove a site extension from a web site, or a deployment slot.

function deleteSiteExtension(resourceGroupName: string, name: string, siteExtensionId: string, options?: WebAppsDeleteSiteExtensionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

siteExtensionId

string

Site extension name.

options
WebAppsDeleteSiteExtensionOptionalParams

The options parameters.

Returns

Promise<void>

deleteSiteExtensionSlot(string, string, string, string, WebAppsDeleteSiteExtensionSlotOptionalParams)

Remove a site extension from a web site, or a deployment slot.

function deleteSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options?: WebAppsDeleteSiteExtensionSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

siteExtensionId

string

Site extension name.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsDeleteSiteExtensionSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteSlot(string, string, string, WebAppsDeleteSlotOptionalParams)

Deletes a web, mobile, or API app, or one of the deployment slots.

function deleteSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsDeleteSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app to delete.

slot

string

Name of the deployment slot to delete. By default, the API deletes the production slot.

options
WebAppsDeleteSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteSourceControl(string, string, WebAppsDeleteSourceControlOptionalParams)

Deletes the source control configuration of an app.

function deleteSourceControl(resourceGroupName: string, name: string, options?: WebAppsDeleteSourceControlOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsDeleteSourceControlOptionalParams

The options parameters.

Returns

Promise<void>

deleteSourceControlSlot(string, string, string, WebAppsDeleteSourceControlSlotOptionalParams)

Deletes the source control configuration of an app.

function deleteSourceControlSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsDeleteSourceControlSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete the source control configuration for the production slot.

options
WebAppsDeleteSourceControlSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteSwiftVirtualNetwork(string, string, WebAppsDeleteSwiftVirtualNetworkOptionalParams)

Deletes a Swift Virtual Network connection from an app (or deployment slot).

function deleteSwiftVirtualNetwork(resourceGroupName: string, name: string, options?: WebAppsDeleteSwiftVirtualNetworkOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsDeleteSwiftVirtualNetworkOptionalParams

The options parameters.

Returns

Promise<void>

deleteSwiftVirtualNetworkSlot(string, string, string, WebAppsDeleteSwiftVirtualNetworkSlotOptionalParams)

Deletes a Swift Virtual Network connection from an app (or deployment slot).

function deleteSwiftVirtualNetworkSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsDeleteSwiftVirtualNetworkSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete the connection for the production slot.

options
WebAppsDeleteSwiftVirtualNetworkSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteTriggeredWebJob(string, string, string, WebAppsDeleteTriggeredWebJobOptionalParams)

Delete a triggered web job by its ID for an app, or a deployment slot.

function deleteTriggeredWebJob(resourceGroupName: string, name: string, webJobName: string, options?: WebAppsDeleteTriggeredWebJobOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

options
WebAppsDeleteTriggeredWebJobOptionalParams

The options parameters.

Returns

Promise<void>

deleteTriggeredWebJobSlot(string, string, string, string, WebAppsDeleteTriggeredWebJobSlotOptionalParams)

Delete a triggered web job by its ID for an app, or a deployment slot.

function deleteTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: WebAppsDeleteTriggeredWebJobSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsDeleteTriggeredWebJobSlotOptionalParams

The options parameters.

Returns

Promise<void>

deleteVnetConnection(string, string, string, WebAppsDeleteVnetConnectionOptionalParams)

Deletes a connection from an app (or deployment slot to a named virtual network.

function deleteVnetConnection(resourceGroupName: string, name: string, vnetName: string, options?: WebAppsDeleteVnetConnectionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of the virtual network.

options
WebAppsDeleteVnetConnectionOptionalParams

The options parameters.

Returns

Promise<void>

deleteVnetConnectionSlot(string, string, string, string, WebAppsDeleteVnetConnectionSlotOptionalParams)

Deletes a connection from an app (or deployment slot to a named virtual network.

function deleteVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, slot: string, options?: WebAppsDeleteVnetConnectionSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of the virtual network.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete the connection for the production slot.

options
WebAppsDeleteVnetConnectionSlotOptionalParams

The options parameters.

Returns

Promise<void>

discoverBackup(string, string, RestoreRequest, WebAppsDiscoverBackupOptionalParams)

Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.

function discoverBackup(resourceGroupName: string, name: string, request: RestoreRequest, options?: WebAppsDiscoverBackupOptionalParams): Promise<RestoreRequest>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

request
RestoreRequest

A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup.

options
WebAppsDiscoverBackupOptionalParams

The options parameters.

Returns

Promise<RestoreRequest>

discoverBackupSlot(string, string, string, RestoreRequest, WebAppsDiscoverBackupSlotOptionalParams)

Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.

function discoverBackupSlot(resourceGroupName: string, name: string, slot: string, request: RestoreRequest, options?: WebAppsDiscoverBackupSlotOptionalParams): Promise<RestoreRequest>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot.

request
RestoreRequest

A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup.

options
WebAppsDiscoverBackupSlotOptionalParams

The options parameters.

Returns

Promise<RestoreRequest>

generateNewSitePublishingPassword(string, string, WebAppsGenerateNewSitePublishingPasswordOptionalParams)

Generates a new publishing password for an app (or deployment slot, if specified).

function generateNewSitePublishingPassword(resourceGroupName: string, name: string, options?: WebAppsGenerateNewSitePublishingPasswordOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

Returns

Promise<void>

generateNewSitePublishingPasswordSlot(string, string, string, WebAppsGenerateNewSitePublishingPasswordSlotOptionalParams)

Generates a new publishing password for an app (or deployment slot, if specified).

function generateNewSitePublishingPasswordSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGenerateNewSitePublishingPasswordSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API generate a new publishing password for the production slot.

Returns

Promise<void>

get(string, string, WebAppsGetOptionalParams)

Gets the details of a web, mobile, or API app.

function get(resourceGroupName: string, name: string, options?: WebAppsGetOptionalParams): Promise<Site>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsGetOptionalParams

The options parameters.

Returns

Promise<Site>

getAuthSettings(string, string, WebAppsGetAuthSettingsOptionalParams)

Gets the Authentication/Authorization settings of an app.

function getAuthSettings(resourceGroupName: string, name: string, options?: WebAppsGetAuthSettingsOptionalParams): Promise<SiteAuthSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsGetAuthSettingsOptionalParams

The options parameters.

Returns

Promise<SiteAuthSettings>

getAuthSettingsSlot(string, string, string, WebAppsGetAuthSettingsSlotOptionalParams)

Gets the Authentication/Authorization settings of an app.

function getAuthSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetAuthSettingsSlotOptionalParams): Promise<SiteAuthSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot.

options
WebAppsGetAuthSettingsSlotOptionalParams

The options parameters.

Returns

Promise<SiteAuthSettings>

getBackupConfiguration(string, string, WebAppsGetBackupConfigurationOptionalParams)

Gets the backup configuration of an app.

function getBackupConfiguration(resourceGroupName: string, name: string, options?: WebAppsGetBackupConfigurationOptionalParams): Promise<BackupRequest>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsGetBackupConfigurationOptionalParams

The options parameters.

Returns

Promise<BackupRequest>

getBackupConfigurationSlot(string, string, string, WebAppsGetBackupConfigurationSlotOptionalParams)

Gets the backup configuration of an app.

function getBackupConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetBackupConfigurationSlotOptionalParams): Promise<BackupRequest>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the production slot.

options
WebAppsGetBackupConfigurationSlotOptionalParams

The options parameters.

Returns

Promise<BackupRequest>

getBackupStatus(string, string, string, WebAppsGetBackupStatusOptionalParams)

Gets a backup of an app by its ID.

function getBackupStatus(resourceGroupName: string, name: string, backupId: string, options?: WebAppsGetBackupStatusOptionalParams): Promise<BackupItem>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

backupId

string

ID of the backup.

options
WebAppsGetBackupStatusOptionalParams

The options parameters.

Returns

Promise<BackupItem>

getBackupStatusSlot(string, string, string, string, WebAppsGetBackupStatusSlotOptionalParams)

Gets a backup of an app by its ID.

function getBackupStatusSlot(resourceGroupName: string, name: string, backupId: string, slot: string, options?: WebAppsGetBackupStatusSlotOptionalParams): Promise<BackupItem>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

backupId

string

ID of the backup.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot.

options
WebAppsGetBackupStatusSlotOptionalParams

The options parameters.

Returns

Promise<BackupItem>

getConfiguration(string, string, WebAppsGetConfigurationOptionalParams)

Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.

function getConfiguration(resourceGroupName: string, name: string, options?: WebAppsGetConfigurationOptionalParams): Promise<SiteConfigResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsGetConfigurationOptionalParams

The options parameters.

Returns

getConfigurationSlot(string, string, string, WebAppsGetConfigurationSlotOptionalParams)

Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.

function getConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetConfigurationSlotOptionalParams): Promise<SiteConfigResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.

options
WebAppsGetConfigurationSlotOptionalParams

The options parameters.

Returns

getConfigurationSnapshot(string, string, string, WebAppsGetConfigurationSnapshotOptionalParams)

Gets a snapshot of the configuration of an app at a previous point in time.

function getConfigurationSnapshot(resourceGroupName: string, name: string, snapshotId: string, options?: WebAppsGetConfigurationSnapshotOptionalParams): Promise<SiteConfigResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

snapshotId

string

The ID of the snapshot to read.

options
WebAppsGetConfigurationSnapshotOptionalParams

The options parameters.

Returns

getConfigurationSnapshotSlot(string, string, string, string, WebAppsGetConfigurationSnapshotSlotOptionalParams)

Gets a snapshot of the configuration of an app at a previous point in time.

function getConfigurationSnapshotSlot(resourceGroupName: string, name: string, snapshotId: string, slot: string, options?: WebAppsGetConfigurationSnapshotSlotOptionalParams): Promise<SiteConfigResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

snapshotId

string

The ID of the snapshot to read.

slot

string

Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.

options
WebAppsGetConfigurationSnapshotSlotOptionalParams

The options parameters.

Returns

getContainerLogsZip(string, string, WebAppsGetContainerLogsZipOptionalParams)

Gets the ZIP archived docker log files for the given site

function getContainerLogsZip(resourceGroupName: string, name: string, options?: WebAppsGetContainerLogsZipOptionalParams): Promise<WebAppsGetContainerLogsZipResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

options
WebAppsGetContainerLogsZipOptionalParams

The options parameters.

Returns

getContainerLogsZipSlot(string, string, string, WebAppsGetContainerLogsZipSlotOptionalParams)

Gets the ZIP archived docker log files for the given site

function getContainerLogsZipSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetContainerLogsZipSlotOptionalParams): Promise<WebAppsGetContainerLogsZipSlotResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

options
WebAppsGetContainerLogsZipSlotOptionalParams

The options parameters.

Returns

getContinuousWebJob(string, string, string, WebAppsGetContinuousWebJobOptionalParams)

Gets a continuous web job by its ID for an app, or a deployment slot.

function getContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options?: WebAppsGetContinuousWebJobOptionalParams): Promise<ContinuousWebJob>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

options
WebAppsGetContinuousWebJobOptionalParams

The options parameters.

Returns

Promise<ContinuousWebJob>

getContinuousWebJobSlot(string, string, string, string, WebAppsGetContinuousWebJobSlotOptionalParams)

Gets a continuous web job by its ID for an app, or a deployment slot.

function getContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: WebAppsGetContinuousWebJobSlotOptionalParams): Promise<ContinuousWebJob>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsGetContinuousWebJobSlotOptionalParams

The options parameters.

Returns

Promise<ContinuousWebJob>

getDeployment(string, string, string, WebAppsGetDeploymentOptionalParams)

Get a deployment by its ID for an app, or a deployment slot.

function getDeployment(resourceGroupName: string, name: string, id: string, options?: WebAppsGetDeploymentOptionalParams): Promise<Deployment>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

id

string

Deployment ID.

options
WebAppsGetDeploymentOptionalParams

The options parameters.

Returns

Promise<Deployment>

getDeploymentSlot(string, string, string, string, WebAppsGetDeploymentSlotOptionalParams)

Get a deployment by its ID for an app, or a deployment slot.

function getDeploymentSlot(resourceGroupName: string, name: string, id: string, slot: string, options?: WebAppsGetDeploymentSlotOptionalParams): Promise<Deployment>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

id

string

Deployment ID.

slot

string

Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.

options
WebAppsGetDeploymentSlotOptionalParams

The options parameters.

Returns

Promise<Deployment>

getDiagnosticLogsConfiguration(string, string, WebAppsGetDiagnosticLogsConfigurationOptionalParams)

Gets the logging configuration of an app.

function getDiagnosticLogsConfiguration(resourceGroupName: string, name: string, options?: WebAppsGetDiagnosticLogsConfigurationOptionalParams): Promise<SiteLogsConfig>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsGetDiagnosticLogsConfigurationOptionalParams

The options parameters.

Returns

Promise<SiteLogsConfig>

getDiagnosticLogsConfigurationSlot(string, string, string, WebAppsGetDiagnosticLogsConfigurationSlotOptionalParams)

Gets the logging configuration of an app.

function getDiagnosticLogsConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetDiagnosticLogsConfigurationSlotOptionalParams): Promise<SiteLogsConfig>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.

Returns

Promise<SiteLogsConfig>

getDomainOwnershipIdentifier(string, string, string, WebAppsGetDomainOwnershipIdentifierOptionalParams)

Get domain ownership identifier for web app.

function getDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, options?: WebAppsGetDomainOwnershipIdentifierOptionalParams): Promise<Identifier>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

domainOwnershipIdentifierName

string

Name of domain ownership identifier.

options
WebAppsGetDomainOwnershipIdentifierOptionalParams

The options parameters.

Returns

Promise<Identifier>

getDomainOwnershipIdentifierSlot(string, string, string, string, WebAppsGetDomainOwnershipIdentifierSlotOptionalParams)

Get domain ownership identifier for web app.

function getDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, slot: string, options?: WebAppsGetDomainOwnershipIdentifierSlotOptionalParams): Promise<Identifier>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

domainOwnershipIdentifierName

string

Name of domain ownership identifier.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.

Returns

Promise<Identifier>

getFunction(string, string, string, WebAppsGetFunctionOptionalParams)

Get function information by its ID for web site, or a deployment slot.

function getFunction(resourceGroupName: string, name: string, functionName: string, options?: WebAppsGetFunctionOptionalParams): Promise<FunctionEnvelope>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

Function name.

options
WebAppsGetFunctionOptionalParams

The options parameters.

Returns

Promise<FunctionEnvelope>

getFunctionsAdminToken(string, string, WebAppsGetFunctionsAdminTokenOptionalParams)

Fetch a short lived token that can be exchanged for a master key.

function getFunctionsAdminToken(resourceGroupName: string, name: string, options?: WebAppsGetFunctionsAdminTokenOptionalParams): Promise<WebAppsGetFunctionsAdminTokenResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

options
WebAppsGetFunctionsAdminTokenOptionalParams

The options parameters.

Returns

getFunctionsAdminTokenSlot(string, string, string, WebAppsGetFunctionsAdminTokenSlotOptionalParams)

Fetch a short lived token that can be exchanged for a master key.

function getFunctionsAdminTokenSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetFunctionsAdminTokenSlotOptionalParams): Promise<WebAppsGetFunctionsAdminTokenSlotResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

options
WebAppsGetFunctionsAdminTokenSlotOptionalParams

The options parameters.

Returns

getHostNameBinding(string, string, string, WebAppsGetHostNameBindingOptionalParams)

Get the named hostname binding for an app (or deployment slot, if specified).

function getHostNameBinding(resourceGroupName: string, name: string, hostName: string, options?: WebAppsGetHostNameBindingOptionalParams): Promise<HostNameBinding>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

hostName

string

Hostname in the hostname binding.

options
WebAppsGetHostNameBindingOptionalParams

The options parameters.

Returns

Promise<HostNameBinding>

getHostNameBindingSlot(string, string, string, string, WebAppsGetHostNameBindingSlotOptionalParams)

Get the named hostname binding for an app (or deployment slot, if specified).

function getHostNameBindingSlot(resourceGroupName: string, name: string, slot: string, hostName: string, options?: WebAppsGetHostNameBindingSlotOptionalParams): Promise<HostNameBinding>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.

hostName

string

Hostname in the hostname binding.

options
WebAppsGetHostNameBindingSlotOptionalParams

The options parameters.

Returns

Promise<HostNameBinding>

getHybridConnection(string, string, string, string, WebAppsGetHybridConnectionOptionalParams)

Retrieves a specific Service Bus Hybrid Connection used by this Web App.

function getHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: WebAppsGetHybridConnectionOptionalParams): Promise<HybridConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

namespaceName

string

The namespace for this hybrid connection.

relayName

string

The relay name for this hybrid connection.

options
WebAppsGetHybridConnectionOptionalParams

The options parameters.

Returns

Promise<HybridConnection>

getHybridConnectionSlot(string, string, string, string, string, WebAppsGetHybridConnectionSlotOptionalParams)

Retrieves a specific Service Bus Hybrid Connection used by this Web App.

function getHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options?: WebAppsGetHybridConnectionSlotOptionalParams): Promise<HybridConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

namespaceName

string

The namespace for this hybrid connection.

relayName

string

The relay name for this hybrid connection.

slot

string

The name of the slot for the web app.

options
WebAppsGetHybridConnectionSlotOptionalParams

The options parameters.

Returns

Promise<HybridConnection>

getInstanceFunctionSlot(string, string, string, string, WebAppsGetInstanceFunctionSlotOptionalParams)

Get function information by its ID for web site, or a deployment slot.

function getInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: WebAppsGetInstanceFunctionSlotOptionalParams): Promise<FunctionEnvelope>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

Function name.

slot

string

Name of the deployment slot.

options
WebAppsGetInstanceFunctionSlotOptionalParams

The options parameters.

Returns

Promise<FunctionEnvelope>

getInstanceMSDeployLog(string, string, string, WebAppsGetInstanceMSDeployLogOptionalParams)

Get the MSDeploy Log for the last MSDeploy operation.

function getInstanceMSDeployLog(resourceGroupName: string, name: string, instanceId: string, options?: WebAppsGetInstanceMSDeployLogOptionalParams): Promise<MSDeployLog>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

instanceId

string

ID of web app instance.

options
WebAppsGetInstanceMSDeployLogOptionalParams

The options parameters.

Returns

Promise<MSDeployLog>

getInstanceMSDeployLogSlot(string, string, string, string, WebAppsGetInstanceMSDeployLogSlotOptionalParams)

Get the MSDeploy Log for the last MSDeploy operation.

function getInstanceMSDeployLogSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, options?: WebAppsGetInstanceMSDeployLogSlotOptionalParams): Promise<MSDeployLog>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

instanceId

string

ID of web app instance.

options
WebAppsGetInstanceMSDeployLogSlotOptionalParams

The options parameters.

Returns

Promise<MSDeployLog>

getInstanceMsDeployStatus(string, string, string, WebAppsGetInstanceMsDeployStatusOptionalParams)

Get the status of the last MSDeploy operation.

function getInstanceMsDeployStatus(resourceGroupName: string, name: string, instanceId: string, options?: WebAppsGetInstanceMsDeployStatusOptionalParams): Promise<MSDeployStatus>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

instanceId

string

ID of web app instance.

options
WebAppsGetInstanceMsDeployStatusOptionalParams

The options parameters.

Returns

Promise<MSDeployStatus>

getInstanceMsDeployStatusSlot(string, string, string, string, WebAppsGetInstanceMsDeployStatusSlotOptionalParams)

Get the status of the last MSDeploy operation.

function getInstanceMsDeployStatusSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, options?: WebAppsGetInstanceMsDeployStatusSlotOptionalParams): Promise<MSDeployStatus>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

instanceId

string

ID of web app instance.

options
WebAppsGetInstanceMsDeployStatusSlotOptionalParams

The options parameters.

Returns

Promise<MSDeployStatus>

getInstanceProcess(string, string, string, string, WebAppsGetInstanceProcessOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

function getInstanceProcess(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: WebAppsGetInstanceProcessOptionalParams): Promise<ProcessInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsGetInstanceProcessOptionalParams

The options parameters.

Returns

Promise<ProcessInfo>

getInstanceProcessDump(string, string, string, string, WebAppsGetInstanceProcessDumpOptionalParams)

Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.

function getInstanceProcessDump(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: WebAppsGetInstanceProcessDumpOptionalParams): Promise<WebAppsGetInstanceProcessDumpResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsGetInstanceProcessDumpOptionalParams

The options parameters.

Returns

getInstanceProcessDumpSlot(string, string, string, string, string, WebAppsGetInstanceProcessDumpSlotOptionalParams)

Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.

function getInstanceProcessDumpSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: WebAppsGetInstanceProcessDumpSlotOptionalParams): Promise<WebAppsGetInstanceProcessDumpSlotResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsGetInstanceProcessDumpSlotOptionalParams

The options parameters.

Returns

getInstanceProcessModule(string, string, string, string, string, WebAppsGetInstanceProcessModuleOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

function getInstanceProcessModule(resourceGroupName: string, name: string, processId: string, baseAddress: string, instanceId: string, options?: WebAppsGetInstanceProcessModuleOptionalParams): Promise<ProcessModuleInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

baseAddress

string

Module base address.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsGetInstanceProcessModuleOptionalParams

The options parameters.

Returns

getInstanceProcessModuleSlot(string, string, string, string, string, string, WebAppsGetInstanceProcessModuleSlotOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

function getInstanceProcessModuleSlot(resourceGroupName: string, name: string, processId: string, baseAddress: string, slot: string, instanceId: string, options?: WebAppsGetInstanceProcessModuleSlotOptionalParams): Promise<ProcessModuleInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

baseAddress

string

Module base address.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsGetInstanceProcessModuleSlotOptionalParams

The options parameters.

Returns

getInstanceProcessSlot(string, string, string, string, string, WebAppsGetInstanceProcessSlotOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

function getInstanceProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: WebAppsGetInstanceProcessSlotOptionalParams): Promise<ProcessInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsGetInstanceProcessSlotOptionalParams

The options parameters.

Returns

Promise<ProcessInfo>

getInstanceProcessThread(string, string, string, string, string, WebAppsGetInstanceProcessThreadOptionalParams)

Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.

function getInstanceProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, instanceId: string, options?: WebAppsGetInstanceProcessThreadOptionalParams): Promise<ProcessThreadInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

threadId

string

TID.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsGetInstanceProcessThreadOptionalParams

The options parameters.

Returns

getInstanceProcessThreadSlot(string, string, string, string, string, string, WebAppsGetInstanceProcessThreadSlotOptionalParams)

Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.

function getInstanceProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, instanceId: string, options?: WebAppsGetInstanceProcessThreadSlotOptionalParams): Promise<ProcessThreadInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

threadId

string

TID.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsGetInstanceProcessThreadSlotOptionalParams

The options parameters.

Returns

getMigrateMySqlStatus(string, string, WebAppsGetMigrateMySqlStatusOptionalParams)

Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled

function getMigrateMySqlStatus(resourceGroupName: string, name: string, options?: WebAppsGetMigrateMySqlStatusOptionalParams): Promise<MigrateMySqlStatus>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

options
WebAppsGetMigrateMySqlStatusOptionalParams

The options parameters.

Returns

getMigrateMySqlStatusSlot(string, string, string, WebAppsGetMigrateMySqlStatusSlotOptionalParams)

Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled

function getMigrateMySqlStatusSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetMigrateMySqlStatusSlotOptionalParams): Promise<MigrateMySqlStatus>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of the deployment slot.

options
WebAppsGetMigrateMySqlStatusSlotOptionalParams

The options parameters.

Returns

getMSDeployLog(string, string, WebAppsGetMSDeployLogOptionalParams)

Get the MSDeploy Log for the last MSDeploy operation.

function getMSDeployLog(resourceGroupName: string, name: string, options?: WebAppsGetMSDeployLogOptionalParams): Promise<MSDeployLog>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

options
WebAppsGetMSDeployLogOptionalParams

The options parameters.

Returns

Promise<MSDeployLog>

getMSDeployLogSlot(string, string, string, WebAppsGetMSDeployLogSlotOptionalParams)

Get the MSDeploy Log for the last MSDeploy operation.

function getMSDeployLogSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetMSDeployLogSlotOptionalParams): Promise<MSDeployLog>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

options
WebAppsGetMSDeployLogSlotOptionalParams

The options parameters.

Returns

Promise<MSDeployLog>

getMSDeployStatus(string, string, WebAppsGetMSDeployStatusOptionalParams)

Get the status of the last MSDeploy operation.

function getMSDeployStatus(resourceGroupName: string, name: string, options?: WebAppsGetMSDeployStatusOptionalParams): Promise<MSDeployStatus>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

options
WebAppsGetMSDeployStatusOptionalParams

The options parameters.

Returns

Promise<MSDeployStatus>

getMSDeployStatusSlot(string, string, string, WebAppsGetMSDeployStatusSlotOptionalParams)

Get the status of the last MSDeploy operation.

function getMSDeployStatusSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetMSDeployStatusSlotOptionalParams): Promise<MSDeployStatus>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

options
WebAppsGetMSDeployStatusSlotOptionalParams

The options parameters.

Returns

Promise<MSDeployStatus>

getNetworkTraceOperation(string, string, string, WebAppsGetNetworkTraceOperationOptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

function getNetworkTraceOperation(resourceGroupName: string, name: string, operationId: string, options?: WebAppsGetNetworkTraceOperationOptionalParams): Promise<WebAppsGetNetworkTraceOperationResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

operationId

string

GUID of the operation.

options
WebAppsGetNetworkTraceOperationOptionalParams

The options parameters.

Returns

getNetworkTraceOperationSlot(string, string, string, string, WebAppsGetNetworkTraceOperationSlotOptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

function getNetworkTraceOperationSlot(resourceGroupName: string, name: string, operationId: string, slot: string, options?: WebAppsGetNetworkTraceOperationSlotOptionalParams): Promise<WebAppsGetNetworkTraceOperationSlotResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

operationId

string

GUID of the operation.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot.

options
WebAppsGetNetworkTraceOperationSlotOptionalParams

The options parameters.

Returns

getNetworkTraceOperationSlotV2(string, string, string, string, WebAppsGetNetworkTraceOperationSlotV2OptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

function getNetworkTraceOperationSlotV2(resourceGroupName: string, name: string, operationId: string, slot: string, options?: WebAppsGetNetworkTraceOperationSlotV2OptionalParams): Promise<WebAppsGetNetworkTraceOperationSlotV2Response>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

operationId

string

GUID of the operation.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot.

options
WebAppsGetNetworkTraceOperationSlotV2OptionalParams

The options parameters.

Returns

getNetworkTraceOperationV2(string, string, string, WebAppsGetNetworkTraceOperationV2OptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

function getNetworkTraceOperationV2(resourceGroupName: string, name: string, operationId: string, options?: WebAppsGetNetworkTraceOperationV2OptionalParams): Promise<WebAppsGetNetworkTraceOperationV2Response>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

operationId

string

GUID of the operation.

options
WebAppsGetNetworkTraceOperationV2OptionalParams

The options parameters.

Returns

getNetworkTraces(string, string, string, WebAppsGetNetworkTracesOptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

function getNetworkTraces(resourceGroupName: string, name: string, operationId: string, options?: WebAppsGetNetworkTracesOptionalParams): Promise<WebAppsGetNetworkTracesResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

operationId

string

GUID of the operation.

options
WebAppsGetNetworkTracesOptionalParams

The options parameters.

Returns

getNetworkTracesSlot(string, string, string, string, WebAppsGetNetworkTracesSlotOptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

function getNetworkTracesSlot(resourceGroupName: string, name: string, operationId: string, slot: string, options?: WebAppsGetNetworkTracesSlotOptionalParams): Promise<WebAppsGetNetworkTracesSlotResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

operationId

string

GUID of the operation.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot.

options
WebAppsGetNetworkTracesSlotOptionalParams

The options parameters.

Returns

getNetworkTracesSlotV2(string, string, string, string, WebAppsGetNetworkTracesSlotV2OptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

function getNetworkTracesSlotV2(resourceGroupName: string, name: string, operationId: string, slot: string, options?: WebAppsGetNetworkTracesSlotV2OptionalParams): Promise<WebAppsGetNetworkTracesSlotV2Response>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

operationId

string

GUID of the operation.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot.

options
WebAppsGetNetworkTracesSlotV2OptionalParams

The options parameters.

Returns

getNetworkTracesV2(string, string, string, WebAppsGetNetworkTracesV2OptionalParams)

Gets a named operation for a network trace capturing (or deployment slot, if specified).

function getNetworkTracesV2(resourceGroupName: string, name: string, operationId: string, options?: WebAppsGetNetworkTracesV2OptionalParams): Promise<WebAppsGetNetworkTracesV2Response>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

operationId

string

GUID of the operation.

options
WebAppsGetNetworkTracesV2OptionalParams

The options parameters.

Returns

getPremierAddOn(string, string, string, WebAppsGetPremierAddOnOptionalParams)

Gets a named add-on of an app.

function getPremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, options?: WebAppsGetPremierAddOnOptionalParams): Promise<PremierAddOn>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

premierAddOnName

string

Add-on name.

options
WebAppsGetPremierAddOnOptionalParams

The options parameters.

Returns

Promise<PremierAddOn>

getPremierAddOnSlot(string, string, string, string, WebAppsGetPremierAddOnSlotOptionalParams)

Gets a named add-on of an app.

function getPremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, slot: string, options?: WebAppsGetPremierAddOnSlotOptionalParams): Promise<PremierAddOn>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

premierAddOnName

string

Add-on name.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.

options
WebAppsGetPremierAddOnSlotOptionalParams

The options parameters.

Returns

Promise<PremierAddOn>

getPrivateAccess(string, string, WebAppsGetPrivateAccessOptionalParams)

Gets data around private site access enablement and authorized Virtual Networks that can access the site.

function getPrivateAccess(resourceGroupName: string, name: string, options?: WebAppsGetPrivateAccessOptionalParams): Promise<PrivateAccess>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

options
WebAppsGetPrivateAccessOptionalParams

The options parameters.

Returns

Promise<PrivateAccess>

getPrivateAccessSlot(string, string, string, WebAppsGetPrivateAccessSlotOptionalParams)

Gets data around private site access enablement and authorized Virtual Networks that can access the site.

function getPrivateAccessSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetPrivateAccessSlotOptionalParams): Promise<PrivateAccess>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

slot

string

The name of the slot for the web app.

options
WebAppsGetPrivateAccessSlotOptionalParams

The options parameters.

Returns

Promise<PrivateAccess>

getProcess(string, string, string, WebAppsGetProcessOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

function getProcess(resourceGroupName: string, name: string, processId: string, options?: WebAppsGetProcessOptionalParams): Promise<ProcessInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

options
WebAppsGetProcessOptionalParams

The options parameters.

Returns

Promise<ProcessInfo>

getProcessDump(string, string, string, WebAppsGetProcessDumpOptionalParams)

Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.

function getProcessDump(resourceGroupName: string, name: string, processId: string, options?: WebAppsGetProcessDumpOptionalParams): Promise<WebAppsGetProcessDumpResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

options
WebAppsGetProcessDumpOptionalParams

The options parameters.

Returns

getProcessDumpSlot(string, string, string, string, WebAppsGetProcessDumpSlotOptionalParams)

Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.

function getProcessDumpSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: WebAppsGetProcessDumpSlotOptionalParams): Promise<WebAppsGetProcessDumpSlotResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

options
WebAppsGetProcessDumpSlotOptionalParams

The options parameters.

Returns

getProcessModule(string, string, string, string, WebAppsGetProcessModuleOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

function getProcessModule(resourceGroupName: string, name: string, processId: string, baseAddress: string, options?: WebAppsGetProcessModuleOptionalParams): Promise<ProcessModuleInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

baseAddress

string

Module base address.

options
WebAppsGetProcessModuleOptionalParams

The options parameters.

Returns

getProcessModuleSlot(string, string, string, string, string, WebAppsGetProcessModuleSlotOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

function getProcessModuleSlot(resourceGroupName: string, name: string, processId: string, baseAddress: string, slot: string, options?: WebAppsGetProcessModuleSlotOptionalParams): Promise<ProcessModuleInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

baseAddress

string

Module base address.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

options
WebAppsGetProcessModuleSlotOptionalParams

The options parameters.

Returns

getProcessSlot(string, string, string, string, WebAppsGetProcessSlotOptionalParams)

Get process information by its ID for a specific scaled-out instance in a web site.

function getProcessSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: WebAppsGetProcessSlotOptionalParams): Promise<ProcessInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

options
WebAppsGetProcessSlotOptionalParams

The options parameters.

Returns

Promise<ProcessInfo>

getProcessThread(string, string, string, string, WebAppsGetProcessThreadOptionalParams)

Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.

function getProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, options?: WebAppsGetProcessThreadOptionalParams): Promise<ProcessThreadInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

threadId

string

TID.

options
WebAppsGetProcessThreadOptionalParams

The options parameters.

Returns

getProcessThreadSlot(string, string, string, string, string, WebAppsGetProcessThreadSlotOptionalParams)

Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.

function getProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, options?: WebAppsGetProcessThreadSlotOptionalParams): Promise<ProcessThreadInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

threadId

string

TID.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

options
WebAppsGetProcessThreadSlotOptionalParams

The options parameters.

Returns

getPublicCertificate(string, string, string, WebAppsGetPublicCertificateOptionalParams)

Get the named public certificate for an app (or deployment slot, if specified).

function getPublicCertificate(resourceGroupName: string, name: string, publicCertificateName: string, options?: WebAppsGetPublicCertificateOptionalParams): Promise<PublicCertificate>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

publicCertificateName

string

Public certificate name.

options
WebAppsGetPublicCertificateOptionalParams

The options parameters.

Returns

getPublicCertificateSlot(string, string, string, string, WebAppsGetPublicCertificateSlotOptionalParams)

Get the named public certificate for an app (or deployment slot, if specified).

function getPublicCertificateSlot(resourceGroupName: string, name: string, slot: string, publicCertificateName: string, options?: WebAppsGetPublicCertificateSlotOptionalParams): Promise<PublicCertificate>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.

publicCertificateName

string

Public certificate name.

options
WebAppsGetPublicCertificateSlotOptionalParams

The options parameters.

Returns

getRelayServiceConnection(string, string, string, WebAppsGetRelayServiceConnectionOptionalParams)

Gets a hybrid connection configuration by its name.

function getRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, options?: WebAppsGetRelayServiceConnectionOptionalParams): Promise<RelayServiceConnectionEntity>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

entityName

string

Name of the hybrid connection.

options
WebAppsGetRelayServiceConnectionOptionalParams

The options parameters.

Returns

getRelayServiceConnectionSlot(string, string, string, string, WebAppsGetRelayServiceConnectionSlotOptionalParams)

Gets a hybrid connection configuration by its name.

function getRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, slot: string, options?: WebAppsGetRelayServiceConnectionSlotOptionalParams): Promise<RelayServiceConnectionEntity>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

entityName

string

Name of the hybrid connection.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot.

options
WebAppsGetRelayServiceConnectionSlotOptionalParams

The options parameters.

Returns

getSiteExtension(string, string, string, WebAppsGetSiteExtensionOptionalParams)

Get site extension information by its ID for a web site, or a deployment slot.

function getSiteExtension(resourceGroupName: string, name: string, siteExtensionId: string, options?: WebAppsGetSiteExtensionOptionalParams): Promise<SiteExtensionInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

siteExtensionId

string

Site extension name.

options
WebAppsGetSiteExtensionOptionalParams

The options parameters.

Returns

getSiteExtensionSlot(string, string, string, string, WebAppsGetSiteExtensionSlotOptionalParams)

Get site extension information by its ID for a web site, or a deployment slot.

function getSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options?: WebAppsGetSiteExtensionSlotOptionalParams): Promise<SiteExtensionInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

siteExtensionId

string

Site extension name.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsGetSiteExtensionSlotOptionalParams

The options parameters.

Returns

getSitePhpErrorLogFlag(string, string, WebAppsGetSitePhpErrorLogFlagOptionalParams)

Gets web app's event logs.

function getSitePhpErrorLogFlag(resourceGroupName: string, name: string, options?: WebAppsGetSitePhpErrorLogFlagOptionalParams): Promise<SitePhpErrorLogFlag>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

options
WebAppsGetSitePhpErrorLogFlagOptionalParams

The options parameters.

Returns

getSitePhpErrorLogFlagSlot(string, string, string, WebAppsGetSitePhpErrorLogFlagSlotOptionalParams)

Gets web app's event logs.

function getSitePhpErrorLogFlagSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetSitePhpErrorLogFlagSlotOptionalParams): Promise<SitePhpErrorLogFlag>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

options
WebAppsGetSitePhpErrorLogFlagSlotOptionalParams

The options parameters.

Returns

getSlot(string, string, string, WebAppsGetSlotOptionalParams)

Gets the details of a web, mobile, or API app.

function getSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetSlotOptionalParams): Promise<Site>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. By default, this API returns the production slot.

options
WebAppsGetSlotOptionalParams

The options parameters.

Returns

Promise<Site>

getSourceControl(string, string, WebAppsGetSourceControlOptionalParams)

Gets the source control configuration of an app.

function getSourceControl(resourceGroupName: string, name: string, options?: WebAppsGetSourceControlOptionalParams): Promise<SiteSourceControl>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsGetSourceControlOptionalParams

The options parameters.

Returns

getSourceControlSlot(string, string, string, WebAppsGetSourceControlSlotOptionalParams)

Gets the source control configuration of an app.

function getSourceControlSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetSourceControlSlotOptionalParams): Promise<SiteSourceControl>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.

options
WebAppsGetSourceControlSlotOptionalParams

The options parameters.

Returns

getSwiftVirtualNetworkConnection(string, string, WebAppsGetSwiftVirtualNetworkConnectionOptionalParams)

Gets a Swift Virtual Network connection.

function getSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, options?: WebAppsGetSwiftVirtualNetworkConnectionOptionalParams): Promise<SwiftVirtualNetwork>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

Returns

getSwiftVirtualNetworkConnectionSlot(string, string, string, WebAppsGetSwiftVirtualNetworkConnectionSlotOptionalParams)

Gets a Swift Virtual Network connection.

function getSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetSwiftVirtualNetworkConnectionSlotOptionalParams): Promise<SwiftVirtualNetwork>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.

Returns

getTriggeredWebJob(string, string, string, WebAppsGetTriggeredWebJobOptionalParams)

Gets a triggered web job by its ID for an app, or a deployment slot.

function getTriggeredWebJob(resourceGroupName: string, name: string, webJobName: string, options?: WebAppsGetTriggeredWebJobOptionalParams): Promise<TriggeredWebJob>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

options
WebAppsGetTriggeredWebJobOptionalParams

The options parameters.

Returns

Promise<TriggeredWebJob>

getTriggeredWebJobHistory(string, string, string, string, WebAppsGetTriggeredWebJobHistoryOptionalParams)

Gets a triggered web job's history by its ID for an app, , or a deployment slot.

function getTriggeredWebJobHistory(resourceGroupName: string, name: string, webJobName: string, id: string, options?: WebAppsGetTriggeredWebJobHistoryOptionalParams): Promise<TriggeredJobHistory>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

id

string

History ID.

options
WebAppsGetTriggeredWebJobHistoryOptionalParams

The options parameters.

Returns

getTriggeredWebJobHistorySlot(string, string, string, string, string, WebAppsGetTriggeredWebJobHistorySlotOptionalParams)

Gets a triggered web job's history by its ID for an app, , or a deployment slot.

function getTriggeredWebJobHistorySlot(resourceGroupName: string, name: string, webJobName: string, id: string, slot: string, options?: WebAppsGetTriggeredWebJobHistorySlotOptionalParams): Promise<TriggeredJobHistory>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

id

string

History ID.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsGetTriggeredWebJobHistorySlotOptionalParams

The options parameters.

Returns

getTriggeredWebJobSlot(string, string, string, string, WebAppsGetTriggeredWebJobSlotOptionalParams)

Gets a triggered web job by its ID for an app, or a deployment slot.

function getTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: WebAppsGetTriggeredWebJobSlotOptionalParams): Promise<TriggeredWebJob>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsGetTriggeredWebJobSlotOptionalParams

The options parameters.

Returns

Promise<TriggeredWebJob>

getVnetConnection(string, string, string, WebAppsGetVnetConnectionOptionalParams)

Gets a virtual network the app (or deployment slot) is connected to by name.

function getVnetConnection(resourceGroupName: string, name: string, vnetName: string, options?: WebAppsGetVnetConnectionOptionalParams): Promise<VnetInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of the virtual network.

options
WebAppsGetVnetConnectionOptionalParams

The options parameters.

Returns

Promise<VnetInfo>

getVnetConnectionGateway(string, string, string, string, WebAppsGetVnetConnectionGatewayOptionalParams)

Gets an app's Virtual Network gateway.

function getVnetConnectionGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, options?: WebAppsGetVnetConnectionGatewayOptionalParams): Promise<VnetGateway>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of the Virtual Network.

gatewayName

string

Name of the gateway. Currently, the only supported string is "primary".

options
WebAppsGetVnetConnectionGatewayOptionalParams

The options parameters.

Returns

Promise<VnetGateway>

getVnetConnectionGatewaySlot(string, string, string, string, string, WebAppsGetVnetConnectionGatewaySlotOptionalParams)

Gets an app's Virtual Network gateway.

function getVnetConnectionGatewaySlot(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, slot: string, options?: WebAppsGetVnetConnectionGatewaySlotOptionalParams): Promise<VnetGateway>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of the Virtual Network.

gatewayName

string

Name of the gateway. Currently, the only supported string is "primary".

slot

string

Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.

options
WebAppsGetVnetConnectionGatewaySlotOptionalParams

The options parameters.

Returns

Promise<VnetGateway>

getVnetConnectionSlot(string, string, string, string, WebAppsGetVnetConnectionSlotOptionalParams)

Gets a virtual network the app (or deployment slot) is connected to by name.

function getVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, slot: string, options?: WebAppsGetVnetConnectionSlotOptionalParams): Promise<VnetInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of the virtual network.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot.

options
WebAppsGetVnetConnectionSlotOptionalParams

The options parameters.

Returns

Promise<VnetInfo>

getWebJob(string, string, string, WebAppsGetWebJobOptionalParams)

Get webjob information for an app, or a deployment slot.

function getWebJob(resourceGroupName: string, name: string, webJobName: string, options?: WebAppsGetWebJobOptionalParams): Promise<WebJob>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of the web job.

options
WebAppsGetWebJobOptionalParams

The options parameters.

Returns

Promise<WebJob>

getWebJobSlot(string, string, string, string, WebAppsGetWebJobSlotOptionalParams)

Get webjob information for an app, or a deployment slot.

function getWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: WebAppsGetWebJobSlotOptionalParams): Promise<WebJob>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of the web job.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

options
WebAppsGetWebJobSlotOptionalParams

The options parameters.

Returns

Promise<WebJob>

getWebSiteContainerLogs(string, string, WebAppsGetWebSiteContainerLogsOptionalParams)

Gets the last lines of docker logs for the given site

function getWebSiteContainerLogs(resourceGroupName: string, name: string, options?: WebAppsGetWebSiteContainerLogsOptionalParams): Promise<WebAppsGetWebSiteContainerLogsResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

options
WebAppsGetWebSiteContainerLogsOptionalParams

The options parameters.

Returns

getWebSiteContainerLogsSlot(string, string, string, WebAppsGetWebSiteContainerLogsSlotOptionalParams)

Gets the last lines of docker logs for the given site

function getWebSiteContainerLogsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetWebSiteContainerLogsSlotOptionalParams): Promise<WebAppsGetWebSiteContainerLogsSlotResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

options
WebAppsGetWebSiteContainerLogsSlotOptionalParams

The options parameters.

Returns

isCloneable(string, string, WebAppsIsCloneableOptionalParams)

Shows whether an app can be cloned to another resource group or subscription.

function isCloneable(resourceGroupName: string, name: string, options?: WebAppsIsCloneableOptionalParams): Promise<SiteCloneability>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsIsCloneableOptionalParams

The options parameters.

Returns

Promise<SiteCloneability>

isCloneableSlot(string, string, string, WebAppsIsCloneableSlotOptionalParams)

Shows whether an app can be cloned to another resource group or subscription.

function isCloneableSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsIsCloneableSlotOptionalParams): Promise<SiteCloneability>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. By default, this API returns information on the production slot.

options
WebAppsIsCloneableSlotOptionalParams

The options parameters.

Returns

Promise<SiteCloneability>

list(WebAppsListOptionalParams)

Get all apps for a subscription.

function list(options?: WebAppsListOptionalParams): PagedAsyncIterableIterator<Site, Site[], PageSettings>

Parameters

options
WebAppsListOptionalParams

The options parameters.

Returns

listApplicationSettings(string, string, WebAppsListApplicationSettingsOptionalParams)

Gets the application settings of an app.

function listApplicationSettings(resourceGroupName: string, name: string, options?: WebAppsListApplicationSettingsOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListApplicationSettingsOptionalParams

The options parameters.

Returns

Promise<StringDictionary>

listApplicationSettingsSlot(string, string, string, WebAppsListApplicationSettingsSlotOptionalParams)

Gets the application settings of an app.

function listApplicationSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListApplicationSettingsSlotOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the application settings for the production slot.

options
WebAppsListApplicationSettingsSlotOptionalParams

The options parameters.

Returns

Promise<StringDictionary>

listAzureStorageAccounts(string, string, WebAppsListAzureStorageAccountsOptionalParams)

Gets the Azure storage account configurations of an app.

function listAzureStorageAccounts(resourceGroupName: string, name: string, options?: WebAppsListAzureStorageAccountsOptionalParams): Promise<AzureStoragePropertyDictionaryResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListAzureStorageAccountsOptionalParams

The options parameters.

Returns

listAzureStorageAccountsSlot(string, string, string, WebAppsListAzureStorageAccountsSlotOptionalParams)

Gets the Azure storage account configurations of an app.

function listAzureStorageAccountsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListAzureStorageAccountsSlotOptionalParams): Promise<AzureStoragePropertyDictionaryResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.

options
WebAppsListAzureStorageAccountsSlotOptionalParams

The options parameters.

Returns

listBackups(string, string, WebAppsListBackupsOptionalParams)

Gets existing backups of an app.

function listBackups(resourceGroupName: string, name: string, options?: WebAppsListBackupsOptionalParams): PagedAsyncIterableIterator<BackupItem, BackupItem[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListBackupsOptionalParams

The options parameters.

Returns

listBackupsSlot(string, string, string, WebAppsListBackupsSlotOptionalParams)

Gets existing backups of an app.

function listBackupsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListBackupsSlotOptionalParams): PagedAsyncIterableIterator<BackupItem, BackupItem[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.

options
WebAppsListBackupsSlotOptionalParams

The options parameters.

Returns

listBackupStatusSecrets(string, string, string, BackupRequest, WebAppsListBackupStatusSecretsOptionalParams)

Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.

function listBackupStatusSecrets(resourceGroupName: string, name: string, backupId: string, request: BackupRequest, options?: WebAppsListBackupStatusSecretsOptionalParams): Promise<BackupItem>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

backupId

string

ID of backup.

request
BackupRequest

Information on backup request.

options
WebAppsListBackupStatusSecretsOptionalParams

The options parameters.

Returns

Promise<BackupItem>

listBackupStatusSecretsSlot(string, string, string, string, BackupRequest, WebAppsListBackupStatusSecretsSlotOptionalParams)

Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.

function listBackupStatusSecretsSlot(resourceGroupName: string, name: string, backupId: string, slot: string, request: BackupRequest, options?: WebAppsListBackupStatusSecretsSlotOptionalParams): Promise<BackupItem>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

backupId

string

ID of backup.

slot

string

Name of web app slot. If not specified then will default to production slot.

request
BackupRequest

Information on backup request.

options
WebAppsListBackupStatusSecretsSlotOptionalParams

The options parameters.

Returns

Promise<BackupItem>

listByResourceGroup(string, WebAppsListByResourceGroupOptionalParams)

Gets all web, mobile, and API apps in the specified resource group.

function listByResourceGroup(resourceGroupName: string, options?: WebAppsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Site, Site[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

options
WebAppsListByResourceGroupOptionalParams

The options parameters.

Returns

listConfigurations(string, string, WebAppsListConfigurationsOptionalParams)

List the configurations of an app

function listConfigurations(resourceGroupName: string, name: string, options?: WebAppsListConfigurationsOptionalParams): PagedAsyncIterableIterator<SiteConfigResource, SiteConfigResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListConfigurationsOptionalParams

The options parameters.

Returns

listConfigurationSnapshotInfo(string, string, WebAppsListConfigurationSnapshotInfoOptionalParams)

Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.

function listConfigurationSnapshotInfo(resourceGroupName: string, name: string, options?: WebAppsListConfigurationSnapshotInfoOptionalParams): PagedAsyncIterableIterator<SiteConfigurationSnapshotInfo, SiteConfigurationSnapshotInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListConfigurationSnapshotInfoOptionalParams

The options parameters.

Returns

listConfigurationSnapshotInfoSlot(string, string, string, WebAppsListConfigurationSnapshotInfoSlotOptionalParams)

Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.

function listConfigurationSnapshotInfoSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListConfigurationSnapshotInfoSlotOptionalParams): PagedAsyncIterableIterator<SiteConfigurationSnapshotInfo, SiteConfigurationSnapshotInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.

Returns

listConfigurationsSlot(string, string, string, WebAppsListConfigurationsSlotOptionalParams)

List the configurations of an app

function listConfigurationsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListConfigurationsSlotOptionalParams): PagedAsyncIterableIterator<SiteConfigResource, SiteConfigResource[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.

options
WebAppsListConfigurationsSlotOptionalParams

The options parameters.

Returns

listConnectionStrings(string, string, WebAppsListConnectionStringsOptionalParams)

Gets the connection strings of an app.

function listConnectionStrings(resourceGroupName: string, name: string, options?: WebAppsListConnectionStringsOptionalParams): Promise<ConnectionStringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListConnectionStringsOptionalParams

The options parameters.

Returns

listConnectionStringsSlot(string, string, string, WebAppsListConnectionStringsSlotOptionalParams)

Gets the connection strings of an app.

function listConnectionStringsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListConnectionStringsSlotOptionalParams): Promise<ConnectionStringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the connection settings for the production slot.

options
WebAppsListConnectionStringsSlotOptionalParams

The options parameters.

Returns

listContinuousWebJobs(string, string, WebAppsListContinuousWebJobsOptionalParams)

List continuous web jobs for an app, or a deployment slot.

function listContinuousWebJobs(resourceGroupName: string, name: string, options?: WebAppsListContinuousWebJobsOptionalParams): PagedAsyncIterableIterator<ContinuousWebJob, ContinuousWebJob[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

options
WebAppsListContinuousWebJobsOptionalParams

The options parameters.

Returns

listContinuousWebJobsSlot(string, string, string, WebAppsListContinuousWebJobsSlotOptionalParams)

List continuous web jobs for an app, or a deployment slot.

function listContinuousWebJobsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListContinuousWebJobsSlotOptionalParams): PagedAsyncIterableIterator<ContinuousWebJob, ContinuousWebJob[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsListContinuousWebJobsSlotOptionalParams

The options parameters.

Returns

listDeploymentLog(string, string, string, WebAppsListDeploymentLogOptionalParams)

List deployment log for specific deployment for an app, or a deployment slot.

function listDeploymentLog(resourceGroupName: string, name: string, id: string, options?: WebAppsListDeploymentLogOptionalParams): Promise<Deployment>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

id

string

The ID of a specific deployment. This is the value of the name property in the JSON response from "GET /api/sites/{siteName}/deployments".

options
WebAppsListDeploymentLogOptionalParams

The options parameters.

Returns

Promise<Deployment>

listDeploymentLogSlot(string, string, string, string, WebAppsListDeploymentLogSlotOptionalParams)

List deployment log for specific deployment for an app, or a deployment slot.

function listDeploymentLogSlot(resourceGroupName: string, name: string, id: string, slot: string, options?: WebAppsListDeploymentLogSlotOptionalParams): Promise<Deployment>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

id

string

The ID of a specific deployment. This is the value of the name property in the JSON response from "GET /api/sites/{siteName}/deployments".

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

options
WebAppsListDeploymentLogSlotOptionalParams

The options parameters.

Returns

Promise<Deployment>

listDeployments(string, string, WebAppsListDeploymentsOptionalParams)

List deployments for an app, or a deployment slot.

function listDeployments(resourceGroupName: string, name: string, options?: WebAppsListDeploymentsOptionalParams): PagedAsyncIterableIterator<Deployment, Deployment[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListDeploymentsOptionalParams

The options parameters.

Returns

listDeploymentsSlot(string, string, string, WebAppsListDeploymentsSlotOptionalParams)

List deployments for an app, or a deployment slot.

function listDeploymentsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListDeploymentsSlotOptionalParams): PagedAsyncIterableIterator<Deployment, Deployment[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

options
WebAppsListDeploymentsSlotOptionalParams

The options parameters.

Returns

listDomainOwnershipIdentifiers(string, string, WebAppsListDomainOwnershipIdentifiersOptionalParams)

Lists ownership identifiers for domain associated with web app.

function listDomainOwnershipIdentifiers(resourceGroupName: string, name: string, options?: WebAppsListDomainOwnershipIdentifiersOptionalParams): PagedAsyncIterableIterator<Identifier, Identifier[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListDomainOwnershipIdentifiersOptionalParams

The options parameters.

Returns

listDomainOwnershipIdentifiersSlot(string, string, string, WebAppsListDomainOwnershipIdentifiersSlotOptionalParams)

Lists ownership identifiers for domain associated with web app.

function listDomainOwnershipIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListDomainOwnershipIdentifiersSlotOptionalParams): PagedAsyncIterableIterator<Identifier, Identifier[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.

Returns

listFunctionKeys(string, string, string, WebAppsListFunctionKeysOptionalParams)

Get function keys for a function in a web site, or a deployment slot.

function listFunctionKeys(resourceGroupName: string, name: string, functionName: string, options?: WebAppsListFunctionKeysOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

Function name.

options
WebAppsListFunctionKeysOptionalParams

The options parameters.

Returns

Promise<StringDictionary>

listFunctionKeysSlot(string, string, string, string, WebAppsListFunctionKeysSlotOptionalParams)

Get function keys for a function in a web site, or a deployment slot.

function listFunctionKeysSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: WebAppsListFunctionKeysSlotOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

Function name.

slot

string

Name of the deployment slot.

options
WebAppsListFunctionKeysSlotOptionalParams

The options parameters.

Returns

Promise<StringDictionary>

listFunctions(string, string, WebAppsListFunctionsOptionalParams)

List the functions for a web site, or a deployment slot.

function listFunctions(resourceGroupName: string, name: string, options?: WebAppsListFunctionsOptionalParams): PagedAsyncIterableIterator<FunctionEnvelope, FunctionEnvelope[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

options
WebAppsListFunctionsOptionalParams

The options parameters.

Returns

listFunctionSecrets(string, string, string, WebAppsListFunctionSecretsOptionalParams)

Get function secrets for a function in a web site, or a deployment slot.

function listFunctionSecrets(resourceGroupName: string, name: string, functionName: string, options?: WebAppsListFunctionSecretsOptionalParams): Promise<FunctionSecrets>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

Function name.

options
WebAppsListFunctionSecretsOptionalParams

The options parameters.

Returns

Promise<FunctionSecrets>

listFunctionSecretsSlot(string, string, string, string, WebAppsListFunctionSecretsSlotOptionalParams)

Get function secrets for a function in a web site, or a deployment slot.

function listFunctionSecretsSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: WebAppsListFunctionSecretsSlotOptionalParams): Promise<FunctionSecrets>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

functionName

string

Function name.

slot

string

Name of the deployment slot.

options
WebAppsListFunctionSecretsSlotOptionalParams

The options parameters.

Returns

Promise<FunctionSecrets>

listHostKeys(string, string, WebAppsListHostKeysOptionalParams)

Get host secrets for a function app.

function listHostKeys(resourceGroupName: string, name: string, options?: WebAppsListHostKeysOptionalParams): Promise<HostKeys>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

options
WebAppsListHostKeysOptionalParams

The options parameters.

Returns

Promise<HostKeys>

listHostKeysSlot(string, string, string, WebAppsListHostKeysSlotOptionalParams)

Get host secrets for a function app.

function listHostKeysSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListHostKeysSlotOptionalParams): Promise<HostKeys>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

slot

string

Name of the deployment slot.

options
WebAppsListHostKeysSlotOptionalParams

The options parameters.

Returns

Promise<HostKeys>

listHostNameBindings(string, string, WebAppsListHostNameBindingsOptionalParams)

Get hostname bindings for an app or a deployment slot.

function listHostNameBindings(resourceGroupName: string, name: string, options?: WebAppsListHostNameBindingsOptionalParams): PagedAsyncIterableIterator<HostNameBinding, HostNameBinding[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListHostNameBindingsOptionalParams

The options parameters.

Returns

listHostNameBindingsSlot(string, string, string, WebAppsListHostNameBindingsSlotOptionalParams)

Get hostname bindings for an app or a deployment slot.

function listHostNameBindingsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListHostNameBindingsSlotOptionalParams): PagedAsyncIterableIterator<HostNameBinding, HostNameBinding[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.

options
WebAppsListHostNameBindingsSlotOptionalParams

The options parameters.

Returns

listHybridConnectionKeys(string, string, string, string, WebAppsListHybridConnectionKeysOptionalParams)

Gets the send key name and value for a Hybrid Connection.

function listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: WebAppsListHybridConnectionKeysOptionalParams): Promise<HybridConnectionKey>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

namespaceName

string

The namespace for this hybrid connection.

relayName

string

The relay name for this hybrid connection.

options
WebAppsListHybridConnectionKeysOptionalParams

The options parameters.

Returns

listHybridConnectionKeysSlot(string, string, string, string, string, WebAppsListHybridConnectionKeysSlotOptionalParams)

Gets the send key name and value for a Hybrid Connection.

function listHybridConnectionKeysSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options?: WebAppsListHybridConnectionKeysSlotOptionalParams): Promise<HybridConnectionKey>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

namespaceName

string

The namespace for this hybrid connection.

relayName

string

The relay name for this hybrid connection.

slot

string

The name of the slot for the web app.

options
WebAppsListHybridConnectionKeysSlotOptionalParams

The options parameters.

Returns

listHybridConnections(string, string, WebAppsListHybridConnectionsOptionalParams)

Retrieves all Service Bus Hybrid Connections used by this Web App.

function listHybridConnections(resourceGroupName: string, name: string, options?: WebAppsListHybridConnectionsOptionalParams): Promise<HybridConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

options
WebAppsListHybridConnectionsOptionalParams

The options parameters.

Returns

Promise<HybridConnection>

listHybridConnectionsSlot(string, string, string, WebAppsListHybridConnectionsSlotOptionalParams)

Retrieves all Service Bus Hybrid Connections used by this Web App.

function listHybridConnectionsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListHybridConnectionsSlotOptionalParams): Promise<HybridConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

slot

string

The name of the slot for the web app.

options
WebAppsListHybridConnectionsSlotOptionalParams

The options parameters.

Returns

Promise<HybridConnection>

listInstanceFunctionsSlot(string, string, string, WebAppsListInstanceFunctionsSlotOptionalParams)

List the functions for a web site, or a deployment slot.

function listInstanceFunctionsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListInstanceFunctionsSlotOptionalParams): PagedAsyncIterableIterator<FunctionEnvelope, FunctionEnvelope[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

slot

string

Name of the deployment slot.

options
WebAppsListInstanceFunctionsSlotOptionalParams

The options parameters.

Returns

listInstanceIdentifiers(string, string, WebAppsListInstanceIdentifiersOptionalParams)

Gets all scale-out instances of an app.

function listInstanceIdentifiers(resourceGroupName: string, name: string, options?: WebAppsListInstanceIdentifiersOptionalParams): PagedAsyncIterableIterator<SiteInstance, SiteInstance[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListInstanceIdentifiersOptionalParams

The options parameters.

Returns

listInstanceIdentifiersSlot(string, string, string, WebAppsListInstanceIdentifiersSlotOptionalParams)

Gets all scale-out instances of an app.

function listInstanceIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListInstanceIdentifiersSlotOptionalParams): PagedAsyncIterableIterator<SiteInstance, SiteInstance[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API gets the production slot instances.

options
WebAppsListInstanceIdentifiersSlotOptionalParams

The options parameters.

Returns

listInstanceProcesses(string, string, string, WebAppsListInstanceProcessesOptionalParams)

Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

function listInstanceProcesses(resourceGroupName: string, name: string, instanceId: string, options?: WebAppsListInstanceProcessesOptionalParams): PagedAsyncIterableIterator<ProcessInfo, ProcessInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsListInstanceProcessesOptionalParams

The options parameters.

Returns

listInstanceProcessesSlot(string, string, string, string, WebAppsListInstanceProcessesSlotOptionalParams)

Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

function listInstanceProcessesSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, options?: WebAppsListInstanceProcessesSlotOptionalParams): PagedAsyncIterableIterator<ProcessInfo, ProcessInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsListInstanceProcessesSlotOptionalParams

The options parameters.

Returns

listInstanceProcessModules(string, string, string, string, WebAppsListInstanceProcessModulesOptionalParams)

List module information for a process by its ID for a specific scaled-out instance in a web site.

function listInstanceProcessModules(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: WebAppsListInstanceProcessModulesOptionalParams): PagedAsyncIterableIterator<ProcessModuleInfo, ProcessModuleInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsListInstanceProcessModulesOptionalParams

The options parameters.

Returns

listInstanceProcessModulesSlot(string, string, string, string, string, WebAppsListInstanceProcessModulesSlotOptionalParams)

List module information for a process by its ID for a specific scaled-out instance in a web site.

function listInstanceProcessModulesSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: WebAppsListInstanceProcessModulesSlotOptionalParams): PagedAsyncIterableIterator<ProcessModuleInfo, ProcessModuleInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsListInstanceProcessModulesSlotOptionalParams

The options parameters.

Returns

listInstanceProcessThreads(string, string, string, string, WebAppsListInstanceProcessThreadsOptionalParams)

List the threads in a process by its ID for a specific scaled-out instance in a web site.

function listInstanceProcessThreads(resourceGroupName: string, name: string, processId: string, instanceId: string, options?: WebAppsListInstanceProcessThreadsOptionalParams): PagedAsyncIterableIterator<ProcessThreadInfo, ProcessThreadInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsListInstanceProcessThreadsOptionalParams

The options parameters.

Returns

listInstanceProcessThreadsSlot(string, string, string, string, string, WebAppsListInstanceProcessThreadsSlotOptionalParams)

List the threads in a process by its ID for a specific scaled-out instance in a web site.

function listInstanceProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, instanceId: string, options?: WebAppsListInstanceProcessThreadsSlotOptionalParams): PagedAsyncIterableIterator<ProcessThreadInfo, ProcessThreadInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

instanceId

string

ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances".

options
WebAppsListInstanceProcessThreadsSlotOptionalParams

The options parameters.

Returns

listMetadata(string, string, WebAppsListMetadataOptionalParams)

Gets the metadata of an app.

function listMetadata(resourceGroupName: string, name: string, options?: WebAppsListMetadataOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListMetadataOptionalParams

The options parameters.

Returns

Promise<StringDictionary>

listMetadataSlot(string, string, string, WebAppsListMetadataSlotOptionalParams)

Gets the metadata of an app.

function listMetadataSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListMetadataSlotOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the metadata for the production slot.

options
WebAppsListMetadataSlotOptionalParams

The options parameters.

Returns

Promise<StringDictionary>

listMetricDefinitions(string, string, WebAppsListMetricDefinitionsOptionalParams)

Gets all metric definitions of an app (or deployment slot, if specified).

function listMetricDefinitions(resourceGroupName: string, name: string, options?: WebAppsListMetricDefinitionsOptionalParams): PagedAsyncIterableIterator<ResourceMetricDefinition, ResourceMetricDefinition[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListMetricDefinitionsOptionalParams

The options parameters.

Returns

listMetricDefinitionsSlot(string, string, string, WebAppsListMetricDefinitionsSlotOptionalParams)

Gets all metric definitions of an app (or deployment slot, if specified).

function listMetricDefinitionsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListMetricDefinitionsSlotOptionalParams): PagedAsyncIterableIterator<ResourceMetricDefinition, ResourceMetricDefinition[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get metric definitions of the production slot.

options
WebAppsListMetricDefinitionsSlotOptionalParams

The options parameters.

Returns

listMetrics(string, string, WebAppsListMetricsOptionalParams)

Gets performance metrics of an app (or deployment slot, if specified).

function listMetrics(resourceGroupName: string, name: string, options?: WebAppsListMetricsOptionalParams): PagedAsyncIterableIterator<ResourceMetric, ResourceMetric[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListMetricsOptionalParams

The options parameters.

Returns

listMetricsSlot(string, string, string, WebAppsListMetricsSlotOptionalParams)

Gets performance metrics of an app (or deployment slot, if specified).

function listMetricsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListMetricsSlotOptionalParams): PagedAsyncIterableIterator<ResourceMetric, ResourceMetric[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot.

options
WebAppsListMetricsSlotOptionalParams

The options parameters.

Returns

listNetworkFeatures(string, string, string, WebAppsListNetworkFeaturesOptionalParams)

Gets all network features used by the app (or deployment slot, if specified).

function listNetworkFeatures(resourceGroupName: string, name: string, view: string, options?: WebAppsListNetworkFeaturesOptionalParams): Promise<NetworkFeatures>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

view

string

The type of view. This can either be "summary" or "detailed".

options
WebAppsListNetworkFeaturesOptionalParams

The options parameters.

Returns

Promise<NetworkFeatures>

listNetworkFeaturesSlot(string, string, string, string, WebAppsListNetworkFeaturesSlotOptionalParams)

Gets all network features used by the app (or deployment slot, if specified).

function listNetworkFeaturesSlot(resourceGroupName: string, name: string, view: string, slot: string, options?: WebAppsListNetworkFeaturesSlotOptionalParams): Promise<NetworkFeatures>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

view

string

The type of view. This can either be "summary" or "detailed".

slot

string

Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot.

options
WebAppsListNetworkFeaturesSlotOptionalParams

The options parameters.

Returns

Promise<NetworkFeatures>

listPerfMonCounters(string, string, WebAppsListPerfMonCountersOptionalParams)

Gets perfmon counters for web app.

function listPerfMonCounters(resourceGroupName: string, name: string, options?: WebAppsListPerfMonCountersOptionalParams): PagedAsyncIterableIterator<PerfMonResponse, PerfMonResponse[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

options
WebAppsListPerfMonCountersOptionalParams

The options parameters.

Returns

listPerfMonCountersSlot(string, string, string, WebAppsListPerfMonCountersSlotOptionalParams)

Gets perfmon counters for web app.

function listPerfMonCountersSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListPerfMonCountersSlotOptionalParams): PagedAsyncIterableIterator<PerfMonResponse, PerfMonResponse[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

options
WebAppsListPerfMonCountersSlotOptionalParams

The options parameters.

Returns

listPremierAddOns(string, string, WebAppsListPremierAddOnsOptionalParams)

Gets the premier add-ons of an app.

function listPremierAddOns(resourceGroupName: string, name: string, options?: WebAppsListPremierAddOnsOptionalParams): Promise<PremierAddOn>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListPremierAddOnsOptionalParams

The options parameters.

Returns

Promise<PremierAddOn>

listPremierAddOnsSlot(string, string, string, WebAppsListPremierAddOnsSlotOptionalParams)

Gets the premier add-ons of an app.

function listPremierAddOnsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListPremierAddOnsSlotOptionalParams): Promise<PremierAddOn>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the premier add-ons for the production slot.

options
WebAppsListPremierAddOnsSlotOptionalParams

The options parameters.

Returns

Promise<PremierAddOn>

listProcesses(string, string, WebAppsListProcessesOptionalParams)

Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

function listProcesses(resourceGroupName: string, name: string, options?: WebAppsListProcessesOptionalParams): PagedAsyncIterableIterator<ProcessInfo, ProcessInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

options
WebAppsListProcessesOptionalParams

The options parameters.

Returns

listProcessesSlot(string, string, string, WebAppsListProcessesSlotOptionalParams)

Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

function listProcessesSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListProcessesSlotOptionalParams): PagedAsyncIterableIterator<ProcessInfo, ProcessInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

options
WebAppsListProcessesSlotOptionalParams

The options parameters.

Returns

listProcessModules(string, string, string, WebAppsListProcessModulesOptionalParams)

List module information for a process by its ID for a specific scaled-out instance in a web site.

function listProcessModules(resourceGroupName: string, name: string, processId: string, options?: WebAppsListProcessModulesOptionalParams): PagedAsyncIterableIterator<ProcessModuleInfo, ProcessModuleInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

options
WebAppsListProcessModulesOptionalParams

The options parameters.

Returns

listProcessModulesSlot(string, string, string, string, WebAppsListProcessModulesSlotOptionalParams)

List module information for a process by its ID for a specific scaled-out instance in a web site.

function listProcessModulesSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: WebAppsListProcessModulesSlotOptionalParams): PagedAsyncIterableIterator<ProcessModuleInfo, ProcessModuleInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

options
WebAppsListProcessModulesSlotOptionalParams

The options parameters.

Returns

listProcessThreads(string, string, string, WebAppsListProcessThreadsOptionalParams)

List the threads in a process by its ID for a specific scaled-out instance in a web site.

function listProcessThreads(resourceGroupName: string, name: string, processId: string, options?: WebAppsListProcessThreadsOptionalParams): PagedAsyncIterableIterator<ProcessThreadInfo, ProcessThreadInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

options
WebAppsListProcessThreadsOptionalParams

The options parameters.

Returns

listProcessThreadsSlot(string, string, string, string, WebAppsListProcessThreadsSlotOptionalParams)

List the threads in a process by its ID for a specific scaled-out instance in a web site.

function listProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: WebAppsListProcessThreadsSlotOptionalParams): PagedAsyncIterableIterator<ProcessThreadInfo, ProcessThreadInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

processId

string

PID.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

options
WebAppsListProcessThreadsSlotOptionalParams

The options parameters.

Returns

listPublicCertificates(string, string, WebAppsListPublicCertificatesOptionalParams)

Get public certificates for an app or a deployment slot.

function listPublicCertificates(resourceGroupName: string, name: string, options?: WebAppsListPublicCertificatesOptionalParams): PagedAsyncIterableIterator<PublicCertificate, PublicCertificate[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListPublicCertificatesOptionalParams

The options parameters.

Returns

listPublicCertificatesSlot(string, string, string, WebAppsListPublicCertificatesSlotOptionalParams)

Get public certificates for an app or a deployment slot.

function listPublicCertificatesSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListPublicCertificatesSlotOptionalParams): PagedAsyncIterableIterator<PublicCertificate, PublicCertificate[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.

options
WebAppsListPublicCertificatesSlotOptionalParams

The options parameters.

Returns

listPublishingProfileXmlWithSecrets(string, string, CsmPublishingProfileOptions, WebAppsListPublishingProfileXmlWithSecretsOptionalParams)

Gets the publishing profile for an app (or deployment slot, if specified).

function listPublishingProfileXmlWithSecrets(resourceGroupName: string, name: string, publishingProfileOptions: CsmPublishingProfileOptions, options?: WebAppsListPublishingProfileXmlWithSecretsOptionalParams): Promise<WebAppsListPublishingProfileXmlWithSecretsResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

publishingProfileOptions
CsmPublishingProfileOptions

Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile.

Returns

listPublishingProfileXmlWithSecretsSlot(string, string, string, CsmPublishingProfileOptions, WebAppsListPublishingProfileXmlWithSecretsSlotOptionalParams)

Gets the publishing profile for an app (or deployment slot, if specified).

function listPublishingProfileXmlWithSecretsSlot(resourceGroupName: string, name: string, slot: string, publishingProfileOptions: CsmPublishingProfileOptions, options?: WebAppsListPublishingProfileXmlWithSecretsSlotOptionalParams): Promise<WebAppsListPublishingProfileXmlWithSecretsSlotResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get the publishing profile for the production slot.

publishingProfileOptions
CsmPublishingProfileOptions

Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile.

Returns

listRelayServiceConnections(string, string, WebAppsListRelayServiceConnectionsOptionalParams)

Gets hybrid connections configured for an app (or deployment slot, if specified).

function listRelayServiceConnections(resourceGroupName: string, name: string, options?: WebAppsListRelayServiceConnectionsOptionalParams): Promise<RelayServiceConnectionEntity>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListRelayServiceConnectionsOptionalParams

The options parameters.

Returns

listRelayServiceConnectionsSlot(string, string, string, WebAppsListRelayServiceConnectionsSlotOptionalParams)

Gets hybrid connections configured for an app (or deployment slot, if specified).

function listRelayServiceConnectionsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListRelayServiceConnectionsSlotOptionalParams): Promise<RelayServiceConnectionEntity>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get hybrid connections for the production slot.

Returns

listSiteExtensions(string, string, WebAppsListSiteExtensionsOptionalParams)

Get list of siteextensions for a web site, or a deployment slot.

function listSiteExtensions(resourceGroupName: string, name: string, options?: WebAppsListSiteExtensionsOptionalParams): PagedAsyncIterableIterator<SiteExtensionInfo, SiteExtensionInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

options
WebAppsListSiteExtensionsOptionalParams

The options parameters.

Returns

listSiteExtensionsSlot(string, string, string, WebAppsListSiteExtensionsSlotOptionalParams)

Get list of siteextensions for a web site, or a deployment slot.

function listSiteExtensionsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListSiteExtensionsSlotOptionalParams): PagedAsyncIterableIterator<SiteExtensionInfo, SiteExtensionInfo[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsListSiteExtensionsSlotOptionalParams

The options parameters.

Returns

listSitePushSettings(string, string, WebAppsListSitePushSettingsOptionalParams)

Gets the Push settings associated with web app.

function listSitePushSettings(resourceGroupName: string, name: string, options?: WebAppsListSitePushSettingsOptionalParams): Promise<PushSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

options
WebAppsListSitePushSettingsOptionalParams

The options parameters.

Returns

Promise<PushSettings>

listSitePushSettingsSlot(string, string, string, WebAppsListSitePushSettingsSlotOptionalParams)

Gets the Push settings associated with web app.

function listSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListSitePushSettingsSlotOptionalParams): Promise<PushSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

options
WebAppsListSitePushSettingsSlotOptionalParams

The options parameters.

Returns

Promise<PushSettings>

listSlotConfigurationNames(string, string, WebAppsListSlotConfigurationNamesOptionalParams)

Gets the names of app settings and connection strings that stick to the slot (not swapped).

function listSlotConfigurationNames(resourceGroupName: string, name: string, options?: WebAppsListSlotConfigurationNamesOptionalParams): Promise<SlotConfigNamesResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListSlotConfigurationNamesOptionalParams

The options parameters.

Returns

listSlotDifferencesFromProduction(string, string, CsmSlotEntity, WebAppsListSlotDifferencesFromProductionOptionalParams)

Get the difference in configuration settings between two web app slots.

function listSlotDifferencesFromProduction(resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, options?: WebAppsListSlotDifferencesFromProductionOptionalParams): PagedAsyncIterableIterator<SlotDifference, SlotDifference[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slotSwapEntity
CsmSlotEntity

JSON object that contains the target slot name. See example.

Returns

listSlotDifferencesSlot(string, string, string, CsmSlotEntity, WebAppsListSlotDifferencesSlotOptionalParams)

Get the difference in configuration settings between two web app slots.

function listSlotDifferencesSlot(resourceGroupName: string, name: string, slot: string, slotSwapEntity: CsmSlotEntity, options?: WebAppsListSlotDifferencesSlotOptionalParams): PagedAsyncIterableIterator<SlotDifference, SlotDifference[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the source slot. If a slot is not specified, the production slot is used as the source slot.

slotSwapEntity
CsmSlotEntity

JSON object that contains the target slot name. See example.

options
WebAppsListSlotDifferencesSlotOptionalParams

The options parameters.

Returns

listSlots(string, string, WebAppsListSlotsOptionalParams)

Gets an app's deployment slots.

function listSlots(resourceGroupName: string, name: string, options?: WebAppsListSlotsOptionalParams): PagedAsyncIterableIterator<Site, Site[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListSlotsOptionalParams

The options parameters.

Returns

listSnapshots(string, string, WebAppsListSnapshotsOptionalParams)

Returns all Snapshots to the user.

function listSnapshots(resourceGroupName: string, name: string, options?: WebAppsListSnapshotsOptionalParams): PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Website Name.

options
WebAppsListSnapshotsOptionalParams

The options parameters.

Returns

listSnapshotsFromDRSecondary(string, string, WebAppsListSnapshotsFromDRSecondaryOptionalParams)

Returns all Snapshots to the user from DRSecondary endpoint.

function listSnapshotsFromDRSecondary(resourceGroupName: string, name: string, options?: WebAppsListSnapshotsFromDRSecondaryOptionalParams): PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Website Name.

options
WebAppsListSnapshotsFromDRSecondaryOptionalParams

The options parameters.

Returns

listSnapshotsFromDRSecondarySlot(string, string, string, WebAppsListSnapshotsFromDRSecondarySlotOptionalParams)

Returns all Snapshots to the user from DRSecondary endpoint.

function listSnapshotsFromDRSecondarySlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListSnapshotsFromDRSecondarySlotOptionalParams): PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Website Name.

slot

string

Website Slot.

Returns

listSnapshotsSlot(string, string, string, WebAppsListSnapshotsSlotOptionalParams)

Returns all Snapshots to the user.

function listSnapshotsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListSnapshotsSlotOptionalParams): PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Website Name.

slot

string

Website Slot.

options
WebAppsListSnapshotsSlotOptionalParams

The options parameters.

Returns

listSyncFunctionTriggers(string, string, WebAppsListSyncFunctionTriggersOptionalParams)

This is to allow calling via powershell and ARM template.

function listSyncFunctionTriggers(resourceGroupName: string, name: string, options?: WebAppsListSyncFunctionTriggersOptionalParams): Promise<FunctionSecrets>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListSyncFunctionTriggersOptionalParams

The options parameters.

Returns

Promise<FunctionSecrets>

listSyncFunctionTriggersSlot(string, string, string, WebAppsListSyncFunctionTriggersSlotOptionalParams)

This is to allow calling via powershell and ARM template.

function listSyncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListSyncFunctionTriggersSlotOptionalParams): Promise<FunctionSecrets>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot.

options
WebAppsListSyncFunctionTriggersSlotOptionalParams

The options parameters.

Returns

Promise<FunctionSecrets>

listSyncStatus(string, string, WebAppsListSyncStatusOptionalParams)

This is to allow calling via powershell and ARM template.

function listSyncStatus(resourceGroupName: string, name: string, options?: WebAppsListSyncStatusOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListSyncStatusOptionalParams

The options parameters.

Returns

Promise<void>

listSyncStatusSlot(string, string, string, WebAppsListSyncStatusSlotOptionalParams)

This is to allow calling via powershell and ARM template.

function listSyncStatusSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListSyncStatusSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot.

options
WebAppsListSyncStatusSlotOptionalParams

The options parameters.

Returns

Promise<void>

listTriggeredWebJobHistory(string, string, string, WebAppsListTriggeredWebJobHistoryOptionalParams)

List a triggered web job's history for an app, or a deployment slot.

function listTriggeredWebJobHistory(resourceGroupName: string, name: string, webJobName: string, options?: WebAppsListTriggeredWebJobHistoryOptionalParams): PagedAsyncIterableIterator<TriggeredJobHistory, TriggeredJobHistory[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

options
WebAppsListTriggeredWebJobHistoryOptionalParams

The options parameters.

Returns

listTriggeredWebJobHistorySlot(string, string, string, string, WebAppsListTriggeredWebJobHistorySlotOptionalParams)

List a triggered web job's history for an app, or a deployment slot.

function listTriggeredWebJobHistorySlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: WebAppsListTriggeredWebJobHistorySlotOptionalParams): PagedAsyncIterableIterator<TriggeredJobHistory, TriggeredJobHistory[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsListTriggeredWebJobHistorySlotOptionalParams

The options parameters.

Returns

listTriggeredWebJobs(string, string, WebAppsListTriggeredWebJobsOptionalParams)

List triggered web jobs for an app, or a deployment slot.

function listTriggeredWebJobs(resourceGroupName: string, name: string, options?: WebAppsListTriggeredWebJobsOptionalParams): PagedAsyncIterableIterator<TriggeredWebJob, TriggeredWebJob[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

options
WebAppsListTriggeredWebJobsOptionalParams

The options parameters.

Returns

listTriggeredWebJobsSlot(string, string, string, WebAppsListTriggeredWebJobsSlotOptionalParams)

List triggered web jobs for an app, or a deployment slot.

function listTriggeredWebJobsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListTriggeredWebJobsSlotOptionalParams): PagedAsyncIterableIterator<TriggeredWebJob, TriggeredWebJob[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsListTriggeredWebJobsSlotOptionalParams

The options parameters.

Returns

listUsages(string, string, WebAppsListUsagesOptionalParams)

Gets the quota usage information of an app (or deployment slot, if specified).

function listUsages(resourceGroupName: string, name: string, options?: WebAppsListUsagesOptionalParams): PagedAsyncIterableIterator<CsmUsageQuota, CsmUsageQuota[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListUsagesOptionalParams

The options parameters.

Returns

listUsagesSlot(string, string, string, WebAppsListUsagesSlotOptionalParams)

Gets the quota usage information of an app (or deployment slot, if specified).

function listUsagesSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListUsagesSlotOptionalParams): PagedAsyncIterableIterator<CsmUsageQuota, CsmUsageQuota[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get quota information of the production slot.

options
WebAppsListUsagesSlotOptionalParams

The options parameters.

Returns

listVnetConnections(string, string, WebAppsListVnetConnectionsOptionalParams)

Gets the virtual networks the app (or deployment slot) is connected to.

function listVnetConnections(resourceGroupName: string, name: string, options?: WebAppsListVnetConnectionsOptionalParams): Promise<WebAppsListVnetConnectionsResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsListVnetConnectionsOptionalParams

The options parameters.

Returns

listVnetConnectionsSlot(string, string, string, WebAppsListVnetConnectionsSlotOptionalParams)

Gets the virtual networks the app (or deployment slot) is connected to.

function listVnetConnectionsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListVnetConnectionsSlotOptionalParams): Promise<WebAppsListVnetConnectionsSlotResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will get virtual network connections for the production slot.

options
WebAppsListVnetConnectionsSlotOptionalParams

The options parameters.

Returns

listWebJobs(string, string, WebAppsListWebJobsOptionalParams)

List webjobs for an app, or a deployment slot.

function listWebJobs(resourceGroupName: string, name: string, options?: WebAppsListWebJobsOptionalParams): PagedAsyncIterableIterator<WebJob, WebJob[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

options
WebAppsListWebJobsOptionalParams

The options parameters.

Returns

listWebJobsSlot(string, string, string, WebAppsListWebJobsSlotOptionalParams)

List webjobs for an app, or a deployment slot.

function listWebJobsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListWebJobsSlotOptionalParams): PagedAsyncIterableIterator<WebJob, WebJob[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

slot

string

Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.

options
WebAppsListWebJobsSlotOptionalParams

The options parameters.

Returns

putPrivateAccessVnet(string, string, PrivateAccess, WebAppsPutPrivateAccessVnetOptionalParams)

Sets data around private site access enablement and authorized Virtual Networks that can access the site.

function putPrivateAccessVnet(resourceGroupName: string, name: string, access: PrivateAccess, options?: WebAppsPutPrivateAccessVnetOptionalParams): Promise<PrivateAccess>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

access
PrivateAccess

The information for the private access

options
WebAppsPutPrivateAccessVnetOptionalParams

The options parameters.

Returns

Promise<PrivateAccess>

putPrivateAccessVnetSlot(string, string, string, PrivateAccess, WebAppsPutPrivateAccessVnetSlotOptionalParams)

Sets data around private site access enablement and authorized Virtual Networks that can access the site.

function putPrivateAccessVnetSlot(resourceGroupName: string, name: string, slot: string, access: PrivateAccess, options?: WebAppsPutPrivateAccessVnetSlotOptionalParams): Promise<PrivateAccess>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

slot

string

The name of the slot for the web app.

access
PrivateAccess

The information for the private access

options
WebAppsPutPrivateAccessVnetSlotOptionalParams

The options parameters.

Returns

Promise<PrivateAccess>

recoverSiteConfigurationSnapshot(string, string, string, WebAppsRecoverSiteConfigurationSnapshotOptionalParams)

Reverts the configuration of an app to a previous snapshot.

function recoverSiteConfigurationSnapshot(resourceGroupName: string, name: string, snapshotId: string, options?: WebAppsRecoverSiteConfigurationSnapshotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

snapshotId

string

The ID of the snapshot to read.

Returns

Promise<void>

recoverSiteConfigurationSnapshotSlot(string, string, string, string, WebAppsRecoverSiteConfigurationSnapshotSlotOptionalParams)

Reverts the configuration of an app to a previous snapshot.

function recoverSiteConfigurationSnapshotSlot(resourceGroupName: string, name: string, snapshotId: string, slot: string, options?: WebAppsRecoverSiteConfigurationSnapshotSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

snapshotId

string

The ID of the snapshot to read.

slot

string

Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.

Returns

Promise<void>

resetProductionSlotConfig(string, string, WebAppsResetProductionSlotConfigOptionalParams)

Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.

function resetProductionSlotConfig(resourceGroupName: string, name: string, options?: WebAppsResetProductionSlotConfigOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsResetProductionSlotConfigOptionalParams

The options parameters.

Returns

Promise<void>

resetSlotConfigurationSlot(string, string, string, WebAppsResetSlotConfigurationSlotOptionalParams)

Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.

function resetSlotConfigurationSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsResetSlotConfigurationSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API resets configuration settings for the production slot.

options
WebAppsResetSlotConfigurationSlotOptionalParams

The options parameters.

Returns

Promise<void>

restart(string, string, WebAppsRestartOptionalParams)

Restarts an app (or deployment slot, if specified).

function restart(resourceGroupName: string, name: string, options?: WebAppsRestartOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsRestartOptionalParams

The options parameters.

Returns

Promise<void>

restartSlot(string, string, string, WebAppsRestartSlotOptionalParams)

Restarts an app (or deployment slot, if specified).

function restartSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsRestartSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will restart the production slot.

options
WebAppsRestartSlotOptionalParams

The options parameters.

Returns

Promise<void>

runTriggeredWebJob(string, string, string, WebAppsRunTriggeredWebJobOptionalParams)

Run a triggered web job for an app, or a deployment slot.

function runTriggeredWebJob(resourceGroupName: string, name: string, webJobName: string, options?: WebAppsRunTriggeredWebJobOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

options
WebAppsRunTriggeredWebJobOptionalParams

The options parameters.

Returns

Promise<void>

runTriggeredWebJobSlot(string, string, string, string, WebAppsRunTriggeredWebJobSlotOptionalParams)

Run a triggered web job for an app, or a deployment slot.

function runTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: WebAppsRunTriggeredWebJobSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsRunTriggeredWebJobSlotOptionalParams

The options parameters.

Returns

Promise<void>

start(string, string, WebAppsStartOptionalParams)

Starts an app (or deployment slot, if specified).

function start(resourceGroupName: string, name: string, options?: WebAppsStartOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsStartOptionalParams

The options parameters.

Returns

Promise<void>

startContinuousWebJob(string, string, string, WebAppsStartContinuousWebJobOptionalParams)

Start a continuous web job for an app, or a deployment slot.

function startContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options?: WebAppsStartContinuousWebJobOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

options
WebAppsStartContinuousWebJobOptionalParams

The options parameters.

Returns

Promise<void>

startContinuousWebJobSlot(string, string, string, string, WebAppsStartContinuousWebJobSlotOptionalParams)

Start a continuous web job for an app, or a deployment slot.

function startContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: WebAppsStartContinuousWebJobSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsStartContinuousWebJobSlotOptionalParams

The options parameters.

Returns

Promise<void>

startSlot(string, string, string, WebAppsStartSlotOptionalParams)

Starts an app (or deployment slot, if specified).

function startSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsStartSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will start the production slot.

options
WebAppsStartSlotOptionalParams

The options parameters.

Returns

Promise<void>

startWebSiteNetworkTrace(string, string, WebAppsStartWebSiteNetworkTraceOptionalParams)

Start capturing network packets for the site (To be deprecated).

function startWebSiteNetworkTrace(resourceGroupName: string, name: string, options?: WebAppsStartWebSiteNetworkTraceOptionalParams): Promise<WebAppsStartWebSiteNetworkTraceResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

options
WebAppsStartWebSiteNetworkTraceOptionalParams

The options parameters.

Returns

startWebSiteNetworkTraceSlot(string, string, string, WebAppsStartWebSiteNetworkTraceSlotOptionalParams)

Start capturing network packets for the site (To be deprecated).

function startWebSiteNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsStartWebSiteNetworkTraceSlotOptionalParams): Promise<WebAppsStartWebSiteNetworkTraceSlotResponse>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

slot

string

The name of the slot for this web app.

options
WebAppsStartWebSiteNetworkTraceSlotOptionalParams

The options parameters.

Returns

stop(string, string, WebAppsStopOptionalParams)

Stops an app (or deployment slot, if specified).

function stop(resourceGroupName: string, name: string, options?: WebAppsStopOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsStopOptionalParams

The options parameters.

Returns

Promise<void>

stopContinuousWebJob(string, string, string, WebAppsStopContinuousWebJobOptionalParams)

Stop a continuous web job for an app, or a deployment slot.

function stopContinuousWebJob(resourceGroupName: string, name: string, webJobName: string, options?: WebAppsStopContinuousWebJobOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

options
WebAppsStopContinuousWebJobOptionalParams

The options parameters.

Returns

Promise<void>

stopContinuousWebJobSlot(string, string, string, string, WebAppsStopContinuousWebJobSlotOptionalParams)

Stop a continuous web job for an app, or a deployment slot.

function stopContinuousWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, options?: WebAppsStopContinuousWebJobSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Site name.

webJobName

string

Name of Web Job.

slot

string

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

options
WebAppsStopContinuousWebJobSlotOptionalParams

The options parameters.

Returns

Promise<void>

stopNetworkTrace(string, string, WebAppsStopNetworkTraceOptionalParams)

Stop ongoing capturing network packets for the site.

function stopNetworkTrace(resourceGroupName: string, name: string, options?: WebAppsStopNetworkTraceOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

options
WebAppsStopNetworkTraceOptionalParams

The options parameters.

Returns

Promise<void>

stopNetworkTraceSlot(string, string, string, WebAppsStopNetworkTraceSlotOptionalParams)

Stop ongoing capturing network packets for the site.

function stopNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsStopNetworkTraceSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

slot

string

The name of the slot for this web app.

options
WebAppsStopNetworkTraceSlotOptionalParams

The options parameters.

Returns

Promise<void>

stopSlot(string, string, string, WebAppsStopSlotOptionalParams)

Stops an app (or deployment slot, if specified).

function stopSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsStopSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will stop the production slot.

options
WebAppsStopSlotOptionalParams

The options parameters.

Returns

Promise<void>

stopWebSiteNetworkTrace(string, string, WebAppsStopWebSiteNetworkTraceOptionalParams)

Stop ongoing capturing network packets for the site.

function stopWebSiteNetworkTrace(resourceGroupName: string, name: string, options?: WebAppsStopWebSiteNetworkTraceOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

options
WebAppsStopWebSiteNetworkTraceOptionalParams

The options parameters.

Returns

Promise<void>

stopWebSiteNetworkTraceSlot(string, string, string, WebAppsStopWebSiteNetworkTraceSlotOptionalParams)

Stop ongoing capturing network packets for the site.

function stopWebSiteNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsStopWebSiteNetworkTraceSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

slot

string

The name of the slot for this web app.

options
WebAppsStopWebSiteNetworkTraceSlotOptionalParams

The options parameters.

Returns

Promise<void>

syncFunctions(string, string, WebAppsSyncFunctionsOptionalParams)

Syncs function trigger metadata to the management database

function syncFunctions(resourceGroupName: string, name: string, options?: WebAppsSyncFunctionsOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsSyncFunctionsOptionalParams

The options parameters.

Returns

Promise<void>

syncFunctionsSlot(string, string, string, WebAppsSyncFunctionsSlotOptionalParams)

Syncs function trigger metadata to the management database

function syncFunctionsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsSyncFunctionsSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot.

options
WebAppsSyncFunctionsSlotOptionalParams

The options parameters.

Returns

Promise<void>

syncFunctionTriggers(string, string, WebAppsSyncFunctionTriggersOptionalParams)

Syncs function trigger metadata to the management database

function syncFunctionTriggers(resourceGroupName: string, name: string, options?: WebAppsSyncFunctionTriggersOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

options
WebAppsSyncFunctionTriggersOptionalParams

The options parameters.

Returns

Promise<void>

syncFunctionTriggersSlot(string, string, string, WebAppsSyncFunctionTriggersSlotOptionalParams)

Syncs function trigger metadata to the management database

function syncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsSyncFunctionTriggersSlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot.

options
WebAppsSyncFunctionTriggersSlotOptionalParams

The options parameters.

Returns

Promise<void>

syncRepository(string, string, WebAppsSyncRepositoryOptionalParams)

Sync web app repository.

function syncRepository(resourceGroupName: string, name: string, options?: WebAppsSyncRepositoryOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

options
WebAppsSyncRepositoryOptionalParams

The options parameters.

Returns

Promise<void>

syncRepositorySlot(string, string, string, WebAppsSyncRepositorySlotOptionalParams)

Sync web app repository.

function syncRepositorySlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsSyncRepositorySlotOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

options
WebAppsSyncRepositorySlotOptionalParams

The options parameters.

Returns

Promise<void>

update(string, string, SitePatchResource, WebAppsUpdateOptionalParams)

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

function update(resourceGroupName: string, name: string, siteEnvelope: SitePatchResource, options?: WebAppsUpdateOptionalParams): Promise<Site>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.

siteEnvelope
SitePatchResource

A JSON representation of the app properties. See example.

options
WebAppsUpdateOptionalParams

The options parameters.

Returns

Promise<Site>

updateApplicationSettings(string, string, StringDictionary, WebAppsUpdateApplicationSettingsOptionalParams)

Replaces the application settings of an app.

function updateApplicationSettings(resourceGroupName: string, name: string, appSettings: StringDictionary, options?: WebAppsUpdateApplicationSettingsOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

appSettings
StringDictionary

Application settings of the app.

options
WebAppsUpdateApplicationSettingsOptionalParams

The options parameters.

Returns

Promise<StringDictionary>

updateApplicationSettingsSlot(string, string, string, StringDictionary, WebAppsUpdateApplicationSettingsSlotOptionalParams)

Replaces the application settings of an app.

function updateApplicationSettingsSlot(resourceGroupName: string, name: string, slot: string, appSettings: StringDictionary, options?: WebAppsUpdateApplicationSettingsSlotOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update the application settings for the production slot.

appSettings
StringDictionary

Application settings of the app.

options
WebAppsUpdateApplicationSettingsSlotOptionalParams

The options parameters.

Returns

Promise<StringDictionary>

updateAuthSettings(string, string, SiteAuthSettings, WebAppsUpdateAuthSettingsOptionalParams)

Updates the Authentication / Authorization settings associated with web app.

function updateAuthSettings(resourceGroupName: string, name: string, siteAuthSettings: SiteAuthSettings, options?: WebAppsUpdateAuthSettingsOptionalParams): Promise<SiteAuthSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

siteAuthSettings
SiteAuthSettings

Auth settings associated with web app.

options
WebAppsUpdateAuthSettingsOptionalParams

The options parameters.

Returns

Promise<SiteAuthSettings>

updateAuthSettingsSlot(string, string, string, SiteAuthSettings, WebAppsUpdateAuthSettingsSlotOptionalParams)

Updates the Authentication / Authorization settings associated with web app.

function updateAuthSettingsSlot(resourceGroupName: string, name: string, slot: string, siteAuthSettings: SiteAuthSettings, options?: WebAppsUpdateAuthSettingsSlotOptionalParams): Promise<SiteAuthSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

siteAuthSettings
SiteAuthSettings

Auth settings associated with web app.

options
WebAppsUpdateAuthSettingsSlotOptionalParams

The options parameters.

Returns

Promise<SiteAuthSettings>

updateAzureStorageAccounts(string, string, AzureStoragePropertyDictionaryResource, WebAppsUpdateAzureStorageAccountsOptionalParams)

Updates the Azure storage account configurations of an app.

function updateAzureStorageAccounts(resourceGroupName: string, name: string, azureStorageAccounts: AzureStoragePropertyDictionaryResource, options?: WebAppsUpdateAzureStorageAccountsOptionalParams): Promise<AzureStoragePropertyDictionaryResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

azureStorageAccounts
AzureStoragePropertyDictionaryResource

Azure storage accounts of the app.

options
WebAppsUpdateAzureStorageAccountsOptionalParams

The options parameters.

Returns

updateAzureStorageAccountsSlot(string, string, string, AzureStoragePropertyDictionaryResource, WebAppsUpdateAzureStorageAccountsSlotOptionalParams)

Updates the Azure storage account configurations of an app.

function updateAzureStorageAccountsSlot(resourceGroupName: string, name: string, slot: string, azureStorageAccounts: AzureStoragePropertyDictionaryResource, options?: WebAppsUpdateAzureStorageAccountsSlotOptionalParams): Promise<AzureStoragePropertyDictionaryResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot.

azureStorageAccounts
AzureStoragePropertyDictionaryResource

Azure storage accounts of the app.

options
WebAppsUpdateAzureStorageAccountsSlotOptionalParams

The options parameters.

Returns

updateBackupConfiguration(string, string, BackupRequest, WebAppsUpdateBackupConfigurationOptionalParams)

Updates the backup configuration of an app.

function updateBackupConfiguration(resourceGroupName: string, name: string, request: BackupRequest, options?: WebAppsUpdateBackupConfigurationOptionalParams): Promise<BackupRequest>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

request
BackupRequest

Edited backup configuration.

options
WebAppsUpdateBackupConfigurationOptionalParams

The options parameters.

Returns

Promise<BackupRequest>

updateBackupConfigurationSlot(string, string, string, BackupRequest, WebAppsUpdateBackupConfigurationSlotOptionalParams)

Updates the backup configuration of an app.

function updateBackupConfigurationSlot(resourceGroupName: string, name: string, slot: string, request: BackupRequest, options?: WebAppsUpdateBackupConfigurationSlotOptionalParams): Promise<BackupRequest>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.

request
BackupRequest

Edited backup configuration.

options
WebAppsUpdateBackupConfigurationSlotOptionalParams

The options parameters.

Returns

Promise<BackupRequest>

updateConfiguration(string, string, SiteConfigResource, WebAppsUpdateConfigurationOptionalParams)

Updates the configuration of an app.

function updateConfiguration(resourceGroupName: string, name: string, siteConfig: SiteConfigResource, options?: WebAppsUpdateConfigurationOptionalParams): Promise<SiteConfigResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

siteConfig
SiteConfigResource

JSON representation of a SiteConfig object. See example.

options
WebAppsUpdateConfigurationOptionalParams

The options parameters.

Returns

updateConfigurationSlot(string, string, string, SiteConfigResource, WebAppsUpdateConfigurationSlotOptionalParams)

Updates the configuration of an app.

function updateConfigurationSlot(resourceGroupName: string, name: string, slot: string, siteConfig: SiteConfigResource, options?: WebAppsUpdateConfigurationSlotOptionalParams): Promise<SiteConfigResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.

siteConfig
SiteConfigResource

JSON representation of a SiteConfig object. See example.

options
WebAppsUpdateConfigurationSlotOptionalParams

The options parameters.

Returns

updateConnectionStrings(string, string, ConnectionStringDictionary, WebAppsUpdateConnectionStringsOptionalParams)

Replaces the connection strings of an app.

function updateConnectionStrings(resourceGroupName: string, name: string, connectionStrings: ConnectionStringDictionary, options?: WebAppsUpdateConnectionStringsOptionalParams): Promise<ConnectionStringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

connectionStrings
ConnectionStringDictionary

Connection strings of the app or deployment slot. See example.

options
WebAppsUpdateConnectionStringsOptionalParams

The options parameters.

Returns

updateConnectionStringsSlot(string, string, string, ConnectionStringDictionary, WebAppsUpdateConnectionStringsSlotOptionalParams)

Replaces the connection strings of an app.

function updateConnectionStringsSlot(resourceGroupName: string, name: string, slot: string, connectionStrings: ConnectionStringDictionary, options?: WebAppsUpdateConnectionStringsSlotOptionalParams): Promise<ConnectionStringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update the connection settings for the production slot.

connectionStrings
ConnectionStringDictionary

Connection strings of the app or deployment slot. See example.

options
WebAppsUpdateConnectionStringsSlotOptionalParams

The options parameters.

Returns

updateDiagnosticLogsConfig(string, string, SiteLogsConfig, WebAppsUpdateDiagnosticLogsConfigOptionalParams)

Updates the logging configuration of an app.

function updateDiagnosticLogsConfig(resourceGroupName: string, name: string, siteLogsConfig: SiteLogsConfig, options?: WebAppsUpdateDiagnosticLogsConfigOptionalParams): Promise<SiteLogsConfig>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

siteLogsConfig
SiteLogsConfig

A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property.

options
WebAppsUpdateDiagnosticLogsConfigOptionalParams

The options parameters.

Returns

Promise<SiteLogsConfig>

updateDiagnosticLogsConfigSlot(string, string, string, SiteLogsConfig, WebAppsUpdateDiagnosticLogsConfigSlotOptionalParams)

Updates the logging configuration of an app.

function updateDiagnosticLogsConfigSlot(resourceGroupName: string, name: string, slot: string, siteLogsConfig: SiteLogsConfig, options?: WebAppsUpdateDiagnosticLogsConfigSlotOptionalParams): Promise<SiteLogsConfig>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot.

siteLogsConfig
SiteLogsConfig

A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property.

options
WebAppsUpdateDiagnosticLogsConfigSlotOptionalParams

The options parameters.

Returns

Promise<SiteLogsConfig>

updateDomainOwnershipIdentifier(string, string, string, Identifier, WebAppsUpdateDomainOwnershipIdentifierOptionalParams)

Creates a domain ownership identifier for web app, or updates an existing ownership identifier.

function updateDomainOwnershipIdentifier(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, domainOwnershipIdentifier: Identifier, options?: WebAppsUpdateDomainOwnershipIdentifierOptionalParams): Promise<Identifier>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

domainOwnershipIdentifierName

string

Name of domain ownership identifier.

domainOwnershipIdentifier
Identifier

A JSON representation of the domain ownership properties.

Returns

Promise<Identifier>

updateDomainOwnershipIdentifierSlot(string, string, string, string, Identifier, WebAppsUpdateDomainOwnershipIdentifierSlotOptionalParams)

Creates a domain ownership identifier for web app, or updates an existing ownership identifier.

function updateDomainOwnershipIdentifierSlot(resourceGroupName: string, name: string, domainOwnershipIdentifierName: string, slot: string, domainOwnershipIdentifier: Identifier, options?: WebAppsUpdateDomainOwnershipIdentifierSlotOptionalParams): Promise<Identifier>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

domainOwnershipIdentifierName

string

Name of domain ownership identifier.

slot

string

Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.

domainOwnershipIdentifier
Identifier

A JSON representation of the domain ownership properties.

Returns

Promise<Identifier>

updateHybridConnection(string, string, string, string, HybridConnection, WebAppsUpdateHybridConnectionOptionalParams)

Creates a new Hybrid Connection using a Service Bus relay.

function updateHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: HybridConnection, options?: WebAppsUpdateHybridConnectionOptionalParams): Promise<HybridConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

namespaceName

string

The namespace for this hybrid connection.

relayName

string

The relay name for this hybrid connection.

connectionEnvelope
HybridConnection

The details of the hybrid connection.

options
WebAppsUpdateHybridConnectionOptionalParams

The options parameters.

Returns

Promise<HybridConnection>

updateHybridConnectionSlot(string, string, string, string, string, HybridConnection, WebAppsUpdateHybridConnectionSlotOptionalParams)

Creates a new Hybrid Connection using a Service Bus relay.

function updateHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, connectionEnvelope: HybridConnection, options?: WebAppsUpdateHybridConnectionSlotOptionalParams): Promise<HybridConnection>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

The name of the web app.

namespaceName

string

The namespace for this hybrid connection.

relayName

string

The relay name for this hybrid connection.

slot

string

The name of the slot for the web app.

connectionEnvelope
HybridConnection

The details of the hybrid connection.

options
WebAppsUpdateHybridConnectionSlotOptionalParams

The options parameters.

Returns

Promise<HybridConnection>

updateMetadata(string, string, StringDictionary, WebAppsUpdateMetadataOptionalParams)

Replaces the metadata of an app.

function updateMetadata(resourceGroupName: string, name: string, metadata: StringDictionary, options?: WebAppsUpdateMetadataOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

metadata
StringDictionary

Edited metadata of the app or deployment slot. See example.

options
WebAppsUpdateMetadataOptionalParams

The options parameters.

Returns

Promise<StringDictionary>

updateMetadataSlot(string, string, string, StringDictionary, WebAppsUpdateMetadataSlotOptionalParams)

Replaces the metadata of an app.

function updateMetadataSlot(resourceGroupName: string, name: string, slot: string, metadata: StringDictionary, options?: WebAppsUpdateMetadataSlotOptionalParams): Promise<StringDictionary>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production slot.

metadata
StringDictionary

Edited metadata of the app or deployment slot. See example.

options
WebAppsUpdateMetadataSlotOptionalParams

The options parameters.

Returns

Promise<StringDictionary>

updatePremierAddOn(string, string, string, PremierAddOnPatchResource, WebAppsUpdatePremierAddOnOptionalParams)

Updates a named add-on of an app.

function updatePremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: PremierAddOnPatchResource, options?: WebAppsUpdatePremierAddOnOptionalParams): Promise<PremierAddOn>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

premierAddOnName

string

Add-on name.

premierAddOn
PremierAddOnPatchResource

A JSON representation of the edited premier add-on.

options
WebAppsUpdatePremierAddOnOptionalParams

The options parameters.

Returns

Promise<PremierAddOn>

updatePremierAddOnSlot(string, string, string, string, PremierAddOnPatchResource, WebAppsUpdatePremierAddOnSlotOptionalParams)

Updates a named add-on of an app.

function updatePremierAddOnSlot(resourceGroupName: string, name: string, premierAddOnName: string, slot: string, premierAddOn: PremierAddOnPatchResource, options?: WebAppsUpdatePremierAddOnSlotOptionalParams): Promise<PremierAddOn>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

premierAddOnName

string

Add-on name.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot.

premierAddOn
PremierAddOnPatchResource

A JSON representation of the edited premier add-on.

options
WebAppsUpdatePremierAddOnSlotOptionalParams

The options parameters.

Returns

Promise<PremierAddOn>

updateRelayServiceConnection(string, string, string, RelayServiceConnectionEntity, WebAppsUpdateRelayServiceConnectionOptionalParams)

Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).

function updateRelayServiceConnection(resourceGroupName: string, name: string, entityName: string, connectionEnvelope: RelayServiceConnectionEntity, options?: WebAppsUpdateRelayServiceConnectionOptionalParams): Promise<RelayServiceConnectionEntity>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

entityName

string

Name of the hybrid connection configuration.

connectionEnvelope
RelayServiceConnectionEntity

Details of the hybrid connection configuration.

options
WebAppsUpdateRelayServiceConnectionOptionalParams

The options parameters.

Returns

updateRelayServiceConnectionSlot(string, string, string, string, RelayServiceConnectionEntity, WebAppsUpdateRelayServiceConnectionSlotOptionalParams)

Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).

function updateRelayServiceConnectionSlot(resourceGroupName: string, name: string, entityName: string, slot: string, connectionEnvelope: RelayServiceConnectionEntity, options?: WebAppsUpdateRelayServiceConnectionSlotOptionalParams): Promise<RelayServiceConnectionEntity>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

entityName

string

Name of the hybrid connection configuration.

slot

string

Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.

connectionEnvelope
RelayServiceConnectionEntity

Details of the hybrid connection configuration.

Returns

updateSitePushSettings(string, string, PushSettings, WebAppsUpdateSitePushSettingsOptionalParams)

Updates the Push settings associated with web app.

function updateSitePushSettings(resourceGroupName: string, name: string, pushSettings: PushSettings, options?: WebAppsUpdateSitePushSettingsOptionalParams): Promise<PushSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

pushSettings
PushSettings

Push settings associated with web app.

options
WebAppsUpdateSitePushSettingsOptionalParams

The options parameters.

Returns

Promise<PushSettings>

updateSitePushSettingsSlot(string, string, string, PushSettings, WebAppsUpdateSitePushSettingsSlotOptionalParams)

Updates the Push settings associated with web app.

function updateSitePushSettingsSlot(resourceGroupName: string, name: string, slot: string, pushSettings: PushSettings, options?: WebAppsUpdateSitePushSettingsSlotOptionalParams): Promise<PushSettings>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of web app.

slot

string

Name of web app slot. If not specified then will default to production slot.

pushSettings
PushSettings

Push settings associated with web app.

options
WebAppsUpdateSitePushSettingsSlotOptionalParams

The options parameters.

Returns

Promise<PushSettings>

updateSlot(string, string, string, SitePatchResource, WebAppsUpdateSlotOptionalParams)

Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

function updateSlot(resourceGroupName: string, name: string, slot: string, siteEnvelope: SitePatchResource, options?: WebAppsUpdateSlotOptionalParams): Promise<Site>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.

slot

string

Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot.

siteEnvelope
SitePatchResource

A JSON representation of the app properties. See example.

options
WebAppsUpdateSlotOptionalParams

The options parameters.

Returns

Promise<Site>

updateSlotConfigurationNames(string, string, SlotConfigNamesResource, WebAppsUpdateSlotConfigurationNamesOptionalParams)

Updates the names of application settings and connection string that remain with the slot during swap operation.

function updateSlotConfigurationNames(resourceGroupName: string, name: string, slotConfigNames: SlotConfigNamesResource, options?: WebAppsUpdateSlotConfigurationNamesOptionalParams): Promise<SlotConfigNamesResource>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slotConfigNames
SlotConfigNamesResource

Names of application settings and connection strings. See example.

options
WebAppsUpdateSlotConfigurationNamesOptionalParams

The options parameters.

Returns

updateSourceControl(string, string, SiteSourceControl, WebAppsUpdateSourceControlOptionalParams)

Updates the source control configuration of an app.

function updateSourceControl(resourceGroupName: string, name: string, siteSourceControl: SiteSourceControl, options?: WebAppsUpdateSourceControlOptionalParams): Promise<SiteSourceControl>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

siteSourceControl
SiteSourceControl

JSON representation of a SiteSourceControl object. See example.

options
WebAppsUpdateSourceControlOptionalParams

The options parameters.

Returns

updateSourceControlSlot(string, string, string, SiteSourceControl, WebAppsUpdateSourceControlSlotOptionalParams)

Updates the source control configuration of an app.

function updateSourceControlSlot(resourceGroupName: string, name: string, slot: string, siteSourceControl: SiteSourceControl, options?: WebAppsUpdateSourceControlSlotOptionalParams): Promise<SiteSourceControl>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will update the source control configuration for the production slot.

siteSourceControl
SiteSourceControl

JSON representation of a SiteSourceControl object. See example.

options
WebAppsUpdateSourceControlSlotOptionalParams

The options parameters.

Returns

updateSwiftVirtualNetworkConnection(string, string, SwiftVirtualNetwork, WebAppsUpdateSwiftVirtualNetworkConnectionOptionalParams)

Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in.

function updateSwiftVirtualNetworkConnection(resourceGroupName: string, name: string, connectionEnvelope: SwiftVirtualNetwork, options?: WebAppsUpdateSwiftVirtualNetworkConnectionOptionalParams): Promise<SwiftVirtualNetwork>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

connectionEnvelope
SwiftVirtualNetwork

Properties of the Virtual Network connection. See example.

Returns

updateSwiftVirtualNetworkConnectionSlot(string, string, string, SwiftVirtualNetwork, WebAppsUpdateSwiftVirtualNetworkConnectionSlotOptionalParams)

Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not in use by another App Service Plan other than the one this App is in.

function updateSwiftVirtualNetworkConnectionSlot(resourceGroupName: string, name: string, slot: string, connectionEnvelope: SwiftVirtualNetwork, options?: WebAppsUpdateSwiftVirtualNetworkConnectionSlotOptionalParams): Promise<SwiftVirtualNetwork>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

slot

string

Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.

connectionEnvelope
SwiftVirtualNetwork

Properties of the Virtual Network connection. See example.

Returns

updateVnetConnection(string, string, string, VnetInfo, WebAppsUpdateVnetConnectionOptionalParams)

Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).

function updateVnetConnection(resourceGroupName: string, name: string, vnetName: string, connectionEnvelope: VnetInfo, options?: WebAppsUpdateVnetConnectionOptionalParams): Promise<VnetInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of an existing Virtual Network.

connectionEnvelope
VnetInfo

Properties of the Virtual Network connection. See example.

options
WebAppsUpdateVnetConnectionOptionalParams

The options parameters.

Returns

Promise<VnetInfo>

updateVnetConnectionGateway(string, string, string, string, VnetGateway, WebAppsUpdateVnetConnectionGatewayOptionalParams)

Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).

function updateVnetConnectionGateway(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, connectionEnvelope: VnetGateway, options?: WebAppsUpdateVnetConnectionGatewayOptionalParams): Promise<VnetGateway>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of the Virtual Network.

gatewayName

string

Name of the gateway. Currently, the only supported string is "primary".

connectionEnvelope
VnetGateway

The properties to update this gateway with.

options
WebAppsUpdateVnetConnectionGatewayOptionalParams

The options parameters.

Returns

Promise<VnetGateway>

updateVnetConnectionGatewaySlot(string, string, string, string, string, VnetGateway, WebAppsUpdateVnetConnectionGatewaySlotOptionalParams)

Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).

function updateVnetConnectionGatewaySlot(resourceGroupName: string, name: string, vnetName: string, gatewayName: string, slot: string, connectionEnvelope: VnetGateway, options?: WebAppsUpdateVnetConnectionGatewaySlotOptionalParams): Promise<VnetGateway>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of the Virtual Network.

gatewayName

string

Name of the gateway. Currently, the only supported string is "primary".

slot

string

Name of the deployment slot. If a slot is not specified, the API will add or update a gateway for the production slot's Virtual Network.

connectionEnvelope
VnetGateway

The properties to update this gateway with.

Returns

Promise<VnetGateway>

updateVnetConnectionSlot(string, string, string, string, VnetInfo, WebAppsUpdateVnetConnectionSlotOptionalParams)

Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).

function updateVnetConnectionSlot(resourceGroupName: string, name: string, vnetName: string, slot: string, connectionEnvelope: VnetInfo, options?: WebAppsUpdateVnetConnectionSlotOptionalParams): Promise<VnetInfo>

Parameters

resourceGroupName

string

Name of the resource group to which the resource belongs.

name

string

Name of the app.

vnetName

string

Name of an existing Virtual Network.

slot

string

Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.

connectionEnvelope
VnetInfo

Properties of the Virtual Network connection. See example.

options
WebAppsUpdateVnetConnectionSlotOptionalParams

The options parameters.

Returns

Promise<VnetInfo>