Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.Waa.getAppAccelerationPolicies
Start a Neo task
Explain and create an oci.Waa.getAppAccelerationPolicies resource
This data source provides the list of Web App Acceleration Policies in Oracle Cloud Infrastructure Waa service.
Gets a list of all WebAppAccelerationPolicies in a compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testWebAppAccelerationPolicies = oci.Waa.getAppAccelerationPolicies({
compartmentId: compartmentId,
displayName: webAppAccelerationPolicyDisplayName,
id: webAppAccelerationPolicyId,
states: webAppAccelerationPolicyState,
});
import pulumi
import pulumi_oci as oci
test_web_app_acceleration_policies = oci.Waa.get_app_acceleration_policies(compartment_id=compartment_id,
display_name=web_app_acceleration_policy_display_name,
id=web_app_acceleration_policy_id,
states=web_app_acceleration_policy_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/waa"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := waa.GetAppAccelerationPolicies(ctx, &waa.GetAppAccelerationPoliciesArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(webAppAccelerationPolicyDisplayName),
Id: pulumi.StringRef(webAppAccelerationPolicyId),
States: webAppAccelerationPolicyState,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testWebAppAccelerationPolicies = Oci.Waa.GetAppAccelerationPolicies.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = webAppAccelerationPolicyDisplayName,
Id = webAppAccelerationPolicyId,
States = webAppAccelerationPolicyState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Waa.WaaFunctions;
import com.pulumi.oci.Waa.inputs.GetAppAccelerationPoliciesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testWebAppAccelerationPolicies = WaaFunctions.getAppAccelerationPolicies(GetAppAccelerationPoliciesArgs.builder()
.compartmentId(compartmentId)
.displayName(webAppAccelerationPolicyDisplayName)
.id(webAppAccelerationPolicyId)
.states(webAppAccelerationPolicyState)
.build());
}
}
variables:
testWebAppAccelerationPolicies:
fn::invoke:
function: oci:Waa:getAppAccelerationPolicies
arguments:
compartmentId: ${compartmentId}
displayName: ${webAppAccelerationPolicyDisplayName}
id: ${webAppAccelerationPolicyId}
states: ${webAppAccelerationPolicyState}
Using getAppAccelerationPolicies
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAppAccelerationPolicies(args: GetAppAccelerationPoliciesArgs, opts?: InvokeOptions): Promise<GetAppAccelerationPoliciesResult>
function getAppAccelerationPoliciesOutput(args: GetAppAccelerationPoliciesOutputArgs, opts?: InvokeOptions): Output<GetAppAccelerationPoliciesResult>def get_app_acceleration_policies(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetAppAccelerationPoliciesFilter]] = None,
id: Optional[str] = None,
states: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetAppAccelerationPoliciesResult
def get_app_acceleration_policies_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAppAccelerationPoliciesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
states: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppAccelerationPoliciesResult]func GetAppAccelerationPolicies(ctx *Context, args *GetAppAccelerationPoliciesArgs, opts ...InvokeOption) (*GetAppAccelerationPoliciesResult, error)
func GetAppAccelerationPoliciesOutput(ctx *Context, args *GetAppAccelerationPoliciesOutputArgs, opts ...InvokeOption) GetAppAccelerationPoliciesResultOutput> Note: This function is named GetAppAccelerationPolicies in the Go SDK.
public static class GetAppAccelerationPolicies
{
public static Task<GetAppAccelerationPoliciesResult> InvokeAsync(GetAppAccelerationPoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetAppAccelerationPoliciesResult> Invoke(GetAppAccelerationPoliciesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAppAccelerationPoliciesResult> getAppAccelerationPolicies(GetAppAccelerationPoliciesArgs args, InvokeOptions options)
public static Output<GetAppAccelerationPoliciesResult> getAppAccelerationPolicies(GetAppAccelerationPoliciesArgs args, InvokeOptions options)
fn::invoke:
function: oci:Waa/getAppAccelerationPolicies:getAppAccelerationPolicies
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
App Acceleration Policies Filter> - Id string
- A filter to return only the WebAppAccelerationPolicy with the given OCID.
- States List<string>
- A filter to return only resources that match the given lifecycleState.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
App Acceleration Policies Filter - Id string
- A filter to return only the WebAppAccelerationPolicy with the given OCID.
- States []string
- A filter to return only resources that match the given lifecycleState.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
App Acceleration Policies Filter> - id String
- A filter to return only the WebAppAccelerationPolicy with the given OCID.
- states List<String>
- A filter to return only resources that match the given lifecycleState.
- compartment
Id string - The OCID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
App Acceleration Policies Filter[] - id string
- A filter to return only the WebAppAccelerationPolicy with the given OCID.
- states string[]
- A filter to return only resources that match the given lifecycleState.
- compartment_
id str - The OCID of the compartment in which to list resources.
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[Get
App Acceleration Policies Filter] - id str
- A filter to return only the WebAppAccelerationPolicy with the given OCID.
- states Sequence[str]
- A filter to return only resources that match the given lifecycleState.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- id String
- A filter to return only the WebAppAccelerationPolicy with the given OCID.
- states List<String>
- A filter to return only resources that match the given lifecycleState.
getAppAccelerationPolicies Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment.
- Web
App List<GetAcceleration Policy Collections App Acceleration Policies Web App Acceleration Policy Collection> - The list of web_app_acceleration_policy_collection.
- Display
Name string - WebAppAccelerationPolicy display name, can be renamed.
- Filters
List<Get
App Acceleration Policies Filter> - Id string
- The OCID of the WebAppAccelerationPolicy.
- States List<string>
- The current state of the WebAppAccelerationPolicy.
- Compartment
Id string - The OCID of the compartment.
- Web
App []GetAcceleration Policy Collections App Acceleration Policies Web App Acceleration Policy Collection - The list of web_app_acceleration_policy_collection.
- Display
Name string - WebAppAccelerationPolicy display name, can be renamed.
- Filters
[]Get
App Acceleration Policies Filter - Id string
- The OCID of the WebAppAccelerationPolicy.
- States []string
- The current state of the WebAppAccelerationPolicy.
- compartment
Id String - The OCID of the compartment.
- web
App List<GetAcceleration Policy Collections App Acceleration Policies Web App Acceleration Policy Collection> - The list of web_app_acceleration_policy_collection.
- display
Name String - WebAppAccelerationPolicy display name, can be renamed.
- filters
List<Get
App Acceleration Policies Filter> - id String
- The OCID of the WebAppAccelerationPolicy.
- states List<String>
- The current state of the WebAppAccelerationPolicy.
- compartment
Id string - The OCID of the compartment.
- web
App GetAcceleration Policy Collections App Acceleration Policies Web App Acceleration Policy Collection[] - The list of web_app_acceleration_policy_collection.
- display
Name string - WebAppAccelerationPolicy display name, can be renamed.
- filters
Get
App Acceleration Policies Filter[] - id string
- The OCID of the WebAppAccelerationPolicy.
- states string[]
- The current state of the WebAppAccelerationPolicy.
- compartment_
id str - The OCID of the compartment.
- web_
app_ Sequence[Getacceleration_ policy_ collections App Acceleration Policies Web App Acceleration Policy Collection] - The list of web_app_acceleration_policy_collection.
- display_
name str - WebAppAccelerationPolicy display name, can be renamed.
- filters
Sequence[Get
App Acceleration Policies Filter] - id str
- The OCID of the WebAppAccelerationPolicy.
- states Sequence[str]
- The current state of the WebAppAccelerationPolicy.
- compartment
Id String - The OCID of the compartment.
- web
App List<Property Map>Acceleration Policy Collections - The list of web_app_acceleration_policy_collection.
- display
Name String - WebAppAccelerationPolicy display name, can be renamed.
- filters List<Property Map>
- id String
- The OCID of the WebAppAccelerationPolicy.
- states List<String>
- The current state of the WebAppAccelerationPolicy.
Supporting Types
GetAppAccelerationPoliciesFilter
GetAppAccelerationPoliciesWebAppAccelerationPolicyCollection
GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItem
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - A filter to return only resources that match the entire display name given.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- A filter to return only the WebAppAccelerationPolicy with the given OCID.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- Response
Caching List<GetPolicies App Acceleration Policies Web App Acceleration Policy Collection Item Response Caching Policy> - An object that specifies an HTTP response caching policy.
- Response
Compression List<GetPolicies App Acceleration Policies Web App Acceleration Policy Collection Item Response Compression Policy> - An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.
- State string
- A filter to return only resources that match the given lifecycleState.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - A filter to return only resources that match the entire display name given.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- A filter to return only the WebAppAccelerationPolicy with the given OCID.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- Response
Caching []GetPolicies App Acceleration Policies Web App Acceleration Policy Collection Item Response Caching Policy - An object that specifies an HTTP response caching policy.
- Response
Compression []GetPolicies App Acceleration Policies Web App Acceleration Policy Collection Item Response Compression Policy - An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.
- State string
- A filter to return only resources that match the given lifecycleState.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.
- compartment
Id String - The OCID of the compartment in which to list resources.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - A filter to return only resources that match the entire display name given.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- A filter to return only the WebAppAccelerationPolicy with the given OCID.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- response
Caching List<GetPolicies App Acceleration Policies Web App Acceleration Policy Collection Item Response Caching Policy> - An object that specifies an HTTP response caching policy.
- response
Compression List<GetPolicies App Acceleration Policies Web App Acceleration Policy Collection Item Response Compression Policy> - An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.
- state String
- A filter to return only resources that match the given lifecycleState.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.
- compartment
Id string - The OCID of the compartment in which to list resources.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name string - A filter to return only resources that match the entire display name given.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id string
- A filter to return only the WebAppAccelerationPolicy with the given OCID.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- response
Caching GetPolicies App Acceleration Policies Web App Acceleration Policy Collection Item Response Caching Policy[] - An object that specifies an HTTP response caching policy.
- response
Compression GetPolicies App Acceleration Policies Web App Acceleration Policy Collection Item Response Compression Policy[] - An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.
- state string
- A filter to return only resources that match the given lifecycleState.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.
- time
Updated string - The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.
- compartment_
id str - The OCID of the compartment in which to list resources.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display_
name str - A filter to return only resources that match the entire display name given.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id str
- A filter to return only the WebAppAccelerationPolicy with the given OCID.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- response_
caching_ Sequence[Getpolicies App Acceleration Policies Web App Acceleration Policy Collection Item Response Caching Policy] - An object that specifies an HTTP response caching policy.
- response_
compression_ Sequence[Getpolicies App Acceleration Policies Web App Acceleration Policy Collection Item Response Compression Policy] - An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.
- state str
- A filter to return only resources that match the given lifecycleState.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.
- time_
updated str - The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.
- compartment
Id String - The OCID of the compartment in which to list resources.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - A filter to return only resources that match the entire display name given.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- A filter to return only the WebAppAccelerationPolicy with the given OCID.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in FAILED state.
- response
Caching List<Property Map>Policies - An object that specifies an HTTP response caching policy.
- response
Compression List<Property Map>Policies - An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.
- state String
- A filter to return only resources that match the given lifecycleState.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.
GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResponseCachingPolicy
- Is
Response boolHeader Based Caching Enabled - When false, responses will not be cached by the backend based on response headers.
- Is
Response boolHeader Based Caching Enabled - When false, responses will not be cached by the backend based on response headers.
- is
Response BooleanHeader Based Caching Enabled - When false, responses will not be cached by the backend based on response headers.
- is
Response booleanHeader Based Caching Enabled - When false, responses will not be cached by the backend based on response headers.
- is_
response_ boolheader_ based_ caching_ enabled - When false, responses will not be cached by the backend based on response headers.
- is
Response BooleanHeader Based Caching Enabled - When false, responses will not be cached by the backend based on response headers.
GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResponseCompressionPolicy
- Gzip
Compressions List<GetApp Acceleration Policies Web App Acceleration Policy Collection Item Response Compression Policy Gzip Compression> - An object that specifies the gzip compression policy.
- Gzip
Compressions []GetApp Acceleration Policies Web App Acceleration Policy Collection Item Response Compression Policy Gzip Compression - An object that specifies the gzip compression policy.
- gzip
Compressions List<GetApp Acceleration Policies Web App Acceleration Policy Collection Item Response Compression Policy Gzip Compression> - An object that specifies the gzip compression policy.
- gzip
Compressions GetApp Acceleration Policies Web App Acceleration Policy Collection Item Response Compression Policy Gzip Compression[] - An object that specifies the gzip compression policy.
- gzip_
compressions Sequence[GetApp Acceleration Policies Web App Acceleration Policy Collection Item Response Compression Policy Gzip Compression] - An object that specifies the gzip compression policy.
- gzip
Compressions List<Property Map> - An object that specifies the gzip compression policy.
GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResponseCompressionPolicyGzipCompression
- Is
Enabled bool - When true, support for gzip compression is enabled. HTTP responses will be compressed with gzip only if the client indicates support for gzip via the "Accept-Encoding: gzip" request header.
- Is
Enabled bool - When true, support for gzip compression is enabled. HTTP responses will be compressed with gzip only if the client indicates support for gzip via the "Accept-Encoding: gzip" request header.
- is
Enabled Boolean - When true, support for gzip compression is enabled. HTTP responses will be compressed with gzip only if the client indicates support for gzip via the "Accept-Encoding: gzip" request header.
- is
Enabled boolean - When true, support for gzip compression is enabled. HTTP responses will be compressed with gzip only if the client indicates support for gzip via the "Accept-Encoding: gzip" request header.
- is_
enabled bool - When true, support for gzip compression is enabled. HTTP responses will be compressed with gzip only if the client indicates support for gzip via the "Accept-Encoding: gzip" request header.
- is
Enabled Boolean - When true, support for gzip compression is enabled. HTTP responses will be compressed with gzip only if the client indicates support for gzip via the "Accept-Encoding: gzip" request header.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
