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