Aracılığıyla paylaş


CloudServiceRolesOperationsExtensions.List Method

Definition

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

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.CloudServiceRole> List (this Microsoft.Azure.Management.Compute.ICloudServiceRolesOperations operations, string resourceGroupName, string cloudServiceName);
static member List : Microsoft.Azure.Management.Compute.ICloudServiceRolesOperations * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.CloudServiceRole>
<Extension()>
Public Function List (operations As ICloudServiceRolesOperations, resourceGroupName As String, cloudServiceName As String) As IPage(Of CloudServiceRole)

Parameters

operations
ICloudServiceRolesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group.

cloudServiceName
String

Name of the cloud service.

Returns

Applies to