共用方式為


ClientGroupsClient Interface

public interface ClientGroupsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ClientGroupInner>,ClientGroupInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, String clientGroupName, ClientGroupInner clientGroupInfo)

Create or update a client group.

abstract SyncPoller<PollResult<ClientGroupInner>,ClientGroupInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, String clientGroupName, ClientGroupInner clientGroupInfo, Context context)

Create or update a client group.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String namespaceName, String clientGroupName)

Delete a client group.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String namespaceName, String clientGroupName, Context context)

Delete a client group.

abstract ClientGroupInner createOrUpdate(String resourceGroupName, String namespaceName, String clientGroupName, ClientGroupInner clientGroupInfo)

Create or update a client group.

abstract ClientGroupInner createOrUpdate(String resourceGroupName, String namespaceName, String clientGroupName, ClientGroupInner clientGroupInfo, Context context)

Create or update a client group.

abstract void delete(String resourceGroupName, String namespaceName, String clientGroupName)

Delete a client group.

abstract void delete(String resourceGroupName, String namespaceName, String clientGroupName, Context context)

Delete a client group.

abstract ClientGroupInner get(String resourceGroupName, String namespaceName, String clientGroupName)

Get a client group.

abstract Response<ClientGroupInner> getWithResponse(String resourceGroupName, String namespaceName, String clientGroupName, Context context)

Get a client group.

abstract PagedIterable<ClientGroupInner> listByNamespace(String resourceGroupName, String namespaceName)

List all client groups under a namespace.

abstract PagedIterable<ClientGroupInner> listByNamespace(String resourceGroupName, String namespaceName, String filter, Integer top, Context context)

List all client groups under a namespace.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ClientGroupInner>,ClientGroupInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, String clientGroupName, ClientGroupInner clientGroupInfo)

Create or update a client group. Create or update a client group with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
clientGroupName - The client group name.
clientGroupInfo - Client group information.

Returns:

the SyncPoller<T,U> for polling of the Client group resource.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ClientGroupInner>,ClientGroupInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, String clientGroupName, ClientGroupInner clientGroupInfo, Context context)

Create or update a client group. Create or update a client group with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
clientGroupName - The client group name.
clientGroupInfo - Client group information.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the Client group resource.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String namespaceName, String clientGroupName)

Delete a client group. Delete an existing client group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
clientGroupName - Name of the client group.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String namespaceName, String clientGroupName, Context context)

Delete a client group. Delete an existing client group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
clientGroupName - Name of the client group.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

createOrUpdate

public abstract ClientGroupInner createOrUpdate(String resourceGroupName, String namespaceName, String clientGroupName, ClientGroupInner clientGroupInfo)

Create or update a client group. Create or update a client group with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
clientGroupName - The client group name.
clientGroupInfo - Client group information.

Returns:

the Client group resource.

createOrUpdate

public abstract ClientGroupInner createOrUpdate(String resourceGroupName, String namespaceName, String clientGroupName, ClientGroupInner clientGroupInfo, Context context)

Create or update a client group. Create or update a client group with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
clientGroupName - The client group name.
clientGroupInfo - Client group information.
context - The context to associate with this operation.

Returns:

the Client group resource.

delete

public abstract void delete(String resourceGroupName, String namespaceName, String clientGroupName)

Delete a client group. Delete an existing client group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
clientGroupName - Name of the client group.

delete

public abstract void delete(String resourceGroupName, String namespaceName, String clientGroupName, Context context)

Delete a client group. Delete an existing client group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
clientGroupName - Name of the client group.
context - The context to associate with this operation.

get

public abstract ClientGroupInner get(String resourceGroupName, String namespaceName, String clientGroupName)

Get a client group. Get properties of a client group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
clientGroupName - Name of the client group.

Returns:

properties of a client group.

getWithResponse

public abstract Response<ClientGroupInner> getWithResponse(String resourceGroupName, String namespaceName, String clientGroupName, Context context)

Get a client group. Get properties of a client group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
clientGroupName - Name of the client group.
context - The context to associate with this operation.

Returns:

properties of a client group along with Response<T>.

listByNamespace

public abstract PagedIterable<ClientGroupInner> listByNamespace(String resourceGroupName, String namespaceName)

List all client groups under a namespace. Get all the client groups under a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.

Returns:

all the client groups under a namespace as paginated response with PagedIterable<T>.

listByNamespace

public abstract PagedIterable<ClientGroupInner> listByNamespace(String resourceGroupName, String namespaceName, String filter, Integer top, Context context)

List all client groups under a namespace. Get all the client groups under a namespace.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
namespaceName - Name of the namespace.
filter - The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'.
top - The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.
context - The context to associate with this operation.

Returns:

all the client groups under a namespace as paginated response with PagedIterable<T>.

Applies to