Partager via


SecurityPoliciesClient Interface

public interface SecurityPoliciesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<SecurityPolicyInner>,SecurityPolicyInner> beginCreate(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy)

Creates a new security policy within the specified profile.

abstract SyncPoller<PollResult<SecurityPolicyInner>,SecurityPolicyInner> beginCreate(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy, Context context)

Creates a new security policy within the specified profile.

abstract PollerFlux<PollResult<SecurityPolicyInner>,SecurityPolicyInner> beginCreateAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy)

Creates a new security policy within the specified profile.

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

Deletes an existing security policy within profile.

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

Deletes an existing security policy within profile.

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

Deletes an existing security policy within profile.

abstract SyncPoller<PollResult<SecurityPolicyInner>,SecurityPolicyInner> beginPatch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties)

Updates an existing security policy within a profile.

abstract SyncPoller<PollResult<SecurityPolicyInner>,SecurityPolicyInner> beginPatch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties, Context context)

Updates an existing security policy within a profile.

abstract PollerFlux<PollResult<SecurityPolicyInner>,SecurityPolicyInner> beginPatchAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties)

Updates an existing security policy within a profile.

abstract SecurityPolicyInner create(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy)

Creates a new security policy within the specified profile.

abstract SecurityPolicyInner create(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy, Context context)

Creates a new security policy within the specified profile.

abstract Mono<SecurityPolicyInner> createAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy)

Creates a new security policy within the specified profile.

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy)

Creates a new security policy within the specified profile.

abstract void delete(String resourceGroupName, String profileName, String securityPolicyName)

Deletes an existing security policy within profile.

abstract void delete(String resourceGroupName, String profileName, String securityPolicyName, Context context)

Deletes an existing security policy within profile.

abstract Mono<Void> deleteAsync(String resourceGroupName, String profileName, String securityPolicyName)

Deletes an existing security policy within profile.

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

Deletes an existing security policy within profile.

abstract SecurityPolicyInner get(String resourceGroupName, String profileName, String securityPolicyName)

Gets an existing security policy within a profile.

abstract Mono<SecurityPolicyInner> getAsync(String resourceGroupName, String profileName, String securityPolicyName)

Gets an existing security policy within a profile.

abstract Response<SecurityPolicyInner> getWithResponse(String resourceGroupName, String profileName, String securityPolicyName, Context context)

Gets an existing security policy within a profile.

abstract Mono<Response<SecurityPolicyInner>> getWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName)

Gets an existing security policy within a profile.

abstract PagedIterable<SecurityPolicyInner> listByProfile(String resourceGroupName, String profileName)

Lists security policies associated with the profile.

abstract PagedIterable<SecurityPolicyInner> listByProfile(String resourceGroupName, String profileName, Context context)

Lists security policies associated with the profile.

abstract PagedFlux<SecurityPolicyInner> listByProfileAsync(String resourceGroupName, String profileName)

Lists security policies associated with the profile.

abstract SecurityPolicyInner patch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties)

Updates an existing security policy within a profile.

abstract SecurityPolicyInner patch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties, Context context)

Updates an existing security policy within a profile.

abstract Mono<SecurityPolicyInner> patchAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties)

Updates an existing security policy within a profile.

abstract Mono<Response<Flux<ByteBuffer>>> patchWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties)

Updates an existing security policy within a profile.

Method Details

beginCreate

public abstract SyncPoller,SecurityPolicyInner> beginCreate(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy)

Creates a new security policy within the specified profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicy - The security policy properties.

Returns:

the SyncPoller<T,U> for polling of securityPolicy association for AzureFrontDoor profile.

beginCreate

public abstract SyncPoller,SecurityPolicyInner> beginCreate(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy, Context context)

Creates a new security policy within the specified profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicy - The security policy properties.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of securityPolicy association for AzureFrontDoor profile.

beginCreateAsync

public abstract PollerFlux,SecurityPolicyInner> beginCreateAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy)

Creates a new security policy within the specified profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicy - The security policy properties.

Returns:

the PollerFlux<T,U> for polling of securityPolicy association for AzureFrontDoor profile.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String profileName, String securityPolicyName)

Deletes an existing security policy within profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.

Returns:

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

beginDelete

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

Deletes an existing security policy within profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
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 profileName, String securityPolicyName)

Deletes an existing security policy within profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.

Returns:

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

beginPatch

public abstract SyncPoller,SecurityPolicyInner> beginPatch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties)

Updates an existing security policy within a profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicyUpdateProperties - Security policy update properties.

Returns:

the SyncPoller<T,U> for polling of securityPolicy association for AzureFrontDoor profile.

beginPatch

public abstract SyncPoller,SecurityPolicyInner> beginPatch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties, Context context)

Updates an existing security policy within a profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicyUpdateProperties - Security policy update properties.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of securityPolicy association for AzureFrontDoor profile.

beginPatchAsync

public abstract PollerFlux,SecurityPolicyInner> beginPatchAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties)

Updates an existing security policy within a profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicyUpdateProperties - Security policy update properties.

Returns:

the PollerFlux<T,U> for polling of securityPolicy association for AzureFrontDoor profile.

create

public abstract SecurityPolicyInner create(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy)

Creates a new security policy within the specified profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicy - The security policy properties.

Returns:

securityPolicy association for AzureFrontDoor profile.

create

public abstract SecurityPolicyInner create(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy, Context context)

Creates a new security policy within the specified profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicy - The security policy properties.
context - The context to associate with this operation.

Returns:

securityPolicy association for AzureFrontDoor profile.

createAsync

public abstract Mono createAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy)

Creates a new security policy within the specified profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicy - The security policy properties.

Returns:

securityPolicy association for AzureFrontDoor profile on successful completion of Mono.

createWithResponseAsync

public abstract Mono>> createWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyInner securityPolicy)

Creates a new security policy within the specified profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicy - The security policy properties.

Returns:

securityPolicy association for AzureFrontDoor profile along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String profileName, String securityPolicyName)

Deletes an existing security policy within profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.

delete

public abstract void delete(String resourceGroupName, String profileName, String securityPolicyName, Context context)

Deletes an existing security policy within profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String profileName, String securityPolicyName)

Deletes an existing security policy within profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName)

Deletes an existing security policy within profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract SecurityPolicyInner get(String resourceGroupName, String profileName, String securityPolicyName)

Gets an existing security policy within a profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.

Returns:

an existing security policy within a profile.

getAsync

public abstract Mono getAsync(String resourceGroupName, String profileName, String securityPolicyName)

Gets an existing security policy within a profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.

Returns:

an existing security policy within a profile on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String profileName, String securityPolicyName, Context context)

Gets an existing security policy within a profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
context - The context to associate with this operation.

Returns:

an existing security policy within a profile along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName)

Gets an existing security policy within a profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.

Returns:

an existing security policy within a profile along with Response<T> on successful completion of Mono.

listByProfile

public abstract PagedIterable listByProfile(String resourceGroupName, String profileName)

Lists security policies associated with the profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.

Returns:

result of the request to list security policies as paginated response with PagedIterable<T>.

listByProfile

public abstract PagedIterable listByProfile(String resourceGroupName, String profileName, Context context)

Lists security policies associated with the profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
context - The context to associate with this operation.

Returns:

result of the request to list security policies as paginated response with PagedIterable<T>.

listByProfileAsync

public abstract PagedFlux listByProfileAsync(String resourceGroupName, String profileName)

Lists security policies associated with the profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.

Returns:

result of the request to list security policies as paginated response with PagedFlux<T>.

patch

public abstract SecurityPolicyInner patch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties)

Updates an existing security policy within a profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicyUpdateProperties - Security policy update properties.

Returns:

securityPolicy association for AzureFrontDoor profile.

patch

public abstract SecurityPolicyInner patch(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties, Context context)

Updates an existing security policy within a profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicyUpdateProperties - Security policy update properties.
context - The context to associate with this operation.

Returns:

securityPolicy association for AzureFrontDoor profile.

patchAsync

public abstract Mono patchAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties)

Updates an existing security policy within a profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicyUpdateProperties - Security policy update properties.

Returns:

securityPolicy association for AzureFrontDoor profile on successful completion of Mono.

patchWithResponseAsync

public abstract Mono>> patchWithResponseAsync(String resourceGroupName, String profileName, String securityPolicyName, SecurityPolicyUpdateParameters securityPolicyUpdateProperties)

Updates an existing security policy within a profile.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
securityPolicyName - Name of the security policy under the profile.
securityPolicyUpdateProperties - Security policy update properties.

Returns:

securityPolicy association for AzureFrontDoor profile along with Response<T> on successful completion of Mono.

Applies to