CloudServiceRolesClient Interface

public interface CloudServiceRolesClient

An instance of this class provides access to all the operations defined in CloudServiceRolesClient.

Method Summary

Modifier and Type Method and Description
abstract CloudServiceRoleInner get(String roleName, String resourceGroupName, String cloudServiceName)

Gets a role from a cloud service.

abstract Mono<CloudServiceRoleInner> getAsync(String roleName, String resourceGroupName, String cloudServiceName)

Gets a role from a cloud service.

abstract Response<CloudServiceRoleInner> getWithResponse(String roleName, String resourceGroupName, String cloudServiceName, Context context)

Gets a role from a cloud service.

abstract Mono<Response<CloudServiceRoleInner>> getWithResponseAsync(String roleName, String resourceGroupName, String cloudServiceName)

Gets a role from a cloud service.

abstract PagedIterable<CloudServiceRoleInner> list(String resourceGroupName, String cloudServiceName)

Gets a list of all roles in a cloud service.

abstract PagedIterable<CloudServiceRoleInner> list(String resourceGroupName, String cloudServiceName, Context context)

Gets a list of all roles in a cloud service.

abstract PagedFlux<CloudServiceRoleInner> listAsync(String resourceGroupName, String cloudServiceName)

Gets a list of all roles in a cloud service.

Method Details

get

public abstract CloudServiceRoleInner get(String roleName, String resourceGroupName, String cloudServiceName)

Gets a role from a cloud service.

Parameters:

roleName - Name of the role.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

a role from a cloud service.

getAsync

public abstract Mono getAsync(String roleName, String resourceGroupName, String cloudServiceName)

Gets a role from a cloud service.

Parameters:

roleName - Name of the role.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

a role from a cloud service on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String roleName, String resourceGroupName, String cloudServiceName, Context context)

Gets a role from a cloud service.

Parameters:

roleName - Name of the role.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.
context - The context to associate with this operation.

Returns:

a role from a cloud service along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String roleName, String resourceGroupName, String cloudServiceName)

Gets a role from a cloud service.

Parameters:

roleName - Name of the role.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

a role from a cloud service along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String cloudServiceName)

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 - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

a list of all roles in a cloud service as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String cloudServiceName, Context context)

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 - Name of the resource group.
cloudServiceName - Name of the cloud service.
context - The context to associate with this operation.

Returns:

a list of all roles in a cloud service as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String cloudServiceName)

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 - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

a list of all roles in a cloud service as paginated response with PagedFlux<T>.

Applies to