1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Waa
  5. getAppAcceleration
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.Waa.getAppAcceleration

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This data source provides details about a specific Web App Acceleration resource in Oracle Cloud Infrastructure Waa service.

    Gets a WebAppAcceleration by OCID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testWebAppAcceleration = oci.Waa.getAppAcceleration({
        webAppAccelerationId: oci_waa_web_app_acceleration.test_web_app_acceleration.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_web_app_acceleration = oci.Waa.get_app_acceleration(web_app_acceleration_id=oci_waa_web_app_acceleration["test_web_app_acceleration"]["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.GetAppAcceleration(ctx, &waa.GetAppAccelerationArgs{
    			WebAppAccelerationId: oci_waa_web_app_acceleration.Test_web_app_acceleration.Id,
    		}, 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 testWebAppAcceleration = Oci.Waa.GetAppAcceleration.Invoke(new()
        {
            WebAppAccelerationId = oci_waa_web_app_acceleration.Test_web_app_acceleration.Id,
        });
    
    });
    
    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.GetAppAccelerationArgs;
    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 testWebAppAcceleration = WaaFunctions.getAppAcceleration(GetAppAccelerationArgs.builder()
                .webAppAccelerationId(oci_waa_web_app_acceleration.test_web_app_acceleration().id())
                .build());
    
        }
    }
    
    variables:
      testWebAppAcceleration:
        fn::invoke:
          Function: oci:Waa:getAppAcceleration
          Arguments:
            webAppAccelerationId: ${oci_waa_web_app_acceleration.test_web_app_acceleration.id}
    

    Using getAppAcceleration

    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 getAppAcceleration(args: GetAppAccelerationArgs, opts?: InvokeOptions): Promise<GetAppAccelerationResult>
    function getAppAccelerationOutput(args: GetAppAccelerationOutputArgs, opts?: InvokeOptions): Output<GetAppAccelerationResult>
    def get_app_acceleration(web_app_acceleration_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetAppAccelerationResult
    def get_app_acceleration_output(web_app_acceleration_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetAppAccelerationResult]
    func GetAppAcceleration(ctx *Context, args *GetAppAccelerationArgs, opts ...InvokeOption) (*GetAppAccelerationResult, error)
    func GetAppAccelerationOutput(ctx *Context, args *GetAppAccelerationOutputArgs, opts ...InvokeOption) GetAppAccelerationResultOutput

    > Note: This function is named GetAppAcceleration in the Go SDK.

    public static class GetAppAcceleration 
    {
        public static Task<GetAppAccelerationResult> InvokeAsync(GetAppAccelerationArgs args, InvokeOptions? opts = null)
        public static Output<GetAppAccelerationResult> Invoke(GetAppAccelerationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppAccelerationResult> getAppAcceleration(GetAppAccelerationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Waa/getAppAcceleration:getAppAcceleration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    WebAppAccelerationId string
    The OCID of the WebAppAcceleration.
    WebAppAccelerationId string
    The OCID of the WebAppAcceleration.
    webAppAccelerationId String
    The OCID of the WebAppAcceleration.
    webAppAccelerationId string
    The OCID of the WebAppAcceleration.
    web_app_acceleration_id str
    The OCID of the WebAppAcceleration.
    webAppAccelerationId String
    The OCID of the WebAppAcceleration.

    getAppAcceleration Result

    The following output properties are available:

    BackendType string
    Type of the WebAppFirewall, as example LOAD_BALANCER.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    WebAppAcceleration display name, can be renamed.
    FreeformTags 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
    The OCID of the WebAppAcceleration.
    LifecycleDetails 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.
    LoadBalancerId string
    LoadBalancer OCID to which the WebAppAccelerationPolicy is attached to.
    State string
    The current state of the WebAppAcceleration.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the WebAppAcceleration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
    WebAppAccelerationId string
    WebAppAccelerationPolicyId string
    The OCID of WebAppAccelerationPolicy, which is attached to the resource.
    BackendType string
    Type of the WebAppFirewall, as example LOAD_BALANCER.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    WebAppAcceleration display name, can be renamed.
    FreeformTags 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
    The OCID of the WebAppAcceleration.
    LifecycleDetails 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.
    LoadBalancerId string
    LoadBalancer OCID to which the WebAppAccelerationPolicy is attached to.
    State string
    The current state of the WebAppAcceleration.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the WebAppAcceleration was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
    WebAppAccelerationId string
    WebAppAccelerationPolicyId string
    The OCID of WebAppAccelerationPolicy, which is attached to the resource.
    backendType String
    Type of the WebAppFirewall, as example LOAD_BALANCER.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    WebAppAcceleration display name, can be renamed.
    freeformTags 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
    The OCID of the WebAppAcceleration.
    lifecycleDetails 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.
    loadBalancerId String
    LoadBalancer OCID to which the WebAppAccelerationPolicy is attached to.
    state String
    The current state of the WebAppAcceleration.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the WebAppAcceleration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
    webAppAccelerationId String
    webAppAccelerationPolicyId String
    The OCID of WebAppAccelerationPolicy, which is attached to the resource.
    backendType string
    Type of the WebAppFirewall, as example LOAD_BALANCER.
    compartmentId string
    The OCID of the compartment.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    WebAppAcceleration display name, can be renamed.
    freeformTags {[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
    The OCID of the WebAppAcceleration.
    lifecycleDetails 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.
    loadBalancerId string
    LoadBalancer OCID to which the WebAppAccelerationPolicy is attached to.
    state string
    The current state of the WebAppAcceleration.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the WebAppAcceleration was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
    webAppAccelerationId string
    webAppAccelerationPolicyId string
    The OCID of WebAppAccelerationPolicy, which is attached to the resource.
    backend_type str
    Type of the WebAppFirewall, as example LOAD_BALANCER.
    compartment_id str
    The OCID of the compartment.
    defined_tags 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
    WebAppAcceleration display name, can be renamed.
    freeform_tags 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
    The OCID of the WebAppAcceleration.
    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_id str
    LoadBalancer OCID to which the WebAppAccelerationPolicy is attached to.
    state str
    The current state of the WebAppAcceleration.
    system_tags 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_acceleration_id str
    web_app_acceleration_policy_id str
    The OCID of WebAppAccelerationPolicy, which is attached to the resource.
    backendType String
    Type of the WebAppFirewall, as example LOAD_BALANCER.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    WebAppAcceleration display name, can be renamed.
    freeformTags 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
    The OCID of the WebAppAcceleration.
    lifecycleDetails 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.
    loadBalancerId String
    LoadBalancer OCID to which the WebAppAccelerationPolicy is attached to.
    state String
    The current state of the WebAppAcceleration.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the WebAppAcceleration was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
    webAppAccelerationId String
    webAppAccelerationPolicyId String
    The OCID of WebAppAccelerationPolicy, which is attached to the resource.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi