Package version:

Interface CloudServiceRoles

Interface representing a CloudServiceRoles.

interface CloudServiceRoles {
    get(roleName: string, resourceGroupName: string, cloudServiceName: string, options?: CloudServiceRolesGetOptionalParams): Promise<CloudServiceRole>;
    list(resourceGroupName: string, cloudServiceName: string, options?: CloudServiceRolesListOptionalParams): PagedAsyncIterableIterator<CloudServiceRole>;
}

Methods

Methods

  • 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.

    Parameters

    • resourceGroupName: string

      Name of the resource group.

    • cloudServiceName: string

      Name of the cloud service.

    • Optionaloptions: CloudServiceRolesListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<CloudServiceRole>