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
new ProfileHttpCompress(name: string, args: ProfileHttpCompressArgs, opts?: CustomResourceOptions);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);func NewProfileHttpCompress(ctx *Context, name string, args ProfileHttpCompressArgs, opts ...ResourceOption) (*ProfileHttpCompress, error)public ProfileHttpCompress(string name, ProfileHttpCompressArgs args, CustomResourceOptions? opts = null)- 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
- Content
Type List<string>Excludes 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 List<string>Includes 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 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.
- Uri
Excludes 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.
- Uri
Includes 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
- Content
Type []stringExcludes 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 []stringIncludes 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 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.
- Uri
Excludes []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.
- Uri
Includes []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
- content
Type string[]Excludes 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 string[]Includes 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 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.
- uri
Excludes 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.
- uri
Includes 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_ List[str]excludes 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_ List[str]includes 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:
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.
public static get(name: string, id: Input<ID>, state?: ProfileHttpCompressState, opts?: CustomResourceOptions): ProfileHttpCompressstatic 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)public static ProfileHttpCompress Get(string name, Input<string> id, ProfileHttpCompressState? state, CustomResourceOptions? opts = null)- 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:
- Content
Type List<string>Excludes 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 List<string>Includes 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 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
- Uri
Excludes 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.
- Uri
Includes 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.
- Content
Type []stringExcludes 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 []stringIncludes 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 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
- Uri
Excludes []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.
- Uri
Includes []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 string[]Excludes 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 string[]Includes 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 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
- uri
Excludes 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.
- uri
Includes 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_ List[str]excludes 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_ List[str]includes 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
bigipTerraform Provider.