GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/?api-version=2022-09-04

Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances.

Servers

Path parameters

Name Type Required Description
cloudServiceName String Yes

Name of the cloud service.

subscriptionId String Yes

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

resourceGroupName String Yes

Name of the resource group.

Query parameters

Name Type Required Description
$expand String No

The expand expression to apply to the operation. 'UserData' is not supported for cloud services.

Possible values:

  • "userData"
  • "instanceView"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.