DdosProtectionPlansClient Interface
Implements
public interface DdosProtectionPlansClient extends InnerSupportsGet <DdosProtectionPlanInner >, InnerSupportsListing <DdosProtectionPlanInner >, InnerSupportsDelete <Void >
An instance of this class provides access to all the operations defined in DdosProtectionPlansClient.
Method Summary
Modifier and Type
Method and Description
abstract
SyncPoller <PollResult <DdosProtectionPlanInner >,DdosProtectionPlanInner >
beginCreateOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
abstract
SyncPoller <PollResult <DdosProtectionPlanInner >,DdosProtectionPlanInner >
beginCreateOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters, Context context)
Creates or updates a DDoS protection plan.
abstract
PollerFlux <PollResult <DdosProtectionPlanInner >,DdosProtectionPlanInner >
beginCreateOrUpdateAsync(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
abstract
SyncPoller <PollResult <Void >,Void >
beginDelete(String resourceGroupName, String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
abstract
SyncPoller <PollResult <Void >,Void >
beginDelete(String resourceGroupName, String ddosProtectionPlanName, Context context)
Deletes the specified DDoS protection plan.
abstract
PollerFlux <PollResult <Void >,Void >
beginDeleteAsync(String resourceGroupName, String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
abstract
DdosProtectionPlanInner
createOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
abstract
DdosProtectionPlanInner
createOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters, Context context)
Creates or updates a DDoS protection plan.
abstract
Mono <DdosProtectionPlanInner >
createOrUpdateAsync(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
abstract
Mono <Response <Flux <ByteBuffer >>>
createOrUpdateWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
abstract
void
delete(String resourceGroupName, String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
abstract
void
delete(String resourceGroupName, String ddosProtectionPlanName, Context context)
Deletes the specified DDoS protection plan.
abstract
Mono <Void >
deleteAsync(String resourceGroupName, String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
abstract
Mono <Response <Flux <ByteBuffer >>>
deleteWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
abstract
DdosProtectionPlanInner
getByResourceGroup(String resourceGroupName, String ddosProtectionPlanName)
Gets information about the specified DDoS protection plan.
abstract
Mono <DdosProtectionPlanInner >
getByResourceGroupAsync(String resourceGroupName, String ddosProtectionPlanName)
Gets information about the specified DDoS protection plan.
abstract
Response <DdosProtectionPlanInner >
getByResourceGroupWithResponse(String resourceGroupName, String ddosProtectionPlanName, Context context)
Gets information about the specified DDoS protection plan.
abstract
Mono <Response <DdosProtectionPlanInner >>
getByResourceGroupWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName)
Gets information about the specified DDoS protection plan.
abstract
PagedIterable <DdosProtectionPlanInner >
list()
Gets all DDoS protection plans in a subscription.
abstract
PagedIterable <DdosProtectionPlanInner >
list(Context context)
Gets all DDoS protection plans in a subscription.
abstract
PagedFlux <DdosProtectionPlanInner >
listAsync()
Gets all DDoS protection plans in a subscription.
abstract
PagedIterable <DdosProtectionPlanInner >
listByResourceGroup(String resourceGroupName)
Gets all the DDoS protection plans in a resource group.
abstract
PagedIterable <DdosProtectionPlanInner >
listByResourceGroup(String resourceGroupName, Context context)
Gets all the DDoS protection plans in a resource group.
abstract
PagedFlux <DdosProtectionPlanInner >
listByResourceGroupAsync(String resourceGroupName)
Gets all the DDoS protection plans in a resource group.
abstract
DdosProtectionPlanInner
updateTags(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters)
Update a DDoS protection plan tags.
abstract
Mono <DdosProtectionPlanInner >
updateTagsAsync(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters)
Update a DDoS protection plan tags.
abstract
Response <DdosProtectionPlanInner >
updateTagsWithResponse(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters, Context context)
Update a DDoS protection plan tags.
abstract
Mono <Response <DdosProtectionPlanInner >>
updateTagsWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters)
Update a DDoS protection plan tags.
Method Details
beginCreateOrUpdate
public abstract SyncPoller,DdosProtectionPlanInner> beginCreateOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
parameters
- Parameters supplied to the create or update operation.
Returns:
the
SyncPoller<T,U> for polling of a DDoS protection plan in a resource group.
beginCreateOrUpdate
public abstract SyncPoller,DdosProtectionPlanInner> beginCreateOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters, Context context)
Creates or updates a DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
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 protection plan in a resource group.
beginCreateOrUpdateAsync
public abstract PollerFlux,DdosProtectionPlanInner> beginCreateOrUpdateAsync(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
parameters
- Parameters supplied to the create or update operation.
Returns:
the
PollerFlux<T,U> for polling of a DDoS protection plan in a resource group.
beginDelete
public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
Returns:
beginDelete
public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String ddosProtectionPlanName, Context context)
Deletes the specified DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
context
- The context to associate with this operation.
Returns:
beginDeleteAsync
public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
Returns:
createOrUpdate
public abstract DdosProtectionPlanInner createOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
parameters
- Parameters supplied to the create or update operation.
Returns:
a DDoS protection plan in a resource group.
createOrUpdate
public abstract DdosProtectionPlanInner createOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters, Context context)
Creates or updates a DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
parameters
- Parameters supplied to the create or update operation.
context
- The context to associate with this operation.
Returns:
a DDoS protection plan in a resource group.
createOrUpdateAsync
public abstract Mono createOrUpdateAsync(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
parameters
- Parameters supplied to the create or update operation.
Returns:
a DDoS protection plan in a resource group on successful completion of Mono .
createOrUpdateWithResponseAsync
public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
parameters
- Parameters supplied to the create or update operation.
Returns:
a DDoS protection plan in a resource group along with
Response<T> on successful completion of
Mono .
delete
public abstract void delete(String resourceGroupName, String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
delete
public abstract void delete(String resourceGroupName, String ddosProtectionPlanName, Context context)
Deletes the specified DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
context
- The context to associate with this operation.
deleteAsync
public abstract Mono deleteAsync(String resourceGroupName, String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
Returns:
A Mono that completes when a successful response is received.
deleteWithResponseAsync
public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
Returns:
getByResourceGroup
public abstract DdosProtectionPlanInner getByResourceGroup(String resourceGroupName, String ddosProtectionPlanName)
Gets information about the specified DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
Returns:
information about the specified DDoS protection plan.
getByResourceGroupAsync
public abstract Mono getByResourceGroupAsync(String resourceGroupName, String ddosProtectionPlanName)
Gets information about the specified DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
Returns:
information about the specified DDoS protection plan on successful completion of Mono .
getByResourceGroupWithResponse
public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String ddosProtectionPlanName, Context context)
Gets information about the specified DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
context
- The context to associate with this operation.
Returns:
information about the specified DDoS protection plan along with
Response<T> .
getByResourceGroupWithResponseAsync
public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName)
Gets information about the specified DDoS protection plan.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
Returns:
information about the specified DDoS protection plan along with
Response<T> on successful completion
of
Mono .
list
public abstract PagedIterable list()
Gets all DDoS protection plans in a subscription.
Returns:
all DDoS protection plans in a subscription as paginated response with
PagedIterable<T> .
list
public abstract PagedIterable list(Context context)
Gets all DDoS protection plans in a subscription.
Parameters:
context
- The context to associate with this operation.
Returns:
all DDoS protection plans in a subscription as paginated response with
PagedIterable<T> .
listAsync
public abstract PagedFlux listAsync()
Gets all DDoS protection plans in a subscription.
Returns:
all DDoS protection plans in a subscription as paginated response with
PagedFlux<T> .
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName)
Gets all the DDoS protection plans in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
Returns:
all the DDoS protection plans in a resource group as paginated response with
PagedIterable<T> .
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)
Gets all the DDoS protection plans in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
context
- The context to associate with this operation.
Returns:
all the DDoS protection plans in a resource group as paginated response with
PagedIterable<T> .
listByResourceGroupAsync
public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)
Gets all the DDoS protection plans in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
Returns:
all the DDoS protection plans in a resource group as paginated response with
PagedFlux<T> .
updateTags
public abstract DdosProtectionPlanInner updateTags(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters)
Update a DDoS protection plan tags.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
parameters
- Parameters supplied to the update DDoS protection plan resource tags.
Returns:
a DDoS protection plan in a resource group.
updateTagsAsync
public abstract Mono updateTagsAsync(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters)
Update a DDoS protection plan tags.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
parameters
- Parameters supplied to the update DDoS protection plan resource tags.
Returns:
a DDoS protection plan in a resource group on successful completion of Mono .
updateTagsWithResponse
public abstract Response updateTagsWithResponse(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters, Context context)
Update a DDoS protection plan tags.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
parameters
- Parameters supplied to the update DDoS protection plan resource tags.
context
- The context to associate with this operation.
Returns:
a DDoS protection plan in a resource group along with
Response<T> .
updateTagsWithResponseAsync
public abstract Mono> updateTagsWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters)
Update a DDoS protection plan tags.
Parameters:
resourceGroupName
- The name of the resource group.
ddosProtectionPlanName
- The name of the DDoS protection plan.
parameters
- Parameters supplied to the update DDoS protection plan resource tags.
Returns:
a DDoS protection plan in a resource group along with
Response<T> on successful completion of
Mono .
Applies to