Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

AppAccelerationPolicy

This resource provides the Web App Acceleration Policy resource in Oracle Cloud Infrastructure Waa service.

Creates a new WebAppAccelerationPolicy.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testWebAppAccelerationPolicy = new Oci.Waa.AppAccelerationPolicy("testWebAppAccelerationPolicy", new()
    {
        CompartmentId = @var.Compartment_id,
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        DisplayName = @var.Web_app_acceleration_policy_display_name,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
        ResponseCachingPolicy = new Oci.Waa.Inputs.AppAccelerationPolicyResponseCachingPolicyArgs
        {
            IsResponseHeaderBasedCachingEnabled = @var.Web_app_acceleration_policy_response_caching_policy_is_response_header_based_caching_enabled,
        },
        ResponseCompressionPolicy = new Oci.Waa.Inputs.AppAccelerationPolicyResponseCompressionPolicyArgs
        {
            GzipCompression = new Oci.Waa.Inputs.AppAccelerationPolicyResponseCompressionPolicyGzipCompressionArgs
            {
                IsEnabled = @var.Web_app_acceleration_policy_response_compression_policy_gzip_compression_is_enabled,
            },
        },
        SystemTags = @var.Web_app_acceleration_policy_system_tags,
    });

});
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.NewAppAccelerationPolicy(ctx, "testWebAppAccelerationPolicy", &Waa.AppAccelerationPolicyArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			DisplayName: pulumi.Any(_var.Web_app_acceleration_policy_display_name),
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
			ResponseCachingPolicy: &waa.AppAccelerationPolicyResponseCachingPolicyArgs{
				IsResponseHeaderBasedCachingEnabled: pulumi.Any(_var.Web_app_acceleration_policy_response_caching_policy_is_response_header_based_caching_enabled),
			},
			ResponseCompressionPolicy: &waa.AppAccelerationPolicyResponseCompressionPolicyArgs{
				GzipCompression: &waa.AppAccelerationPolicyResponseCompressionPolicyGzipCompressionArgs{
					IsEnabled: pulumi.Any(_var.Web_app_acceleration_policy_response_compression_policy_gzip_compression_is_enabled),
				},
			},
			SystemTags: pulumi.Any(_var.Web_app_acceleration_policy_system_tags),
		})
		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.AppAccelerationPolicy;
import com.pulumi.oci.Waa.AppAccelerationPolicyArgs;
import com.pulumi.oci.Waa.inputs.AppAccelerationPolicyResponseCachingPolicyArgs;
import com.pulumi.oci.Waa.inputs.AppAccelerationPolicyResponseCompressionPolicyArgs;
import com.pulumi.oci.Waa.inputs.AppAccelerationPolicyResponseCompressionPolicyGzipCompressionArgs;
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) {
        var testWebAppAccelerationPolicy = new AppAccelerationPolicy("testWebAppAccelerationPolicy", AppAccelerationPolicyArgs.builder()        
            .compartmentId(var_.compartment_id())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .displayName(var_.web_app_acceleration_policy_display_name())
            .freeformTags(Map.of("bar-key", "value"))
            .responseCachingPolicy(AppAccelerationPolicyResponseCachingPolicyArgs.builder()
                .isResponseHeaderBasedCachingEnabled(var_.web_app_acceleration_policy_response_caching_policy_is_response_header_based_caching_enabled())
                .build())
            .responseCompressionPolicy(AppAccelerationPolicyResponseCompressionPolicyArgs.builder()
                .gzipCompression(AppAccelerationPolicyResponseCompressionPolicyGzipCompressionArgs.builder()
                    .isEnabled(var_.web_app_acceleration_policy_response_compression_policy_gzip_compression_is_enabled())
                    .build())
                .build())
            .systemTags(var_.web_app_acceleration_policy_system_tags())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_web_app_acceleration_policy = oci.waa.AppAccelerationPolicy("testWebAppAccelerationPolicy",
    compartment_id=var["compartment_id"],
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    display_name=var["web_app_acceleration_policy_display_name"],
    freeform_tags={
        "bar-key": "value",
    },
    response_caching_policy=oci.waa.AppAccelerationPolicyResponseCachingPolicyArgs(
        is_response_header_based_caching_enabled=var["web_app_acceleration_policy_response_caching_policy_is_response_header_based_caching_enabled"],
    ),
    response_compression_policy=oci.waa.AppAccelerationPolicyResponseCompressionPolicyArgs(
        gzip_compression=oci.waa.AppAccelerationPolicyResponseCompressionPolicyGzipCompressionArgs(
            is_enabled=var["web_app_acceleration_policy_response_compression_policy_gzip_compression_is_enabled"],
        ),
    ),
    system_tags=var["web_app_acceleration_policy_system_tags"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testWebAppAccelerationPolicy = new oci.waa.AppAccelerationPolicy("testWebAppAccelerationPolicy", {
    compartmentId: _var.compartment_id,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    displayName: _var.web_app_acceleration_policy_display_name,
    freeformTags: {
        "bar-key": "value",
    },
    responseCachingPolicy: {
        isResponseHeaderBasedCachingEnabled: _var.web_app_acceleration_policy_response_caching_policy_is_response_header_based_caching_enabled,
    },
    responseCompressionPolicy: {
        gzipCompression: {
            isEnabled: _var.web_app_acceleration_policy_response_compression_policy_gzip_compression_is_enabled,
        },
    },
    systemTags: _var.web_app_acceleration_policy_system_tags,
});
resources:
  testWebAppAccelerationPolicy:
    type: oci:Waa:AppAccelerationPolicy
    properties:
      #Required
      compartmentId: ${var.compartment_id}
      #Optional
      definedTags:
        foo-namespace.bar-key: value
      displayName: ${var.web_app_acceleration_policy_display_name}
      freeformTags:
        bar-key: value
      responseCachingPolicy:
        isResponseHeaderBasedCachingEnabled: ${var.web_app_acceleration_policy_response_caching_policy_is_response_header_based_caching_enabled}
      responseCompressionPolicy:
        gzipCompression:
          isEnabled: ${var.web_app_acceleration_policy_response_compression_policy_gzip_compression_is_enabled}
      systemTags: ${var.web_app_acceleration_policy_system_tags}

Create a AppAccelerationPolicy Resource

new AppAccelerationPolicy(name: string, args: AppAccelerationPolicyArgs, opts?: CustomResourceOptions);
@overload
def AppAccelerationPolicy(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          compartment_id: Optional[str] = None,
                          defined_tags: Optional[Mapping[str, Any]] = None,
                          display_name: Optional[str] = None,
                          freeform_tags: Optional[Mapping[str, Any]] = None,
                          response_caching_policy: Optional[_waa.AppAccelerationPolicyResponseCachingPolicyArgs] = None,
                          response_compression_policy: Optional[_waa.AppAccelerationPolicyResponseCompressionPolicyArgs] = None,
                          system_tags: Optional[Mapping[str, Any]] = None)
@overload
def AppAccelerationPolicy(resource_name: str,
                          args: AppAccelerationPolicyArgs,
                          opts: Optional[ResourceOptions] = None)
func NewAppAccelerationPolicy(ctx *Context, name string, args AppAccelerationPolicyArgs, opts ...ResourceOption) (*AppAccelerationPolicy, error)
public AppAccelerationPolicy(string name, AppAccelerationPolicyArgs args, CustomResourceOptions? opts = null)
public AppAccelerationPolicy(String name, AppAccelerationPolicyArgs args)
public AppAccelerationPolicy(String name, AppAccelerationPolicyArgs args, CustomResourceOptions options)
type: oci:Waa:AppAccelerationPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AppAccelerationPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AppAccelerationPolicyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AppAccelerationPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AppAccelerationPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AppAccelerationPolicyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AppAccelerationPolicy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AppAccelerationPolicy resource accepts the following input properties:

CompartmentId string

(Updatable) The OCID of the compartment.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

DisplayName string

(Updatable) WebAppAccelerationPolicy display name, can be renamed.

FreeformTags Dictionary<string, object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

ResponseCachingPolicy AppAccelerationPolicyResponseCachingPolicyArgs

(Updatable) An object that specifies an HTTP response caching policy.

ResponseCompressionPolicy AppAccelerationPolicyResponseCompressionPolicyArgs

(Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

SystemTags Dictionary<string, object>

(Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

CompartmentId string

(Updatable) The OCID of the compartment.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

DisplayName string

(Updatable) WebAppAccelerationPolicy display name, can be renamed.

FreeformTags map[string]interface{}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

ResponseCachingPolicy AppAccelerationPolicyResponseCachingPolicyArgs

(Updatable) An object that specifies an HTTP response caching policy.

ResponseCompressionPolicy AppAccelerationPolicyResponseCompressionPolicyArgs

(Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

SystemTags map[string]interface{}

(Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

compartmentId String

(Updatable) The OCID of the compartment.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName String

(Updatable) WebAppAccelerationPolicy display name, can be renamed.

freeformTags Map<String,Object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

responseCachingPolicy AppAccelerationPolicyResponseCachingPolicyArgs

(Updatable) An object that specifies an HTTP response caching policy.

responseCompressionPolicy AppAccelerationPolicyResponseCompressionPolicyArgs

(Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

systemTags Map<String,Object>

(Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

compartmentId string

(Updatable) The OCID of the compartment.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName string

(Updatable) WebAppAccelerationPolicy display name, can be renamed.

freeformTags {[key: string]: any}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

responseCachingPolicy AppAccelerationPolicyResponseCachingPolicyArgs

(Updatable) An object that specifies an HTTP response caching policy.

responseCompressionPolicy AppAccelerationPolicyResponseCompressionPolicyArgs

(Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

systemTags {[key: string]: any}

(Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

compartment_id str

(Updatable) The OCID of the compartment.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

display_name str

(Updatable) WebAppAccelerationPolicy display name, can be renamed.

freeform_tags Mapping[str, Any]

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

response_caching_policy AppAccelerationPolicyResponseCachingPolicyArgs

(Updatable) An object that specifies an HTTP response caching policy.

response_compression_policy AppAccelerationPolicyResponseCompressionPolicyArgs

(Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

system_tags Mapping[str, Any]

(Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

compartmentId String

(Updatable) The OCID of the compartment.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName String

(Updatable) WebAppAccelerationPolicy display name, can be renamed.

freeformTags Map<Any>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

responseCachingPolicy Property Map

(Updatable) An object that specifies an HTTP response caching policy.

responseCompressionPolicy Property Map

(Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

systemTags Map<Any>

(Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

Outputs

All input properties are implicitly available as output properties. Additionally, the AppAccelerationPolicy resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

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.

State string

The current state of the WebAppAccelerationPolicy.

TimeCreated string

The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.

TimeUpdated string

The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.

Id string

The provider-assigned unique ID for this managed resource.

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.

State string

The current state of the WebAppAccelerationPolicy.

TimeCreated string

The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.

TimeUpdated string

The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.

id String

The provider-assigned unique ID for this managed resource.

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.

state String

The current state of the WebAppAccelerationPolicy.

timeCreated String

The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.

timeUpdated String

The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.

id string

The provider-assigned unique ID for this managed resource.

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.

state string

The current state of the WebAppAccelerationPolicy.

timeCreated string

The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.

timeUpdated string

The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.

id str

The provider-assigned unique ID for this managed resource.

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.

state str

The current state of the WebAppAccelerationPolicy.

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.

id String

The provider-assigned unique ID for this managed resource.

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.

state String

The current state of the WebAppAccelerationPolicy.

timeCreated String

The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.

timeUpdated String

The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.

Look up an Existing AppAccelerationPolicy Resource

Get an existing AppAccelerationPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AppAccelerationPolicyState, opts?: CustomResourceOptions): AppAccelerationPolicy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        lifecycle_details: Optional[str] = None,
        response_caching_policy: Optional[_waa.AppAccelerationPolicyResponseCachingPolicyArgs] = None,
        response_compression_policy: Optional[_waa.AppAccelerationPolicyResponseCompressionPolicyArgs] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, Any]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> AppAccelerationPolicy
func GetAppAccelerationPolicy(ctx *Context, name string, id IDInput, state *AppAccelerationPolicyState, opts ...ResourceOption) (*AppAccelerationPolicy, error)
public static AppAccelerationPolicy Get(string name, Input<string> id, AppAccelerationPolicyState? state, CustomResourceOptions? opts = null)
public static AppAccelerationPolicy get(String name, Output<String> id, AppAccelerationPolicyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId string

(Updatable) The OCID of the compartment.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

DisplayName string

(Updatable) WebAppAccelerationPolicy display name, can be renamed.

FreeformTags Dictionary<string, object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

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.

ResponseCachingPolicy AppAccelerationPolicyResponseCachingPolicyArgs

(Updatable) An object that specifies an HTTP response caching policy.

ResponseCompressionPolicy AppAccelerationPolicyResponseCompressionPolicyArgs

(Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

State string

The current state of the WebAppAccelerationPolicy.

SystemTags Dictionary<string, object>

(Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.

TimeUpdated string

The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.

CompartmentId string

(Updatable) The OCID of the compartment.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

DisplayName string

(Updatable) WebAppAccelerationPolicy display name, can be renamed.

FreeformTags map[string]interface{}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

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.

ResponseCachingPolicy AppAccelerationPolicyResponseCachingPolicyArgs

(Updatable) An object that specifies an HTTP response caching policy.

ResponseCompressionPolicy AppAccelerationPolicyResponseCompressionPolicyArgs

(Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

State string

The current state of the WebAppAccelerationPolicy.

SystemTags map[string]interface{}

(Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.

TimeUpdated string

The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.

compartmentId String

(Updatable) The OCID of the compartment.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName String

(Updatable) WebAppAccelerationPolicy display name, can be renamed.

freeformTags Map<String,Object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

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.

responseCachingPolicy AppAccelerationPolicyResponseCachingPolicyArgs

(Updatable) An object that specifies an HTTP response caching policy.

responseCompressionPolicy AppAccelerationPolicyResponseCompressionPolicyArgs

(Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

state String

The current state of the WebAppAccelerationPolicy.

systemTags Map<String,Object>

(Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.

timeUpdated String

The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.

compartmentId string

(Updatable) The OCID of the compartment.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName string

(Updatable) WebAppAccelerationPolicy display name, can be renamed.

freeformTags {[key: string]: any}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

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.

responseCachingPolicy AppAccelerationPolicyResponseCachingPolicyArgs

(Updatable) An object that specifies an HTTP response caching policy.

responseCompressionPolicy AppAccelerationPolicyResponseCompressionPolicyArgs

(Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

state string

The current state of the WebAppAccelerationPolicy.

systemTags {[key: string]: any}

(Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated string

The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.

timeUpdated string

The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.

compartment_id str

(Updatable) The OCID of the compartment.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

display_name str

(Updatable) WebAppAccelerationPolicy display name, can be renamed.

freeform_tags Mapping[str, Any]

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

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_policy AppAccelerationPolicyResponseCachingPolicyArgs

(Updatable) An object that specifies an HTTP response caching policy.

response_compression_policy AppAccelerationPolicyResponseCompressionPolicyArgs

(Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

state str

The current state of the WebAppAccelerationPolicy.

system_tags Mapping[str, Any]

(Updatable) 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.

compartmentId String

(Updatable) The OCID of the compartment.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName String

(Updatable) WebAppAccelerationPolicy display name, can be renamed.

freeformTags Map<Any>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

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.

responseCachingPolicy Property Map

(Updatable) An object that specifies an HTTP response caching policy.

responseCompressionPolicy Property Map

(Updatable) An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

state String

The current state of the WebAppAccelerationPolicy.

systemTags Map<Any>

(Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string.

timeUpdated String

The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string.

Supporting Types

AppAccelerationPolicyResponseCachingPolicy

IsResponseHeaderBasedCachingEnabled bool

(Updatable) When false, responses will not be cached by the backend based on response headers.

IsResponseHeaderBasedCachingEnabled bool

(Updatable) When false, responses will not be cached by the backend based on response headers.

isResponseHeaderBasedCachingEnabled Boolean

(Updatable) When false, responses will not be cached by the backend based on response headers.

isResponseHeaderBasedCachingEnabled boolean

(Updatable) When false, responses will not be cached by the backend based on response headers.

is_response_header_based_caching_enabled bool

(Updatable) When false, responses will not be cached by the backend based on response headers.

isResponseHeaderBasedCachingEnabled Boolean

(Updatable) When false, responses will not be cached by the backend based on response headers.

AppAccelerationPolicyResponseCompressionPolicy

GzipCompression AppAccelerationPolicyResponseCompressionPolicyGzipCompression

(Updatable) An object that specifies the gzip compression policy.

GzipCompression AppAccelerationPolicyResponseCompressionPolicyGzipCompression

(Updatable) An object that specifies the gzip compression policy.

gzipCompression AppAccelerationPolicyResponseCompressionPolicyGzipCompression

(Updatable) An object that specifies the gzip compression policy.

gzipCompression AppAccelerationPolicyResponseCompressionPolicyGzipCompression

(Updatable) An object that specifies the gzip compression policy.

gzip_compression AppAccelerationPolicyResponseCompressionPolicyGzipCompression

(Updatable) An object that specifies the gzip compression policy.

gzipCompression Property Map

(Updatable) An object that specifies the gzip compression policy.

AppAccelerationPolicyResponseCompressionPolicyGzipCompression

IsEnabled bool

(Updatable) 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.

IsEnabled bool

(Updatable) 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.

isEnabled Boolean

(Updatable) 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.

isEnabled boolean

(Updatable) 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

(Updatable) 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.

isEnabled Boolean

(Updatable) 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.

Import

WebAppAccelerationPolicies can be imported using the id, e.g.

 $ pulumi import oci:Waa/appAccelerationPolicy:AppAccelerationPolicy test_web_app_acceleration_policy "id"

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.