CloudServiceRoles interface

Interface representing a CloudServiceRoles.

Methods

get(string, string, string, CloudServiceRolesGetOptionalParams)

Gets a role from a cloud service.

list(string, string, CloudServiceRolesListOptionalParams)

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.

Method Details

get(string, string, string, CloudServiceRolesGetOptionalParams)

Gets a role from a cloud service.

function get(roleName: string, resourceGroupName: string, cloudServiceName: string, options?: CloudServiceRolesGetOptionalParams): Promise<CloudServiceRole>

Parameters

roleName

string

Name of the role.

resourceGroupName

string

Name of the resource group.

cloudServiceName

string

Name of the cloud service.

options
CloudServiceRolesGetOptionalParams

The options parameters.

Returns

Promise<CloudServiceRole>

list(string, string, CloudServiceRolesListOptionalParams)

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.

function list(resourceGroupName: string, cloudServiceName: string, options?: CloudServiceRolesListOptionalParams): PagedAsyncIterableIterator<CloudServiceRole, CloudServiceRole[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group.

cloudServiceName

string

Name of the cloud service.

options
CloudServiceRolesListOptionalParams

The options parameters.

Returns