Freigeben über


CloudServiceRolesOperationsExtensions.List Methode

Definition

Ruft eine Liste aller Rollen in einem Clouddienst ab. Verwenden Sie die nextLink-Eigenschaft in der Antwort, um die nächste Seite der Rollen abzurufen. Führen Sie dies aus, bis nextLink null ist, um alle Rollen abzurufen.

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)

Parameter

operations
ICloudServiceRolesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe

cloudServiceName
String

Der Name des Clouddiensts.

Gibt zurück

Gilt für: