FirewallPolicyDraftsClient Interface

Implements

public interface FirewallPolicyDraftsClient
extends InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract FirewallPolicyDraftInner createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters)

Create or update a draft Firewall Policy.

abstract Mono<FirewallPolicyDraftInner> createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters)

Create or update a draft Firewall Policy.

abstract Response<FirewallPolicyDraftInner> createOrUpdateWithResponse(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters, Context context)

Create or update a draft Firewall Policy.

abstract Mono<Response<FirewallPolicyDraftInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters)

Create or update a draft Firewall Policy.

abstract void delete(String resourceGroupName, String firewallPolicyName)

Delete a draft policy.

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

Delete a draft policy.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String firewallPolicyName, Context context)

Delete a draft policy.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName)

Delete a draft policy.

abstract FirewallPolicyDraftInner get(String resourceGroupName, String firewallPolicyName)

Get a draft Firewall Policy.

abstract Mono<FirewallPolicyDraftInner> getAsync(String resourceGroupName, String firewallPolicyName)

Get a draft Firewall Policy.

abstract Response<FirewallPolicyDraftInner> getWithResponse(String resourceGroupName, String firewallPolicyName, Context context)

Get a draft Firewall Policy.

abstract Mono<Response<FirewallPolicyDraftInner>> getWithResponseAsync(String resourceGroupName, String firewallPolicyName)

Get a draft Firewall Policy.

Method Details

createOrUpdate

public abstract FirewallPolicyDraftInner createOrUpdate(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters)

Create or update a draft Firewall Policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.
parameters - Parameters supplied to the create or update Firewall Policy Draft operation.

Returns:

firewallPolicy Resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters)

Create or update a draft Firewall Policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.
parameters - Parameters supplied to the create or update Firewall Policy Draft operation.

Returns:

firewallPolicy Resource on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters, Context context)

Create or update a draft Firewall Policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.
parameters - Parameters supplied to the create or update Firewall Policy Draft operation.
context - The context to associate with this operation.

Returns:

firewallPolicy Resource along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String firewallPolicyName, FirewallPolicyDraftInner parameters)

Create or update a draft Firewall Policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.
parameters - Parameters supplied to the create or update Firewall Policy Draft operation.

Returns:

firewallPolicy Resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String firewallPolicyName)

Delete a draft policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String firewallPolicyName)

Delete a draft policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String firewallPolicyName, Context context)

Delete a draft policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

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

Delete a draft policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract FirewallPolicyDraftInner get(String resourceGroupName, String firewallPolicyName)

Get a draft Firewall Policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.

Returns:

a draft Firewall Policy.

getAsync

public abstract Mono getAsync(String resourceGroupName, String firewallPolicyName)

Get a draft Firewall Policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.

Returns:

a draft Firewall Policy on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String firewallPolicyName, Context context)

Get a draft Firewall Policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.
context - The context to associate with this operation.

Returns:

a draft Firewall Policy along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String firewallPolicyName)

Get a draft Firewall Policy.

Parameters:

resourceGroupName - The name of the resource group.
firewallPolicyName - The name of the Firewall Policy.

Returns:

a draft Firewall Policy along with Response<T> on successful completion of Mono.

Applies to