IWebSiteOperations.GetInstanceIdsAsync Method (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)
Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
Task<WebSiteInstanceIdsResponse> GetInstanceIdsAsync(
string webSpaceName,
string webSiteName,
CancellationToken cancellationToken
)
Task<WebSiteInstanceIdsResponse^>^ GetInstanceIdsAsync(
String^ webSpaceName,
String^ webSiteName,
CancellationToken cancellationToken
)
abstract GetInstanceIdsAsync :
webSpaceName:string *
webSiteName:string *
cancellationToken:CancellationToken -> Task<WebSiteInstanceIdsResponse>
Function GetInstanceIdsAsync (
webSpaceName As String,
webSiteName As String,
cancellationToken As CancellationToken
) As Task(Of WebSiteInstanceIdsResponse)
Parameters
webSpaceName
Type: System.StringThe name of the web space.
webSiteName
Type: System.StringThe name of the web site.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<WebSiteInstanceIdsResponse>
The web site instance ids response.
See Also
IWebSiteOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace
Return to top