IWebSiteOperations Interface

 

Represents the interface for the operations that are used to manage the websites in a web space.

Namespace:   Microsoft.WindowsAzure.Management.WebSites
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Syntax

public interface IWebSiteOperations
public interface class IWebSiteOperations
type IWebSiteOperations = interface end
Public Interface IWebSiteOperations

Methods

Name Description
System_CAPS_pubmethod BackupAsync(String, String, BackupRequest, CancellationToken)

Backups a site on-demand.

System_CAPS_pubmethod BeginSwappingSlotsAsync(String, String, String, String, CancellationToken)

You can swap a web site from one slot to another slot.

System_CAPS_pubmethod CreateAsync(String, WebSiteCreateParameters, CancellationToken)

Asynchronously creates a website.

System_CAPS_pubmethod CreateRepositoryAsync(String, String, CancellationToken)

Asynchronously creates a website repository.

System_CAPS_pubmethod DeleteAsync(String, String, WebSiteDeleteParameters, CancellationToken)

You can delete a web site by issuing an HTTP DELETE request. If the web site being deleted is the only site remaining in a server farm, you can optionally delete the server farm as well by using the deleteEmptyServerFarm parameter. (see https://msdn.microsoft.com/library/windowsazure/dn236430.aspx for more information)

System_CAPS_pubmethod DeleteRepositoryAsync(String, String, CancellationToken)

Asynchronously deletes a Website Repository.

System_CAPS_pubmethod DiscoverAsync(String, String, RestoreRequest, CancellationToken)

Scans a backup in a storage account and returns database information etc. Should be called before calling Restore to discover what parameters are needed for the restore operation.

System_CAPS_pubmethod GeneratePasswordAsync(String, String, CancellationToken)

Asynchronously generates a password for publishing a website.

System_CAPS_pubmethod GetAsync(String, String, WebSiteGetParameters, CancellationToken)

Asynchronously retrieves information for a website.

System_CAPS_pubmethod GetBackupConfigurationAsync(String, String, CancellationToken)

Gets a schedule configuration for site backups.

System_CAPS_pubmethod GetConfigurationAsync(String, String, CancellationToken)

Asynchronously retrieves the configuration settings for a website.

System_CAPS_pubmethod GetHistoricalUsageMetricsAsync(String, String, WebSiteGetHistoricalUsageMetricsParameters, CancellationToken)

Asynchronously retrieves historical usage metrics for a site.

System_CAPS_pubmethod GetInstanceIdsAsync(String, String, CancellationToken)

You can retrieve the list of active instances by ids for a web site by issuing an HTTP GET request. (see https://msdn.microsoft.com/library/windowsazure/dn166981.aspx for more information)

System_CAPS_pubmethod GetPublishProfileAsync(String, String, CancellationToken)

Asynchronously retrieves the publish settings information for a website.

System_CAPS_pubmethod GetRepositoryAsync(String, String, CancellationToken)

Asynchronously retrieves a website repository.

System_CAPS_pubmethod GetUsageMetricsAsync(String, String, CancellationToken)

Asynchronously retrieves the usage metrics of a website.

System_CAPS_pubmethod IsHostnameAvailableAsync(String, CancellationToken)

Determines if a host name is available.

System_CAPS_pubmethod ListBackupsAsync(String, String, CancellationToken)

Returns list of all backups which are tracked by the system.

System_CAPS_pubmethod RestartAsync(String, String, CancellationToken)

Asynchronously restarts a website.

System_CAPS_pubmethod RestoreAsync(String, String, RestoreRequest, CancellationToken)

Restores a site to either a new site or existing site (Overwrite flag has to be set to true for that).

System_CAPS_pubmethod SwapSlotsAsync(String, String, String, String, CancellationToken)

You can swap a web site from one slot to another slot.

System_CAPS_pubmethod SyncRepositoryAsync(String, String, CancellationToken)

A web site repository is essentially a Git repository that you can use to manage your web site content. By using Git source control tools, you can push or pull version-controlled changes to your site. This API executes a repository sync operation. (see https://msdn.microsoft.com/library/windowsazure/dn166967.aspx for more information)

System_CAPS_pubmethod UpdateAsync(String, String, WebSiteUpdateParameters, CancellationToken)

Asynchronously updates the settings for a website.

System_CAPS_pubmethod UpdateBackupConfigurationAsync(String, String, BackupRequest, CancellationToken)

Updates a backup schedule for a site.

System_CAPS_pubmethod UpdateConfigurationAsync(String, String, WebSiteUpdateConfigurationParameters, CancellationToken)

Asynchronously updates the configuration settings for a website.

Extension Methods

Name Description
System_CAPS_pubmethod Backup(String, String, BackupRequest)

Backups a site on-demand.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod BackupAsync(String, String, BackupRequest)

Backups a site on-demand.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod BeginSwappingSlots(String, String, String, String)

You can swap a web site from one slot to another slot.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod BeginSwappingSlotsAsync(String, String, String, String)

You can swap a web site from one slot to another slot.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod Create(String, WebSiteCreateParameters)

You can create a web site by using a POST request that includes the name of the web site and other information in the request body. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166986.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod CreateAsync(String, WebSiteCreateParameters)

You can create a web site by using a POST request that includes the name of the web site and other information in the request body. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166986.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod CreateRepository(String, String)

A web site repository is essentially a Git repository that you can use to manage your web site content. By using Git source control tools, you can push or pull version-controlled changes to your site. This API executes a repository create operation. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166967.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod CreateRepositoryAsync(String, String)

A web site repository is essentially a Git repository that you can use to manage your web site content. By using Git source control tools, you can push or pull version-controlled changes to your site. This API executes a repository create operation. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166967.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod Delete(String, String, WebSiteDeleteParameters)

You can delete a web site by issuing an HTTP DELETE request. If the web site being deleted is the only site remaining in a server farm, you can optionally delete the server farm as well by using the deleteEmptyServerFarm parameter. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn236430.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod DeleteAsync(String, String, WebSiteDeleteParameters)

You can delete a web site by issuing an HTTP DELETE request. If the web site being deleted is the only site remaining in a server farm, you can optionally delete the server farm as well by using the deleteEmptyServerFarm parameter. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn236430.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod DeleteRepository(String, String)

A web site repository is essentially a Git repository that you can use to manage your web site content. By using Git source control tools, you can push or pull version-controlled changes to your site. This API executes a repository delete operation. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166967.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod DeleteRepositoryAsync(String, String)

A web site repository is essentially a Git repository that you can use to manage your web site content. By using Git source control tools, you can push or pull version-controlled changes to your site. This API executes a repository delete operation. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166967.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod Discover(String, String, RestoreRequest)

Scans a backup in a storage account and returns database information etc. Should be called before calling Restore to discover what parameters are needed for the restore operation.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod DiscoverAsync(String, String, RestoreRequest)

Scans a backup in a storage account and returns database information etc. Should be called before calling Restore to discover what parameters are needed for the restore operation.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GeneratePassword(String, String)

You can generate a new random password for publishing a site by issuing an HTTP POST request. Tip: If you want to verify that the publish password has changed, issue an HTTP GET on /publishxml before calling /newpassword. In the publish XML, note the hash value in the userPWD attribute. After calling /newpassword, call /publishxml again. You can then compare the new value of userPWD in the Publish XML with the one you noted earlier. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn236428.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GeneratePasswordAsync(String, String)

You can generate a new random password for publishing a site by issuing an HTTP POST request. Tip: If you want to verify that the publish password has changed, issue an HTTP GET on /publishxml before calling /newpassword. In the publish XML, note the hash value in the userPWD attribute. After calling /newpassword, call /publishxml again. You can then compare the new value of userPWD in the Publish XML with the one you noted earlier. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn236428.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod Get(String, String, WebSiteGetParameters)

You can retrieve details for a web site by issuing an HTTP GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn167007.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetAsync(String, String, WebSiteGetParameters)

You can retrieve details for a web site by issuing an HTTP GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn167007.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetBackupConfiguration(String, String)

Gets a schedule configuration for site backups.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetBackupConfigurationAsync(String, String)

Gets a schedule configuration for site backups.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetConfiguration(String, String)

You can retrieve the config settings for a web site by issuing an HTTP GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166985.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetConfigurationAsync(String, String)

You can retrieve the config settings for a web site by issuing an HTTP GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166985.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetHistoricalUsageMetrics(String, String, WebSiteGetHistoricalUsageMetricsParameters)

You can retrieve historical usage metrics for a site by issuing an HTTP GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166964.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetHistoricalUsageMetricsAsync(String, String, WebSiteGetHistoricalUsageMetricsParameters)

You can retrieve historical usage metrics for a site by issuing an HTTP GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166964.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetInstanceIds(String, String)

You can retrieve the list of active instances by ids for a web site by issuing an HTTP GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166981.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetInstanceIdsAsync(String, String)

You can retrieve the list of active instances by ids for a web site by issuing an HTTP GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166981.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetPublishProfile(String, String)

You can retrieve the publish settings information for a web site by issuing an HTTP GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166996.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetPublishProfileAsync(String, String)

You can retrieve the publish settings information for a web site by issuing an HTTP GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166996.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetRepository(String, String)

A web site repository is essentially a Git repository that you can use to manage your web site content. By using Git source control tools, you can push or pull version-controlled changes to your site. This API executes a repository get operation. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166967.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetRepositoryAsync(String, String)

A web site repository is essentially a Git repository that you can use to manage your web site content. By using Git source control tools, you can push or pull version-controlled changes to your site. This API executes a repository get operation. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166967.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetUsageMetrics(String, String)

You can retrieve current usage metrics for a site by issuing an HTTP GET request. The metrics returned include CPU Time, Data In, Data Out, Local Bytes Read, Local Bytes Written, Network Bytes Read, Network Bytes Written, WP Stop Requests, Memory Usage, CPU Time - Minute Limit, and File System Storage. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166991.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod GetUsageMetricsAsync(String, String)

You can retrieve current usage metrics for a site by issuing an HTTP GET request. The metrics returned include CPU Time, Data In, Data Out, Local Bytes Read, Local Bytes Written, Network Bytes Read, Network Bytes Written, WP Stop Requests, Memory Usage, CPU Time - Minute Limit, and File System Storage. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166991.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod IsHostnameAvailable(String)

Determines if a host name is available.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod IsHostnameAvailableAsync(String)

Determines if a host name is available.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod ListBackups(String, String)

Returns list of all backups which are tracked by the system.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod ListBackupsAsync(String, String)

Returns list of all backups which are tracked by the system.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod Restart(String, String)

You can restart a web site by issuing an HTTP POST request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn236425.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod RestartAsync(String, String)

You can restart a web site by issuing an HTTP POST request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn236425.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod Restore(String, String, RestoreRequest)

Restores a site to either a new site or existing site (Overwrite flag has to be set to true for that).(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod RestoreAsync(String, String, RestoreRequest)

Restores a site to either a new site or existing site (Overwrite flag has to be set to true for that).(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod SwapSlots(String, String, String, String)

You can swap a web site from one slot to another slot.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod SwapSlotsAsync(String, String, String, String)

You can swap a web site from one slot to another slot.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod SyncRepository(String, String)

A web site repository is essentially a Git repository that you can use to manage your web site content. By using Git source control tools, you can push or pull version-controlled changes to your site. This API executes a repository sync operation. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166967.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod SyncRepositoryAsync(String, String)

A web site repository is essentially a Git repository that you can use to manage your web site content. By using Git source control tools, you can push or pull version-controlled changes to your site. This API executes a repository sync operation. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166967.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod Update(String, String, WebSiteUpdateParameters)

You can update the settings for a web site by using the HTTP PUT method and by specifying the settings in the request body. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn167005.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod UpdateAsync(String, String, WebSiteUpdateParameters)

You can update the settings for a web site by using the HTTP PUT method and by specifying the settings in the request body. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn167005.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod UpdateBackupConfiguration(String, String, BackupRequest)

Updates a backup schedule for a site.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod UpdateBackupConfigurationAsync(String, String, BackupRequest)

Updates a backup schedule for a site.(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod UpdateConfiguration(String, String, WebSiteUpdateConfigurationParameters)

You can update the config settings for a web site by issuing an HTTP PUT with a request body containing the updated settings. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166985.aspx for more information)(Defined by WebSiteOperationsExtensions.)

System_CAPS_pubmethod UpdateConfigurationAsync(String, String, WebSiteUpdateConfigurationParameters)

You can update the config settings for a web site by issuing an HTTP PUT with a request body containing the updated settings. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166985.aspx for more information)(Defined by WebSiteOperationsExtensions.)

See Also

Microsoft.WindowsAzure.Management.WebSites Namespace

Return to top