ProfileHttpCompress

f5bigip.ltm.ProfileHttpCompress Virtual server HTTP compression profile configuration

For resources should be named with their “full path”. The full path is the combination of the partition + name of the resource. For example /Common/my-pool.

Example Usage

using Pulumi;
using F5BigIP = Pulumi.F5BigIP;

class MyStack : Stack
{
    public MyStack()
    {
        var sjhttpcompression = new F5BigIP.Ltm.ProfileHttpCompress("sjhttpcompression", new F5BigIP.Ltm.ProfileHttpCompressArgs
        {
            ContentTypeExcludes = 
            {
                "nicecontentexclude.com",
            },
            ContentTypeIncludes = 
            {
                "nicecontent.com",
            },
            DefaultsFrom = "/Common/httpcompression",
            Name = "/Common/sjhttpcompression2",
            UriExcludes = 
            {
                "www.abc.f5.com",
                "www.abc2.f5.com",
            },
            UriIncludes = 
            {
                "www.xyzbc.cisco.com",
            },
        });
    }

}

Coming soon!

import pulumi
import pulumi_f5bigip as f5bigip

sjhttpcompression = f5bigip.ltm.ProfileHttpCompress("sjhttpcompression",
    content_type_excludes=["nicecontentexclude.com"],
    content_type_includes=["nicecontent.com"],
    defaults_from="/Common/httpcompression",
    name="/Common/sjhttpcompression2",
    uri_excludes=[
        "www.abc.f5.com",
        "www.abc2.f5.com",
    ],
    uri_includes=["www.xyzbc.cisco.com"])
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";

const sjhttpcompression = new f5bigip.ltm.ProfileHttpCompress("sjhttpcompression", {
    contentTypeExcludes: ["nicecontentexclude.com"],
    contentTypeIncludes: ["nicecontent.com"],
    defaultsFrom: "/Common/httpcompression",
    name: "/Common/sjhttpcompression2",
    uriExcludes: [
        "www.abc.f5.com",
        "www.abc2.f5.com",
    ],
    uriIncludes: ["www.xyzbc.cisco.com"],
});

Create a ProfileHttpCompress Resource

def ProfileHttpCompress(resource_name, opts=None, content_type_excludes=None, content_type_includes=None, defaults_from=None, name=None, uri_excludes=None, uri_includes=None, __props__=None);
name string
The unique name of the resource.
args ProfileHttpCompressArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ProfileHttpCompressArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ProfileHttpCompressArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ProfileHttpCompress Resource Properties

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

Inputs

The ProfileHttpCompress resource accepts the following input properties:

Name string

Name of the profile_httpcompress

ContentTypeExcludes List<string>

Excludes a specified list of content types from compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

ContentTypeIncludes List<string>

Specifies a list of content types for compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

DefaultsFrom string

Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.

UriExcludes List<string>

Disables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you do not want to compress.

UriIncludes List<string>

Enables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you want to compress.

Name string

Name of the profile_httpcompress

ContentTypeExcludes []string

Excludes a specified list of content types from compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

ContentTypeIncludes []string

Specifies a list of content types for compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

DefaultsFrom string

Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.

UriExcludes []string

Disables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you do not want to compress.

UriIncludes []string

Enables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you want to compress.

name string

Name of the profile_httpcompress

contentTypeExcludes string[]

Excludes a specified list of content types from compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

contentTypeIncludes string[]

Specifies a list of content types for compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

defaultsFrom string

Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.

uriExcludes string[]

Disables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you do not want to compress.

uriIncludes string[]

Enables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you want to compress.

name str

Name of the profile_httpcompress

content_type_excludes List[str]

Excludes a specified list of content types from compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

content_type_includes List[str]

Specifies a list of content types for compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

defaults_from str

Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.

uri_excludes List[str]

Disables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you do not want to compress.

uri_includes List[str]

Enables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you want to compress.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing ProfileHttpCompress Resource

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

static get(resource_name, id, opts=None, content_type_excludes=None, content_type_includes=None, defaults_from=None, name=None, uri_excludes=None, uri_includes=None, __props__=None);
func GetProfileHttpCompress(ctx *Context, name string, id IDInput, state *ProfileHttpCompressState, opts ...ResourceOption) (*ProfileHttpCompress, error)
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.

The following state arguments are supported:

ContentTypeExcludes List<string>

Excludes a specified list of content types from compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

ContentTypeIncludes List<string>

Specifies a list of content types for compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

DefaultsFrom string

Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.

Name string

Name of the profile_httpcompress

UriExcludes List<string>

Disables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you do not want to compress.

UriIncludes List<string>

Enables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you want to compress.

ContentTypeExcludes []string

Excludes a specified list of content types from compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

ContentTypeIncludes []string

Specifies a list of content types for compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

DefaultsFrom string

Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.

Name string

Name of the profile_httpcompress

UriExcludes []string

Disables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you do not want to compress.

UriIncludes []string

Enables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you want to compress.

contentTypeExcludes string[]

Excludes a specified list of content types from compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

contentTypeIncludes string[]

Specifies a list of content types for compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

defaultsFrom string

Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.

name string

Name of the profile_httpcompress

uriExcludes string[]

Disables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you do not want to compress.

uriIncludes string[]

Enables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you want to compress.

content_type_excludes List[str]

Excludes a specified list of content types from compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

content_type_includes List[str]

Specifies a list of content types for compression of HTTP Content-Type responses. Use a string list to specify a list of content types you want to compress.

defaults_from str

Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.

name str

Name of the profile_httpcompress

uri_excludes List[str]

Disables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you do not want to compress.

uri_includes List[str]

Enables compression on a specified list of HTTP Request-URI responses. Use a regular expression to specify a list of URIs you want to compress.

Package Details

Repository
https://github.com/pulumi/pulumi-f5bigip
License
Apache-2.0
Notes
This Pulumi package is based on the bigip Terraform Provider.