Delen via


RoutePoliciesClient Interface

public interface RoutePoliciesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<CommonPostActionResponseForStateUpdateInner>,CommonPostActionResponseForStateUpdateInner> beginCommitConfiguration(String resourceGroupName, String routePolicyName)

Execute the commit on the resources.

abstract SyncPoller<PollResult<CommonPostActionResponseForStateUpdateInner>,CommonPostActionResponseForStateUpdateInner> beginCommitConfiguration(String resourceGroupName, String routePolicyName, Context context)

Execute the commit on the resources.

abstract SyncPoller<PollResult<RoutePolicyInner>,RoutePolicyInner> beginCreate(String resourceGroupName, String routePolicyName, RoutePolicyInner body)

Create Route Policy.

abstract SyncPoller<PollResult<RoutePolicyInner>,RoutePolicyInner> beginCreate(String resourceGroupName, String routePolicyName, RoutePolicyInner body, Context context)

Create Route Policy.

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

Deletes a Route Policy.

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

Deletes a Route Policy.

abstract SyncPoller<PollResult<RoutePolicyInner>,RoutePolicyInner> beginUpdate(String resourceGroupName, String routePolicyName, RoutePolicyPatch body)

Updates a Route Policy.

abstract SyncPoller<PollResult<RoutePolicyInner>,RoutePolicyInner> beginUpdate(String resourceGroupName, String routePolicyName, RoutePolicyPatch body, Context context)

Updates a Route Policy.

abstract SyncPoller<PollResult<CommonPostActionResponseForDeviceUpdateInner>,CommonPostActionResponseForDeviceUpdateInner> beginUpdateAdministrativeState(String resourceGroupName, String routePolicyName, UpdateAdministrativeState body)

Executes enable operation to the underlying resources.

abstract SyncPoller<PollResult<CommonPostActionResponseForDeviceUpdateInner>,CommonPostActionResponseForDeviceUpdateInner> beginUpdateAdministrativeState(String resourceGroupName, String routePolicyName, UpdateAdministrativeState body, Context context)

Executes enable operation to the underlying resources.

abstract SyncPoller<PollResult<ValidateConfigurationResponseInner>,ValidateConfigurationResponseInner> beginValidateConfiguration(String resourceGroupName, String routePolicyName)

Validates the configuration of the resources.

abstract SyncPoller<PollResult<ValidateConfigurationResponseInner>,ValidateConfigurationResponseInner> beginValidateConfiguration(String resourceGroupName, String routePolicyName, Context context)

Validates the configuration of the resources.

abstract CommonPostActionResponseForStateUpdateInner commitConfiguration(String resourceGroupName, String routePolicyName)

Execute the commit on the resources.

abstract CommonPostActionResponseForStateUpdateInner commitConfiguration(String resourceGroupName, String routePolicyName, Context context)

Execute the commit on the resources.

abstract RoutePolicyInner create(String resourceGroupName, String routePolicyName, RoutePolicyInner body)

Create Route Policy.

abstract RoutePolicyInner create(String resourceGroupName, String routePolicyName, RoutePolicyInner body, Context context)

Create Route Policy.

abstract void delete(String resourceGroupName, String routePolicyName)

Deletes a Route Policy.

abstract void delete(String resourceGroupName, String routePolicyName, Context context)

Deletes a Route Policy.

abstract RoutePolicyInner getByResourceGroup(String resourceGroupName, String routePolicyName)

Gets a Route Policy.

abstract Response<RoutePolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String routePolicyName, Context context)

Gets a Route Policy.

abstract PagedIterable<RoutePolicyInner> list()

List RoutePolicies by subscription.

abstract PagedIterable<RoutePolicyInner> list(Context context)

List RoutePolicies by subscription.

abstract PagedIterable<RoutePolicyInner> listByResourceGroup(String resourceGroupName)

List RoutePolicies by resource group.

abstract PagedIterable<RoutePolicyInner> listByResourceGroup(String resourceGroupName, Context context)

List RoutePolicies by resource group.

abstract RoutePolicyInner update(String resourceGroupName, String routePolicyName, RoutePolicyPatch body)

Updates a Route Policy.

abstract RoutePolicyInner update(String resourceGroupName, String routePolicyName, RoutePolicyPatch body, Context context)

Updates a Route Policy.

abstract CommonPostActionResponseForDeviceUpdateInner updateAdministrativeState(String resourceGroupName, String routePolicyName, UpdateAdministrativeState body)

Executes enable operation to the underlying resources.

abstract CommonPostActionResponseForDeviceUpdateInner updateAdministrativeState(String resourceGroupName, String routePolicyName, UpdateAdministrativeState body, Context context)

Executes enable operation to the underlying resources.

abstract ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String routePolicyName)

Validates the configuration of the resources.

abstract ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String routePolicyName, Context context)

Validates the configuration of the resources.

Method Details

beginCommitConfiguration

public abstract SyncPoller<PollResult<CommonPostActionResponseForStateUpdateInner>,CommonPostActionResponseForStateUpdateInner> beginCommitConfiguration(String resourceGroupName, String routePolicyName)

Execute the commit on the resources. Commits the configuration of the given resources.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.

Returns:

the SyncPoller<T,U> for polling of common response for the state updates.

beginCommitConfiguration

public abstract SyncPoller<PollResult<CommonPostActionResponseForStateUpdateInner>,CommonPostActionResponseForStateUpdateInner> beginCommitConfiguration(String resourceGroupName, String routePolicyName, Context context)

Execute the commit on the resources. Commits the configuration of the given resources.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of common response for the state updates.

beginCreate

public abstract SyncPoller<PollResult<RoutePolicyInner>,RoutePolicyInner> beginCreate(String resourceGroupName, String routePolicyName, RoutePolicyInner body)

Create Route Policy. Implements Route Policy PUT method.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
body - Request payload.

Returns:

the SyncPoller<T,U> for polling of the RoutePolicy resource definition.

beginCreate

public abstract SyncPoller<PollResult<RoutePolicyInner>,RoutePolicyInner> beginCreate(String resourceGroupName, String routePolicyName, RoutePolicyInner body, Context context)

Create Route Policy. Implements Route Policy PUT method.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
body - Request payload.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the RoutePolicy resource definition.

beginDelete

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

Deletes a Route Policy. Implements Route Policy DELETE method.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.

Returns:

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

beginDelete

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

Deletes a Route Policy. Implements Route Policy DELETE method.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
context - The context to associate with this operation.

Returns:

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

beginUpdate

public abstract SyncPoller<PollResult<RoutePolicyInner>,RoutePolicyInner> beginUpdate(String resourceGroupName, String routePolicyName, RoutePolicyPatch body)

Updates a Route Policy. API to update certain properties of the Route Policy resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
body - Route Policy properties to update.

Returns:

the SyncPoller<T,U> for polling of the RoutePolicy resource definition.

beginUpdate

public abstract SyncPoller<PollResult<RoutePolicyInner>,RoutePolicyInner> beginUpdate(String resourceGroupName, String routePolicyName, RoutePolicyPatch body, Context context)

Updates a Route Policy. API to update certain properties of the Route Policy resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
body - Route Policy properties to update.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the RoutePolicy resource definition.

beginUpdateAdministrativeState

public abstract SyncPoller<PollResult<CommonPostActionResponseForDeviceUpdateInner>,CommonPostActionResponseForDeviceUpdateInner> beginUpdateAdministrativeState(String resourceGroupName, String routePolicyName, UpdateAdministrativeState body)

Executes enable operation to the underlying resources. Updated the admin state for this Route Policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
body - Request payload.

Returns:

the SyncPoller<T,U> for polling of common response for device updates.

beginUpdateAdministrativeState

public abstract SyncPoller<PollResult<CommonPostActionResponseForDeviceUpdateInner>,CommonPostActionResponseForDeviceUpdateInner> beginUpdateAdministrativeState(String resourceGroupName, String routePolicyName, UpdateAdministrativeState body, Context context)

Executes enable operation to the underlying resources. Updated the admin state for this Route Policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
body - Request payload.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of common response for device updates.

beginValidateConfiguration

public abstract SyncPoller<PollResult<ValidateConfigurationResponseInner>,ValidateConfigurationResponseInner> beginValidateConfiguration(String resourceGroupName, String routePolicyName)

Validates the configuration of the resources.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.

Returns:

the SyncPoller<T,U> for polling of the response of the action validate configuration.

beginValidateConfiguration

public abstract SyncPoller<PollResult<ValidateConfigurationResponseInner>,ValidateConfigurationResponseInner> beginValidateConfiguration(String resourceGroupName, String routePolicyName, Context context)

Validates the configuration of the resources.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the response of the action validate configuration.

commitConfiguration

public abstract CommonPostActionResponseForStateUpdateInner commitConfiguration(String resourceGroupName, String routePolicyName)

Execute the commit on the resources. Commits the configuration of the given resources.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.

Returns:

common response for the state updates.

commitConfiguration

public abstract CommonPostActionResponseForStateUpdateInner commitConfiguration(String resourceGroupName, String routePolicyName, Context context)

Execute the commit on the resources. Commits the configuration of the given resources.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
context - The context to associate with this operation.

Returns:

common response for the state updates.

create

public abstract RoutePolicyInner create(String resourceGroupName, String routePolicyName, RoutePolicyInner body)

Create Route Policy. Implements Route Policy PUT method.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
body - Request payload.

Returns:

the RoutePolicy resource definition.

create

public abstract RoutePolicyInner create(String resourceGroupName, String routePolicyName, RoutePolicyInner body, Context context)

Create Route Policy. Implements Route Policy PUT method.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
body - Request payload.
context - The context to associate with this operation.

Returns:

the RoutePolicy resource definition.

delete

public abstract void delete(String resourceGroupName, String routePolicyName)

Deletes a Route Policy. Implements Route Policy DELETE method.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.

delete

public abstract void delete(String resourceGroupName, String routePolicyName, Context context)

Deletes a Route Policy. Implements Route Policy DELETE method.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
context - The context to associate with this operation.

getByResourceGroup

public abstract RoutePolicyInner getByResourceGroup(String resourceGroupName, String routePolicyName)

Gets a Route Policy. Implements Route Policy GET method.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.

Returns:

the RoutePolicy resource definition.

getByResourceGroupWithResponse

public abstract Response<RoutePolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String routePolicyName, Context context)

Gets a Route Policy. Implements Route Policy GET method.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
context - The context to associate with this operation.

Returns:

the RoutePolicy resource definition along with Response<T>.

list

public abstract PagedIterable<RoutePolicyInner> list()

List RoutePolicies by subscription. Implements RoutePolicies list by subscription GET method.

Returns:

list of RoutePolicies as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<RoutePolicyInner> list(Context context)

List RoutePolicies by subscription. Implements RoutePolicies list by subscription GET method.

Parameters:

context - The context to associate with this operation.

Returns:

list of RoutePolicies as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<RoutePolicyInner> listByResourceGroup(String resourceGroupName)

List RoutePolicies by resource group. Implements RoutePolicies list by resource group GET method.

Parameters:

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

Returns:

list of RoutePolicies as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<RoutePolicyInner> listByResourceGroup(String resourceGroupName, Context context)

List RoutePolicies by resource group. Implements RoutePolicies list by resource group GET method.

Parameters:

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

Returns:

list of RoutePolicies as paginated response with PagedIterable<T>.

update

public abstract RoutePolicyInner update(String resourceGroupName, String routePolicyName, RoutePolicyPatch body)

Updates a Route Policy. API to update certain properties of the Route Policy resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
body - Route Policy properties to update.

Returns:

the RoutePolicy resource definition.

update

public abstract RoutePolicyInner update(String resourceGroupName, String routePolicyName, RoutePolicyPatch body, Context context)

Updates a Route Policy. API to update certain properties of the Route Policy resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
body - Route Policy properties to update.
context - The context to associate with this operation.

Returns:

the RoutePolicy resource definition.

updateAdministrativeState

public abstract CommonPostActionResponseForDeviceUpdateInner updateAdministrativeState(String resourceGroupName, String routePolicyName, UpdateAdministrativeState body)

Executes enable operation to the underlying resources. Updated the admin state for this Route Policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
body - Request payload.

Returns:

common response for device updates.

updateAdministrativeState

public abstract CommonPostActionResponseForDeviceUpdateInner updateAdministrativeState(String resourceGroupName, String routePolicyName, UpdateAdministrativeState body, Context context)

Executes enable operation to the underlying resources. Updated the admin state for this Route Policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
body - Request payload.
context - The context to associate with this operation.

Returns:

common response for device updates.

validateConfiguration

public abstract ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String routePolicyName)

Validates the configuration of the resources.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.

Returns:

the response of the action validate configuration.

validateConfiguration

public abstract ValidateConfigurationResponseInner validateConfiguration(String resourceGroupName, String routePolicyName, Context context)

Validates the configuration of the resources.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
routePolicyName - Name of the Route Policy.
context - The context to associate with this operation.

Returns:

the response of the action validate configuration.

Applies to