WebApps interface
Interface representing a WebApps.
Methods
Method Details
addPremierAddOn(string, string, string, PremierAddOn, WebAppsAddPremierAddOnOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PremierAddOn>
addPremierAddOnSlot(string, string, string, string, PremierAddOn, WebAppsAddPremierAddOnSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PremierAddOn>
analyzeCustomHostname(string, string, WebAppsAnalyzeCustomHostnameOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<CustomHostnameAnalysisResult>
analyzeCustomHostnameSlot(string, string, string, WebAppsAnalyzeCustomHostnameSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<CustomHostnameAnalysisResult>
applySlotConfigToProduction(string, string, CsmSlotEntity, WebAppsApplySlotConfigToProductionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
applySlotConfigurationSlot(string, string, string, CsmSlotEntity, WebAppsApplySlotConfigurationSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
backup(string, string, BackupRequest, WebAppsBackupOptionalParams)
Description for 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)
Description for 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>
beginApproveOrRejectPrivateEndpointConnection(string, string, string, RemotePrivateEndpointConnectionARMResource, WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams)
Description for Approves or rejects a private endpoint connection
function beginApproveOrRejectPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise<SimplePollerLike<OperationState<RemotePrivateEndpointConnectionARMResource>, RemotePrivateEndpointConnectionARMResource>>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
- privateEndpointConnectionName
-
string
- privateEndpointWrapper
- RemotePrivateEndpointConnectionARMResource
Remote Private Endpoint Connection ARM resource.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<RemotePrivateEndpointConnectionARMResource>, RemotePrivateEndpointConnectionARMResource>>
beginApproveOrRejectPrivateEndpointConnectionAndWait(string, string, string, RemotePrivateEndpointConnectionARMResource, WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams)
Description for Approves or rejects a private endpoint connection
function beginApproveOrRejectPrivateEndpointConnectionAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: WebAppsApproveOrRejectPrivateEndpointConnectionOptionalParams): Promise<RemotePrivateEndpointConnectionARMResource>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
- privateEndpointConnectionName
-
string
- privateEndpointWrapper
- RemotePrivateEndpointConnectionARMResource
Remote Private Endpoint Connection ARM resource.
The options parameters.
Returns
beginApproveOrRejectPrivateEndpointConnectionSlot(string, string, string, string, RemotePrivateEndpointConnectionARMResource, WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams)
Description for Approves or rejects a private endpoint connection
function beginApproveOrRejectPrivateEndpointConnectionSlot(resourceGroupName: string, name: string, privateEndpointConnectionName: string, slot: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams): Promise<SimplePollerLike<OperationState<RemotePrivateEndpointConnectionARMResource>, RemotePrivateEndpointConnectionARMResource>>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
- privateEndpointConnectionName
-
string
- slot
-
string
- privateEndpointWrapper
- RemotePrivateEndpointConnectionARMResource
Remote Private Endpoint Connection ARM resource.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<RemotePrivateEndpointConnectionARMResource>, RemotePrivateEndpointConnectionARMResource>>
beginApproveOrRejectPrivateEndpointConnectionSlotAndWait(string, string, string, string, RemotePrivateEndpointConnectionARMResource, WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams)
Description for Approves or rejects a private endpoint connection
function beginApproveOrRejectPrivateEndpointConnectionSlotAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, slot: string, privateEndpointWrapper: RemotePrivateEndpointConnectionARMResource, options?: WebAppsApproveOrRejectPrivateEndpointConnectionSlotOptionalParams): Promise<RemotePrivateEndpointConnectionARMResource>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
- privateEndpointConnectionName
-
string
- slot
-
string
- privateEndpointWrapper
- RemotePrivateEndpointConnectionARMResource
Remote Private Endpoint Connection ARM resource.
The options parameters.
Returns
beginCreateFunction(string, string, string, FunctionEnvelope, WebAppsCreateFunctionOptionalParams)
Description for Create function for web site, or a deployment slot.
function beginCreateFunction(resourceGroupName: string, name: string, functionName: string, functionEnvelope: FunctionEnvelope, options?: WebAppsCreateFunctionOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<FunctionEnvelope>, FunctionEnvelope>>
beginCreateFunctionAndWait(string, string, string, FunctionEnvelope, WebAppsCreateFunctionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<FunctionEnvelope>
beginCreateInstanceFunctionSlot(string, string, string, string, FunctionEnvelope, WebAppsCreateInstanceFunctionSlotOptionalParams)
Description for Create function for web site, or a deployment slot.
function beginCreateInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, functionEnvelope: FunctionEnvelope, options?: WebAppsCreateInstanceFunctionSlotOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<FunctionEnvelope>, FunctionEnvelope>>
beginCreateInstanceFunctionSlotAndWait(string, string, string, string, FunctionEnvelope, WebAppsCreateInstanceFunctionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<FunctionEnvelope>
beginCreateInstanceMSDeployOperation(string, string, string, MSDeploy, WebAppsCreateInstanceMSDeployOperationOptionalParams)
Description for Invoke the MSDeploy web app extension.
function beginCreateInstanceMSDeployOperation(resourceGroupName: string, name: string, instanceId: string, mSDeploy: MSDeploy, options?: WebAppsCreateInstanceMSDeployOperationOptionalParams): Promise<SimplePollerLike<OperationState<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
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<MSDeployStatus>, MSDeployStatus>>
beginCreateInstanceMSDeployOperationAndWait(string, string, string, MSDeploy, WebAppsCreateInstanceMSDeployOperationOptionalParams)
Description for 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
The options parameters.
Returns
Promise<MSDeployStatus>
beginCreateInstanceMSDeployOperationSlot(string, string, string, string, MSDeploy, WebAppsCreateInstanceMSDeployOperationSlotOptionalParams)
Description for Invoke the MSDeploy web app extension.
function beginCreateInstanceMSDeployOperationSlot(resourceGroupName: string, name: string, slot: string, instanceId: string, mSDeploy: MSDeploy, options?: WebAppsCreateInstanceMSDeployOperationSlotOptionalParams): Promise<SimplePollerLike<OperationState<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
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<MSDeployStatus>, MSDeployStatus>>
beginCreateInstanceMSDeployOperationSlotAndWait(string, string, string, string, MSDeploy, WebAppsCreateInstanceMSDeployOperationSlotOptionalParams)
Description for 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
The options parameters.
Returns
Promise<MSDeployStatus>
beginCreateMSDeployOperation(string, string, MSDeploy, WebAppsCreateMSDeployOperationOptionalParams)
Description for Invoke the MSDeploy web app extension.
function beginCreateMSDeployOperation(resourceGroupName: string, name: string, mSDeploy: MSDeploy, options?: WebAppsCreateMSDeployOperationOptionalParams): Promise<SimplePollerLike<OperationState<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
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<MSDeployStatus>, MSDeployStatus>>
beginCreateMSDeployOperationAndWait(string, string, MSDeploy, WebAppsCreateMSDeployOperationOptionalParams)
Description for 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
The options parameters.
Returns
Promise<MSDeployStatus>
beginCreateMSDeployOperationSlot(string, string, string, MSDeploy, WebAppsCreateMSDeployOperationSlotOptionalParams)
Description for Invoke the MSDeploy web app extension.
function beginCreateMSDeployOperationSlot(resourceGroupName: string, name: string, slot: string, mSDeploy: MSDeploy, options?: WebAppsCreateMSDeployOperationSlotOptionalParams): Promise<SimplePollerLike<OperationState<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
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<MSDeployStatus>, MSDeployStatus>>
beginCreateMSDeployOperationSlotAndWait(string, string, string, MSDeploy, WebAppsCreateMSDeployOperationSlotOptionalParams)
Description for 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
The options parameters.
Returns
Promise<MSDeployStatus>
beginCreateOrUpdate(string, string, Site, WebAppsCreateOrUpdateOptionalParams)
Description for 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<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Site>, Site>>
beginCreateOrUpdateAndWait(string, string, Site, WebAppsCreateOrUpdateOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Site>
beginCreateOrUpdateSlot(string, string, string, Site, WebAppsCreateOrUpdateSlotOptionalParams)
Description for 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<SimplePollerLike<OperationState<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. By default, this API attempts to create or modify the production slot.
- siteEnvelope
- Site
A JSON representation of the app properties. See example.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Site>, Site>>
beginCreateOrUpdateSlotAndWait(string, string, string, Site, WebAppsCreateOrUpdateSlotOptionalParams)
Description for 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. By default, this API attempts to create or modify the production slot.
- siteEnvelope
- Site
A JSON representation of the app properties. See example.
The options parameters.
Returns
Promise<Site>
beginCreateOrUpdateSourceControl(string, string, SiteSourceControl, WebAppsCreateOrUpdateSourceControlOptionalParams)
Description for Updates the source control configuration of an app.
function beginCreateOrUpdateSourceControl(resourceGroupName: string, name: string, siteSourceControl: SiteSourceControl, options?: WebAppsCreateOrUpdateSourceControlOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<SiteSourceControl>, SiteSourceControl>>
beginCreateOrUpdateSourceControlAndWait(string, string, SiteSourceControl, WebAppsCreateOrUpdateSourceControlOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteSourceControl>
beginCreateOrUpdateSourceControlSlot(string, string, string, SiteSourceControl, WebAppsCreateOrUpdateSourceControlSlotOptionalParams)
Description for Updates the source control configuration of an app.
function beginCreateOrUpdateSourceControlSlot(resourceGroupName: string, name: string, slot: string, siteSourceControl: SiteSourceControl, options?: WebAppsCreateOrUpdateSourceControlSlotOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<SiteSourceControl>, SiteSourceControl>>
beginCreateOrUpdateSourceControlSlotAndWait(string, string, string, SiteSourceControl, WebAppsCreateOrUpdateSourceControlSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteSourceControl>
beginDeletePrivateEndpointConnection(string, string, string, WebAppsDeletePrivateEndpointConnectionOptionalParams)
Description for Deletes a private endpoint connection
function beginDeletePrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: WebAppsDeletePrivateEndpointConnectionOptionalParams): Promise<SimplePollerLike<OperationState<WebAppsDeletePrivateEndpointConnectionResponse>, WebAppsDeletePrivateEndpointConnectionResponse>>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
- privateEndpointConnectionName
-
string
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<WebAppsDeletePrivateEndpointConnectionResponse>, WebAppsDeletePrivateEndpointConnectionResponse>>
beginDeletePrivateEndpointConnectionAndWait(string, string, string, WebAppsDeletePrivateEndpointConnectionOptionalParams)
Description for Deletes a private endpoint connection
function beginDeletePrivateEndpointConnectionAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: WebAppsDeletePrivateEndpointConnectionOptionalParams): Promise<WebAppsDeletePrivateEndpointConnectionResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
- privateEndpointConnectionName
-
string
The options parameters.
Returns
beginDeletePrivateEndpointConnectionSlot(string, string, string, string, WebAppsDeletePrivateEndpointConnectionSlotOptionalParams)
Description for Deletes a private endpoint connection
function beginDeletePrivateEndpointConnectionSlot(resourceGroupName: string, name: string, privateEndpointConnectionName: string, slot: string, options?: WebAppsDeletePrivateEndpointConnectionSlotOptionalParams): Promise<SimplePollerLike<OperationState<WebAppsDeletePrivateEndpointConnectionSlotResponse>, WebAppsDeletePrivateEndpointConnectionSlotResponse>>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
- privateEndpointConnectionName
-
string
- slot
-
string
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<WebAppsDeletePrivateEndpointConnectionSlotResponse>, WebAppsDeletePrivateEndpointConnectionSlotResponse>>
beginDeletePrivateEndpointConnectionSlotAndWait(string, string, string, string, WebAppsDeletePrivateEndpointConnectionSlotOptionalParams)
Description for Deletes a private endpoint connection
function beginDeletePrivateEndpointConnectionSlotAndWait(resourceGroupName: string, name: string, privateEndpointConnectionName: string, slot: string, options?: WebAppsDeletePrivateEndpointConnectionSlotOptionalParams): Promise<WebAppsDeletePrivateEndpointConnectionSlotResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
- privateEndpointConnectionName
-
string
- slot
-
string
The options parameters.
Returns
beginGetProductionSiteDeploymentStatus(string, string, string, WebAppsGetProductionSiteDeploymentStatusOptionalParams)
Gets the deployment status for an app (or deployment slot, if specified).
function beginGetProductionSiteDeploymentStatus(resourceGroupName: string, name: string, deploymentStatusId: string, options?: WebAppsGetProductionSiteDeploymentStatusOptionalParams): Promise<SimplePollerLike<OperationState<CsmDeploymentStatus>, CsmDeploymentStatus>>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- deploymentStatusId
-
string
GUID of the deployment operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<CsmDeploymentStatus>, CsmDeploymentStatus>>
beginGetProductionSiteDeploymentStatusAndWait(string, string, string, WebAppsGetProductionSiteDeploymentStatusOptionalParams)
Gets the deployment status for an app (or deployment slot, if specified).
function beginGetProductionSiteDeploymentStatusAndWait(resourceGroupName: string, name: string, deploymentStatusId: string, options?: WebAppsGetProductionSiteDeploymentStatusOptionalParams): Promise<CsmDeploymentStatus>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- deploymentStatusId
-
string
GUID of the deployment operation.
The options parameters.
Returns
Promise<CsmDeploymentStatus>
beginGetSlotSiteDeploymentStatusSlot(string, string, string, string, WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams)
Gets the deployment status for an app (or deployment slot, if specified).
function beginGetSlotSiteDeploymentStatusSlot(resourceGroupName: string, name: string, slot: string, deploymentStatusId: string, options?: WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams): Promise<SimplePollerLike<OperationState<CsmDeploymentStatus>, CsmDeploymentStatus>>
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 deployment status for the production slot.
- deploymentStatusId
-
string
GUID of the deployment operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<CsmDeploymentStatus>, CsmDeploymentStatus>>
beginGetSlotSiteDeploymentStatusSlotAndWait(string, string, string, string, WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams)
Gets the deployment status for an app (or deployment slot, if specified).
function beginGetSlotSiteDeploymentStatusSlotAndWait(resourceGroupName: string, name: string, slot: string, deploymentStatusId: string, options?: WebAppsGetSlotSiteDeploymentStatusSlotOptionalParams): Promise<CsmDeploymentStatus>
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 deployment status for the production slot.
- deploymentStatusId
-
string
GUID of the deployment operation.
The options parameters.
Returns
Promise<CsmDeploymentStatus>
beginInstallSiteExtension(string, string, string, WebAppsInstallSiteExtensionOptionalParams)
Description for Install site extension on a web site, or a deployment slot.
function beginInstallSiteExtension(resourceGroupName: string, name: string, siteExtensionId: string, options?: WebAppsInstallSiteExtensionOptionalParams): Promise<SimplePollerLike<OperationState<SiteExtensionInfo>, SiteExtensionInfo>>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Site name.
- siteExtensionId
-
string
Site extension name.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<SiteExtensionInfo>, SiteExtensionInfo>>
beginInstallSiteExtensionAndWait(string, string, string, WebAppsInstallSiteExtensionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteExtensionInfo>
beginInstallSiteExtensionSlot(string, string, string, string, WebAppsInstallSiteExtensionSlotOptionalParams)
Description for Install site extension on a web site, or a deployment slot.
function beginInstallSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, options?: WebAppsInstallSiteExtensionSlotOptionalParams): Promise<SimplePollerLike<OperationState<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 uses the production slot.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<SiteExtensionInfo>, SiteExtensionInfo>>
beginInstallSiteExtensionSlotAndWait(string, string, string, string, WebAppsInstallSiteExtensionSlotOptionalParams)
Description for 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 uses the production slot.
The options parameters.
Returns
Promise<SiteExtensionInfo>
beginListPublishingCredentials(string, string, WebAppsListPublishingCredentialsOptionalParams)
Description for Gets the Git/FTP publishing credentials of an app.
function beginListPublishingCredentials(resourceGroupName: string, name: string, options?: WebAppsListPublishingCredentialsOptionalParams): Promise<SimplePollerLike<OperationState<User>, User>>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<User>, User>>
beginListPublishingCredentialsAndWait(string, string, WebAppsListPublishingCredentialsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<User>
beginListPublishingCredentialsSlot(string, string, string, WebAppsListPublishingCredentialsSlotOptionalParams)
Description for Gets the Git/FTP publishing credentials of an app.
function beginListPublishingCredentialsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListPublishingCredentialsSlotOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<User>, User>>
beginListPublishingCredentialsSlotAndWait(string, string, string, WebAppsListPublishingCredentialsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<User>
beginMigrateMySql(string, string, MigrateMySqlRequest, WebAppsMigrateMySqlOptionalParams)
Description for Migrates a local (in-app) MySql database to a remote MySql database.
function beginMigrateMySql(resourceGroupName: string, name: string, migrationRequestEnvelope: MigrateMySqlRequest, options?: WebAppsMigrateMySqlOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Operation>, Operation>>
beginMigrateMySqlAndWait(string, string, MigrateMySqlRequest, WebAppsMigrateMySqlOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Operation>
beginMigrateStorage(string, string, string, StorageMigrationOptions, WebAppsMigrateStorageOptionalParams)
Description for Restores a web app.
function beginMigrateStorage(subscriptionName: string, resourceGroupName: string, name: string, migrationOptions: StorageMigrationOptions, options?: WebAppsMigrateStorageOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<StorageMigrationResponse>, StorageMigrationResponse>>
beginMigrateStorageAndWait(string, string, string, StorageMigrationOptions, WebAppsMigrateStorageOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<StorageMigrationResponse>
beginRestore(string, string, string, RestoreRequest, WebAppsRestoreOptionalParams)
Description for 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<SimplePollerLike<OperationState<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<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginRestoreAndWait(string, string, string, RestoreRequest, WebAppsRestoreOptionalParams)
Description for 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)
Description for Restores an app from a backup blob in Azure Storage.
function beginRestoreFromBackupBlob(resourceGroupName: string, name: string, request: RestoreRequest, options?: WebAppsRestoreFromBackupBlobOptionalParams): Promise<SimplePollerLike<OperationState<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 .
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginRestoreFromBackupBlobAndWait(string, string, RestoreRequest, WebAppsRestoreFromBackupBlobOptionalParams)
Description for 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 .
The options parameters.
Returns
Promise<void>
beginRestoreFromBackupBlobSlot(string, string, string, RestoreRequest, WebAppsRestoreFromBackupBlobSlotOptionalParams)
Description for Restores an app from a backup blob in Azure Storage.
function beginRestoreFromBackupBlobSlot(resourceGroupName: string, name: string, slot: string, request: RestoreRequest, options?: WebAppsRestoreFromBackupBlobSlotOptionalParams): Promise<SimplePollerLike<OperationState<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 .
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginRestoreFromBackupBlobSlotAndWait(string, string, string, RestoreRequest, WebAppsRestoreFromBackupBlobSlotOptionalParams)
Description for 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 .
The options parameters.
Returns
Promise<void>
beginRestoreFromDeletedApp(string, string, DeletedAppRestoreRequest, WebAppsRestoreFromDeletedAppOptionalParams)
Description for Restores a deleted web app to this web app.
function beginRestoreFromDeletedApp(resourceGroupName: string, name: string, restoreRequest: DeletedAppRestoreRequest, options?: WebAppsRestoreFromDeletedAppOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginRestoreFromDeletedAppAndWait(string, string, DeletedAppRestoreRequest, WebAppsRestoreFromDeletedAppOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
beginRestoreFromDeletedAppSlot(string, string, string, DeletedAppRestoreRequest, WebAppsRestoreFromDeletedAppSlotOptionalParams)
Description for Restores a deleted web app to this web app.
function beginRestoreFromDeletedAppSlot(resourceGroupName: string, name: string, slot: string, restoreRequest: DeletedAppRestoreRequest, options?: WebAppsRestoreFromDeletedAppSlotOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginRestoreFromDeletedAppSlotAndWait(string, string, string, DeletedAppRestoreRequest, WebAppsRestoreFromDeletedAppSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
beginRestoreSlot(string, string, string, string, RestoreRequest, WebAppsRestoreSlotOptionalParams)
Description for 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<SimplePollerLike<OperationState<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<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginRestoreSlotAndWait(string, string, string, string, RestoreRequest, WebAppsRestoreSlotOptionalParams)
Description for 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)
Description for Restores a web app from a snapshot.
function beginRestoreSnapshot(resourceGroupName: string, name: string, restoreRequest: SnapshotRestoreRequest, options?: WebAppsRestoreSnapshotOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginRestoreSnapshotAndWait(string, string, SnapshotRestoreRequest, WebAppsRestoreSnapshotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
beginRestoreSnapshotSlot(string, string, string, SnapshotRestoreRequest, WebAppsRestoreSnapshotSlotOptionalParams)
Description for Restores a web app from a snapshot.
function beginRestoreSnapshotSlot(resourceGroupName: string, name: string, slot: string, restoreRequest: SnapshotRestoreRequest, options?: WebAppsRestoreSnapshotSlotOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginRestoreSnapshotSlotAndWait(string, string, string, SnapshotRestoreRequest, WebAppsRestoreSnapshotSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
beginStartNetworkTrace(string, string, WebAppsStartNetworkTraceOptionalParams)
Description for Start capturing network packets for the site.
function beginStartNetworkTrace(resourceGroupName: string, name: string, options?: WebAppsStartNetworkTraceOptionalParams): Promise<SimplePollerLike<OperationState<WebAppsStartNetworkTraceResponse>, WebAppsStartNetworkTraceResponse>>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
The name of the web app.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<WebAppsStartNetworkTraceResponse>, WebAppsStartNetworkTraceResponse>>
beginStartNetworkTraceAndWait(string, string, WebAppsStartNetworkTraceOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<WebAppsStartNetworkTraceResponse>
beginStartNetworkTraceSlot(string, string, string, WebAppsStartNetworkTraceSlotOptionalParams)
Description for Start capturing network packets for the site.
function beginStartNetworkTraceSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsStartNetworkTraceSlotOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<WebAppsStartNetworkTraceSlotResponse>, WebAppsStartNetworkTraceSlotResponse>>
beginStartNetworkTraceSlotAndWait(string, string, string, WebAppsStartNetworkTraceSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<WebAppsStartNetworkTraceSlotResponse>
beginStartWebSiteNetworkTraceOperation(string, string, WebAppsStartWebSiteNetworkTraceOperationOptionalParams)
Description for Start capturing network packets for the site.
function beginStartWebSiteNetworkTraceOperation(resourceGroupName: string, name: string, options?: WebAppsStartWebSiteNetworkTraceOperationOptionalParams): Promise<SimplePollerLike<OperationState<WebAppsStartWebSiteNetworkTraceOperationResponse>, WebAppsStartWebSiteNetworkTraceOperationResponse>>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
The name of the web app.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<WebAppsStartWebSiteNetworkTraceOperationResponse>, WebAppsStartWebSiteNetworkTraceOperationResponse>>
beginStartWebSiteNetworkTraceOperationAndWait(string, string, WebAppsStartWebSiteNetworkTraceOperationOptionalParams)
Description for 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.
The options parameters.
Returns
beginStartWebSiteNetworkTraceOperationSlot(string, string, string, WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams)
Description for Start capturing network packets for the site.
function beginStartWebSiteNetworkTraceOperationSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<WebAppsStartWebSiteNetworkTraceOperationSlotResponse>, WebAppsStartWebSiteNetworkTraceOperationSlotResponse>>
beginStartWebSiteNetworkTraceOperationSlotAndWait(string, string, string, WebAppsStartWebSiteNetworkTraceOperationSlotOptionalParams)
Description for 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.
The options parameters.
Returns
beginSwapSlot(string, string, string, CsmSlotEntity, WebAppsSwapSlotOptionalParams)
Description for Swaps two deployment slots of an app.
function beginSwapSlot(resourceGroupName: string, name: string, slot: string, slotSwapEntity: CsmSlotEntity, options?: WebAppsSwapSlotOptionalParams): Promise<SimplePollerLike<OperationState<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<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginSwapSlotAndWait(string, string, string, CsmSlotEntity, WebAppsSwapSlotOptionalParams)
Description for 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)
Description for Swaps two deployment slots of an app.
function beginSwapSlotWithProduction(resourceGroupName: string, name: string, slotSwapEntity: CsmSlotEntity, options?: WebAppsSwapSlotWithProductionOptionalParams): Promise<SimplePollerLike<OperationState<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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginSwapSlotWithProductionAndWait(string, string, CsmSlotEntity, WebAppsSwapSlotWithProductionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
createDeployment(string, string, string, Deployment, WebAppsCreateDeploymentOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Deployment>
createDeploymentSlot(string, string, string, string, Deployment, WebAppsCreateDeploymentSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Deployment>
createOneDeployOperation(string, string, WebAppsCreateOneDeployOperationOptionalParams)
Description for Invoke the OneDeploy publish web app extension.
function createOneDeployOperation(resourceGroupName: string, name: string, options?: WebAppsCreateOneDeployOperationOptionalParams): Promise<WebAppsCreateOneDeployOperationResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of web app.
The options parameters.
Returns
createOrUpdateConfiguration(string, string, SiteConfigResource, WebAppsCreateOrUpdateConfigurationOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteConfigResource>
createOrUpdateConfigurationSlot(string, string, string, SiteConfigResource, WebAppsCreateOrUpdateConfigurationSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteConfigResource>
createOrUpdateDomainOwnershipIdentifier(string, string, string, Identifier, WebAppsCreateOrUpdateDomainOwnershipIdentifierOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Identifier>
createOrUpdateDomainOwnershipIdentifierSlot(string, string, string, string, Identifier, WebAppsCreateOrUpdateDomainOwnershipIdentifierSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Identifier>
createOrUpdateFunctionSecret(string, string, string, string, KeyInfo, WebAppsCreateOrUpdateFunctionSecretOptionalParams)
Description for 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
The options parameters.
Returns
Promise<KeyInfo>
createOrUpdateFunctionSecretSlot(string, string, string, string, string, KeyInfo, WebAppsCreateOrUpdateFunctionSecretSlotOptionalParams)
Description for 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
The options parameters.
Returns
Promise<KeyInfo>
createOrUpdateHostNameBinding(string, string, string, HostNameBinding, WebAppsCreateOrUpdateHostNameBindingOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HostNameBinding>
createOrUpdateHostNameBindingSlot(string, string, string, string, HostNameBinding, WebAppsCreateOrUpdateHostNameBindingSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HostNameBinding>
createOrUpdateHostSecret(string, string, string, string, KeyInfo, WebAppsCreateOrUpdateHostSecretOptionalParams)
Description for 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
The options parameters.
Returns
Promise<KeyInfo>
createOrUpdateHostSecretSlot(string, string, string, string, string, KeyInfo, WebAppsCreateOrUpdateHostSecretSlotOptionalParams)
Description for 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
The options parameters.
Returns
Promise<KeyInfo>
createOrUpdateHybridConnection(string, string, string, string, HybridConnection, WebAppsCreateOrUpdateHybridConnectionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HybridConnection>
createOrUpdateHybridConnectionSlot(string, string, string, string, string, HybridConnection, WebAppsCreateOrUpdateHybridConnectionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HybridConnection>
createOrUpdatePublicCertificate(string, string, string, PublicCertificate, WebAppsCreateOrUpdatePublicCertificateOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PublicCertificate>
createOrUpdatePublicCertificateSlot(string, string, string, string, PublicCertificate, WebAppsCreateOrUpdatePublicCertificateSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PublicCertificate>
createOrUpdateRelayServiceConnection(string, string, string, RelayServiceConnectionEntity, WebAppsCreateOrUpdateRelayServiceConnectionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<RelayServiceConnectionEntity>
createOrUpdateRelayServiceConnectionSlot(string, string, string, string, RelayServiceConnectionEntity, WebAppsCreateOrUpdateRelayServiceConnectionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<RelayServiceConnectionEntity>
createOrUpdateSiteContainer(string, string, string, SiteContainer, WebAppsCreateOrUpdateSiteContainerOptionalParams)
Creates or Updates a site container for a site, or a deployment slot.
function createOrUpdateSiteContainer(resourceGroupName: string, name: string, containerName: string, request: SiteContainer, options?: WebAppsCreateOrUpdateSiteContainerOptionalParams): Promise<SiteContainer>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- containerName
-
string
Site Container Name
- request
- SiteContainer
Container Entity
The options parameters.
Returns
Promise<SiteContainer>
createOrUpdateSiteContainerSlot(string, string, string, string, SiteContainer, WebAppsCreateOrUpdateSiteContainerSlotOptionalParams)
Creates or Updates a site container for a site, or a deployment slot.
function createOrUpdateSiteContainerSlot(resourceGroupName: string, name: string, slot: string, containerName: string, request: SiteContainer, options?: WebAppsCreateOrUpdateSiteContainerSlotOptionalParams): Promise<SiteContainer>
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 the container for the production slot.
- containerName
-
string
Site Container Name
- request
- SiteContainer
Container Entity
The options parameters.
Returns
Promise<SiteContainer>
createOrUpdateSwiftVirtualNetworkConnectionWithCheck(string, string, SwiftVirtualNetwork, WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams)
Description for 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 createOrUpdateSwiftVirtualNetworkConnectionWithCheck(resourceGroupName: string, name: string, connectionEnvelope: SwiftVirtualNetwork, options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams): 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.
The options parameters.
Returns
Promise<SwiftVirtualNetwork>
createOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot(string, string, string, SwiftVirtualNetwork, WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams)
Description for 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 createOrUpdateSwiftVirtualNetworkConnectionWithCheckSlot(resourceGroupName: string, name: string, slot: string, connectionEnvelope: SwiftVirtualNetwork, options?: WebAppsCreateOrUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams): 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.
The options parameters.
Returns
Promise<SwiftVirtualNetwork>
createOrUpdateVnetConnection(string, string, string, VnetInfoResource, WebAppsCreateOrUpdateVnetConnectionOptionalParams)
Description for 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: VnetInfoResource, options?: WebAppsCreateOrUpdateVnetConnectionOptionalParams): Promise<VnetInfoResource>
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
- VnetInfoResource
Properties of the Virtual Network connection. See example.
The options parameters.
Returns
Promise<VnetInfoResource>
createOrUpdateVnetConnectionGateway(string, string, string, string, VnetGateway, WebAppsCreateOrUpdateVnetConnectionGatewayOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<VnetGateway>
createOrUpdateVnetConnectionGatewaySlot(string, string, string, string, string, VnetGateway, WebAppsCreateOrUpdateVnetConnectionGatewaySlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<VnetGateway>
createOrUpdateVnetConnectionSlot(string, string, string, string, VnetInfoResource, WebAppsCreateOrUpdateVnetConnectionSlotOptionalParams)
Description for 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: VnetInfoResource, options?: WebAppsCreateOrUpdateVnetConnectionSlotOptionalParams): Promise<VnetInfoResource>
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
- VnetInfoResource
Properties of the Virtual Network connection. See example.
The options parameters.
Returns
Promise<VnetInfoResource>
delete(string, string, WebAppsDeleteOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteBackupConfiguration(string, string, WebAppsDeleteBackupConfigurationOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteBackupConfigurationSlot(string, string, string, WebAppsDeleteBackupConfigurationSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteBackupSlot(string, string, string, string, WebAppsDeleteBackupSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteContinuousWebJob(string, string, string, WebAppsDeleteContinuousWebJobOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteContinuousWebJobSlot(string, string, string, string, WebAppsDeleteContinuousWebJobSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteDeployment(string, string, string, WebAppsDeleteDeploymentOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteDeploymentSlot(string, string, string, string, WebAppsDeleteDeploymentSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteDomainOwnershipIdentifier(string, string, string, WebAppsDeleteDomainOwnershipIdentifierOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteDomainOwnershipIdentifierSlot(string, string, string, string, WebAppsDeleteDomainOwnershipIdentifierSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteFunction(string, string, string, WebAppsDeleteFunctionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteFunctionSecret(string, string, string, string, WebAppsDeleteFunctionSecretOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteFunctionSecretSlot(string, string, string, string, string, WebAppsDeleteFunctionSecretSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteHostNameBinding(string, string, string, WebAppsDeleteHostNameBindingOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteHostNameBindingSlot(string, string, string, string, WebAppsDeleteHostNameBindingSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteHostSecret(string, string, string, string, WebAppsDeleteHostSecretOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteHostSecretSlot(string, string, string, string, string, WebAppsDeleteHostSecretSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteHybridConnection(string, string, string, string, WebAppsDeleteHybridConnectionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteHybridConnectionSlot(string, string, string, string, string, WebAppsDeleteHybridConnectionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteInstanceFunctionSlot(string, string, string, string, WebAppsDeleteInstanceFunctionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteInstanceProcess(string, string, string, string, WebAppsDeleteInstanceProcessOptionalParams)
Description for 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".
The options parameters.
Returns
Promise<void>
deleteInstanceProcessSlot(string, string, string, string, string, WebAppsDeleteInstanceProcessSlotOptionalParams)
Description for 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".
The options parameters.
Returns
Promise<void>
deletePremierAddOn(string, string, string, WebAppsDeletePremierAddOnOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deletePremierAddOnSlot(string, string, string, string, WebAppsDeletePremierAddOnSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteProcess(string, string, string, WebAppsDeleteProcessOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteProcessSlot(string, string, string, string, WebAppsDeleteProcessSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deletePublicCertificate(string, string, string, WebAppsDeletePublicCertificateOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deletePublicCertificateSlot(string, string, string, string, WebAppsDeletePublicCertificateSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteRelayServiceConnection(string, string, string, WebAppsDeleteRelayServiceConnectionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteRelayServiceConnectionSlot(string, string, string, string, WebAppsDeleteRelayServiceConnectionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteSiteContainer(string, string, string, WebAppsDeleteSiteContainerOptionalParams)
Deletes a site container for a site, or a deployment slot.
function deleteSiteContainer(resourceGroupName: string, name: string, containerName: string, options?: WebAppsDeleteSiteContainerOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- containerName
-
string
Site Container Name
The options parameters.
Returns
Promise<void>
deleteSiteContainerSlot(string, string, string, string, WebAppsDeleteSiteContainerSlotOptionalParams)
Deletes a site container for a site, or a deployment slot.
function deleteSiteContainerSlot(resourceGroupName: string, name: string, slot: string, containerName: string, options?: WebAppsDeleteSiteContainerSlotOptionalParams): 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 container for the production slot.
- containerName
-
string
Site Container Name
The options parameters.
Returns
Promise<void>
deleteSiteExtension(string, string, string, WebAppsDeleteSiteExtensionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteSiteExtensionSlot(string, string, string, string, WebAppsDeleteSiteExtensionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteSlot(string, string, string, WebAppsDeleteSlotOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteSourceControlSlot(string, string, string, WebAppsDeleteSourceControlSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteSwiftVirtualNetwork(string, string, WebAppsDeleteSwiftVirtualNetworkOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteSwiftVirtualNetworkSlot(string, string, string, WebAppsDeleteSwiftVirtualNetworkSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteTriggeredWebJob(string, string, string, WebAppsDeleteTriggeredWebJobOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteTriggeredWebJobSlot(string, string, string, string, WebAppsDeleteTriggeredWebJobSlotOptionalParams)
Description for 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 web job for the production slot.
The options parameters.
Returns
Promise<void>
deleteVnetConnection(string, string, string, WebAppsDeleteVnetConnectionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deleteVnetConnectionSlot(string, string, string, string, WebAppsDeleteVnetConnectionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
deployWorkflowArtifacts(string, string, WebAppsDeployWorkflowArtifactsOptionalParams)
Description for Creates the artifacts for web site, or a deployment slot.
function deployWorkflowArtifacts(resourceGroupName: string, name: string, options?: WebAppsDeployWorkflowArtifactsOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Site name.
The options parameters.
Returns
Promise<void>
deployWorkflowArtifactsSlot(string, string, string, WebAppsDeployWorkflowArtifactsSlotOptionalParams)
Description for Creates the artifacts for web site, or a deployment slot.
function deployWorkflowArtifactsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsDeployWorkflowArtifactsSlotOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Site name.
- slot
-
string
Name of the deployment slot.
The options parameters.
Returns
Promise<void>
discoverBackup(string, string, RestoreRequest, WebAppsDiscoverBackupOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<RestoreRequest>
discoverBackupSlot(string, string, string, RestoreRequest, WebAppsDiscoverBackupSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<RestoreRequest>
generateNewSitePublishingPassword(string, string, WebAppsGenerateNewSitePublishingPasswordOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
generateNewSitePublishingPasswordSlot(string, string, string, WebAppsGenerateNewSitePublishingPasswordSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
get(string, string, WebAppsGetOptionalParams)
Description for 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>
getAppSettingKeyVaultReference(string, string, string, WebAppsGetAppSettingKeyVaultReferenceOptionalParams)
Description for Gets the config reference and status of an app
function getAppSettingKeyVaultReference(resourceGroupName: string, name: string, appSettingKey: string, options?: WebAppsGetAppSettingKeyVaultReferenceOptionalParams): Promise<ApiKVReference>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- appSettingKey
-
string
App Setting key name.
The options parameters.
Returns
Promise<ApiKVReference>
getAppSettingKeyVaultReferenceSlot(string, string, string, string, WebAppsGetAppSettingKeyVaultReferenceSlotOptionalParams)
Description for Gets the config reference and status of an app
function getAppSettingKeyVaultReferenceSlot(resourceGroupName: string, name: string, appSettingKey: string, slot: string, options?: WebAppsGetAppSettingKeyVaultReferenceSlotOptionalParams): Promise<ApiKVReference>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- appSettingKey
-
string
App Setting key name.
- slot
-
string
The options parameters.
Returns
Promise<ApiKVReference>
getAuthSettings(string, string, WebAppsGetAuthSettingsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteAuthSettings>
getAuthSettingsSlot(string, string, string, WebAppsGetAuthSettingsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteAuthSettings>
getAuthSettingsV2(string, string, WebAppsGetAuthSettingsV2OptionalParams)
Description for Gets site's Authentication / Authorization settings for apps via the V2 format
function getAuthSettingsV2(resourceGroupName: string, name: string, options?: WebAppsGetAuthSettingsV2OptionalParams): Promise<SiteAuthSettingsV2>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
The options parameters.
Returns
Promise<SiteAuthSettingsV2>
getAuthSettingsV2Slot(string, string, string, WebAppsGetAuthSettingsV2SlotOptionalParams)
Description for Gets site's Authentication / Authorization settings for apps via the V2 format
function getAuthSettingsV2Slot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetAuthSettingsV2SlotOptionalParams): Promise<SiteAuthSettingsV2>
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.
The options parameters.
Returns
Promise<SiteAuthSettingsV2>
getAuthSettingsV2WithoutSecrets(string, string, WebAppsGetAuthSettingsV2WithoutSecretsOptionalParams)
Description for Gets site's Authentication / Authorization settings for apps via the V2 format
function getAuthSettingsV2WithoutSecrets(resourceGroupName: string, name: string, options?: WebAppsGetAuthSettingsV2WithoutSecretsOptionalParams): Promise<SiteAuthSettingsV2>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
The options parameters.
Returns
Promise<SiteAuthSettingsV2>
getAuthSettingsV2WithoutSecretsSlot(string, string, string, WebAppsGetAuthSettingsV2WithoutSecretsSlotOptionalParams)
Gets site's Authentication / Authorization settings for apps via the V2 format
function getAuthSettingsV2WithoutSecretsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetAuthSettingsV2WithoutSecretsSlotOptionalParams): Promise<SiteAuthSettingsV2>
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.
The options parameters.
Returns
Promise<SiteAuthSettingsV2>
getBackupConfiguration(string, string, WebAppsGetBackupConfigurationOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<BackupRequest>
getBackupConfigurationSlot(string, string, string, WebAppsGetBackupConfigurationSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<BackupRequest>
getBackupStatus(string, string, string, WebAppsGetBackupStatusOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<BackupItem>
getBackupStatusSlot(string, string, string, string, WebAppsGetBackupStatusSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<BackupItem>
getConfiguration(string, string, WebAppsGetConfigurationOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteConfigResource>
getConfigurationSlot(string, string, string, WebAppsGetConfigurationSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteConfigResource>
getConfigurationSnapshot(string, string, string, WebAppsGetConfigurationSnapshotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteConfigResource>
getConfigurationSnapshotSlot(string, string, string, string, WebAppsGetConfigurationSnapshotSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteConfigResource>
getContainerLogsZip(string, string, WebAppsGetContainerLogsZipOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<WebAppsGetContainerLogsZipResponse>
getContainerLogsZipSlot(string, string, string, WebAppsGetContainerLogsZipSlotOptionalParams)
Description for 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.
The options parameters.
Returns
getContinuousWebJob(string, string, string, WebAppsGetContinuousWebJobOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<ContinuousWebJob>
getContinuousWebJobSlot(string, string, string, string, WebAppsGetContinuousWebJobSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<ContinuousWebJob>
getDeployment(string, string, string, WebAppsGetDeploymentOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Deployment>
getDeploymentSlot(string, string, string, string, WebAppsGetDeploymentSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Deployment>
getDiagnosticLogsConfiguration(string, string, WebAppsGetDiagnosticLogsConfigurationOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteLogsConfig>
getDiagnosticLogsConfigurationSlot(string, string, string, WebAppsGetDiagnosticLogsConfigurationSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteLogsConfig>
getDomainOwnershipIdentifier(string, string, string, WebAppsGetDomainOwnershipIdentifierOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Identifier>
getDomainOwnershipIdentifierSlot(string, string, string, string, WebAppsGetDomainOwnershipIdentifierSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Identifier>
getFtpAllowed(string, string, WebAppsGetFtpAllowedOptionalParams)
Description for Returns whether FTP is allowed on the site or not.
function getFtpAllowed(resourceGroupName: string, name: string, options?: WebAppsGetFtpAllowedOptionalParams): Promise<CsmPublishingCredentialsPoliciesEntity>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
The options parameters.
Returns
getFtpAllowedSlot(string, string, string, WebAppsGetFtpAllowedSlotOptionalParams)
Description for Returns whether FTP is allowed on the site or not.
function getFtpAllowedSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetFtpAllowedSlotOptionalParams): Promise<CsmPublishingCredentialsPoliciesEntity>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- slot
-
string
The options parameters.
Returns
getFunction(string, string, string, WebAppsGetFunctionOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
getFunctionsAdminTokenSlot(string, string, string, WebAppsGetFunctionsAdminTokenSlotOptionalParams)
Description for 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.
The options parameters.
Returns
getHostNameBinding(string, string, string, WebAppsGetHostNameBindingOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HostNameBinding>
getHostNameBindingSlot(string, string, string, string, WebAppsGetHostNameBindingSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HostNameBinding>
getHybridConnection(string, string, string, string, WebAppsGetHybridConnectionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HybridConnection>
getHybridConnectionSlot(string, string, string, string, string, WebAppsGetHybridConnectionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HybridConnection>
getInstanceFunctionSlot(string, string, string, string, WebAppsGetInstanceFunctionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<FunctionEnvelope>
getInstanceInfo(string, string, string, WebAppsGetInstanceInfoOptionalParams)
Description for Gets all scale-out instances of an app.
function getInstanceInfo(resourceGroupName: string, name: string, instanceId: string, options?: WebAppsGetInstanceInfoOptionalParams): Promise<WebSiteInstanceStatus>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- instanceId
-
string
The options parameters.
Returns
Promise<WebSiteInstanceStatus>
getInstanceInfoSlot(string, string, string, string, WebAppsGetInstanceInfoSlotOptionalParams)
Description for Gets all scale-out instances of an app.
function getInstanceInfoSlot(resourceGroupName: string, name: string, instanceId: string, slot: string, options?: WebAppsGetInstanceInfoSlotOptionalParams): Promise<WebSiteInstanceStatus>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- instanceId
-
string
- slot
-
string
Name of the deployment slot. If a slot is not specified, the API gets the production slot instances.
The options parameters.
Returns
Promise<WebSiteInstanceStatus>
getInstanceMSDeployLog(string, string, string, WebAppsGetInstanceMSDeployLogOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<MSDeployLog>
getInstanceMSDeployLogSlot(string, string, string, string, WebAppsGetInstanceMSDeployLogSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<MSDeployLog>
getInstanceMsDeployStatus(string, string, string, WebAppsGetInstanceMsDeployStatusOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<MSDeployStatus>
getInstanceMsDeployStatusSlot(string, string, string, string, WebAppsGetInstanceMsDeployStatusSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<MSDeployStatus>
getInstanceProcess(string, string, string, string, WebAppsGetInstanceProcessOptionalParams)
Description for 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".
The options parameters.
Returns
Promise<ProcessInfo>
getInstanceProcessDump(string, string, string, string, WebAppsGetInstanceProcessDumpOptionalParams)
Description for 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".
The options parameters.
Returns
getInstanceProcessDumpSlot(string, string, string, string, string, WebAppsGetInstanceProcessDumpSlotOptionalParams)
Description for 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".
The options parameters.
Returns
getInstanceProcessModule(string, string, string, string, string, WebAppsGetInstanceProcessModuleOptionalParams)
Description for 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".
The options parameters.
Returns
Promise<ProcessModuleInfo>
getInstanceProcessModuleSlot(string, string, string, string, string, string, WebAppsGetInstanceProcessModuleSlotOptionalParams)
Description for 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".
The options parameters.
Returns
Promise<ProcessModuleInfo>
getInstanceProcessSlot(string, string, string, string, string, WebAppsGetInstanceProcessSlotOptionalParams)
Description for 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".
The options parameters.
Returns
Promise<ProcessInfo>
getInstanceWorkflowSlot(string, string, string, string, WebAppsGetInstanceWorkflowSlotOptionalParams)
Get workflow information by its ID for web site, or a deployment slot.
function getInstanceWorkflowSlot(resourceGroupName: string, name: string, slot: string, workflowName: string, options?: WebAppsGetInstanceWorkflowSlotOptionalParams): Promise<WorkflowEnvelope>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Site name.
- slot
-
string
Name of the deployment slot.
- workflowName
-
string
Workflow name.
The options parameters.
Returns
Promise<WorkflowEnvelope>
getMigrateMySqlStatus(string, string, WebAppsGetMigrateMySqlStatusOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<MigrateMySqlStatus>
getMigrateMySqlStatusSlot(string, string, string, WebAppsGetMigrateMySqlStatusSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<MigrateMySqlStatus>
getMSDeployLog(string, string, WebAppsGetMSDeployLogOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<MSDeployLog>
getMSDeployLogSlot(string, string, string, WebAppsGetMSDeployLogSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<MSDeployLog>
getMSDeployStatus(string, string, WebAppsGetMSDeployStatusOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<MSDeployStatus>
getMSDeployStatusSlot(string, string, string, WebAppsGetMSDeployStatusSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<MSDeployStatus>
getNetworkTraceOperation(string, string, string, WebAppsGetNetworkTraceOperationOptionalParams)
Description for 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.
The options parameters.
Returns
getNetworkTraceOperationSlot(string, string, string, string, WebAppsGetNetworkTraceOperationSlotOptionalParams)
Description for 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.
The options parameters.
Returns
getNetworkTraceOperationSlotV2(string, string, string, string, WebAppsGetNetworkTraceOperationSlotV2OptionalParams)
Description for 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.
The options parameters.
Returns
getNetworkTraceOperationV2(string, string, string, WebAppsGetNetworkTraceOperationV2OptionalParams)
Description for 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.
The options parameters.
Returns
getNetworkTraces(string, string, string, WebAppsGetNetworkTracesOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<WebAppsGetNetworkTracesResponse>
getNetworkTracesSlot(string, string, string, string, WebAppsGetNetworkTracesSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<WebAppsGetNetworkTracesSlotResponse>
getNetworkTracesSlotV2(string, string, string, string, WebAppsGetNetworkTracesSlotV2OptionalParams)
Description for 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.
The options parameters.
Returns
getNetworkTracesV2(string, string, string, WebAppsGetNetworkTracesV2OptionalParams)
Description for 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.
The options parameters.
Returns
Promise<WebAppsGetNetworkTracesV2Response>
getOneDeployStatus(string, string, WebAppsGetOneDeployStatusOptionalParams)
Description for Invoke onedeploy status API /api/deployments and gets the deployment status for the site
function getOneDeployStatus(resourceGroupName: string, name: string, options?: WebAppsGetOneDeployStatusOptionalParams): Promise<WebAppsGetOneDeployStatusResponse>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of web app.
The options parameters.
Returns
Promise<WebAppsGetOneDeployStatusResponse>
getPremierAddOn(string, string, string, WebAppsGetPremierAddOnOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PremierAddOn>
getPremierAddOnSlot(string, string, string, string, WebAppsGetPremierAddOnSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PremierAddOn>
getPrivateAccess(string, string, WebAppsGetPrivateAccessOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PrivateAccess>
getPrivateAccessSlot(string, string, string, WebAppsGetPrivateAccessSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PrivateAccess>
getPrivateEndpointConnection(string, string, string, WebAppsGetPrivateEndpointConnectionOptionalParams)
Description for Gets a private endpoint connection
function getPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: WebAppsGetPrivateEndpointConnectionOptionalParams): Promise<RemotePrivateEndpointConnectionARMResource>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
- privateEndpointConnectionName
-
string
Name of the private endpoint connection.
The options parameters.
Returns
getPrivateEndpointConnectionSlot(string, string, string, string, WebAppsGetPrivateEndpointConnectionSlotOptionalParams)
Description for Gets a private endpoint connection
function getPrivateEndpointConnectionSlot(resourceGroupName: string, name: string, privateEndpointConnectionName: string, slot: string, options?: WebAppsGetPrivateEndpointConnectionSlotOptionalParams): Promise<RemotePrivateEndpointConnectionARMResource>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
- privateEndpointConnectionName
-
string
Name of the private endpoint connection.
- slot
-
string
Name of the site deployment slot.
The options parameters.
Returns
getPrivateLinkResources(string, string, WebAppsGetPrivateLinkResourcesOptionalParams)
Description for Gets the private link resources
function getPrivateLinkResources(resourceGroupName: string, name: string, options?: WebAppsGetPrivateLinkResourcesOptionalParams): Promise<PrivateLinkResourcesWrapper>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
The options parameters.
Returns
Promise<PrivateLinkResourcesWrapper>
getPrivateLinkResourcesSlot(string, string, string, WebAppsGetPrivateLinkResourcesSlotOptionalParams)
Description for Gets the private link resources
function getPrivateLinkResourcesSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetPrivateLinkResourcesSlotOptionalParams): Promise<PrivateLinkResourcesWrapper>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
- slot
-
string
The options parameters.
Returns
Promise<PrivateLinkResourcesWrapper>
getProcess(string, string, string, WebAppsGetProcessOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<WebAppsGetProcessDumpResponse>
getProcessDumpSlot(string, string, string, string, WebAppsGetProcessDumpSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<WebAppsGetProcessDumpSlotResponse>
getProcessModule(string, string, string, string, WebAppsGetProcessModuleOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<ProcessModuleInfo>
getProcessModuleSlot(string, string, string, string, string, WebAppsGetProcessModuleSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<ProcessModuleInfo>
getProcessSlot(string, string, string, string, WebAppsGetProcessSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<ProcessInfo>
getPublicCertificate(string, string, string, WebAppsGetPublicCertificateOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PublicCertificate>
getPublicCertificateSlot(string, string, string, string, WebAppsGetPublicCertificateSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PublicCertificate>
getRelayServiceConnection(string, string, string, WebAppsGetRelayServiceConnectionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<RelayServiceConnectionEntity>
getRelayServiceConnectionSlot(string, string, string, string, WebAppsGetRelayServiceConnectionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<RelayServiceConnectionEntity>
getScmAllowed(string, string, WebAppsGetScmAllowedOptionalParams)
Description for Returns whether Scm basic auth is allowed on the site or not.
function getScmAllowed(resourceGroupName: string, name: string, options?: WebAppsGetScmAllowedOptionalParams): Promise<CsmPublishingCredentialsPoliciesEntity>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
The options parameters.
Returns
getScmAllowedSlot(string, string, string, WebAppsGetScmAllowedSlotOptionalParams)
Description for Returns whether Scm basic auth is allowed on the site or not.
function getScmAllowedSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetScmAllowedSlotOptionalParams): Promise<CsmPublishingCredentialsPoliciesEntity>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- slot
-
string
The options parameters.
Returns
getSiteConnectionStringKeyVaultReference(string, string, string, WebAppsGetSiteConnectionStringKeyVaultReferenceOptionalParams)
Description for Gets the config reference and status of an app
function getSiteConnectionStringKeyVaultReference(resourceGroupName: string, name: string, connectionStringKey: string, options?: WebAppsGetSiteConnectionStringKeyVaultReferenceOptionalParams): Promise<ApiKVReference>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- connectionStringKey
-
string
The options parameters.
Returns
Promise<ApiKVReference>
getSiteConnectionStringKeyVaultReferenceSlot(string, string, string, string, WebAppsGetSiteConnectionStringKeyVaultReferenceSlotOptionalParams)
Description for Gets the config reference and status of an app
function getSiteConnectionStringKeyVaultReferenceSlot(resourceGroupName: string, name: string, connectionStringKey: string, slot: string, options?: WebAppsGetSiteConnectionStringKeyVaultReferenceSlotOptionalParams): Promise<ApiKVReference>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- connectionStringKey
-
string
- slot
-
string
The options parameters.
Returns
Promise<ApiKVReference>
getSiteContainer(string, string, string, WebAppsGetSiteContainerOptionalParams)
Gets a site container of a site, or a deployment slot.
function getSiteContainer(resourceGroupName: string, name: string, containerName: string, options?: WebAppsGetSiteContainerOptionalParams): Promise<SiteContainer>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- containerName
-
string
Site Container Name
The options parameters.
Returns
Promise<SiteContainer>
getSiteContainerSlot(string, string, string, string, WebAppsGetSiteContainerSlotOptionalParams)
Gets a site container of a site, or a deployment slot.
function getSiteContainerSlot(resourceGroupName: string, name: string, slot: string, containerName: string, options?: WebAppsGetSiteContainerSlotOptionalParams): Promise<SiteContainer>
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 Site Container for the production slot.
- containerName
-
string
Site Container Name
The options parameters.
Returns
Promise<SiteContainer>
getSiteExtension(string, string, string, WebAppsGetSiteExtensionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteExtensionInfo>
getSiteExtensionSlot(string, string, string, string, WebAppsGetSiteExtensionSlotOptionalParams)
Description for 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 uses the production slot.
The options parameters.
Returns
Promise<SiteExtensionInfo>
getSitePhpErrorLogFlag(string, string, WebAppsGetSitePhpErrorLogFlagOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SitePhpErrorLogFlag>
getSitePhpErrorLogFlagSlot(string, string, string, WebAppsGetSitePhpErrorLogFlagSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SitePhpErrorLogFlag>
getSlot(string, string, string, WebAppsGetSlotOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<SiteSourceControl>
getSourceControlSlot(string, string, string, WebAppsGetSourceControlSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteSourceControl>
getSwiftVirtualNetworkConnection(string, string, WebAppsGetSwiftVirtualNetworkConnectionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SwiftVirtualNetwork>
getSwiftVirtualNetworkConnectionSlot(string, string, string, WebAppsGetSwiftVirtualNetworkConnectionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SwiftVirtualNetwork>
getTriggeredWebJob(string, string, string, WebAppsGetTriggeredWebJobOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<TriggeredWebJob>
getTriggeredWebJobHistory(string, string, string, string, WebAppsGetTriggeredWebJobHistoryOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<TriggeredJobHistory>
getTriggeredWebJobHistorySlot(string, string, string, string, string, WebAppsGetTriggeredWebJobHistorySlotOptionalParams)
Description for 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 uses the production slot.
The options parameters.
Returns
Promise<TriggeredJobHistory>
getTriggeredWebJobSlot(string, string, string, string, WebAppsGetTriggeredWebJobSlotOptionalParams)
Description for 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 uses the production slot.
The options parameters.
Returns
Promise<TriggeredWebJob>
getVnetConnection(string, string, string, WebAppsGetVnetConnectionOptionalParams)
Description for 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<VnetInfoResource>
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.
The options parameters.
Returns
Promise<VnetInfoResource>
getVnetConnectionGateway(string, string, string, string, WebAppsGetVnetConnectionGatewayOptionalParams)
Description for 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".
The options parameters.
Returns
Promise<VnetGateway>
getVnetConnectionGatewaySlot(string, string, string, string, string, WebAppsGetVnetConnectionGatewaySlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<VnetGateway>
getVnetConnectionSlot(string, string, string, string, WebAppsGetVnetConnectionSlotOptionalParams)
Description for 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<VnetInfoResource>
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.
The options parameters.
Returns
Promise<VnetInfoResource>
getWebJob(string, string, string, WebAppsGetWebJobOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<WebJob>
getWebSiteContainerLogs(string, string, WebAppsGetWebSiteContainerLogsOptionalParams)
Description for 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.
The options parameters.
Returns
getWebSiteContainerLogsSlot(string, string, string, WebAppsGetWebSiteContainerLogsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
getWorkflow(string, string, string, WebAppsGetWorkflowOptionalParams)
Get workflow information by its ID for web site, or a deployment slot.
function getWorkflow(resourceGroupName: string, name: string, workflowName: string, options?: WebAppsGetWorkflowOptionalParams): Promise<WorkflowEnvelope>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Site name.
- workflowName
-
string
Workflow name.
- options
- WebAppsGetWorkflowOptionalParams
The options parameters.
Returns
Promise<WorkflowEnvelope>
isCloneable(string, string, WebAppsIsCloneableOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<SiteCloneability>
list(WebAppsListOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<StringDictionary>
listApplicationSettingsSlot(string, string, string, WebAppsListApplicationSettingsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<StringDictionary>
listAppSettingsKeyVaultReferences(string, string, WebAppsGetAppSettingsKeyVaultReferencesOptionalParams)
Description for Gets the config reference app settings and status of an app
function listAppSettingsKeyVaultReferences(resourceGroupName: string, name: string, options?: WebAppsGetAppSettingsKeyVaultReferencesOptionalParams): PagedAsyncIterableIterator<ApiKVReference, ApiKVReference[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
The options parameters.
Returns
listAppSettingsKeyVaultReferencesSlot(string, string, string, WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams)
Description for Gets the config reference app settings and status of an app
function listAppSettingsKeyVaultReferencesSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetAppSettingsKeyVaultReferencesSlotOptionalParams): PagedAsyncIterableIterator<ApiKVReference, ApiKVReference[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- slot
-
string
The options parameters.
Returns
listAzureStorageAccounts(string, string, WebAppsListAzureStorageAccountsOptionalParams)
Description for 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.
The options parameters.
Returns
listAzureStorageAccountsSlot(string, string, string, WebAppsListAzureStorageAccountsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listBackups(string, string, WebAppsListBackupsOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
listBackupStatusSecrets(string, string, string, BackupRequest, WebAppsListBackupStatusSecretsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<BackupItem>
listBackupStatusSecretsSlot(string, string, string, string, BackupRequest, WebAppsListBackupStatusSecretsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<BackupItem>
listBasicPublishingCredentialsPolicies(string, string, WebAppsListBasicPublishingCredentialsPoliciesOptionalParams)
Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.
function listBasicPublishingCredentialsPolicies(resourceGroupName: string, name: string, options?: WebAppsListBasicPublishingCredentialsPoliciesOptionalParams): PagedAsyncIterableIterator<CsmPublishingCredentialsPoliciesEntity, CsmPublishingCredentialsPoliciesEntity[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
The options parameters.
Returns
listBasicPublishingCredentialsPoliciesSlot(string, string, string, WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams)
Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.
function listBasicPublishingCredentialsPoliciesSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListBasicPublishingCredentialsPoliciesSlotOptionalParams): PagedAsyncIterableIterator<CsmPublishingCredentialsPoliciesEntity, CsmPublishingCredentialsPoliciesEntity[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- slot
-
string
The options parameters.
Returns
listByResourceGroup(string, WebAppsListByResourceGroupOptionalParams)
Description for 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.
The options parameters.
Returns
listConfigurations(string, string, WebAppsListConfigurationsOptionalParams)
Description for 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.
The options parameters.
Returns
listConfigurationSnapshotInfo(string, string, WebAppsListConfigurationSnapshotInfoOptionalParams)
Description for 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.
The options parameters.
Returns
listConfigurationSnapshotInfoSlot(string, string, string, WebAppsListConfigurationSnapshotInfoSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listConfigurationsSlot(string, string, string, WebAppsListConfigurationsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listConnectionStrings(string, string, WebAppsListConnectionStringsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<ConnectionStringDictionary>
listConnectionStringsSlot(string, string, string, WebAppsListConnectionStringsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<ConnectionStringDictionary>
listContinuousWebJobs(string, string, WebAppsListContinuousWebJobsOptionalParams)
Description for 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.
The options parameters.
Returns
listContinuousWebJobsSlot(string, string, string, WebAppsListContinuousWebJobsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listDeploymentLog(string, string, string, WebAppsListDeploymentLogOptionalParams)
Description for 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".
The options parameters.
Returns
Promise<Deployment>
listDeploymentLogSlot(string, string, string, string, WebAppsListDeploymentLogSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Deployment>
listDeployments(string, string, WebAppsListDeploymentsOptionalParams)
Description for 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.
The options parameters.
Returns
listDeploymentsSlot(string, string, string, WebAppsListDeploymentsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listDomainOwnershipIdentifiers(string, string, WebAppsListDomainOwnershipIdentifiersOptionalParams)
Description for 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.
The options parameters.
Returns
listDomainOwnershipIdentifiersSlot(string, string, string, WebAppsListDomainOwnershipIdentifiersSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listFunctionKeys(string, string, string, WebAppsListFunctionKeysOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<StringDictionary>
listFunctionKeysSlot(string, string, string, string, WebAppsListFunctionKeysSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<StringDictionary>
listFunctions(string, string, WebAppsListFunctionsOptionalParams)
Description for 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.
The options parameters.
Returns
listFunctionSecrets(string, string, string, WebAppsListFunctionSecretsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<FunctionSecrets>
listFunctionSecretsSlot(string, string, string, string, WebAppsListFunctionSecretsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<FunctionSecrets>
listHostKeys(string, string, WebAppsListHostKeysOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HostKeys>
listHostKeysSlot(string, string, string, WebAppsListHostKeysSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HostKeys>
listHostNameBindings(string, string, WebAppsListHostNameBindingsOptionalParams)
Description for 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.
The options parameters.
Returns
listHostNameBindingsSlot(string, string, string, WebAppsListHostNameBindingsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listHybridConnections(string, string, WebAppsListHybridConnectionsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HybridConnection>
listHybridConnectionsSlot(string, string, string, WebAppsListHybridConnectionsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HybridConnection>
listInstanceFunctionsSlot(string, string, string, WebAppsListInstanceFunctionsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listInstanceIdentifiers(string, string, WebAppsListInstanceIdentifiersOptionalParams)
Description for Gets all scale-out instances of an app.
function listInstanceIdentifiers(resourceGroupName: string, name: string, options?: WebAppsListInstanceIdentifiersOptionalParams): PagedAsyncIterableIterator<WebSiteInstanceStatus, WebSiteInstanceStatus[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
The options parameters.
Returns
listInstanceIdentifiersSlot(string, string, string, WebAppsListInstanceIdentifiersSlotOptionalParams)
Description for Gets all scale-out instances of an app.
function listInstanceIdentifiersSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListInstanceIdentifiersSlotOptionalParams): PagedAsyncIterableIterator<WebSiteInstanceStatus, WebSiteInstanceStatus[], 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.
The options parameters.
Returns
listInstanceProcesses(string, string, string, WebAppsListInstanceProcessesOptionalParams)
Description for 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".
The options parameters.
Returns
listInstanceProcessesSlot(string, string, string, string, WebAppsListInstanceProcessesSlotOptionalParams)
Description for 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".
The options parameters.
Returns
listInstanceProcessModules(string, string, string, string, WebAppsListInstanceProcessModulesOptionalParams)
Description for 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".
The options parameters.
Returns
listInstanceProcessModulesSlot(string, string, string, string, string, WebAppsListInstanceProcessModulesSlotOptionalParams)
Description for 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".
The options parameters.
Returns
listInstanceProcessThreads(string, string, string, string, WebAppsListInstanceProcessThreadsOptionalParams)
Description for 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".
The options parameters.
Returns
listInstanceProcessThreadsSlot(string, string, string, string, string, WebAppsListInstanceProcessThreadsSlotOptionalParams)
Description for 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".
The options parameters.
Returns
listInstanceWorkflowsSlot(string, string, string, WebAppsListInstanceWorkflowsSlotOptionalParams)
List the workflows for a web site, or a deployment slot.
function listInstanceWorkflowsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListInstanceWorkflowsSlotOptionalParams): PagedAsyncIterableIterator<WorkflowEnvelope, WorkflowEnvelope[], 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.
The options parameters.
Returns
listMetadata(string, string, WebAppsListMetadataOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<StringDictionary>
listMetadataSlot(string, string, string, WebAppsListMetadataSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<StringDictionary>
listNetworkFeatures(string, string, string, WebAppsListNetworkFeaturesOptionalParams)
Description for 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. Only "summary" is supported at this time.
The options parameters.
Returns
Promise<NetworkFeatures>
listNetworkFeaturesSlot(string, string, string, string, WebAppsListNetworkFeaturesSlotOptionalParams)
Description for 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. Only "summary" is supported at this time.
- slot
-
string
Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot.
The options parameters.
Returns
Promise<NetworkFeatures>
listPerfMonCounters(string, string, WebAppsListPerfMonCountersOptionalParams)
Description for 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.
The options parameters.
Returns
listPerfMonCountersSlot(string, string, string, WebAppsListPerfMonCountersSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listPremierAddOns(string, string, WebAppsListPremierAddOnsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PremierAddOn>
listPremierAddOnsSlot(string, string, string, WebAppsListPremierAddOnsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PremierAddOn>
listPrivateEndpointConnectionList(string, string, WebAppsGetPrivateEndpointConnectionListOptionalParams)
Description for Gets the list of private endpoint connections associated with a site
function listPrivateEndpointConnectionList(resourceGroupName: string, name: string, options?: WebAppsGetPrivateEndpointConnectionListOptionalParams): PagedAsyncIterableIterator<RemotePrivateEndpointConnectionARMResource, RemotePrivateEndpointConnectionARMResource[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
The options parameters.
Returns
listPrivateEndpointConnectionListSlot(string, string, string, WebAppsGetPrivateEndpointConnectionListSlotOptionalParams)
Description for Gets the list of private endpoint connections associated with a site
function listPrivateEndpointConnectionListSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetPrivateEndpointConnectionListSlotOptionalParams): PagedAsyncIterableIterator<RemotePrivateEndpointConnectionARMResource, RemotePrivateEndpointConnectionARMResource[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the site.
- slot
-
string
Name of the site deployment slot.
The options parameters.
Returns
listProcesses(string, string, WebAppsListProcessesOptionalParams)
Description for 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.
The options parameters.
Returns
listProcessesSlot(string, string, string, WebAppsListProcessesSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listProcessModules(string, string, string, WebAppsListProcessModulesOptionalParams)
Description for 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.
The options parameters.
Returns
listProcessModulesSlot(string, string, string, string, WebAppsListProcessModulesSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listProcessThreads(string, string, string, WebAppsListProcessThreadsOptionalParams)
Description for 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.
The options parameters.
Returns
listProcessThreadsSlot(string, string, string, string, WebAppsListProcessThreadsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listProductionSiteDeploymentStatuses(string, string, WebAppsListProductionSiteDeploymentStatusesOptionalParams)
List deployment statuses for an app (or deployment slot, if specified).
function listProductionSiteDeploymentStatuses(resourceGroupName: string, name: string, options?: WebAppsListProductionSiteDeploymentStatusesOptionalParams): PagedAsyncIterableIterator<CsmDeploymentStatus, CsmDeploymentStatus[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
The options parameters.
Returns
listPublicCertificates(string, string, WebAppsListPublicCertificatesOptionalParams)
Description for 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.
The options parameters.
Returns
listPublicCertificatesSlot(string, string, string, WebAppsListPublicCertificatesSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listPublishingProfileXmlWithSecrets(string, string, CsmPublishingProfileOptions, WebAppsListPublishingProfileXmlWithSecretsOptionalParams)
Description for 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.
The options parameters.
Returns
listPublishingProfileXmlWithSecretsSlot(string, string, string, CsmPublishingProfileOptions, WebAppsListPublishingProfileXmlWithSecretsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listRelayServiceConnections(string, string, WebAppsListRelayServiceConnectionsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<RelayServiceConnectionEntity>
listRelayServiceConnectionsSlot(string, string, string, WebAppsListRelayServiceConnectionsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<RelayServiceConnectionEntity>
listSiteBackups(string, string, WebAppsListSiteBackupsOptionalParams)
Description for Gets existing backups of an app.
function listSiteBackups(resourceGroupName: string, name: string, options?: WebAppsListSiteBackupsOptionalParams): PagedAsyncIterableIterator<BackupItem, BackupItem[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
The options parameters.
Returns
listSiteBackupsSlot(string, string, string, WebAppsListSiteBackupsSlotOptionalParams)
Description for Gets existing backups of an app.
function listSiteBackupsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListSiteBackupsSlotOptionalParams): 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.
The options parameters.
Returns
listSiteConnectionStringKeyVaultReferences(string, string, WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams)
Description for Gets the config reference app settings and status of an app
function listSiteConnectionStringKeyVaultReferences(resourceGroupName: string, name: string, options?: WebAppsGetSiteConnectionStringKeyVaultReferencesOptionalParams): PagedAsyncIterableIterator<ApiKVReference, ApiKVReference[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
The options parameters.
Returns
listSiteConnectionStringKeyVaultReferencesSlot(string, string, string, WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams)
Description for Gets the config reference app settings and status of an app
function listSiteConnectionStringKeyVaultReferencesSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsGetSiteConnectionStringKeyVaultReferencesSlotOptionalParams): PagedAsyncIterableIterator<ApiKVReference, ApiKVReference[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- slot
-
string
The options parameters.
Returns
listSiteContainers(string, string, WebAppsListSiteContainersOptionalParams)
Lists all the site containers of a site, or a deployment slot.
function listSiteContainers(resourceGroupName: string, name: string, options?: WebAppsListSiteContainersOptionalParams): PagedAsyncIterableIterator<SiteContainer, SiteContainer[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
The options parameters.
Returns
listSiteContainersSlot(string, string, string, WebAppsListSiteContainersSlotOptionalParams)
Lists all the site containers of a site, or a deployment slot.
function listSiteContainersSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListSiteContainersSlotOptionalParams): PagedAsyncIterableIterator<SiteContainer, SiteContainer[], 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 a list of site containers for the production slot.
The options parameters.
Returns
listSiteExtensions(string, string, WebAppsListSiteExtensionsOptionalParams)
Description for 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.
The options parameters.
Returns
listSiteExtensionsSlot(string, string, string, WebAppsListSiteExtensionsSlotOptionalParams)
Description for 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 uses the production slot.
The options parameters.
Returns
listSitePushSettings(string, string, WebAppsListSitePushSettingsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PushSettings>
listSitePushSettingsSlot(string, string, string, WebAppsListSitePushSettingsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PushSettings>
listSlotConfigurationNames(string, string, WebAppsListSlotConfigurationNamesOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SlotConfigNamesResource>
listSlotDifferencesFromProduction(string, string, CsmSlotEntity, WebAppsListSlotDifferencesFromProductionOptionalParams)
Description for 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.
The options parameters.
Returns
listSlotDifferencesSlot(string, string, string, CsmSlotEntity, WebAppsListSlotDifferencesSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listSlots(string, string, WebAppsListSlotsOptionalParams)
Description for 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
listSlotSiteDeploymentStatusesSlot(string, string, string, WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams)
List deployment statuses for an app (or deployment slot, if specified).
function listSlotSiteDeploymentStatusesSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListSlotSiteDeploymentStatusesSlotOptionalParams): PagedAsyncIterableIterator<CsmDeploymentStatus, CsmDeploymentStatus[], 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 the deployment status for the production slot.
The options parameters.
Returns
listSnapshots(string, string, WebAppsListSnapshotsOptionalParams)
Description for 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.
The options parameters.
Returns
listSnapshotsFromDRSecondary(string, string, WebAppsListSnapshotsFromDRSecondaryOptionalParams)
Description for 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.
The options parameters.
Returns
listSnapshotsFromDRSecondarySlot(string, string, string, WebAppsListSnapshotsFromDRSecondarySlotOptionalParams)
Description for 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.
The options parameters.
Returns
listSnapshotsSlot(string, string, string, WebAppsListSnapshotsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listSyncFunctionTriggers(string, string, WebAppsListSyncFunctionTriggersOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<FunctionSecrets>
listSyncFunctionTriggersSlot(string, string, string, WebAppsListSyncFunctionTriggersSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<FunctionSecrets>
listSyncStatus(string, string, WebAppsListSyncStatusOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
listSyncStatusSlot(string, string, string, WebAppsListSyncStatusSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
listTriggeredWebJobHistory(string, string, string, WebAppsListTriggeredWebJobHistoryOptionalParams)
Description for 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.
The options parameters.
Returns
listTriggeredWebJobHistorySlot(string, string, string, string, WebAppsListTriggeredWebJobHistorySlotOptionalParams)
Description for 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 uses the production slot.
The options parameters.
Returns
listTriggeredWebJobs(string, string, WebAppsListTriggeredWebJobsOptionalParams)
Description for 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.
The options parameters.
Returns
listTriggeredWebJobsSlot(string, string, string, WebAppsListTriggeredWebJobsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listUsages(string, string, WebAppsListUsagesOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
listVnetConnections(string, string, WebAppsListVnetConnectionsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<WebAppsListVnetConnectionsResponse>
listVnetConnectionsSlot(string, string, string, WebAppsListVnetConnectionsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
listWebJobs(string, string, WebAppsListWebJobsOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
listWorkflows(string, string, WebAppsListWorkflowsOptionalParams)
List the workflows for a web site, or a deployment slot.
function listWorkflows(resourceGroupName: string, name: string, options?: WebAppsListWorkflowsOptionalParams): PagedAsyncIterableIterator<WorkflowEnvelope, WorkflowEnvelope[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Site name.
The options parameters.
Returns
listWorkflowsConnections(string, string, WebAppsListWorkflowsConnectionsOptionalParams)
Lists logic app's connections for web site, or a deployment slot.
function listWorkflowsConnections(resourceGroupName: string, name: string, options?: WebAppsListWorkflowsConnectionsOptionalParams): Promise<WorkflowEnvelope>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Site name.
The options parameters.
Returns
Promise<WorkflowEnvelope>
listWorkflowsConnectionsSlot(string, string, string, WebAppsListWorkflowsConnectionsSlotOptionalParams)
Lists logic app's connections for web site, or a deployment slot.
function listWorkflowsConnectionsSlot(resourceGroupName: string, name: string, slot: string, options?: WebAppsListWorkflowsConnectionsSlotOptionalParams): Promise<WorkflowEnvelope>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Site name.
- slot
-
string
Name of the deployment slot.
The options parameters.
Returns
Promise<WorkflowEnvelope>
putPrivateAccessVnet(string, string, PrivateAccess, WebAppsPutPrivateAccessVnetOptionalParams)
Description for 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
The options parameters.
Returns
Promise<PrivateAccess>
putPrivateAccessVnetSlot(string, string, string, PrivateAccess, WebAppsPutPrivateAccessVnetSlotOptionalParams)
Description for 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
The options parameters.
Returns
Promise<PrivateAccess>
recoverSiteConfigurationSnapshot(string, string, string, WebAppsRecoverSiteConfigurationSnapshotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
recoverSiteConfigurationSnapshotSlot(string, string, string, string, WebAppsRecoverSiteConfigurationSnapshotSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
resetProductionSlotConfig(string, string, WebAppsResetProductionSlotConfigOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
resetSlotConfigurationSlot(string, string, string, WebAppsResetSlotConfigurationSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
restart(string, string, WebAppsRestartOptionalParams)
Description for 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)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<void>
runTriggeredWebJobSlot(string, string, string, string, WebAppsRunTriggeredWebJobSlotOptionalParams)
Description for 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 uses the production slot.
The options parameters.
Returns
Promise<void>
start(string, string, WebAppsStartOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<void>
startContinuousWebJobSlot(string, string, string, string, WebAppsStartContinuousWebJobSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
startSlot(string, string, string, WebAppsStartSlotOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
startWebSiteNetworkTraceSlot(string, string, string, WebAppsStartWebSiteNetworkTraceSlotOptionalParams)
Description for 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.
The options parameters.
Returns
stop(string, string, WebAppsStopOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<void>
stopContinuousWebJobSlot(string, string, string, string, WebAppsStopContinuousWebJobSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
stopNetworkTrace(string, string, WebAppsStopNetworkTraceOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
stopNetworkTraceSlot(string, string, string, WebAppsStopNetworkTraceSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
stopSlot(string, string, string, WebAppsStopSlotOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<void>
stopWebSiteNetworkTraceSlot(string, string, string, WebAppsStopWebSiteNetworkTraceSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
syncFunctions(string, string, WebAppsSyncFunctionsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
syncFunctionsSlot(string, string, string, WebAppsSyncFunctionsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
syncFunctionTriggers(string, string, WebAppsSyncFunctionTriggersOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
syncFunctionTriggersSlot(string, string, string, WebAppsSyncFunctionTriggersSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
syncRepository(string, string, WebAppsSyncRepositoryOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
syncRepositorySlot(string, string, string, WebAppsSyncRepositorySlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<void>
update(string, string, SitePatchResource, WebAppsUpdateOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<StringDictionary>
updateApplicationSettingsSlot(string, string, string, StringDictionary, WebAppsUpdateApplicationSettingsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<StringDictionary>
updateAuthSettings(string, string, SiteAuthSettings, WebAppsUpdateAuthSettingsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteAuthSettings>
updateAuthSettingsSlot(string, string, string, SiteAuthSettings, WebAppsUpdateAuthSettingsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteAuthSettings>
updateAuthSettingsV2(string, string, SiteAuthSettingsV2, WebAppsUpdateAuthSettingsV2OptionalParams)
Description for Updates site's Authentication / Authorization settings for apps via the V2 format
function updateAuthSettingsV2(resourceGroupName: string, name: string, siteAuthSettingsV2: SiteAuthSettingsV2, options?: WebAppsUpdateAuthSettingsV2OptionalParams): Promise<SiteAuthSettingsV2>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of web app.
- siteAuthSettingsV2
- SiteAuthSettingsV2
Auth settings associated with web app.
The options parameters.
Returns
Promise<SiteAuthSettingsV2>
updateAuthSettingsV2Slot(string, string, string, SiteAuthSettingsV2, WebAppsUpdateAuthSettingsV2SlotOptionalParams)
Description for Updates site's Authentication / Authorization settings for apps via the V2 format
function updateAuthSettingsV2Slot(resourceGroupName: string, name: string, slot: string, siteAuthSettingsV2: SiteAuthSettingsV2, options?: WebAppsUpdateAuthSettingsV2SlotOptionalParams): Promise<SiteAuthSettingsV2>
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.
- siteAuthSettingsV2
- SiteAuthSettingsV2
Auth settings associated with web app.
The options parameters.
Returns
Promise<SiteAuthSettingsV2>
updateAzureStorageAccounts(string, string, AzureStoragePropertyDictionaryResource, WebAppsUpdateAzureStorageAccountsOptionalParams)
Description for 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.
The options parameters.
Returns
updateAzureStorageAccountsSlot(string, string, string, AzureStoragePropertyDictionaryResource, WebAppsUpdateAzureStorageAccountsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
updateBackupConfiguration(string, string, BackupRequest, WebAppsUpdateBackupConfigurationOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<BackupRequest>
updateBackupConfigurationSlot(string, string, string, BackupRequest, WebAppsUpdateBackupConfigurationSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<BackupRequest>
updateConfiguration(string, string, SiteConfigResource, WebAppsUpdateConfigurationOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteConfigResource>
updateConfigurationSlot(string, string, string, SiteConfigResource, WebAppsUpdateConfigurationSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteConfigResource>
updateConnectionStrings(string, string, ConnectionStringDictionary, WebAppsUpdateConnectionStringsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<ConnectionStringDictionary>
updateConnectionStringsSlot(string, string, string, ConnectionStringDictionary, WebAppsUpdateConnectionStringsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<ConnectionStringDictionary>
updateDiagnosticLogsConfig(string, string, SiteLogsConfig, WebAppsUpdateDiagnosticLogsConfigOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteLogsConfig>
updateDiagnosticLogsConfigSlot(string, string, string, SiteLogsConfig, WebAppsUpdateDiagnosticLogsConfigSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteLogsConfig>
updateDomainOwnershipIdentifier(string, string, string, Identifier, WebAppsUpdateDomainOwnershipIdentifierOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Identifier>
updateDomainOwnershipIdentifierSlot(string, string, string, string, Identifier, WebAppsUpdateDomainOwnershipIdentifierSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<Identifier>
updateFtpAllowed(string, string, CsmPublishingCredentialsPoliciesEntity, WebAppsUpdateFtpAllowedOptionalParams)
Description for Updates whether FTP is allowed on the site or not.
function updateFtpAllowed(resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, options?: WebAppsUpdateFtpAllowedOptionalParams): Promise<CsmPublishingCredentialsPoliciesEntity>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- csmPublishingAccessPoliciesEntity
- CsmPublishingCredentialsPoliciesEntity
Publishing Credentials Policies parameters.
The options parameters.
Returns
updateFtpAllowedSlot(string, string, string, CsmPublishingCredentialsPoliciesEntity, WebAppsUpdateFtpAllowedSlotOptionalParams)
Description for Updates whether FTP is allowed on the site or not.
function updateFtpAllowedSlot(resourceGroupName: string, name: string, slot: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, options?: WebAppsUpdateFtpAllowedSlotOptionalParams): Promise<CsmPublishingCredentialsPoliciesEntity>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- slot
-
string
- csmPublishingAccessPoliciesEntity
- CsmPublishingCredentialsPoliciesEntity
Publishing Credentials Policies parameters.
The options parameters.
Returns
updateHybridConnection(string, string, string, string, HybridConnection, WebAppsUpdateHybridConnectionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HybridConnection>
updateHybridConnectionSlot(string, string, string, string, string, HybridConnection, WebAppsUpdateHybridConnectionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<HybridConnection>
updateMetadata(string, string, StringDictionary, WebAppsUpdateMetadataOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<StringDictionary>
updateMetadataSlot(string, string, string, StringDictionary, WebAppsUpdateMetadataSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<StringDictionary>
updatePremierAddOn(string, string, string, PremierAddOnPatchResource, WebAppsUpdatePremierAddOnOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PremierAddOn>
updatePremierAddOnSlot(string, string, string, string, PremierAddOnPatchResource, WebAppsUpdatePremierAddOnSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PremierAddOn>
updateRelayServiceConnection(string, string, string, RelayServiceConnectionEntity, WebAppsUpdateRelayServiceConnectionOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<RelayServiceConnectionEntity>
updateRelayServiceConnectionSlot(string, string, string, string, RelayServiceConnectionEntity, WebAppsUpdateRelayServiceConnectionSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<RelayServiceConnectionEntity>
updateScmAllowed(string, string, CsmPublishingCredentialsPoliciesEntity, WebAppsUpdateScmAllowedOptionalParams)
Description for Updates whether user publishing credentials are allowed on the site or not.
function updateScmAllowed(resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, options?: WebAppsUpdateScmAllowedOptionalParams): Promise<CsmPublishingCredentialsPoliciesEntity>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- csmPublishingAccessPoliciesEntity
- CsmPublishingCredentialsPoliciesEntity
Publishing Credentials Policies parameters.
The options parameters.
Returns
updateScmAllowedSlot(string, string, string, CsmPublishingCredentialsPoliciesEntity, WebAppsUpdateScmAllowedSlotOptionalParams)
Description for Updates whether user publishing credentials are allowed on the site or not.
function updateScmAllowedSlot(resourceGroupName: string, name: string, slot: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, options?: WebAppsUpdateScmAllowedSlotOptionalParams): Promise<CsmPublishingCredentialsPoliciesEntity>
Parameters
- resourceGroupName
-
string
Name of the resource group to which the resource belongs.
- name
-
string
Name of the app.
- slot
-
string
- csmPublishingAccessPoliciesEntity
- CsmPublishingCredentialsPoliciesEntity
Publishing Credentials Policies parameters.
The options parameters.
Returns
updateSitePushSettings(string, string, PushSettings, WebAppsUpdateSitePushSettingsOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PushSettings>
updateSitePushSettingsSlot(string, string, string, PushSettings, WebAppsUpdateSitePushSettingsSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<PushSettings>
updateSlot(string, string, string, SitePatchResource, WebAppsUpdateSlotOptionalParams)
Description for 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)
Description for 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.
The options parameters.
Returns
Promise<SlotConfigNamesResource>
updateSourceControl(string, string, SiteSourceControl, WebAppsUpdateSourceControlOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteSourceControl>
updateSourceControlSlot(string, string, string, SiteSourceControl, WebAppsUpdateSourceControlSlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<SiteSourceControl>
updateSwiftVirtualNetworkConnectionWithCheck(string, string, SwiftVirtualNetwork, WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams)
Description for 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 updateSwiftVirtualNetworkConnectionWithCheck(resourceGroupName: string, name: string, connectionEnvelope: SwiftVirtualNetwork, options?: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckOptionalParams): 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.
The options parameters.
Returns
Promise<SwiftVirtualNetwork>
updateSwiftVirtualNetworkConnectionWithCheckSlot(string, string, string, SwiftVirtualNetwork, WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams)
Description for 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 updateSwiftVirtualNetworkConnectionWithCheckSlot(resourceGroupName: string, name: string, slot: string, connectionEnvelope: SwiftVirtualNetwork, options?: WebAppsUpdateSwiftVirtualNetworkConnectionWithCheckSlotOptionalParams): 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.
The options parameters.
Returns
Promise<SwiftVirtualNetwork>
updateVnetConnection(string, string, string, VnetInfoResource, WebAppsUpdateVnetConnectionOptionalParams)
Description for 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: VnetInfoResource, options?: WebAppsUpdateVnetConnectionOptionalParams): Promise<VnetInfoResource>
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
- VnetInfoResource
Properties of the Virtual Network connection. See example.
The options parameters.
Returns
Promise<VnetInfoResource>
updateVnetConnectionGateway(string, string, string, string, VnetGateway, WebAppsUpdateVnetConnectionGatewayOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<VnetGateway>
updateVnetConnectionGatewaySlot(string, string, string, string, string, VnetGateway, WebAppsUpdateVnetConnectionGatewaySlotOptionalParams)
Description for 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.
The options parameters.
Returns
Promise<VnetGateway>
updateVnetConnectionSlot(string, string, string, string, VnetInfoResource, WebAppsUpdateVnetConnectionSlotOptionalParams)
Description for 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: VnetInfoResource, options?: WebAppsUpdateVnetConnectionSlotOptionalParams): Promise<VnetInfoResource>
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
- VnetInfoResource
Properties of the Virtual Network connection. See example.
The options parameters.
Returns
Promise<VnetInfoResource>