Partager via


ServerConnectionPoliciesClient Interface

public interface ServerConnectionPoliciesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ServerConnectionPolicyInner>,ServerConnectionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters)

Updates a server connection policy.

abstract SyncPoller<PollResult<ServerConnectionPolicyInner>,ServerConnectionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters, Context context)

Updates a server connection policy.

abstract PollerFlux<PollResult<ServerConnectionPolicyInner>,ServerConnectionPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters)

Updates a server connection policy.

abstract ServerConnectionPolicyInner createOrUpdate(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters)

Updates a server connection policy.

abstract ServerConnectionPolicyInner createOrUpdate(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters, Context context)

Updates a server connection policy.

abstract Mono<ServerConnectionPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters)

Updates a server connection policy.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters)

Updates a server connection policy.

abstract ServerConnectionPolicyInner get(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)

Gets a server connection policy.

abstract Mono<ServerConnectionPolicyInner> getAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)

Gets a server connection policy.

abstract Response<ServerConnectionPolicyInner> getWithResponse(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, Context context)

Gets a server connection policy.

abstract Mono<Response<ServerConnectionPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)

Gets a server connection policy.

abstract PagedIterable<ServerConnectionPolicyInner> listByServer(String resourceGroupName, String serverName)

Lists connection policy.

abstract PagedIterable<ServerConnectionPolicyInner> listByServer(String resourceGroupName, String serverName, Context context)

Lists connection policy.

abstract PagedFlux<ServerConnectionPolicyInner> listByServerAsync(String resourceGroupName, String serverName)

Lists connection policy.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,ServerConnectionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters)

Updates a server connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
connectionPolicyName - The name of the connection policy.
parameters - The required parameters for updating a server connection policy.

Returns:

the SyncPoller<T,U> for polling of a server connection policy.

beginCreateOrUpdate

public abstract SyncPoller,ServerConnectionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters, Context context)

Updates a server connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
connectionPolicyName - The name of the connection policy.
parameters - The required parameters for updating a server connection policy.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a server connection policy.

beginCreateOrUpdateAsync

public abstract PollerFlux,ServerConnectionPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters)

Updates a server connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
connectionPolicyName - The name of the connection policy.
parameters - The required parameters for updating a server connection policy.

Returns:

the PollerFlux<T,U> for polling of a server connection policy.

createOrUpdate

public abstract ServerConnectionPolicyInner createOrUpdate(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters)

Updates a server connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
connectionPolicyName - The name of the connection policy.
parameters - The required parameters for updating a server connection policy.

Returns:

a server connection policy.

createOrUpdate

public abstract ServerConnectionPolicyInner createOrUpdate(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters, Context context)

Updates a server connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
connectionPolicyName - The name of the connection policy.
parameters - The required parameters for updating a server connection policy.
context - The context to associate with this operation.

Returns:

a server connection policy.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters)

Updates a server connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
connectionPolicyName - The name of the connection policy.
parameters - The required parameters for updating a server connection policy.

Returns:

a server connection policy on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, ServerConnectionPolicyInner parameters)

Updates a server connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
connectionPolicyName - The name of the connection policy.
parameters - The required parameters for updating a server connection policy.

Returns:

a server connection policy along with Response<T> on successful completion of Mono.

get

public abstract ServerConnectionPolicyInner get(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)

Gets a server connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
connectionPolicyName - The name of the connection policy.

Returns:

a server connection policy.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)

Gets a server connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
connectionPolicyName - The name of the connection policy.

Returns:

a server connection policy on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName, Context context)

Gets a server connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
connectionPolicyName - The name of the connection policy.
context - The context to associate with this operation.

Returns:

a server connection policy along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String serverName, ConnectionPolicyName connectionPolicyName)

Gets a server connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
connectionPolicyName - The name of the connection policy.

Returns:

a server connection policy along with Response<T> on successful completion of Mono.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName)

Lists connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.

Returns:

a list of server connection policy objects as paginated response with PagedIterable<T>.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName, Context context)

Lists connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
context - The context to associate with this operation.

Returns:

a list of server connection policy objects as paginated response with PagedIterable<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName)

Lists connection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.

Returns:

a list of server connection policy objects as paginated response with PagedFlux<T>.

Applies to