Class WebSiteResource
A Class representing a WebSite along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct a WebSiteResource from an instance of Azure.ResourceManager.ArmClient using the GetWebSiteResource method. Otherwise you can get one from its parent resource Azure.ResourceManager.Resources.ResourceGroupResource using the GetWebSite method.
Inheritance
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.AppService.dll
Syntax
public class WebSiteResource : Azure.ResourceManager.ArmResource
Constructors
WebSiteResource()
Initializes a new instance of the WebSiteResource class for mocking.
Declaration
protected WebSiteResource ();
Fields
ResourceType
Gets the resource type for the operations.
Declaration
public static readonly Azure.Core.ResourceType ResourceType;
Field Value
Azure.Core.ResourceType
|
Properties
Data
Gets the data representing this Feature.
Declaration
public virtual Azure.ResourceManager.AppService.WebSiteData Data { get; }
Property Value
WebSiteData
|
Exceptions
System.InvalidOperationException
Throws if there is no data loaded in the current instance. |
HasData
Gets whether or not the current instance has data.
Declaration
public virtual bool HasData { get; }
Property Value
System.Boolean
|
Methods
AddTag(String, String, CancellationToken)
Add a tag to the current resource. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} Operation Id: WebApps_Get
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.WebSiteResource> AddTag (string key, string value, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
key
The key for the tag. |
System.String
value
The value for the tag. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<WebSiteResource>
|
Exceptions
System.ArgumentNullException
|
AddTagAsync(String, String, CancellationToken)
Add a tag to the current resource. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} Operation Id: WebApps_Get
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteResource>> AddTagAsync (string key, string value, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
key
The key for the tag. |
System.String
value
The value for the tag. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<WebSiteResource>>
|
Exceptions
System.ArgumentNullException
|
AnalyzeCustomHostname(String, CancellationToken)
Description for Analyze a custom hostname. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname Operation Id: WebApps_AnalyzeCustomHostname
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.CustomHostnameAnalysisResult> AnalyzeCustomHostname (string hostName = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
hostName
Custom hostname. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<CustomHostnameAnalysisResult>
|
AnalyzeCustomHostnameAsync(String, CancellationToken)
Description for Analyze a custom hostname. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname Operation Id: WebApps_AnalyzeCustomHostname
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.CustomHostnameAnalysisResult>> AnalyzeCustomHostnameAsync (string hostName = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
hostName
Custom hostname. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<CustomHostnameAnalysisResult>>
|
ApplySlotConfigToProduction(CsmSlotEntity, CancellationToken)
Description for Applies the configuration settings from the target slot onto the current slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig Operation Id: WebApps_ApplySlotConfigToProduction
Declaration
public virtual Azure.Response ApplySlotConfigToProduction (Azure.ResourceManager.AppService.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = null);
Parameters
CsmSlotEntity
slotSwapEntity
JSON object that contains the target slot name. See example. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
Exceptions
System.ArgumentNullException
|
ApplySlotConfigToProductionAsync(CsmSlotEntity, CancellationToken)
Description for Applies the configuration settings from the target slot onto the current slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig Operation Id: WebApps_ApplySlotConfigToProduction
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> ApplySlotConfigToProductionAsync (Azure.ResourceManager.AppService.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = null);
Parameters
CsmSlotEntity
slotSwapEntity
JSON object that contains the target slot name. See example. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
Exceptions
System.ArgumentNullException
|
Backup(BackupRequest, CancellationToken)
Description for Creates a backup of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup Operation Id: WebApps_Backup
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteBackupResource> Backup (Azure.ResourceManager.AppService.Models.BackupRequest request, System.Threading.CancellationToken cancellationToken = null);
Parameters
BackupRequest
request
Backup configuration. You can use the JSON response from the POST action as input here. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteBackupResource>
|
Exceptions
System.ArgumentNullException
|
BackupAsync(BackupRequest, CancellationToken)
Description for Creates a backup of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup Operation Id: WebApps_Backup
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteBackupResource>> BackupAsync (Azure.ResourceManager.AppService.Models.BackupRequest request, System.Threading.CancellationToken cancellationToken = null);
Parameters
BackupRequest
request
Backup configuration. You can use the JSON response from the POST action as input here. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteBackupResource>>
|
Exceptions
System.ArgumentNullException
|
CreateOrUpdateHostSecret(String, String, KeyInfo, CancellationToken)
Description for Add or update a host level secret. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName} Operation Id: WebApps_CreateOrUpdateHostSecret
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.KeyInfo> CreateOrUpdateHostSecret (string keyType, string keyName, Azure.ResourceManager.AppService.Models.KeyInfo info, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
keyType
The type of host key. |
System.String
keyName
The name of the key. |
KeyInfo
info
The key to create or update. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<KeyInfo>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
CreateOrUpdateHostSecretAsync(String, String, KeyInfo, CancellationToken)
Description for Add or update a host level secret. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName} Operation Id: WebApps_CreateOrUpdateHostSecret
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.KeyInfo>> CreateOrUpdateHostSecretAsync (string keyType, string keyName, Azure.ResourceManager.AppService.Models.KeyInfo info, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
keyType
The type of host key. |
System.String
keyName
The name of the key. |
KeyInfo
info
The key to create or update. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<KeyInfo>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
CreateResourceIdentifier(String, String, String)
Generate the resource identifier of a WebSiteResource instance.
Declaration
public static Azure.Core.ResourceIdentifier CreateResourceIdentifier (string subscriptionId, string resourceGroupName, string name);
Parameters
System.String
subscriptionId
|
System.String
resourceGroupName
|
System.String
name
|
Returns
Azure.Core.ResourceIdentifier
|
Delete(WaitUntil, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)
Description for Deletes a web, mobile, or API app, or one of the deployment slots. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} Operation Id: WebApps_Delete
Declaration
public virtual Azure.ResourceManager.ArmOperation Delete (Azure.WaitUntil waitUntil, Nullable<bool> deleteMetrics = null, Nullable<bool> deleteEmptyServerFarm = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
System.Nullable<System.Boolean>
deleteMetrics
If true, web app metrics are also deleted. |
System.Nullable<System.Boolean>
deleteEmptyServerFarm
Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.ResourceManager.ArmOperation
|
DeleteAsync(WaitUntil, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)
Description for Deletes a web, mobile, or API app, or one of the deployment slots. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} Operation Id: WebApps_Delete
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> DeleteAsync (Azure.WaitUntil waitUntil, Nullable<bool> deleteMetrics = null, Nullable<bool> deleteEmptyServerFarm = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
System.Nullable<System.Boolean>
deleteMetrics
If true, web app metrics are also deleted. |
System.Nullable<System.Boolean>
deleteEmptyServerFarm
Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
|
DeleteBackupConfiguration(CancellationToken)
Description for Deletes the backup configuration of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup Operation Id: WebApps_DeleteBackupConfiguration
Declaration
public virtual Azure.Response DeleteBackupConfiguration (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
DeleteBackupConfigurationAsync(CancellationToken)
Description for Deletes the backup configuration of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup Operation Id: WebApps_DeleteBackupConfiguration
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteBackupConfigurationAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
DeleteHostSecret(String, String, CancellationToken)
Description for Delete a host level secret. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName} Operation Id: WebApps_DeleteHostSecret
Declaration
public virtual Azure.Response DeleteHostSecret (string keyType, string keyName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
keyType
The type of host key. |
System.String
keyName
The name of the key. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
DeleteHostSecretAsync(String, String, CancellationToken)
Description for Delete a host level secret. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName} Operation Id: WebApps_DeleteHostSecret
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteHostSecretAsync (string keyType, string keyName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
keyType
The type of host key. |
System.String
keyName
The name of the key. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
DisableAllForWebAppRecommendation(CancellationToken)
Description for Disable all recommendations for an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/disable Operation Id: Recommendations_DisableAllForWebApp
Declaration
public virtual Azure.Response DisableAllForWebAppRecommendation (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
DisableAllForWebAppRecommendationAsync(CancellationToken)
Description for Disable all recommendations for an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/disable Operation Id: Recommendations_DisableAllForWebApp
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> DisableAllForWebAppRecommendationAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
DiscoverBackup(RestoreRequest, CancellationToken)
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. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/discoverbackup Operation Id: WebApps_DiscoverBackup
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.RestoreRequest> DiscoverBackup (Azure.ResourceManager.AppService.Models.RestoreRequest request, System.Threading.CancellationToken cancellationToken = null);
Parameters
RestoreRequest
request
A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<RestoreRequest>
|
Exceptions
System.ArgumentNullException
|
DiscoverBackupAsync(RestoreRequest, CancellationToken)
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. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/discoverbackup Operation Id: WebApps_DiscoverBackup
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.RestoreRequest>> DiscoverBackupAsync (Azure.ResourceManager.AppService.Models.RestoreRequest request, System.Threading.CancellationToken cancellationToken = null);
Parameters
RestoreRequest
request
A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<RestoreRequest>>
|
Exceptions
System.ArgumentNullException
|
GenerateNewSitePublishingPassword(CancellationToken)
Description for Generates a new publishing password for an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword Operation Id: WebApps_GenerateNewSitePublishingPassword
Declaration
public virtual Azure.Response GenerateNewSitePublishingPassword (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
GenerateNewSitePublishingPasswordAsync(CancellationToken)
Description for Generates a new publishing password for an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword Operation Id: WebApps_GenerateNewSitePublishingPassword
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> GenerateNewSitePublishingPasswordAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
Get(CancellationToken)
Description for Gets the details of a web, mobile, or API app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} Operation Id: WebApps_Get
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.WebSiteResource> Get (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<WebSiteResource>
|
GetApplicationSettings(CancellationToken)
Description for Gets the application settings of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list Operation Id: WebApps_ListApplicationSettings
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.StringDictionary> GetApplicationSettings (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<StringDictionary>
|
GetApplicationSettingsAsync(CancellationToken)
Description for Gets the application settings of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list Operation Id: WebApps_ListApplicationSettings
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StringDictionary>> GetApplicationSettingsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<StringDictionary>>
|
GetAsync(CancellationToken)
Description for Gets the details of a web, mobile, or API app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} Operation Id: WebApps_Get
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteResource>> GetAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<WebSiteResource>>
|
GetAuthSettings(CancellationToken)
Description for Gets the Authentication/Authorization settings of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list Operation Id: WebApps_GetAuthSettings
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettings> GetAuthSettings (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteAuthSettings>
|
GetAuthSettingsAsync(CancellationToken)
Description for Gets the Authentication/Authorization settings of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list Operation Id: WebApps_GetAuthSettings
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettings>> GetAuthSettingsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteAuthSettings>>
|
GetAuthSettingsV2(CancellationToken)
Description for Gets site's Authentication / Authorization settings for apps via the V2 format Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2/list Operation Id: WebApps_GetAuthSettingsV2
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettingsV2> GetAuthSettingsV2 (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteAuthSettingsV2>
|
GetAuthSettingsV2Async(CancellationToken)
Description for Gets site's Authentication / Authorization settings for apps via the V2 format Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2/list Operation Id: WebApps_GetAuthSettingsV2
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettingsV2>> GetAuthSettingsV2Async (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteAuthSettingsV2>>
|
GetAzureStorageAccounts(CancellationToken)
Description for Gets the Azure storage account configurations of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list Operation Id: WebApps_ListAzureStorageAccounts
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.AzureStoragePropertyDictionaryResource> GetAzureStorageAccounts (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<AzureStoragePropertyDictionaryResource>
|
GetAzureStorageAccountsAsync(CancellationToken)
Description for Gets the Azure storage account configurations of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list Operation Id: WebApps_ListAzureStorageAccounts
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AzureStoragePropertyDictionaryResource>> GetAzureStorageAccountsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<AzureStoragePropertyDictionaryResource>>
|
GetBackupConfiguration(CancellationToken)
Description for Gets the backup configuration of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup/list Operation Id: WebApps_GetBackupConfiguration
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.BackupRequest> GetBackupConfiguration (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<BackupRequest>
|
GetBackupConfigurationAsync(CancellationToken)
Description for Gets the backup configuration of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup/list Operation Id: WebApps_GetBackupConfiguration
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.BackupRequest>> GetBackupConfigurationAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<BackupRequest>>
|
GetBasicPublishingCredentialsPolicyFtp()
Gets an object representing a BasicPublishingCredentialsPolicyFtpResource along with the instance operations that can be performed on it in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.BasicPublishingCredentialsPolicyFtpResource GetBasicPublishingCredentialsPolicyFtp ();
Returns
BasicPublishingCredentialsPolicyFtpResource
Returns a BasicPublishingCredentialsPolicyFtpResource object. |
GetConfigurations(CancellationToken)
Description for List the configurations of an app Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config Operation Id: WebApps_ListConfigurations
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.WebSiteConfigResource> GetConfigurations (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<WebSiteConfigResource>
A collection of WebSiteConfigResource that may take multiple service requests to iterate over. |
GetConfigurationsAsync(CancellationToken)
Description for List the configurations of an app Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config Operation Id: WebApps_ListConfigurations
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.WebSiteConfigResource> GetConfigurationsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<WebSiteConfigResource>
An async collection of WebSiteConfigResource that may take multiple service requests to iterate over. |
GetConnectionStrings(CancellationToken)
Description for Gets the connection strings of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list Operation Id: WebApps_ListConnectionStrings
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary> GetConnectionStrings (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<ConnectionStringDictionary>
|
GetConnectionStringsAsync(CancellationToken)
Description for Gets the connection strings of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings/list Operation Id: WebApps_ListConnectionStrings
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary>> GetConnectionStringsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<ConnectionStringDictionary>>
|
GetContainerLogsZip(CancellationToken)
Description for Gets the ZIP archived docker log files for the given site Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip/download Operation Id: WebApps_GetContainerLogsZip
Declaration
public virtual Azure.Response<System.IO.Stream> GetContainerLogsZip (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<System.IO.Stream>
|
GetContainerLogsZipAsync(CancellationToken)
Description for Gets the ZIP archived docker log files for the given site Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip/download Operation Id: WebApps_GetContainerLogsZip
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<System.IO.Stream>> GetContainerLogsZipAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<System.IO.Stream>>
|
GetFunctionsAdminToken(CancellationToken)
Description for Fetch a short lived token that can be exchanged for a master key. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token Operation Id: WebApps_GetFunctionsAdminToken
Declaration
public virtual Azure.Response<string> GetFunctionsAdminToken (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<System.String>
|
GetFunctionsAdminTokenAsync(CancellationToken)
Description for Fetch a short lived token that can be exchanged for a master key. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token Operation Id: WebApps_GetFunctionsAdminToken
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<string>> GetFunctionsAdminTokenAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<System.String>>
|
GetHistoryForWebAppRecommendations(Nullable<Boolean>, String, CancellationToken)
Description for Get past recommendations for an app, optionally specified by the time range. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendationHistory Operation Id: Recommendations_ListHistoryForWebApp
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.AppServiceRecommendation> GetHistoryForWebAppRecommendations (Nullable<bool> expiredOnly = null, string filter = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Nullable<System.Boolean>
expiredOnly
Specify <code>false</code> to return all recommendations. The default is <code>true</code>, which returns only expired recommendations. |
System.String
filter
Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D]. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<AppServiceRecommendation>
A collection of AppServiceRecommendation that may take multiple service requests to iterate over. |
GetHistoryForWebAppRecommendationsAsync(Nullable<Boolean>, String, CancellationToken)
Description for Get past recommendations for an app, optionally specified by the time range. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendationHistory Operation Id: Recommendations_ListHistoryForWebApp
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceRecommendation> GetHistoryForWebAppRecommendationsAsync (Nullable<bool> expiredOnly = null, string filter = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Nullable<System.Boolean>
expiredOnly
Specify <code>false</code> to return all recommendations. The default is <code>true</code>, which returns only expired recommendations. |
System.String
filter
Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D]. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<AppServiceRecommendation>
An async collection of AppServiceRecommendation that may take multiple service requests to iterate over. |
GetHostKeys(CancellationToken)
Description for Get host secrets for a function app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listkeys Operation Id: WebApps_ListHostKeys
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.HostKeys> GetHostKeys (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<HostKeys>
|
GetHostKeysAsync(CancellationToken)
Description for Get host secrets for a function app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listkeys Operation Id: WebApps_ListHostKeys
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.HostKeys>> GetHostKeysAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<HostKeys>>
|
GetHybridConnections(CancellationToken)
Description for Retrieves all Service Bus Hybrid Connections used by this Web App. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionRelays Operation Id: WebApps_ListHybridConnections
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.ServerfarmHybridConnectionNamespaceRelayResource> GetHybridConnections (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<ServerfarmHybridConnectionNamespaceRelayResource>
|
GetHybridConnectionsAsync(CancellationToken)
Description for Retrieves all Service Bus Hybrid Connections used by this Web App. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionRelays Operation Id: WebApps_ListHybridConnections
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.ServerfarmHybridConnectionNamespaceRelayResource>> GetHybridConnectionsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<ServerfarmHybridConnectionNamespaceRelayResource>>
|
GetLogsSiteConfig()
Gets an object representing a LogsSiteConfigResource along with the instance operations that can be performed on it in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.LogsSiteConfigResource GetLogsSiteConfig ();
Returns
LogsSiteConfigResource
Returns a LogsSiteConfigResource object. |
GetMetadata(CancellationToken)
Description for Gets the metadata of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list Operation Id: WebApps_ListMetadata
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.StringDictionary> GetMetadata (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<StringDictionary>
|
GetMetadataAsync(CancellationToken)
Description for Gets the metadata of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata/list Operation Id: WebApps_ListMetadata
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StringDictionary>> GetMetadataAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<StringDictionary>>
|
GetMigrateMySqlStatus(CancellationToken)
Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status Operation Id: WebApps_GetMigrateMySqlStatus
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.MigrateMySqlStatusResource> GetMigrateMySqlStatus (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<MigrateMySqlStatusResource>
|
GetMigrateMySqlStatusAsync(CancellationToken)
Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status Operation Id: WebApps_GetMigrateMySqlStatus
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.MigrateMySqlStatusResource>> GetMigrateMySqlStatusAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<MigrateMySqlStatusResource>>
|
GetNetworkFeatures(String, CancellationToken)
Description for Gets all network features used by the app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view} Operation Id: WebApps_ListNetworkFeatures
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.NetworkFeaturesResource> GetNetworkFeatures (string view, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
view
The type of view. Only "summary" is supported at this time. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<NetworkFeaturesResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetNetworkFeaturesAsync(String, CancellationToken)
Description for Gets all network features used by the app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view} Operation Id: WebApps_ListNetworkFeatures
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.NetworkFeaturesResource>> GetNetworkFeaturesAsync (string view, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
view
The type of view. Only "summary" is supported at this time. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<NetworkFeaturesResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetNetworkTraceOperation(String, CancellationToken)
Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/operationresults/{operationId} Operation Id: WebApps_GetNetworkTraceOperation
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.NetworkTrace> GetNetworkTraceOperation (string operationId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
operationId
GUID of the operation. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<NetworkTrace>
A collection of NetworkTrace that may take multiple service requests to iterate over. |
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetNetworkTraceOperationAsync(String, CancellationToken)
Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/operationresults/{operationId} Operation Id: WebApps_GetNetworkTraceOperation
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.NetworkTrace> GetNetworkTraceOperationAsync (string operationId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
operationId
GUID of the operation. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<NetworkTrace>
An async collection of NetworkTrace that may take multiple service requests to iterate over. |
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetNetworkTraceOperationV2(String, CancellationToken)
Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/current/operationresults/{operationId} Operation Id: WebApps_GetNetworkTraceOperationV2
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.NetworkTrace> GetNetworkTraceOperationV2 (string operationId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
operationId
GUID of the operation. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<NetworkTrace>
A collection of NetworkTrace that may take multiple service requests to iterate over. |
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetNetworkTraceOperationV2Async(String, CancellationToken)
Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/current/operationresults/{operationId} Operation Id: WebApps_GetNetworkTraceOperationV2
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.NetworkTrace> GetNetworkTraceOperationV2Async (string operationId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
operationId
GUID of the operation. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<NetworkTrace>
An async collection of NetworkTrace that may take multiple service requests to iterate over. |
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetNetworkTraces(String, CancellationToken)
Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/{operationId} Operation Id: WebApps_GetNetworkTraces
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.NetworkTrace> GetNetworkTraces (string operationId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
operationId
GUID of the operation. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<NetworkTrace>
A collection of NetworkTrace that may take multiple service requests to iterate over. |
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetNetworkTracesAsync(String, CancellationToken)
Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/{operationId} Operation Id: WebApps_GetNetworkTraces
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.NetworkTrace> GetNetworkTracesAsync (string operationId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
operationId
GUID of the operation. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<NetworkTrace>
An async collection of NetworkTrace that may take multiple service requests to iterate over. |
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetNetworkTracesV2(String, CancellationToken)
Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/{operationId} Operation Id: WebApps_GetNetworkTracesV2
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.NetworkTrace> GetNetworkTracesV2 (string operationId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
operationId
GUID of the operation. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<NetworkTrace>
A collection of NetworkTrace that may take multiple service requests to iterate over. |
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetNetworkTracesV2Async(String, CancellationToken)
Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/{operationId} Operation Id: WebApps_GetNetworkTracesV2
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.NetworkTrace> GetNetworkTracesV2Async (string operationId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
operationId
GUID of the operation. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<NetworkTrace>
An async collection of NetworkTrace that may take multiple service requests to iterate over. |
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetPerfMonCounters(String, CancellationToken)
Description for Gets perfmon counters for web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/perfcounters Operation Id: WebApps_ListPerfMonCounters
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.PerfMonResponse> GetPerfMonCounters (string filter = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
filter
Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<PerfMonResponse>
A collection of PerfMonResponse that may take multiple service requests to iterate over. |
GetPerfMonCountersAsync(String, CancellationToken)
Description for Gets perfmon counters for web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/perfcounters Operation Id: WebApps_ListPerfMonCounters
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.PerfMonResponse> GetPerfMonCountersAsync (string filter = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
filter
Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<PerfMonResponse>
An async collection of PerfMonResponse that may take multiple service requests to iterate over. |
GetPremierAddOns(CancellationToken)
Description for Gets the premier add-ons of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons Operation Id: WebApps_ListPremierAddOns
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SitePremierAddonResource> GetPremierAddOns (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SitePremierAddonResource>
|
GetPremierAddOnsAsync(CancellationToken)
Description for Gets the premier add-ons of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons Operation Id: WebApps_ListPremierAddOns
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SitePremierAddonResource>> GetPremierAddOnsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SitePremierAddonResource>>
|
GetPrivateLinkResources(CancellationToken)
Description for Gets the private link resources Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateLinkResources Operation Id: WebApps_GetPrivateLinkResources
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.AppServicePrivateLinkResource> GetPrivateLinkResources (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<AppServicePrivateLinkResource>
A collection of AppServicePrivateLinkResource that may take multiple service requests to iterate over. |
GetPrivateLinkResourcesAsync(CancellationToken)
Description for Gets the private link resources Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateLinkResources Operation Id: WebApps_GetPrivateLinkResources
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServicePrivateLinkResource> GetPrivateLinkResourcesAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<AppServicePrivateLinkResource>
An async collection of AppServicePrivateLinkResource that may take multiple service requests to iterate over. |
GetPublishingCredentials(WaitUntil, CancellationToken)
Description for Gets the Git/FTP publishing credentials of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list Operation Id: WebApps_ListPublishingCredentials
Declaration
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppService.UserResource> GetPublishingCredentials (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.ResourceManager.ArmOperation<UserResource>
|
GetPublishingCredentialsAsync(WaitUntil, CancellationToken)
Description for Gets the Git/FTP publishing credentials of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/publishingcredentials/list Operation Id: WebApps_ListPublishingCredentials
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppService.UserResource>> GetPublishingCredentialsAsync (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<UserResource>>
|
GetPublishingProfileXmlWithSecrets(CsmPublishingProfileOptions, CancellationToken)
Description for Gets the publishing profile for an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml Operation Id: WebApps_ListPublishingProfileXmlWithSecrets
Declaration
public virtual Azure.Response<System.IO.Stream> GetPublishingProfileXmlWithSecrets (Azure.ResourceManager.AppService.Models.CsmPublishingProfileOptions options, System.Threading.CancellationToken cancellationToken = null);
Parameters
CsmPublishingProfileOptions
options
Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<System.IO.Stream>
|
Exceptions
System.ArgumentNullException
|
GetPublishingProfileXmlWithSecretsAsync(CsmPublishingProfileOptions, CancellationToken)
Description for Gets the publishing profile for an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml Operation Id: WebApps_ListPublishingProfileXmlWithSecrets
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<System.IO.Stream>> GetPublishingProfileXmlWithSecretsAsync (Azure.ResourceManager.AppService.Models.CsmPublishingProfileOptions options, System.Threading.CancellationToken cancellationToken = null);
Parameters
CsmPublishingProfileOptions
options
Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<System.IO.Stream>>
|
Exceptions
System.ArgumentNullException
|
GetRecommendedRulesForWebAppRecommendations(Nullable<Boolean>, String, CancellationToken)
Description for Get all recommendations for an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations Operation Id: Recommendations_ListRecommendedRulesForWebApp
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.AppServiceRecommendation> GetRecommendedRulesForWebAppRecommendations (Nullable<bool> featured = null, string filter = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Nullable<System.Boolean>
featured
Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. |
System.String
filter
Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification'. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<AppServiceRecommendation>
A collection of AppServiceRecommendation that may take multiple service requests to iterate over. |
GetRecommendedRulesForWebAppRecommendationsAsync(Nullable<Boolean>, String, CancellationToken)
Description for Get all recommendations for an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations Operation Id: Recommendations_ListRecommendedRulesForWebApp
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceRecommendation> GetRecommendedRulesForWebAppRecommendationsAsync (Nullable<bool> featured = null, string filter = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Nullable<System.Boolean>
featured
Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. |
System.String
filter
Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification'. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<AppServiceRecommendation>
An async collection of AppServiceRecommendation that may take multiple service requests to iterate over. |
GetRelayServiceConnections(CancellationToken)
Description for Gets hybrid connections configured for an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection Operation Id: WebApps_ListRelayServiceConnections
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteHybridConnectionResource> GetRelayServiceConnections (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteHybridConnectionResource>
|
GetRelayServiceConnectionsAsync(CancellationToken)
Description for Gets hybrid connections configured for an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection Operation Id: WebApps_ListRelayServiceConnections
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteHybridConnectionResource>> GetRelayServiceConnectionsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteHybridConnectionResource>>
|
GetScmSiteBasicPublishingCredentialsPolicy()
Gets an object representing a ScmSiteBasicPublishingCredentialsPolicyResource along with the instance operations that can be performed on it in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.ScmSiteBasicPublishingCredentialsPolicyResource GetScmSiteBasicPublishingCredentialsPolicy ();
Returns
ScmSiteBasicPublishingCredentialsPolicyResource
Returns a ScmSiteBasicPublishingCredentialsPolicyResource object. |
GetSiteBackup(String, CancellationToken)
Description for Gets a backup of an app by its ID. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId} Operation Id: WebApps_GetBackupStatus
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteBackupResource> GetSiteBackup (string backupId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
backupId
ID of the backup. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteBackupResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteBackupAsync(String, CancellationToken)
Description for Gets a backup of an app by its ID. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId} Operation Id: WebApps_GetBackupStatus
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteBackupResource>> GetSiteBackupAsync (string backupId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
backupId
ID of the backup. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteBackupResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteBackups()
Gets a collection of SiteBackupResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteBackupCollection GetSiteBackups ();
Returns
SiteBackupCollection
An object representing collection of SiteBackupResources and their operations over a SiteBackupResource. |
GetSiteBackups(CancellationToken)
Description for Gets existing backups of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listbackups Operation Id: WebApps_ListSiteBackups
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.SiteBackupResource> GetSiteBackups (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<SiteBackupResource>
A collection of SiteBackupResource that may take multiple service requests to iterate over. |
GetSiteBackupsAsync(CancellationToken)
Description for Gets existing backups of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listbackups Operation Id: WebApps_ListSiteBackups
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.SiteBackupResource> GetSiteBackupsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<SiteBackupResource>
An async collection of SiteBackupResource that may take multiple service requests to iterate over. |
GetSiteConfigAppsetting(String, CancellationToken)
Description for Gets the config reference and status of an app Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey} Operation Id: WebApps_GetAppSettingKeyVaultReference
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteConfigAppsettingResource> GetSiteConfigAppsetting (string appSettingKey, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
appSettingKey
App Setting key name. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteConfigAppsettingResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteConfigAppsettingAsync(String, CancellationToken)
Description for Gets the config reference and status of an app Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey} Operation Id: WebApps_GetAppSettingKeyVaultReference
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteConfigAppsettingResource>> GetSiteConfigAppsettingAsync (string appSettingKey, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
appSettingKey
App Setting key name. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteConfigAppsettingResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteConfigAppsettings()
Gets a collection of SiteConfigAppsettingResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteConfigAppsettingCollection GetSiteConfigAppsettings ();
Returns
SiteConfigAppsettingCollection
An object representing collection of SiteConfigAppsettingResources and their operations over a SiteConfigAppsettingResource. |
GetSiteConfigConnectionString(String, CancellationToken)
Description for Gets the config reference and status of an app Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings/{connectionStringKey} Operation Id: WebApps_GetSiteConnectionStringKeyVaultReference
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteConfigConnectionStringResource> GetSiteConfigConnectionString (string connectionStringKey, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
connectionStringKey
The String to use. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteConfigConnectionStringResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteConfigConnectionStringAsync(String, CancellationToken)
Description for Gets the config reference and status of an app Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/connectionstrings/{connectionStringKey} Operation Id: WebApps_GetSiteConnectionStringKeyVaultReference
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteConfigConnectionStringResource>> GetSiteConfigConnectionStringAsync (string connectionStringKey, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
connectionStringKey
The String to use. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteConfigConnectionStringResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteConfigConnectionStrings()
Gets a collection of SiteConfigConnectionStringResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteConfigConnectionStringCollection GetSiteConfigConnectionStrings ();
Returns
SiteConfigConnectionStringCollection
An object representing collection of SiteConfigConnectionStringResources and their operations over a SiteConfigConnectionStringResource. |
GetSiteContinuousWebJob(String, CancellationToken)
Description for Gets a continuous web job by its ID for an app, or a deployment slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName} Operation Id: WebApps_GetContinuousWebJob
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteContinuousWebJobResource> GetSiteContinuousWebJob (string webJobName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
webJobName
Name of Web Job. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteContinuousWebJobResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteContinuousWebJobAsync(String, CancellationToken)
Description for Gets a continuous web job by its ID for an app, or a deployment slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName} Operation Id: WebApps_GetContinuousWebJob
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteContinuousWebJobResource>> GetSiteContinuousWebJobAsync (string webJobName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
webJobName
Name of Web Job. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteContinuousWebJobResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteContinuousWebJobs()
Gets a collection of SiteContinuousWebJobResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteContinuousWebJobCollection GetSiteContinuousWebJobs ();
Returns
SiteContinuousWebJobCollection
An object representing collection of SiteContinuousWebJobResources and their operations over a SiteContinuousWebJobResource. |
GetSiteDeployment(String, CancellationToken)
Description for Get a deployment by its ID for an app, or a deployment slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id} Operation Id: WebApps_GetDeployment
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteDeploymentResource> GetSiteDeployment (string id, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
id
Deployment ID. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteDeploymentResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteDeploymentAsync(String, CancellationToken)
Description for Get a deployment by its ID for an app, or a deployment slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id} Operation Id: WebApps_GetDeployment
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteDeploymentResource>> GetSiteDeploymentAsync (string id, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
id
Deployment ID. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteDeploymentResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteDeployments()
Gets a collection of SiteDeploymentResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteDeploymentCollection GetSiteDeployments ();
Returns
SiteDeploymentCollection
An object representing collection of SiteDeploymentResources and their operations over a SiteDeploymentResource. |
GetSiteDetector(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, CancellationToken)
Description for Get site detector response Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName} Operation Id: Diagnostics_GetSiteDetectorResponse
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteDetectorResource> GetSiteDetector (string detectorName, Nullable<DateTimeOffset> startTime = null, Nullable<DateTimeOffset> endTime = null, string timeGrain = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
detectorName
Detector Resource Name. |
System.Nullable<System.DateTimeOffset>
startTime
Start Time. |
System.Nullable<System.DateTimeOffset>
endTime
End Time. |
System.String
timeGrain
Time Grain. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteDetectorResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteDetectorAsync(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, CancellationToken)
Description for Get site detector response Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName} Operation Id: Diagnostics_GetSiteDetectorResponse
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteDetectorResource>> GetSiteDetectorAsync (string detectorName, Nullable<DateTimeOffset> startTime = null, Nullable<DateTimeOffset> endTime = null, string timeGrain = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
detectorName
Detector Resource Name. |
System.Nullable<System.DateTimeOffset>
startTime
Start Time. |
System.Nullable<System.DateTimeOffset>
endTime
End Time. |
System.String
timeGrain
Time Grain. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteDetectorResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteDetectors()
Gets a collection of SiteDetectorResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteDetectorCollection GetSiteDetectors ();
Returns
SiteDetectorCollection
An object representing collection of SiteDetectorResources and their operations over a SiteDetectorResource. |
GetSiteDiagnostic(String, CancellationToken)
Description for Get Diagnostics Category Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory} Operation Id: Diagnostics_GetSiteDiagnosticCategory
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteDiagnosticResource> GetSiteDiagnostic (string diagnosticCategory, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
diagnosticCategory
Diagnostic Category. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteDiagnosticResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteDiagnosticAsync(String, CancellationToken)
Description for Get Diagnostics Category Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory} Operation Id: Diagnostics_GetSiteDiagnosticCategory
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteDiagnosticResource>> GetSiteDiagnosticAsync (string diagnosticCategory, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
diagnosticCategory
Diagnostic Category. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteDiagnosticResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteDiagnostics()
Gets a collection of SiteDiagnosticResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteDiagnosticCollection GetSiteDiagnostics ();
Returns
SiteDiagnosticCollection
An object representing collection of SiteDiagnosticResources and their operations over a SiteDiagnosticResource. |
GetSiteDomainOwnershipIdentifier(String, CancellationToken)
Description for Get domain ownership identifier for web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName} Operation Id: WebApps_GetDomainOwnershipIdentifier
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteDomainOwnershipIdentifierResource> GetSiteDomainOwnershipIdentifier (string domainOwnershipIdentifierName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
domainOwnershipIdentifierName
Name of domain ownership identifier. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteDomainOwnershipIdentifierResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteDomainOwnershipIdentifierAsync(String, CancellationToken)
Description for Get domain ownership identifier for web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName} Operation Id: WebApps_GetDomainOwnershipIdentifier
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteDomainOwnershipIdentifierResource>> GetSiteDomainOwnershipIdentifierAsync (string domainOwnershipIdentifierName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
domainOwnershipIdentifierName
Name of domain ownership identifier. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteDomainOwnershipIdentifierResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteDomainOwnershipIdentifiers()
Gets a collection of SiteDomainOwnershipIdentifierResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteDomainOwnershipIdentifierCollection GetSiteDomainOwnershipIdentifiers ();
Returns
SiteDomainOwnershipIdentifierCollection
An object representing collection of SiteDomainOwnershipIdentifierResources and their operations over a SiteDomainOwnershipIdentifierResource. |
GetSiteExtension()
Gets an object representing a SiteExtensionResource along with the instance operations that can be performed on it in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteExtensionResource GetSiteExtension ();
Returns
SiteExtensionResource
Returns a SiteExtensionResource object. |
GetSiteFunction(String, CancellationToken)
Description for Get function information by its ID for web site, or a deployment slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName} Operation Id: WebApps_GetFunction
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteFunctionResource> GetSiteFunction (string functionName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
functionName
Function name. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteFunctionResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteFunctionAsync(String, CancellationToken)
Description for Get function information by its ID for web site, or a deployment slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName} Operation Id: WebApps_GetFunction
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteFunctionResource>> GetSiteFunctionAsync (string functionName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
functionName
Function name. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteFunctionResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteFunctions()
Gets a collection of SiteFunctionResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteFunctionCollection GetSiteFunctions ();
Returns
SiteFunctionCollection
An object representing collection of SiteFunctionResources and their operations over a SiteFunctionResource. |
GetSiteHostNameBinding(String, CancellationToken)
Description for Get the named hostname binding for an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName} Operation Id: WebApps_GetHostNameBinding
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteHostNameBindingResource> GetSiteHostNameBinding (string hostName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
hostName
Hostname in the hostname binding. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteHostNameBindingResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteHostNameBindingAsync(String, CancellationToken)
Description for Get the named hostname binding for an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName} Operation Id: WebApps_GetHostNameBinding
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteHostNameBindingResource>> GetSiteHostNameBindingAsync (string hostName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
hostName
Hostname in the hostname binding. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteHostNameBindingResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteHostNameBindings()
Gets a collection of SiteHostNameBindingResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteHostNameBindingCollection GetSiteHostNameBindings ();
Returns
SiteHostNameBindingCollection
An object representing collection of SiteHostNameBindingResources and their operations over a SiteHostNameBindingResource. |
GetSiteHybridConnection(String, CancellationToken)
Description for Gets a hybrid connection configuration by its name. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName} Operation Id: WebApps_GetRelayServiceConnection
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteHybridConnectionResource> GetSiteHybridConnection (string entityName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
entityName
Name of the hybrid connection. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteHybridConnectionResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteHybridConnectionAsync(String, CancellationToken)
Description for Gets a hybrid connection configuration by its name. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName} Operation Id: WebApps_GetRelayServiceConnection
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteHybridConnectionResource>> GetSiteHybridConnectionAsync (string entityName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
entityName
Name of the hybrid connection. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteHybridConnectionResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteHybridConnectionNamespaceRelay(String, String, CancellationToken)
Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName} Operation Id: WebApps_GetHybridConnection
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteHybridConnectionNamespaceRelayResource> GetSiteHybridConnectionNamespaceRelay (string namespaceName, string relayName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
namespaceName
The namespace for this hybrid connection. |
System.String
relayName
The relay name for this hybrid connection. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteHybridConnectionNamespaceRelayResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteHybridConnectionNamespaceRelayAsync(String, String, CancellationToken)
Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName} Operation Id: WebApps_GetHybridConnection
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteHybridConnectionNamespaceRelayResource>> GetSiteHybridConnectionNamespaceRelayAsync (string namespaceName, string relayName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
namespaceName
The namespace for this hybrid connection. |
System.String
relayName
The relay name for this hybrid connection. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteHybridConnectionNamespaceRelayResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteHybridConnectionNamespaceRelays()
Gets a collection of SiteHybridConnectionNamespaceRelayResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteHybridConnectionNamespaceRelayCollection GetSiteHybridConnectionNamespaceRelays ();
Returns
SiteHybridConnectionNamespaceRelayCollection
An object representing collection of SiteHybridConnectionNamespaceRelayResources and their operations over a SiteHybridConnectionNamespaceRelayResource. |
GetSiteHybridConnections()
Gets a collection of SiteHybridConnectionResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteHybridConnectionCollection GetSiteHybridConnections ();
Returns
SiteHybridConnectionCollection
An object representing collection of SiteHybridConnectionResources and their operations over a SiteHybridConnectionResource. |
GetSiteInstance(String, CancellationToken)
Description for Gets all scale-out instances of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId} Operation Id: WebApps_GetInstanceInfo
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteInstanceResource> GetSiteInstance (string instanceId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
instanceId
The String to use. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteInstanceResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteInstanceAsync(String, CancellationToken)
Description for Gets all scale-out instances of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId} Operation Id: WebApps_GetInstanceInfo
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteInstanceResource>> GetSiteInstanceAsync (string instanceId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
instanceId
The String to use. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteInstanceResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteInstances()
Gets a collection of SiteInstanceResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteInstanceCollection GetSiteInstances ();
Returns
SiteInstanceCollection
An object representing collection of SiteInstanceResources and their operations over a SiteInstanceResource. |
GetSiteNetworkConfig()
Gets an object representing a SiteNetworkConfigResource along with the instance operations that can be performed on it in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteNetworkConfigResource GetSiteNetworkConfig ();
Returns
SiteNetworkConfigResource
Returns a SiteNetworkConfigResource object. |
GetSitePhpErrorLogFlag(CancellationToken)
Description for Gets web app's event logs. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/phplogging Operation Id: WebApps_GetSitePhpErrorLogFlag
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.SitePhpErrorLogFlag> GetSitePhpErrorLogFlag (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SitePhpErrorLogFlag>
|
GetSitePhpErrorLogFlagAsync(CancellationToken)
Description for Gets web app's event logs. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/phplogging Operation Id: WebApps_GetSitePhpErrorLogFlag
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.SitePhpErrorLogFlag>> GetSitePhpErrorLogFlagAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SitePhpErrorLogFlag>>
|
GetSitePremierAddon(String, CancellationToken)
Description for Gets a named add-on of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName} Operation Id: WebApps_GetPremierAddOn
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SitePremierAddonResource> GetSitePremierAddon (string premierAddOnName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
premierAddOnName
Add-on name. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SitePremierAddonResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSitePremierAddonAsync(String, CancellationToken)
Description for Gets a named add-on of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName} Operation Id: WebApps_GetPremierAddOn
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SitePremierAddonResource>> GetSitePremierAddonAsync (string premierAddOnName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
premierAddOnName
Add-on name. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SitePremierAddonResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSitePremierAddons()
Gets a collection of SitePremierAddonResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SitePremierAddonCollection GetSitePremierAddons ();
Returns
SitePremierAddonCollection
An object representing collection of SitePremierAddonResources and their operations over a SitePremierAddonResource. |
GetSitePrivateAccess()
Gets an object representing a SitePrivateAccessResource along with the instance operations that can be performed on it in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SitePrivateAccessResource GetSitePrivateAccess ();
Returns
SitePrivateAccessResource
Returns a SitePrivateAccessResource object. |
GetSitePrivateEndpointConnection(String, CancellationToken)
Description for Gets a private endpoint connection Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName} Operation Id: WebApps_GetPrivateEndpointConnection
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SitePrivateEndpointConnectionResource> GetSitePrivateEndpointConnection (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
privateEndpointConnectionName
Name of the private endpoint connection. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SitePrivateEndpointConnectionResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSitePrivateEndpointConnectionAsync(String, CancellationToken)
Description for Gets a private endpoint connection Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName} Operation Id: WebApps_GetPrivateEndpointConnection
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SitePrivateEndpointConnectionResource>> GetSitePrivateEndpointConnectionAsync (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
privateEndpointConnectionName
Name of the private endpoint connection. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SitePrivateEndpointConnectionResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSitePrivateEndpointConnections()
Gets a collection of SitePrivateEndpointConnectionResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SitePrivateEndpointConnectionCollection GetSitePrivateEndpointConnections ();
Returns
SitePrivateEndpointConnectionCollection
An object representing collection of SitePrivateEndpointConnectionResources and their operations over a SitePrivateEndpointConnectionResource. |
GetSiteProcess(String, CancellationToken)
Description for Get process information by its ID for a specific scaled-out instance in a web site. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId} Operation Id: WebApps_GetProcess
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteProcessResource> GetSiteProcess (string processId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
processId
PID. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteProcessResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteProcessAsync(String, CancellationToken)
Description for Get process information by its ID for a specific scaled-out instance in a web site. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId} Operation Id: WebApps_GetProcess
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteProcessResource>> GetSiteProcessAsync (string processId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
processId
PID. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteProcessResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteProcesses()
Gets a collection of SiteProcessResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteProcessCollection GetSiteProcesses ();
Returns
SiteProcessCollection
An object representing collection of SiteProcessResources and their operations over a SiteProcessResource. |
GetSitePublicCertificate(String, CancellationToken)
Description for Get the named public certificate for an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName} Operation Id: WebApps_GetPublicCertificate
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SitePublicCertificateResource> GetSitePublicCertificate (string publicCertificateName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
publicCertificateName
Public certificate name. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SitePublicCertificateResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSitePublicCertificateAsync(String, CancellationToken)
Description for Get the named public certificate for an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName} Operation Id: WebApps_GetPublicCertificate
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SitePublicCertificateResource>> GetSitePublicCertificateAsync (string publicCertificateName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
publicCertificateName
Public certificate name. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SitePublicCertificateResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSitePublicCertificates()
Gets a collection of SitePublicCertificateResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SitePublicCertificateCollection GetSitePublicCertificates ();
Returns
SitePublicCertificateCollection
An object representing collection of SitePublicCertificateResources and their operations over a SitePublicCertificateResource. |
GetSitePushSettings(CancellationToken)
Description for Gets the Push settings associated with web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings/list Operation Id: WebApps_ListSitePushSettings
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.PushSettings> GetSitePushSettings (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<PushSettings>
|
GetSitePushSettingsAsync(CancellationToken)
Description for Gets the Push settings associated with web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings/list Operation Id: WebApps_ListSitePushSettings
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.PushSettings>> GetSitePushSettingsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<PushSettings>>
|
GetSiteRecommendation(String, Nullable<Boolean>, String, CancellationToken)
Description for Get a recommendation rule for an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name} Operation Id: Recommendations_GetRuleDetailsByWebApp
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteRecommendationResource> GetSiteRecommendation (string name, Nullable<bool> updateSeen = null, string recommendationId = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
name
Name of the recommendation. |
System.Nullable<System.Boolean>
updateSeen
Specify <code>true</code> to update the last-seen timestamp of the recommendation object. |
System.String
recommendationId
The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteRecommendationResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteRecommendationAsync(String, Nullable<Boolean>, String, CancellationToken)
Description for Get a recommendation rule for an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name} Operation Id: Recommendations_GetRuleDetailsByWebApp
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteRecommendationResource>> GetSiteRecommendationAsync (string name, Nullable<bool> updateSeen = null, string recommendationId = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
name
Name of the recommendation. |
System.Nullable<System.Boolean>
updateSeen
Specify <code>true</code> to update the last-seen timestamp of the recommendation object. |
System.String
recommendationId
The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteRecommendationResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteRecommendations()
Gets a collection of SiteRecommendationResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteRecommendationCollection GetSiteRecommendations ();
Returns
SiteRecommendationCollection
An object representing collection of SiteRecommendationResources and their operations over a SiteRecommendationResource. |
GetSiteResourceHealthMetadata()
Gets an object representing a SiteResourceHealthMetadataResource along with the instance operations that can be performed on it in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteResourceHealthMetadataResource GetSiteResourceHealthMetadata ();
Returns
SiteResourceHealthMetadataResource
Returns a SiteResourceHealthMetadataResource object. |
GetSiteSiteextension(String, CancellationToken)
Description for Get site extension information by its ID for a web site, or a deployment slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId} Operation Id: WebApps_GetSiteExtension
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteSiteextensionResource> GetSiteSiteextension (string siteExtensionId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
siteExtensionId
Site extension name. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteSiteextensionResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteSiteextensionAsync(String, CancellationToken)
Description for Get site extension information by its ID for a web site, or a deployment slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId} Operation Id: WebApps_GetSiteExtension
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSiteextensionResource>> GetSiteSiteextensionAsync (string siteExtensionId, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
siteExtensionId
Site extension name. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteSiteextensionResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteSiteextensions()
Gets a collection of SiteSiteextensionResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteSiteextensionCollection GetSiteSiteextensions ();
Returns
SiteSiteextensionCollection
An object representing collection of SiteSiteextensionResources and their operations over a SiteSiteextensionResource. |
GetSiteSlot(String, CancellationToken)
Description for Gets the details of a web, mobile, or API app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot} Operation Id: WebApps_GetSlot
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteSlotResource> GetSiteSlot (string slot, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
slot
Name of the deployment slot. By default, this API returns the production slot. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteSlotResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteSlotAsync(String, CancellationToken)
Description for Gets the details of a web, mobile, or API app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot} Operation Id: WebApps_GetSlot
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotResource>> GetSiteSlotAsync (string slot, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
slot
Name of the deployment slot. By default, this API returns the production slot. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteSlotResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteSlots()
Gets a collection of SiteSlotResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteSlotCollection GetSiteSlots ();
Returns
SiteSlotCollection
An object representing collection of SiteSlotResources and their operations over a SiteSlotResource. |
GetSiteSlotTriggeredWebJob(String, CancellationToken)
Description for Gets a triggered web job by its ID for an app, or a deployment slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName} Operation Id: WebApps_GetTriggeredWebJob
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteSlotTriggeredWebJobResource> GetSiteSlotTriggeredWebJob (string webJobName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
webJobName
Name of Web Job. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteSlotTriggeredWebJobResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteSlotTriggeredWebJobAsync(String, CancellationToken)
Description for Gets a triggered web job by its ID for an app, or a deployment slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName} Operation Id: WebApps_GetTriggeredWebJob
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotTriggeredWebJobResource>> GetSiteSlotTriggeredWebJobAsync (string webJobName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
webJobName
Name of Web Job. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteSlotTriggeredWebJobResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteSlotTriggeredWebJobs()
Gets a collection of SiteSlotTriggeredWebJobResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteSlotTriggeredWebJobCollection GetSiteSlotTriggeredWebJobs ();
Returns
SiteSlotTriggeredWebJobCollection
An object representing collection of SiteSlotTriggeredWebJobResources and their operations over a SiteSlotTriggeredWebJobResource. |
GetSiteSourceControl()
Gets an object representing a SiteSourceControlResource along with the instance operations that can be performed on it in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteSourceControlResource GetSiteSourceControl ();
Returns
SiteSourceControlResource
Returns a SiteSourceControlResource object. |
GetSiteVirtualNetworkConnection(String, CancellationToken)
Description for Gets a virtual network the app (or deployment slot) is connected to by name. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName} Operation Id: WebApps_GetVnetConnection
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionResource> GetSiteVirtualNetworkConnection (string vnetName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
vnetName
Name of the virtual network. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteVirtualNetworkConnectionResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteVirtualNetworkConnectionAsync(String, CancellationToken)
Description for Gets a virtual network the app (or deployment slot) is connected to by name. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName} Operation Id: WebApps_GetVnetConnection
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionResource>> GetSiteVirtualNetworkConnectionAsync (string vnetName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
vnetName
Name of the virtual network. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteVirtualNetworkConnectionResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteVirtualNetworkConnections()
Gets a collection of SiteVirtualNetworkConnectionResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionCollection GetSiteVirtualNetworkConnections ();
Returns
SiteVirtualNetworkConnectionCollection
An object representing collection of SiteVirtualNetworkConnectionResources and their operations over a SiteVirtualNetworkConnectionResource. |
GetSiteWebJob(String, CancellationToken)
Description for Get webjob information for an app, or a deployment slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs/{webJobName} Operation Id: WebApps_GetWebJob
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteWebJobResource> GetSiteWebJob (string webJobName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
webJobName
Name of the web job. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteWebJobResource>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteWebJobAsync(String, CancellationToken)
Description for Get webjob information for an app, or a deployment slot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs/{webJobName} Operation Id: WebApps_GetWebJob
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteWebJobResource>> GetSiteWebJobAsync (string webJobName, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
webJobName
Name of the web job. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteWebJobResource>>
|
Exceptions
System.ArgumentException
|
System.ArgumentNullException
|
GetSiteWebJobs()
Gets a collection of SiteWebJobResources in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SiteWebJobCollection GetSiteWebJobs ();
Returns
SiteWebJobCollection
An object representing collection of SiteWebJobResources and their operations over a SiteWebJobResource. |
GetSlotConfigNamesResource()
Gets an object representing a SlotConfigNamesResource along with the instance operations that can be performed on it in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.SlotConfigNamesResource GetSlotConfigNamesResource ();
Returns
SlotConfigNamesResource
Returns a SlotConfigNamesResource object. |
GetSlotDifferencesFromProduction(CsmSlotEntity, CancellationToken)
Description for Get the difference in configuration settings between two web app slots. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs Operation Id: WebApps_ListSlotDifferencesFromProduction
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.SlotDifference> GetSlotDifferencesFromProduction (Azure.ResourceManager.AppService.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = null);
Parameters
CsmSlotEntity
slotSwapEntity
JSON object that contains the target slot name. See example. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<SlotDifference>
A collection of SlotDifference that may take multiple service requests to iterate over. |
Exceptions
System.ArgumentNullException
|
GetSlotDifferencesFromProductionAsync(CsmSlotEntity, CancellationToken)
Description for Get the difference in configuration settings between two web app slots. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs Operation Id: WebApps_ListSlotDifferencesFromProduction
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.SlotDifference> GetSlotDifferencesFromProductionAsync (Azure.ResourceManager.AppService.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = null);
Parameters
CsmSlotEntity
slotSwapEntity
JSON object that contains the target slot name. See example. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<SlotDifference>
An async collection of SlotDifference that may take multiple service requests to iterate over. |
Exceptions
System.ArgumentNullException
|
GetSnapshots(CancellationToken)
Description for Returns all Snapshots to the user. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots Operation Id: WebApps_ListSnapshots
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.Snapshot> GetSnapshots (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<Snapshot>
A collection of Snapshot that may take multiple service requests to iterate over. |
GetSnapshotsAsync(CancellationToken)
Description for Returns all Snapshots to the user. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots Operation Id: WebApps_ListSnapshots
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.Snapshot> GetSnapshotsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<Snapshot>
An async collection of Snapshot that may take multiple service requests to iterate over. |
GetSnapshotsFromDRSecondary(CancellationToken)
Description for Returns all Snapshots to the user from DRSecondary endpoint. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr Operation Id: WebApps_ListSnapshotsFromDRSecondary
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.Snapshot> GetSnapshotsFromDRSecondary (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<Snapshot>
A collection of Snapshot that may take multiple service requests to iterate over. |
GetSnapshotsFromDRSecondaryAsync(CancellationToken)
Description for Returns all Snapshots to the user from DRSecondary endpoint. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr Operation Id: WebApps_ListSnapshotsFromDRSecondary
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.Snapshot> GetSnapshotsFromDRSecondaryAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<Snapshot>
An async collection of Snapshot that may take multiple service requests to iterate over. |
GetSyncFunctionTriggers(CancellationToken)
Description for This is to allow calling via powershell and ARM template. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus Operation Id: WebApps_ListSyncFunctionTriggers
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.FunctionSecrets> GetSyncFunctionTriggers (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<FunctionSecrets>
|
GetSyncFunctionTriggersAsync(CancellationToken)
Description for This is to allow calling via powershell and ARM template. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus Operation Id: WebApps_ListSyncFunctionTriggers
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.FunctionSecrets>> GetSyncFunctionTriggersAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<FunctionSecrets>>
|
GetSyncStatus(CancellationToken)
Description for This is to allow calling via powershell and ARM template. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listsyncstatus Operation Id: WebApps_ListSyncStatus
Declaration
public virtual Azure.Response GetSyncStatus (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
GetSyncStatusAsync(CancellationToken)
Description for This is to allow calling via powershell and ARM template. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listsyncstatus Operation Id: WebApps_ListSyncStatus
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> GetSyncStatusAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
GetUsages(String, CancellationToken)
Description for Gets the quota usage information of an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages Operation Id: WebApps_ListUsages
Declaration
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.CsmUsageQuota> GetUsages (string filter = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
filter
Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Pageable<CsmUsageQuota>
A collection of CsmUsageQuota that may take multiple service requests to iterate over. |
GetUsagesAsync(String, CancellationToken)
Description for Gets the quota usage information of an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages Operation Id: WebApps_ListUsages
Declaration
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.CsmUsageQuota> GetUsagesAsync (string filter = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
filter
Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.AsyncPageable<CsmUsageQuota>
An async collection of CsmUsageQuota that may take multiple service requests to iterate over. |
GetWebSiteConfig()
Gets an object representing a WebSiteConfigResource along with the instance operations that can be performed on it in the WebSite.
Declaration
public virtual Azure.ResourceManager.AppService.WebSiteConfigResource GetWebSiteConfig ();
Returns
WebSiteConfigResource
Returns a WebSiteConfigResource object. |
GetWebSiteContainerLogs(CancellationToken)
Description for Gets the last lines of docker logs for the given site Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs Operation Id: WebApps_GetWebSiteContainerLogs
Declaration
public virtual Azure.Response<System.IO.Stream> GetWebSiteContainerLogs (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<System.IO.Stream>
|
GetWebSiteContainerLogsAsync(CancellationToken)
Description for Gets the last lines of docker logs for the given site Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs Operation Id: WebApps_GetWebSiteContainerLogs
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<System.IO.Stream>> GetWebSiteContainerLogsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<System.IO.Stream>>
|
IsCloneable(CancellationToken)
Description for Shows whether an app can be cloned to another resource group or subscription. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable Operation Id: WebApps_IsCloneable
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.SiteCloneability> IsCloneable (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteCloneability>
|
IsCloneableAsync(CancellationToken)
Description for Shows whether an app can be cloned to another resource group or subscription. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable Operation Id: WebApps_IsCloneable
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.SiteCloneability>> IsCloneableAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteCloneability>>
|
MigrateMySql(WaitUntil, MigrateMySqlContent, CancellationToken)
Description for Migrates a local (in-app) MySql database to a remote MySql database. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql Operation Id: WebApps_MigrateMySql
Declaration
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppService.Models.OperationInformation> MigrateMySql (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.MigrateMySqlContent content, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
MigrateMySqlContent
content
MySql migration options. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.ResourceManager.ArmOperation<OperationInformation>
|
Exceptions
System.ArgumentNullException
|
MigrateMySqlAsync(WaitUntil, MigrateMySqlContent, CancellationToken)
Description for Migrates a local (in-app) MySql database to a remote MySql database. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql Operation Id: WebApps_MigrateMySql
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppService.Models.OperationInformation>> MigrateMySqlAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.MigrateMySqlContent content, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
MigrateMySqlContent
content
MySql migration options. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<OperationInformation>>
|
Exceptions
System.ArgumentNullException
|
MigrateStorage(WaitUntil, String, StorageMigrationContent, CancellationToken)
Description for Restores a web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate Operation Id: WebApps_MigrateStorage
Declaration
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppService.Models.StorageMigrationResponse> MigrateStorage (Azure.WaitUntil waitUntil, string subscriptionName, Azure.ResourceManager.AppService.Models.StorageMigrationContent content, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
System.String
subscriptionName
Azure subscription. |
StorageMigrationContent
content
Migration migrationOptions. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.ResourceManager.ArmOperation<StorageMigrationResponse>
|
Exceptions
System.ArgumentNullException
|
MigrateStorageAsync(WaitUntil, String, StorageMigrationContent, CancellationToken)
Description for Restores a web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate Operation Id: WebApps_MigrateStorage
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppService.Models.StorageMigrationResponse>> MigrateStorageAsync (Azure.WaitUntil waitUntil, string subscriptionName, Azure.ResourceManager.AppService.Models.StorageMigrationContent content, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
System.String
subscriptionName
Azure subscription. |
StorageMigrationContent
content
Migration migrationOptions. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<StorageMigrationResponse>>
|
Exceptions
System.ArgumentNullException
|
RemoveTag(String, CancellationToken)
Removes a tag by key from the resource. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} Operation Id: WebApps_Get
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.WebSiteResource> RemoveTag (string key, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
key
The key for the tag. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<WebSiteResource>
|
Exceptions
System.ArgumentNullException
|
RemoveTagAsync(String, CancellationToken)
Removes a tag by key from the resource. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} Operation Id: WebApps_Get
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteResource>> RemoveTagAsync (string key, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.String
key
The key for the tag. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<WebSiteResource>>
|
Exceptions
System.ArgumentNullException
|
ResetAllFiltersForWebAppRecommendation(CancellationToken)
Description for Reset all recommendation opt-out settings for an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/reset Operation Id: Recommendations_ResetAllFiltersForWebApp
Declaration
public virtual Azure.Response ResetAllFiltersForWebAppRecommendation (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
ResetAllFiltersForWebAppRecommendationAsync(CancellationToken)
Description for Reset all recommendation opt-out settings for an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/reset Operation Id: Recommendations_ResetAllFiltersForWebApp
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> ResetAllFiltersForWebAppRecommendationAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
ResetProductionSlotConfig(CancellationToken)
Description for Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig Operation Id: WebApps_ResetProductionSlotConfig
Declaration
public virtual Azure.Response ResetProductionSlotConfig (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
ResetProductionSlotConfigAsync(CancellationToken)
Description for Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig Operation Id: WebApps_ResetProductionSlotConfig
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> ResetProductionSlotConfigAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
Restart(Nullable<Boolean>, Nullable<Boolean>, CancellationToken)
Description for Restarts an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart Operation Id: WebApps_Restart
Declaration
public virtual Azure.Response Restart (Nullable<bool> softRestart = null, Nullable<bool> synchronous = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Nullable<System.Boolean>
softRestart
Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. |
System.Nullable<System.Boolean>
synchronous
Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
RestartAsync(Nullable<Boolean>, Nullable<Boolean>, CancellationToken)
Description for Restarts an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart Operation Id: WebApps_Restart
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> RestartAsync (Nullable<bool> softRestart = null, Nullable<bool> synchronous = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Nullable<System.Boolean>
softRestart
Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. |
System.Nullable<System.Boolean>
synchronous
Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
RestoreFromBackupBlob(WaitUntil, RestoreRequest, CancellationToken)
Description for Restores an app from a backup blob in Azure Storage. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob Operation Id: WebApps_RestoreFromBackupBlob
Declaration
public virtual Azure.ResourceManager.ArmOperation RestoreFromBackupBlob (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.RestoreRequest request, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
RestoreRequest
request
Information on restore request . |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.ResourceManager.ArmOperation
|
Exceptions
System.ArgumentNullException
|
RestoreFromBackupBlobAsync(WaitUntil, RestoreRequest, CancellationToken)
Description for Restores an app from a backup blob in Azure Storage. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromBackupBlob Operation Id: WebApps_RestoreFromBackupBlob
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> RestoreFromBackupBlobAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.RestoreRequest request, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
RestoreRequest
request
Information on restore request . |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
|
Exceptions
System.ArgumentNullException
|
RestoreFromDeletedApp(WaitUntil, DeletedAppRestoreRequest, CancellationToken)
Description for Restores a deleted web app to this web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromDeletedApp Operation Id: WebApps_RestoreFromDeletedApp
Declaration
public virtual Azure.ResourceManager.ArmOperation RestoreFromDeletedApp (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.DeletedAppRestoreRequest restoreRequest, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
DeletedAppRestoreRequest
restoreRequest
Deleted web app restore information. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.ResourceManager.ArmOperation
|
Exceptions
System.ArgumentNullException
|
RestoreFromDeletedAppAsync(WaitUntil, DeletedAppRestoreRequest, CancellationToken)
Description for Restores a deleted web app to this web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreFromDeletedApp Operation Id: WebApps_RestoreFromDeletedApp
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> RestoreFromDeletedAppAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.DeletedAppRestoreRequest restoreRequest, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
DeletedAppRestoreRequest
restoreRequest
Deleted web app restore information. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
|
Exceptions
System.ArgumentNullException
|
RestoreSnapshot(WaitUntil, SnapshotRestoreRequest, CancellationToken)
Description for Restores a web app from a snapshot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreSnapshot Operation Id: WebApps_RestoreSnapshot
Declaration
public virtual Azure.ResourceManager.ArmOperation RestoreSnapshot (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.SnapshotRestoreRequest restoreRequest, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
SnapshotRestoreRequest
restoreRequest
Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.ResourceManager.ArmOperation
|
Exceptions
System.ArgumentNullException
|
RestoreSnapshotAsync(WaitUntil, SnapshotRestoreRequest, CancellationToken)
Description for Restores a web app from a snapshot. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restoreSnapshot Operation Id: WebApps_RestoreSnapshot
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> RestoreSnapshotAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.SnapshotRestoreRequest restoreRequest, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
SnapshotRestoreRequest
restoreRequest
Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
|
Exceptions
System.ArgumentNullException
|
SetTags(IDictionary<String,String>, CancellationToken)
Replace the tags on the resource with the given set. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} Operation Id: WebApps_Get
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.WebSiteResource> SetTags (System.Collections.Generic.IDictionary<string,string> tags, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Collections.Generic.IDictionary<System.String,System.String>
tags
The set of tags to use as replacement. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<WebSiteResource>
|
Exceptions
System.ArgumentNullException
|
SetTagsAsync(IDictionary<String,String>, CancellationToken)
Replace the tags on the resource with the given set. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} Operation Id: WebApps_Get
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteResource>> SetTagsAsync (System.Collections.Generic.IDictionary<string,string> tags, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Collections.Generic.IDictionary<System.String,System.String>
tags
The set of tags to use as replacement. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<WebSiteResource>>
|
Exceptions
System.ArgumentNullException
|
Start(CancellationToken)
Description for Starts an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start Operation Id: WebApps_Start
Declaration
public virtual Azure.Response Start (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
StartAsync(CancellationToken)
Description for Starts an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start Operation Id: WebApps_Start
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> StartAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
StartNetworkTrace(WaitUntil, Nullable<Int32>, Nullable<Int32>, String, CancellationToken)
Description for Start capturing network packets for the site. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/startNetworkTrace Operation Id: WebApps_StartNetworkTrace
Declaration
public virtual Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.AppService.Models.NetworkTrace>> StartNetworkTrace (Azure.WaitUntil waitUntil, Nullable<int> durationInSeconds = null, Nullable<int> maxFrameLength = null, string sasUrl = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
System.Nullable<System.Int32>
durationInSeconds
The duration to keep capturing in seconds. |
System.Nullable<System.Int32>
maxFrameLength
The maximum frame length in bytes (Optional). |
System.String
sasUrl
The Blob URL to store capture file. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<NetworkTrace>>
|
StartNetworkTraceAsync(WaitUntil, Nullable<Int32>, Nullable<Int32>, String, CancellationToken)
Description for Start capturing network packets for the site. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/startNetworkTrace Operation Id: WebApps_StartNetworkTrace
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.AppService.Models.NetworkTrace>>> StartNetworkTraceAsync (Azure.WaitUntil waitUntil, Nullable<int> durationInSeconds = null, Nullable<int> maxFrameLength = null, string sasUrl = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
System.Nullable<System.Int32>
durationInSeconds
The duration to keep capturing in seconds. |
System.Nullable<System.Int32>
maxFrameLength
The maximum frame length in bytes (Optional). |
System.String
sasUrl
The Blob URL to store capture file. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<NetworkTrace>>>
|
StartWebSiteNetworkTrace(Nullable<Int32>, Nullable<Int32>, String, CancellationToken)
Description for Start capturing network packets for the site (To be deprecated). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/start Operation Id: WebApps_StartWebSiteNetworkTrace
Declaration
public virtual Azure.Response<string> StartWebSiteNetworkTrace (Nullable<int> durationInSeconds = null, Nullable<int> maxFrameLength = null, string sasUrl = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Nullable<System.Int32>
durationInSeconds
The duration to keep capturing in seconds. |
System.Nullable<System.Int32>
maxFrameLength
The maximum frame length in bytes (Optional). |
System.String
sasUrl
The Blob URL to store capture file. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<System.String>
|
StartWebSiteNetworkTraceAsync(Nullable<Int32>, Nullable<Int32>, String, CancellationToken)
Description for Start capturing network packets for the site (To be deprecated). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/start Operation Id: WebApps_StartWebSiteNetworkTrace
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<string>> StartWebSiteNetworkTraceAsync (Nullable<int> durationInSeconds = null, Nullable<int> maxFrameLength = null, string sasUrl = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Nullable<System.Int32>
durationInSeconds
The duration to keep capturing in seconds. |
System.Nullable<System.Int32>
maxFrameLength
The maximum frame length in bytes (Optional). |
System.String
sasUrl
The Blob URL to store capture file. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<System.String>>
|
StartWebSiteNetworkTraceOperation(WaitUntil, Nullable<Int32>, Nullable<Int32>, String, CancellationToken)
Description for Start capturing network packets for the site. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation Operation Id: WebApps_StartWebSiteNetworkTraceOperation
Declaration
public virtual Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.AppService.Models.NetworkTrace>> StartWebSiteNetworkTraceOperation (Azure.WaitUntil waitUntil, Nullable<int> durationInSeconds = null, Nullable<int> maxFrameLength = null, string sasUrl = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
System.Nullable<System.Int32>
durationInSeconds
The duration to keep capturing in seconds. |
System.Nullable<System.Int32>
maxFrameLength
The maximum frame length in bytes (Optional). |
System.String
sasUrl
The Blob URL to store capture file. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<NetworkTrace>>
|
StartWebSiteNetworkTraceOperationAsync(WaitUntil, Nullable<Int32>, Nullable<Int32>, String, CancellationToken)
Description for Start capturing network packets for the site. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation Operation Id: WebApps_StartWebSiteNetworkTraceOperation
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.AppService.Models.NetworkTrace>>> StartWebSiteNetworkTraceOperationAsync (Azure.WaitUntil waitUntil, Nullable<int> durationInSeconds = null, Nullable<int> maxFrameLength = null, string sasUrl = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
System.Nullable<System.Int32>
durationInSeconds
The duration to keep capturing in seconds. |
System.Nullable<System.Int32>
maxFrameLength
The maximum frame length in bytes (Optional). |
System.String
sasUrl
The Blob URL to store capture file. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<NetworkTrace>>>
|
Stop(CancellationToken)
Description for Stops an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop Operation Id: WebApps_Stop
Declaration
public virtual Azure.Response Stop (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
StopAsync(CancellationToken)
Description for Stops an app (or deployment slot, if specified). Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop Operation Id: WebApps_Stop
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> StopAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
StopNetworkTrace(CancellationToken)
Description for Stop ongoing capturing network packets for the site. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stopNetworkTrace Operation Id: WebApps_StopNetworkTrace
Declaration
public virtual Azure.Response StopNetworkTrace (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
StopNetworkTraceAsync(CancellationToken)
Description for Stop ongoing capturing network packets for the site. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stopNetworkTrace Operation Id: WebApps_StopNetworkTrace
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> StopNetworkTraceAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
StopWebSiteNetworkTrace(CancellationToken)
Description for Stop ongoing capturing network packets for the site. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/stop Operation Id: WebApps_StopWebSiteNetworkTrace
Declaration
public virtual Azure.Response StopWebSiteNetworkTrace (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
StopWebSiteNetworkTraceAsync(CancellationToken)
Description for Stop ongoing capturing network packets for the site. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/stop Operation Id: WebApps_StopWebSiteNetworkTrace
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> StopWebSiteNetworkTraceAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
SwapSlotWithProduction(WaitUntil, CsmSlotEntity, CancellationToken)
Description for Swaps two deployment slots of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap Operation Id: WebApps_SwapSlotWithProduction
Declaration
public virtual Azure.ResourceManager.ArmOperation SwapSlotWithProduction (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
CsmSlotEntity
slotSwapEntity
JSON object that contains the target slot name. See example. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.ResourceManager.ArmOperation
|
Exceptions
System.ArgumentNullException
|
SwapSlotWithProductionAsync(WaitUntil, CsmSlotEntity, CancellationToken)
Description for Swaps two deployment slots of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap Operation Id: WebApps_SwapSlotWithProduction
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> SwapSlotWithProductionAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = null);
Parameters
Azure.WaitUntil
waitUntil
Azure.WaitUntil.Completed if the method should wait to return until the long-running operation has completed on the service; Azure.WaitUntil.Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. |
CsmSlotEntity
slotSwapEntity
JSON object that contains the target slot name. See example. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
|
Exceptions
System.ArgumentNullException
|
SyncFunctions(CancellationToken)
Description for Syncs function trigger metadata to the management database Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync Operation Id: WebApps_SyncFunctions
Declaration
public virtual Azure.Response SyncFunctions (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
SyncFunctionsAsync(CancellationToken)
Description for Syncs function trigger metadata to the management database Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync Operation Id: WebApps_SyncFunctions
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> SyncFunctionsAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
SyncFunctionTriggers(CancellationToken)
Description for Syncs function trigger metadata to the management database Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/syncfunctiontriggers Operation Id: WebApps_SyncFunctionTriggers
Declaration
public virtual Azure.Response SyncFunctionTriggers (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
SyncFunctionTriggersAsync(CancellationToken)
Description for Syncs function trigger metadata to the management database Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/syncfunctiontriggers Operation Id: WebApps_SyncFunctionTriggers
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> SyncFunctionTriggersAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
SyncRepository(CancellationToken)
Description for Sync web app repository. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync Operation Id: WebApps_SyncRepository
Declaration
public virtual Azure.Response SyncRepository (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response
|
SyncRepositoryAsync(CancellationToken)
Description for Sync web app repository. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync Operation Id: WebApps_SyncRepository
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response> SyncRepositoryAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response>
|
Update(SitePatchResource, CancellationToken)
Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} Operation Id: WebApps_Update
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.WebSiteResource> Update (Azure.ResourceManager.AppService.Models.SitePatchResource siteEnvelope, System.Threading.CancellationToken cancellationToken = null);
Parameters
SitePatchResource
siteEnvelope
A JSON representation of the app properties. See example. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<WebSiteResource>
|
Exceptions
System.ArgumentNullException
|
UpdateApplicationSettings(StringDictionary, CancellationToken)
Description for Replaces the application settings of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings Operation Id: WebApps_UpdateApplicationSettings
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.StringDictionary> UpdateApplicationSettings (Azure.ResourceManager.AppService.Models.StringDictionary appSettings, System.Threading.CancellationToken cancellationToken = null);
Parameters
StringDictionary
appSettings
Application settings of the app. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<StringDictionary>
|
Exceptions
System.ArgumentNullException
|
UpdateApplicationSettingsAsync(StringDictionary, CancellationToken)
Description for Replaces the application settings of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings Operation Id: WebApps_UpdateApplicationSettings
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StringDictionary>> UpdateApplicationSettingsAsync (Azure.ResourceManager.AppService.Models.StringDictionary appSettings, System.Threading.CancellationToken cancellationToken = null);
Parameters
StringDictionary
appSettings
Application settings of the app. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<StringDictionary>>
|
Exceptions
System.ArgumentNullException
|
UpdateAsync(SitePatchResource, CancellationToken)
Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name} Operation Id: WebApps_Update
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteResource>> UpdateAsync (Azure.ResourceManager.AppService.Models.SitePatchResource siteEnvelope, System.Threading.CancellationToken cancellationToken = null);
Parameters
SitePatchResource
siteEnvelope
A JSON representation of the app properties. See example. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<WebSiteResource>>
|
Exceptions
System.ArgumentNullException
|
UpdateAuthSettings(SiteAuthSettings, CancellationToken)
Description for Updates the Authentication / Authorization settings associated with web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings Operation Id: WebApps_UpdateAuthSettings
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettings> UpdateAuthSettings (Azure.ResourceManager.AppService.Models.SiteAuthSettings siteAuthSettings, System.Threading.CancellationToken cancellationToken = null);
Parameters
SiteAuthSettings
siteAuthSettings
Auth settings associated with web app. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteAuthSettings>
|
Exceptions
System.ArgumentNullException
|
UpdateAuthSettingsAsync(SiteAuthSettings, CancellationToken)
Description for Updates the Authentication / Authorization settings associated with web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings Operation Id: WebApps_UpdateAuthSettings
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettings>> UpdateAuthSettingsAsync (Azure.ResourceManager.AppService.Models.SiteAuthSettings siteAuthSettings, System.Threading.CancellationToken cancellationToken = null);
Parameters
SiteAuthSettings
siteAuthSettings
Auth settings associated with web app. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteAuthSettings>>
|
Exceptions
System.ArgumentNullException
|
UpdateAuthSettingsV2(SiteAuthSettingsV2, CancellationToken)
Description for Updates site's Authentication / Authorization settings for apps via the V2 format Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2 Operation Id: WebApps_UpdateAuthSettingsV2
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettingsV2> UpdateAuthSettingsV2 (Azure.ResourceManager.AppService.Models.SiteAuthSettingsV2 siteAuthSettingsV2, System.Threading.CancellationToken cancellationToken = null);
Parameters
SiteAuthSettingsV2
siteAuthSettingsV2
Auth settings associated with web app. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<SiteAuthSettingsV2>
|
Exceptions
System.ArgumentNullException
|
UpdateAuthSettingsV2Async(SiteAuthSettingsV2, CancellationToken)
Description for Updates site's Authentication / Authorization settings for apps via the V2 format Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettingsV2 Operation Id: WebApps_UpdateAuthSettingsV2
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettingsV2>> UpdateAuthSettingsV2Async (Azure.ResourceManager.AppService.Models.SiteAuthSettingsV2 siteAuthSettingsV2, System.Threading.CancellationToken cancellationToken = null);
Parameters
SiteAuthSettingsV2
siteAuthSettingsV2
Auth settings associated with web app. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<SiteAuthSettingsV2>>
|
Exceptions
System.ArgumentNullException
|
UpdateAzureStorageAccounts(AzureStoragePropertyDictionaryResource, CancellationToken)
Description for Updates the Azure storage account configurations of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts Operation Id: WebApps_UpdateAzureStorageAccounts
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.AzureStoragePropertyDictionaryResource> UpdateAzureStorageAccounts (Azure.ResourceManager.AppService.Models.AzureStoragePropertyDictionaryResource azureStorageAccounts, System.Threading.CancellationToken cancellationToken = null);
Parameters
AzureStoragePropertyDictionaryResource
azureStorageAccounts
Azure storage accounts of the app. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<AzureStoragePropertyDictionaryResource>
|
Exceptions
System.ArgumentNullException
|
UpdateAzureStorageAccountsAsync(AzureStoragePropertyDictionaryResource, CancellationToken)
Description for Updates the Azure storage account configurations of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts Operation Id: WebApps_UpdateAzureStorageAccounts
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AzureStoragePropertyDictionaryResource>> UpdateAzureStorageAccountsAsync (Azure.ResourceManager.AppService.Models.AzureStoragePropertyDictionaryResource azureStorageAccounts, System.Threading.CancellationToken cancellationToken = null);
Parameters
AzureStoragePropertyDictionaryResource
azureStorageAccounts
Azure storage accounts of the app. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<AzureStoragePropertyDictionaryResource>>
|
Exceptions
System.ArgumentNullException
|
UpdateBackupConfiguration(BackupRequest, CancellationToken)
Description for Updates the backup configuration of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup Operation Id: WebApps_UpdateBackupConfiguration
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.BackupRequest> UpdateBackupConfiguration (Azure.ResourceManager.AppService.Models.BackupRequest request, System.Threading.CancellationToken cancellationToken = null);
Parameters
BackupRequest
request
Edited backup configuration. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<BackupRequest>
|
Exceptions
System.ArgumentNullException
|
UpdateBackupConfigurationAsync(BackupRequest, CancellationToken)
Description for Updates the backup configuration of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup Operation Id: WebApps_UpdateBackupConfiguration
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.BackupRequest>> UpdateBackupConfigurationAsync (Azure.ResourceManager.AppService.Models.BackupRequest request, System.Threading.CancellationToken cancellationToken = null);
Parameters
BackupRequest
request
Edited backup configuration. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<BackupRequest>>
|
Exceptions
System.ArgumentNullException
|
UpdateConnectionStrings(ConnectionStringDictionary, CancellationToken)
Description for Replaces the connection strings of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings Operation Id: WebApps_UpdateConnectionStrings
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary> UpdateConnectionStrings (Azure.ResourceManager.AppService.Models.ConnectionStringDictionary connectionStrings, System.Threading.CancellationToken cancellationToken = null);
Parameters
ConnectionStringDictionary
connectionStrings
Connection strings of the app or deployment slot. See example. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<ConnectionStringDictionary>
|
Exceptions
System.ArgumentNullException
|
UpdateConnectionStringsAsync(ConnectionStringDictionary, CancellationToken)
Description for Replaces the connection strings of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/connectionstrings Operation Id: WebApps_UpdateConnectionStrings
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.ConnectionStringDictionary>> UpdateConnectionStringsAsync (Azure.ResourceManager.AppService.Models.ConnectionStringDictionary connectionStrings, System.Threading.CancellationToken cancellationToken = null);
Parameters
ConnectionStringDictionary
connectionStrings
Connection strings of the app or deployment slot. See example. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<ConnectionStringDictionary>>
|
Exceptions
System.ArgumentNullException
|
UpdateMetadata(StringDictionary, CancellationToken)
Description for Replaces the metadata of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata Operation Id: WebApps_UpdateMetadata
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.StringDictionary> UpdateMetadata (Azure.ResourceManager.AppService.Models.StringDictionary metadata, System.Threading.CancellationToken cancellationToken = null);
Parameters
StringDictionary
metadata
Edited metadata of the app or deployment slot. See example. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<StringDictionary>
|
Exceptions
System.ArgumentNullException
|
UpdateMetadataAsync(StringDictionary, CancellationToken)
Description for Replaces the metadata of an app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata Operation Id: WebApps_UpdateMetadata
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StringDictionary>> UpdateMetadataAsync (Azure.ResourceManager.AppService.Models.StringDictionary metadata, System.Threading.CancellationToken cancellationToken = null);
Parameters
StringDictionary
metadata
Edited metadata of the app or deployment slot. See example. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<StringDictionary>>
|
Exceptions
System.ArgumentNullException
|
UpdateSitePushSettings(PushSettings, CancellationToken)
Description for Updates the Push settings associated with web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings Operation Id: WebApps_UpdateSitePushSettings
Declaration
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.PushSettings> UpdateSitePushSettings (Azure.ResourceManager.AppService.Models.PushSettings pushSettings, System.Threading.CancellationToken cancellationToken = null);
Parameters
PushSettings
pushSettings
Push settings associated with web app. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
Azure.Response<PushSettings>
|
Exceptions
System.ArgumentNullException
|
UpdateSitePushSettingsAsync(PushSettings, CancellationToken)
Description for Updates the Push settings associated with web app. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/pushsettings Operation Id: WebApps_UpdateSitePushSettings
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.PushSettings>> UpdateSitePushSettingsAsync (Azure.ResourceManager.AppService.Models.PushSettings pushSettings, System.Threading.CancellationToken cancellationToken = null);
Parameters
PushSettings
pushSettings
Push settings associated with web app. |
System.Threading.CancellationToken
cancellationToken
The cancellation token to use. |
Returns
System.Threading.Tasks.Task<Azure.Response<PushSettings>>
|
Exceptions
System.ArgumentNullException
|