WebSiteOperationsExtensions.GetAsync Method (IWebSiteOperations, String, String, WebSiteGetParameters)

 

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

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

public static Task<WebSiteGetResponse> GetAsync(
	this IWebSiteOperations operations,
	string webSpaceName,
	string webSiteName,
	WebSiteGetParameters parameters
)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations

Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.

webSpaceName
Type: System.String

Required. The name of the web space.

webSiteName
Type: System.String

Required. The name of the web site.

parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteGetParameters

Optional. Parameters supplied to the Get Web Site Operation.

Return Value

Type: System.Threading.Tasks.Task<WebSiteGetResponse>

The Get Web Site operation response.

Return to top
Show: