Udostępnij za pośrednictwem


WebSiteOperationsExtensions.GetInstanceIdsAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteInstanceIdsResponse> GetInstanceIdsAsync (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName);
static member GetInstanceIdsAsync : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteInstanceIdsResponse>
<Extension()>
Public Function GetInstanceIdsAsync (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String) As Task(Of WebSiteInstanceIdsResponse)

Parameters

operations
IWebSiteOperations

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

webSpaceName
String

Required. The name of the web space.

webSiteName
String

Required. The name of the web site.

Returns

The web site instance ids response.

Applies to