ConnectionPoliciesClient Interface

public interface ConnectionPoliciesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ConnectionPolicyInner>,ConnectionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

abstract SyncPoller<PollResult<ConnectionPolicyInner>,ConnectionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource, Context context)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

abstract PollerFlux<PollResult<ConnectionPolicyInner>,ConnectionPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Deletes a ConnectionPolicy.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualHubName, String connectionPolicyName, Context context)

Deletes a ConnectionPolicy.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Deletes a ConnectionPolicy.

abstract ConnectionPolicyInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

abstract ConnectionPolicyInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource, Context context)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

abstract reactor.core.publisher.Mono<ConnectionPolicyInner> createOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

abstract reactor.core.publisher.Mono<Response<reactor.core.publisher.Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

abstract void delete(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Deletes a ConnectionPolicy.

abstract void delete(String resourceGroupName, String virtualHubName, String connectionPolicyName, Context context)

Deletes a ConnectionPolicy.

abstract reactor.core.publisher.Mono<Void> deleteAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Deletes a ConnectionPolicy.

abstract reactor.core.publisher.Mono<Response<reactor.core.publisher.Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Deletes a ConnectionPolicy.

abstract ConnectionPolicyInner get(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Retrieves the details of a ConnectionPolicy.

abstract reactor.core.publisher.Mono<ConnectionPolicyInner> getAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Retrieves the details of a ConnectionPolicy.

abstract Response<ConnectionPolicyInner> getWithResponse(String resourceGroupName, String virtualHubName, String connectionPolicyName, Context context)

Retrieves the details of a ConnectionPolicy.

abstract reactor.core.publisher.Mono<Response<ConnectionPolicyInner>> getWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Retrieves the details of a ConnectionPolicy.

abstract PagedIterable<ConnectionPolicyInner> list(String resourceGroupName, String virtualHubName)

Retrieves the details of all ConnectionPolicies.

abstract PagedIterable<ConnectionPolicyInner> list(String resourceGroupName, String virtualHubName, Context context)

Retrieves the details of all ConnectionPolicies.

abstract PagedFlux<ConnectionPolicyInner> listAsync(String resourceGroupName, String virtualHubName)

Retrieves the details of all ConnectionPolicies.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ConnectionPolicyInner>,ConnectionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.
resource - Parameters supplied to create or update a ConnectionPolicy.

Returns:

the SyncPoller<T,U> for polling of connectionPolicy resource defined for VirtualHub.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ConnectionPolicyInner>,ConnectionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource, Context context)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.
resource - Parameters supplied to create or update a ConnectionPolicy.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of connectionPolicy resource defined for VirtualHub.

beginCreateOrUpdateAsync

public abstract PollerFlux<PollResult<ConnectionPolicyInner>,ConnectionPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.
resource - Parameters supplied to create or update a ConnectionPolicy.

Returns:

the PollerFlux<T,U> for polling of connectionPolicy resource defined for VirtualHub.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Deletes a ConnectionPolicy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.

Returns:

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

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualHubName, String connectionPolicyName, Context context)

Deletes a ConnectionPolicy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.
context - The context to associate with this operation.

Returns:

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

beginDeleteAsync

public abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Deletes a ConnectionPolicy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.

Returns:

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

createOrUpdate

public abstract ConnectionPolicyInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.
resource - Parameters supplied to create or update a ConnectionPolicy.

Returns:

connectionPolicy resource defined for VirtualHub.

createOrUpdate

public abstract ConnectionPolicyInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource, Context context)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.
resource - Parameters supplied to create or update a ConnectionPolicy.
context - The context to associate with this operation.

Returns:

connectionPolicy resource defined for VirtualHub.

createOrUpdateAsync

public abstract Mono<ConnectionPolicyInner> createOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.
resource - Parameters supplied to create or update a ConnectionPolicy.

Returns:

connectionPolicy resource defined for VirtualHub on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName, ConnectionPolicyInner resource)

Creates a ConnectionPolicy if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.
resource - Parameters supplied to create or update a ConnectionPolicy.

Returns:

connectionPolicy resource defined for VirtualHub along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Deletes a ConnectionPolicy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.

delete

public abstract void delete(String resourceGroupName, String virtualHubName, String connectionPolicyName, Context context)

Deletes a ConnectionPolicy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.
context - The context to associate with this operation.

deleteAsync

public abstract Mono<Void> deleteAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Deletes a ConnectionPolicy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Deletes a ConnectionPolicy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract ConnectionPolicyInner get(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Retrieves the details of a ConnectionPolicy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.

Returns:

connectionPolicy resource defined for VirtualHub.

getAsync

public abstract Mono<ConnectionPolicyInner> getAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Retrieves the details of a ConnectionPolicy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.

Returns:

connectionPolicy resource defined for VirtualHub on successful completion of Mono.

getWithResponse

public abstract Response<ConnectionPolicyInner> getWithResponse(String resourceGroupName, String virtualHubName, String connectionPolicyName, Context context)

Retrieves the details of a ConnectionPolicy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.
context - The context to associate with this operation.

Returns:

connectionPolicy resource defined for VirtualHub along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<ConnectionPolicyInner>> getWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionPolicyName)

Retrieves the details of a ConnectionPolicy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
connectionPolicyName - The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.

Returns:

connectionPolicy resource defined for VirtualHub along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable<ConnectionPolicyInner> list(String resourceGroupName, String virtualHubName)

Retrieves the details of all ConnectionPolicies.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.

Returns:

list of ConnectionPolicies and a URL nextLink to get the next set of results as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ConnectionPolicyInner> list(String resourceGroupName, String virtualHubName, Context context)

Retrieves the details of all ConnectionPolicies.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.
context - The context to associate with this operation.

Returns:

list of ConnectionPolicies and a URL nextLink to get the next set of results as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux<ConnectionPolicyInner> listAsync(String resourceGroupName, String virtualHubName)

Retrieves the details of all ConnectionPolicies.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualHubName - The name of the VirtualHub.

Returns:

list of ConnectionPolicies and a URL nextLink to get the next set of results as paginated response with PagedFlux<T>.

Applies to