oci.Waa.getAppAccelerations
This data source provides the list of Web App Accelerations in Oracle Cloud Infrastructure Waa service.
Gets a list of all WebAppAccelerations in a compartment.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testWebAppAccelerations = Oci.Waa.GetAppAccelerations.Invoke(new()
{
CompartmentId = @var.Compartment_id,
DisplayName = @var.Web_app_acceleration_display_name,
Id = @var.Web_app_acceleration_id,
States = @var.Web_app_acceleration_state,
WebAppAccelerationPolicyId = oci_waa_web_app_acceleration_policy.Test_web_app_acceleration_policy.Id,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Waa"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Waa.GetAppAccelerations(ctx, &waa.GetAppAccelerationsArgs{
CompartmentId: _var.Compartment_id,
DisplayName: pulumi.StringRef(_var.Web_app_acceleration_display_name),
Id: pulumi.StringRef(_var.Web_app_acceleration_id),
States: _var.Web_app_acceleration_state,
WebAppAccelerationPolicyId: pulumi.StringRef(oci_waa_web_app_acceleration_policy.Test_web_app_acceleration_policy.Id),
}, nil)
if err != nil {
return err
}
return nil
})
}
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.GetAppAccelerationsArgs;
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 testWebAppAccelerations = WaaFunctions.getAppAccelerations(GetAppAccelerationsArgs.builder()
.compartmentId(var_.compartment_id())
.displayName(var_.web_app_acceleration_display_name())
.id(var_.web_app_acceleration_id())
.states(var_.web_app_acceleration_state())
.webAppAccelerationPolicyId(oci_waa_web_app_acceleration_policy.test_web_app_acceleration_policy().id())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_web_app_accelerations = oci.Waa.get_app_accelerations(compartment_id=var["compartment_id"],
display_name=var["web_app_acceleration_display_name"],
id=var["web_app_acceleration_id"],
states=var["web_app_acceleration_state"],
web_app_acceleration_policy_id=oci_waa_web_app_acceleration_policy["test_web_app_acceleration_policy"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testWebAppAccelerations = oci.Waa.getAppAccelerations({
compartmentId: _var.compartment_id,
displayName: _var.web_app_acceleration_display_name,
id: _var.web_app_acceleration_id,
states: _var.web_app_acceleration_state,
webAppAccelerationPolicyId: oci_waa_web_app_acceleration_policy.test_web_app_acceleration_policy.id,
});
variables:
testWebAppAccelerations:
fn::invoke:
Function: oci:Waa:getAppAccelerations
Arguments:
compartmentId: ${var.compartment_id}
displayName: ${var.web_app_acceleration_display_name}
id: ${var.web_app_acceleration_id}
states: ${var.web_app_acceleration_state}
webAppAccelerationPolicyId: ${oci_waa_web_app_acceleration_policy.test_web_app_acceleration_policy.id}
Using getAppAccelerations
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 getAppAccelerations(args: GetAppAccelerationsArgs, opts?: InvokeOptions): Promise<GetAppAccelerationsResult>
function getAppAccelerationsOutput(args: GetAppAccelerationsOutputArgs, opts?: InvokeOptions): Output<GetAppAccelerationsResult>
def get_app_accelerations(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_waa.GetAppAccelerationsFilter]] = None,
id: Optional[str] = None,
states: Optional[Sequence[str]] = None,
web_app_acceleration_policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppAccelerationsResult
def get_app_accelerations_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_waa.GetAppAccelerationsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
states: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
web_app_acceleration_policy_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppAccelerationsResult]
func GetAppAccelerations(ctx *Context, args *GetAppAccelerationsArgs, opts ...InvokeOption) (*GetAppAccelerationsResult, error)
func GetAppAccelerationsOutput(ctx *Context, args *GetAppAccelerationsOutputArgs, opts ...InvokeOption) GetAppAccelerationsResultOutput
> Note: This function is named GetAppAccelerations
in the Go SDK.
public static class GetAppAccelerations
{
public static Task<GetAppAccelerationsResult> InvokeAsync(GetAppAccelerationsArgs args, InvokeOptions? opts = null)
public static Output<GetAppAccelerationsResult> Invoke(GetAppAccelerationsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppAccelerationsResult> getAppAccelerations(GetAppAccelerationsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Waa/getAppAccelerations:getAppAccelerations
arguments:
# arguments dictionary
The 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 Accelerations Filter> - Id string
A filter to return only the WebAppAcceleration with the given OCID.
- States List<string>
A filter to return only resources that match the given lifecycleState.
- Web
App stringAcceleration Policy Id A filter to return only the WebAppAcceleration with the given OCID of related WebAppAccelerationPolicy.
- 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 Accelerations Filter - Id string
A filter to return only the WebAppAcceleration with the given OCID.
- States []string
A filter to return only resources that match the given lifecycleState.
- Web
App stringAcceleration Policy Id A filter to return only the WebAppAcceleration with the given OCID of related WebAppAccelerationPolicy.
- 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 Accelerations Filter> - id String
A filter to return only the WebAppAcceleration with the given OCID.
- states List<String>
A filter to return only resources that match the given lifecycleState.
- web
App StringAcceleration Policy Id A filter to return only the WebAppAcceleration with the given OCID of related WebAppAccelerationPolicy.
- 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 Accelerations Filter[] - id string
A filter to return only the WebAppAcceleration with the given OCID.
- states string[]
A filter to return only resources that match the given lifecycleState.
- web
App stringAcceleration Policy Id A filter to return only the WebAppAcceleration with the given OCID of related WebAppAccelerationPolicy.
- 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
Get
App Accelerations Filter] - id str
A filter to return only the WebAppAcceleration with the given OCID.
- states Sequence[str]
A filter to return only resources that match the given lifecycleState.
- web_
app_ stracceleration_ policy_ id A filter to return only the WebAppAcceleration with the given OCID of related WebAppAccelerationPolicy.
- 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 WebAppAcceleration with the given OCID.
- states List<String>
A filter to return only resources that match the given lifecycleState.
- web
App StringAcceleration Policy Id A filter to return only the WebAppAcceleration with the given OCID of related WebAppAccelerationPolicy.
getAppAccelerations Result
The following output properties are available:
- Compartment
Id string The OCID of the compartment.
- Web
App List<GetAcceleration Collections App Accelerations Web App Acceleration Collection> The list of web_app_acceleration_collection.
- Display
Name string WebAppAcceleration display name, can be renamed.
- Filters
List<Get
App Accelerations Filter> - Id string
The OCID of the WebAppAcceleration.
- States List<string>
The current state of the WebAppAcceleration.
- Web
App stringAcceleration Policy Id The OCID of WebAppAccelerationPolicy, which is attached to the resource.
- Compartment
Id string The OCID of the compartment.
- Web
App []GetAcceleration Collections App Accelerations Web App Acceleration Collection The list of web_app_acceleration_collection.
- Display
Name string WebAppAcceleration display name, can be renamed.
- Filters
[]Get
App Accelerations Filter - Id string
The OCID of the WebAppAcceleration.
- States []string
The current state of the WebAppAcceleration.
- Web
App stringAcceleration Policy Id The OCID of WebAppAccelerationPolicy, which is attached to the resource.
- compartment
Id String The OCID of the compartment.
- web
App List<GetAcceleration Collections App Accelerations Web App Acceleration Collection> The list of web_app_acceleration_collection.
- display
Name String WebAppAcceleration display name, can be renamed.
- filters
List<Get
App Accelerations Filter> - id String
The OCID of the WebAppAcceleration.
- states List<String>
The current state of the WebAppAcceleration.
- web
App StringAcceleration Policy Id The OCID of WebAppAccelerationPolicy, which is attached to the resource.
- compartment
Id string The OCID of the compartment.
- web
App GetAcceleration Collections App Accelerations Web App Acceleration Collection[] The list of web_app_acceleration_collection.
- display
Name string WebAppAcceleration display name, can be renamed.
- filters
Get
App Accelerations Filter[] - id string
The OCID of the WebAppAcceleration.
- states string[]
The current state of the WebAppAcceleration.
- web
App stringAcceleration Policy Id The OCID of WebAppAccelerationPolicy, which is attached to the resource.
- compartment_
id str The OCID of the compartment.
- web_
app_ Getacceleration_ collections App Accelerations Web App Acceleration Collection] The list of web_app_acceleration_collection.
- display_
name str WebAppAcceleration display name, can be renamed.
- filters
Get
App Accelerations Filter] - id str
The OCID of the WebAppAcceleration.
- states Sequence[str]
The current state of the WebAppAcceleration.
- web_
app_ stracceleration_ policy_ id The OCID of WebAppAccelerationPolicy, which is attached to the resource.
- compartment
Id String The OCID of the compartment.
- web
App List<Property Map>Acceleration Collections The list of web_app_acceleration_collection.
- display
Name String WebAppAcceleration display name, can be renamed.
- filters List<Property Map>
- id String
The OCID of the WebAppAcceleration.
- states List<String>
The current state of the WebAppAcceleration.
- web
App StringAcceleration Policy Id The OCID of WebAppAccelerationPolicy, which is attached to the resource.
Supporting Types
GetAppAccelerationsFilter
GetAppAccelerationsWebAppAccelerationCollection
GetAppAccelerationsWebAppAccelerationCollectionItem
- Backend
Type string Type of the WebAppFirewall, as example LOAD_BALANCER.
- Compartment
Id string The OCID of the compartment in which to list resources.
- Dictionary<string, object>
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, object>
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 WebAppAcceleration 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.
- Load
Balancer stringId LoadBalancer OCID to which the WebAppAccelerationPolicy is attached to.
- State string
A filter to return only resources that match the given lifecycleState.
- Dictionary<string, object>
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 WebAppAcceleration was created. An RFC3339 formatted datetime string.
- Time
Updated string The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
- Web
App stringAcceleration Policy Id A filter to return only the WebAppAcceleration with the given OCID of related WebAppAccelerationPolicy.
- Backend
Type string Type of the WebAppFirewall, as example LOAD_BALANCER.
- Compartment
Id string The OCID of the compartment in which to list resources.
- map[string]interface{}
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]interface{}
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 WebAppAcceleration 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.
- Load
Balancer stringId LoadBalancer OCID to which the WebAppAccelerationPolicy is attached to.
- State string
A filter to return only resources that match the given lifecycleState.
- map[string]interface{}
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 WebAppAcceleration was created. An RFC3339 formatted datetime string.
- Time
Updated string The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
- Web
App stringAcceleration Policy Id A filter to return only the WebAppAcceleration with the given OCID of related WebAppAccelerationPolicy.
- backend
Type String Type of the WebAppFirewall, as example LOAD_BALANCER.
- compartment
Id String The OCID of the compartment in which to list resources.
- Map<String,Object>
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,Object>
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 WebAppAcceleration 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.
- load
Balancer StringId LoadBalancer OCID to which the WebAppAccelerationPolicy is attached to.
- state String
A filter to return only resources that match the given lifecycleState.
- Map<String,Object>
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 WebAppAcceleration was created. An RFC3339 formatted datetime string.
- time
Updated String The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
- web
App StringAcceleration Policy Id A filter to return only the WebAppAcceleration with the given OCID of related WebAppAccelerationPolicy.
- backend
Type string Type of the WebAppFirewall, as example LOAD_BALANCER.
- compartment
Id string The OCID of the compartment in which to list resources.
- {[key: string]: any}
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]: any}
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 WebAppAcceleration 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.
- load
Balancer stringId LoadBalancer OCID to which the WebAppAccelerationPolicy is attached to.
- state string
A filter to return only resources that match the given lifecycleState.
- {[key: string]: any}
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 WebAppAcceleration was created. An RFC3339 formatted datetime string.
- time
Updated string The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
- web
App stringAcceleration Policy Id A filter to return only the WebAppAcceleration with the given OCID of related WebAppAccelerationPolicy.
- backend_
type str Type of the WebAppFirewall, as example LOAD_BALANCER.
- compartment_
id str The OCID of the compartment in which to list resources.
- Mapping[str, Any]
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, Any]
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 WebAppAcceleration 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.
- load_
balancer_ strid LoadBalancer OCID to which the WebAppAccelerationPolicy is attached to.
- state str
A filter to return only resources that match the given lifecycleState.
- Mapping[str, Any]
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 WebAppAcceleration was created. An RFC3339 formatted datetime string.
- time_
updated str The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
- web_
app_ stracceleration_ policy_ id A filter to return only the WebAppAcceleration with the given OCID of related WebAppAccelerationPolicy.
- backend
Type String Type of the WebAppFirewall, as example LOAD_BALANCER.
- compartment
Id String The OCID of the compartment in which to list resources.
- Map<Any>
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<Any>
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 WebAppAcceleration 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.
- load
Balancer StringId LoadBalancer OCID to which the WebAppAccelerationPolicy is attached to.
- state String
A filter to return only resources that match the given lifecycleState.
- Map<Any>
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 WebAppAcceleration was created. An RFC3339 formatted datetime string.
- time
Updated String The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
- web
App StringAcceleration Policy Id A filter to return only the WebAppAcceleration with the given OCID of related WebAppAccelerationPolicy.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.