Class WafClient
Service client instance for Waf.
Implements
Inherited Members
Namespace: Oci.WafService
Assembly: OCI.DotNetSDK.Waf.dll
Syntax
public class WafClient : RegionalClientBase, IDisposable
Constructors
WafClient(IBasicAuthenticationDetailsProvider, ClientConfiguration, string)
Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. A client configuration can also be provided optionally to adjust REST client behaviors.
Declaration
public WafClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null)
Parameters
Type | Name | Description |
---|---|---|
IBasicAuthenticationDetailsProvider | authenticationDetailsProvider | The authentication details provider. Required. |
ClientConfiguration | clientConfiguration | The client configuration that contains settings to adjust REST client behaviors. Optional. |
string | endpoint | The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional. |
Properties
Paginators
Declaration
public WafPaginators Paginators { get; }
Property Value
Type | Description |
---|---|
WafPaginators |
Waiters
Declaration
public WafWaiters Waiters { get; }
Property Value
Type | Description |
---|---|
WafWaiters |
Methods
ChangeNetworkAddressListCompartment(ChangeNetworkAddressListCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a NetworkAddressList resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
Declaration
public Task<ChangeNetworkAddressListCompartmentResponse> ChangeNetworkAddressListCompartment(ChangeNetworkAddressListCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeNetworkAddressListCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeNetworkAddressListCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeNetworkAddressListCompartment API.
ChangeWebAppFirewallCompartment(ChangeWebAppFirewallCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a Web App Firewall resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
Declaration
public Task<ChangeWebAppFirewallCompartmentResponse> ChangeWebAppFirewallCompartment(ChangeWebAppFirewallCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeWebAppFirewallCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeWebAppFirewallCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeWebAppFirewallCompartment API.
ChangeWebAppFirewallPolicyCompartment(ChangeWebAppFirewallPolicyCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a WebAppFirewallfPolicy resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
Declaration
public Task<ChangeWebAppFirewallPolicyCompartmentResponse> ChangeWebAppFirewallPolicyCompartment(ChangeWebAppFirewallPolicyCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeWebAppFirewallPolicyCompartmentRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ChangeWebAppFirewallPolicyCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeWebAppFirewallPolicyCompartment API.
CreateNetworkAddressList(CreateNetworkAddressListRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a new NetworkAddressList.
Declaration
public Task<CreateNetworkAddressListResponse> CreateNetworkAddressList(CreateNetworkAddressListRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateNetworkAddressListRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<CreateNetworkAddressListResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateNetworkAddressList API.
CreateWebAppFirewall(CreateWebAppFirewallRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a new WebAppFirewall.
Declaration
public Task<CreateWebAppFirewallResponse> CreateWebAppFirewall(CreateWebAppFirewallRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateWebAppFirewallRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<CreateWebAppFirewallResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateWebAppFirewall API.
CreateWebAppFirewallPolicy(CreateWebAppFirewallPolicyRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a new WebAppFirewallPolicy.
Declaration
public Task<CreateWebAppFirewallPolicyResponse> CreateWebAppFirewallPolicy(CreateWebAppFirewallPolicyRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateWebAppFirewallPolicyRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<CreateWebAppFirewallPolicyResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateWebAppFirewallPolicy API.
DeleteNetworkAddressList(DeleteNetworkAddressListRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes a NetworkAddressList resource identified by the OCID.
Declaration
public Task<DeleteNetworkAddressListResponse> DeleteNetworkAddressList(DeleteNetworkAddressListRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteNetworkAddressListRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteNetworkAddressListResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteNetworkAddressList API.
DeleteWebAppFirewall(DeleteWebAppFirewallRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes a WebAppFirewall resource identified by the OCID.
Declaration
public Task<DeleteWebAppFirewallResponse> DeleteWebAppFirewall(DeleteWebAppFirewallRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteWebAppFirewallRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteWebAppFirewallResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteWebAppFirewall API.
DeleteWebAppFirewallPolicy(DeleteWebAppFirewallPolicyRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes a WebAppFirewallPolicy resource identified by the OCID.
Declaration
public Task<DeleteWebAppFirewallPolicyResponse> DeleteWebAppFirewallPolicy(DeleteWebAppFirewallPolicyRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteWebAppFirewallPolicyRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<DeleteWebAppFirewallPolicyResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteWebAppFirewallPolicy API.
GetNetworkAddressList(GetNetworkAddressListRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets a NetworkAddressList by OCID.
Declaration
public Task<GetNetworkAddressListResponse> GetNetworkAddressList(GetNetworkAddressListRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetNetworkAddressListRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetNetworkAddressListResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetNetworkAddressList API.
GetWebAppFirewall(GetWebAppFirewallRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets a WebAppFirewall by OCID.
Declaration
public Task<GetWebAppFirewallResponse> GetWebAppFirewall(GetWebAppFirewallRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetWebAppFirewallRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetWebAppFirewallResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetWebAppFirewall API.
GetWebAppFirewallPolicy(GetWebAppFirewallPolicyRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets a WebAppFirewallPolicy with the given OCID.
Declaration
public Task<GetWebAppFirewallPolicyResponse> GetWebAppFirewallPolicy(GetWebAppFirewallPolicyRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetWebAppFirewallPolicyRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetWebAppFirewallPolicyResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetWebAppFirewallPolicy API.
GetWorkRequest(GetWorkRequestRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets the status of the WorkRequest with the given OCID.
Declaration
public Task<GetWorkRequestResponse> GetWorkRequest(GetWorkRequestRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetWorkRequestResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetWorkRequest API.
ListNetworkAddressLists(ListNetworkAddressListsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets a list of all NetworkAddressLists in a compartment.
Declaration
public Task<ListNetworkAddressListsResponse> ListNetworkAddressLists(ListNetworkAddressListsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListNetworkAddressListsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListNetworkAddressListsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListNetworkAddressLists API.
ListProtectionCapabilities(ListProtectionCapabilitiesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists of protection capabilities filtered by query parameters.
Declaration
public Task<ListProtectionCapabilitiesResponse> ListProtectionCapabilities(ListProtectionCapabilitiesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListProtectionCapabilitiesRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListProtectionCapabilitiesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListProtectionCapabilities API.
ListProtectionCapabilityGroupTags(ListProtectionCapabilityGroupTagsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists of available group tags filtered by query parameters.
Declaration
public Task<ListProtectionCapabilityGroupTagsResponse> ListProtectionCapabilityGroupTags(ListProtectionCapabilityGroupTagsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListProtectionCapabilityGroupTagsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListProtectionCapabilityGroupTagsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListProtectionCapabilityGroupTags API.
ListWebAppFirewallPolicies(ListWebAppFirewallPoliciesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets a list of all WebAppFirewallPolicies in a compartment.
Declaration
public Task<ListWebAppFirewallPoliciesResponse> ListWebAppFirewallPolicies(ListWebAppFirewallPoliciesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListWebAppFirewallPoliciesRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListWebAppFirewallPoliciesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListWebAppFirewallPolicies API.
ListWebAppFirewalls(ListWebAppFirewallsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets a list of all WebAppFirewalls in a compartment.
Declaration
public Task<ListWebAppFirewallsResponse> ListWebAppFirewalls(ListWebAppFirewallsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListWebAppFirewallsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListWebAppFirewallsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListWebAppFirewalls API.
ListWorkRequestErrors(ListWorkRequestErrorsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Return a (paginated) list of errors for a given WorkRequest.
Declaration
public Task<ListWorkRequestErrorsResponse> ListWorkRequestErrors(ListWorkRequestErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListWorkRequestErrorsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListWorkRequestErrorsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListWorkRequestErrors API.
ListWorkRequestLogs(ListWorkRequestLogsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Return a (paginated) list of logs for a given WorkRequest.
Declaration
public Task<ListWorkRequestLogsResponse> ListWorkRequestLogs(ListWorkRequestLogsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListWorkRequestLogsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListWorkRequestLogsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListWorkRequestLogs API.
ListWorkRequests(ListWorkRequestsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists the WorkRequests in a compartment.
Declaration
public Task<ListWorkRequestsResponse> ListWorkRequests(ListWorkRequestsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListWorkRequestsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListWorkRequestsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListWorkRequests API.
UpdateNetworkAddressList(UpdateNetworkAddressListRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Update the NetworkAddressList identified by the OCID.
Declaration
public Task<UpdateNetworkAddressListResponse> UpdateNetworkAddressList(UpdateNetworkAddressListRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateNetworkAddressListRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<UpdateNetworkAddressListResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateNetworkAddressList API.
UpdateWebAppFirewall(UpdateWebAppFirewallRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates the WebAppFirewall identified by the OCID.
Declaration
public Task<UpdateWebAppFirewallResponse> UpdateWebAppFirewall(UpdateWebAppFirewallRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateWebAppFirewallRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<UpdateWebAppFirewallResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateWebAppFirewall API.
UpdateWebAppFirewallPolicy(UpdateWebAppFirewallPolicyRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Update the WebAppFirewallPolicy identified by the OCID.
Declaration
public Task<UpdateWebAppFirewallPolicyResponse> UpdateWebAppFirewallPolicy(UpdateWebAppFirewallPolicyRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateWebAppFirewallPolicyRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<UpdateWebAppFirewallPolicyResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateWebAppFirewallPolicy API.