DdosCustomPoliciesClient Interface

Implements

public interface DdosCustomPoliciesClient
extends InnerSupportsGet<DdosCustomPolicyInner>, InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DdosCustomPolicyInner>,DdosCustomPolicyInner> beginCreateOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)

Creates or updates a DDoS custom policy.

abstract SyncPoller<PollResult<DdosCustomPolicyInner>,DdosCustomPolicyInner> beginCreateOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters, Context context)

Creates or updates a DDoS custom policy.

abstract PollerFlux<PollResult<DdosCustomPolicyInner>,DdosCustomPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)

Creates or updates a DDoS custom policy.

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

Deletes the specified DDoS custom policy.

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

Deletes the specified DDoS custom policy.

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

Deletes the specified DDoS custom policy.

abstract DdosCustomPolicyInner createOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)

Creates or updates a DDoS custom policy.

abstract DdosCustomPolicyInner createOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters, Context context)

Creates or updates a DDoS custom policy.

abstract Mono<DdosCustomPolicyInner> createOrUpdateAsync(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)

Creates or updates a DDoS custom policy.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)

Creates or updates a DDoS custom policy.

abstract void delete(String resourceGroupName, String ddosCustomPolicyName)

Deletes the specified DDoS custom policy.

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

Deletes the specified DDoS custom policy.

abstract Mono<Void> deleteAsync(String resourceGroupName, String ddosCustomPolicyName)

Deletes the specified DDoS custom policy.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName)

Deletes the specified DDoS custom policy.

abstract DdosCustomPolicyInner getByResourceGroup(String resourceGroupName, String ddosCustomPolicyName)

Gets information about the specified DDoS custom policy.

abstract Mono<DdosCustomPolicyInner> getByResourceGroupAsync(String resourceGroupName, String ddosCustomPolicyName)

Gets information about the specified DDoS custom policy.

abstract Response<DdosCustomPolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String ddosCustomPolicyName, Context context)

Gets information about the specified DDoS custom policy.

abstract Mono<Response<DdosCustomPolicyInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName)

Gets information about the specified DDoS custom policy.

abstract DdosCustomPolicyInner updateTags(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters)

Update a DDoS custom policy tags.

abstract Mono<DdosCustomPolicyInner> updateTagsAsync(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters)

Update a DDoS custom policy tags.

abstract Response<DdosCustomPolicyInner> updateTagsWithResponse(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters, Context context)

Update a DDoS custom policy tags.

abstract Mono<Response<DdosCustomPolicyInner>> updateTagsWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters)

Update a DDoS custom policy tags.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,DdosCustomPolicyInner> beginCreateOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)

Creates or updates a DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
parameters - Parameters supplied to the create or update operation.

Returns:

the SyncPoller<T,U> for polling of a DDoS custom policy in a resource group.

beginCreateOrUpdate

public abstract SyncPoller,DdosCustomPolicyInner> beginCreateOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters, Context context)

Creates or updates a DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
parameters - Parameters supplied to the create or update operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a DDoS custom policy in a resource group.

beginCreateOrUpdateAsync

public abstract PollerFlux,DdosCustomPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)

Creates or updates a DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
parameters - Parameters supplied to the create or update operation.

Returns:

the PollerFlux<T,U> for polling of a DDoS custom policy in a resource group.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String ddosCustomPolicyName)

Deletes the specified DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String ddosCustomPolicyName, Context context)

Deletes the specified DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
context - The context to associate with this operation.

Returns:

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

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String ddosCustomPolicyName)

Deletes the specified DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.

Returns:

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

createOrUpdate

public abstract DdosCustomPolicyInner createOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)

Creates or updates a DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
parameters - Parameters supplied to the create or update operation.

Returns:

a DDoS custom policy in a resource group.

createOrUpdate

public abstract DdosCustomPolicyInner createOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters, Context context)

Creates or updates a DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
parameters - Parameters supplied to the create or update operation.
context - The context to associate with this operation.

Returns:

a DDoS custom policy in a resource group.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)

Creates or updates a DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
parameters - Parameters supplied to the create or update operation.

Returns:

a DDoS custom policy in a resource group on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)

Creates or updates a DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
parameters - Parameters supplied to the create or update operation.

Returns:

a DDoS custom policy in a resource group along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String ddosCustomPolicyName)

Deletes the specified DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.

delete

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

Deletes the specified DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String ddosCustomPolicyName)

Deletes the specified DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName)

Deletes the specified DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract DdosCustomPolicyInner getByResourceGroup(String resourceGroupName, String ddosCustomPolicyName)

Gets information about the specified DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.

Returns:

information about the specified DDoS custom policy.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String ddosCustomPolicyName)

Gets information about the specified DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.

Returns:

information about the specified DDoS custom policy on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String ddosCustomPolicyName, Context context)

Gets information about the specified DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
context - The context to associate with this operation.

Returns:

information about the specified DDoS custom policy along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName)

Gets information about the specified DDoS custom policy.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.

Returns:

information about the specified DDoS custom policy along with Response<T> on successful completion of Mono.

updateTags

public abstract DdosCustomPolicyInner updateTags(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters)

Update a DDoS custom policy tags.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
parameters - Parameters supplied to update DDoS custom policy resource tags.

Returns:

a DDoS custom policy in a resource group.

updateTagsAsync

public abstract Mono updateTagsAsync(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters)

Update a DDoS custom policy tags.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
parameters - Parameters supplied to update DDoS custom policy resource tags.

Returns:

a DDoS custom policy in a resource group on successful completion of Mono.

updateTagsWithResponse

public abstract Response updateTagsWithResponse(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters, Context context)

Update a DDoS custom policy tags.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
parameters - Parameters supplied to update DDoS custom policy resource tags.
context - The context to associate with this operation.

Returns:

a DDoS custom policy in a resource group along with Response<T>.

updateTagsWithResponseAsync

public abstract Mono> updateTagsWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters)

Update a DDoS custom policy tags.

Parameters:

resourceGroupName - The name of the resource group.
ddosCustomPolicyName - The name of the DDoS custom policy.
parameters - Parameters supplied to update DDoS custom policy resource tags.

Returns:

a DDoS custom policy in a resource group along with Response<T> on successful completion of Mono.

Applies to