Show / Hide Table of Contents

Class 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",
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ProfileHttpCompress
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.F5BigIP.Ltm
Assembly: Pulumi.F5BigIP.dll
Syntax
public class ProfileHttpCompress : CustomResource

Constructors

View Source

ProfileHttpCompress(String, ProfileHttpCompressArgs, CustomResourceOptions)

Create a ProfileHttpCompress resource with the given unique name, arguments, and options.

Declaration
public ProfileHttpCompress(string name, ProfileHttpCompressArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ProfileHttpCompressArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ContentTypeExcludes

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.

Declaration
public Output<ImmutableArray<string>> ContentTypeExcludes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

ContentTypeIncludes

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.

Declaration
public Output<ImmutableArray<string>> ContentTypeIncludes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

DefaultsFrom

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.

Declaration
public Output<string> DefaultsFrom { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Name of the profile_httpcompress

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

UriExcludes

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.

Declaration
public Output<ImmutableArray<string>> UriExcludes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

UriIncludes

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.

Declaration
public Output<ImmutableArray<string>> UriIncludes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>

Methods

View Source

Get(String, Input<String>, ProfileHttpCompressState, CustomResourceOptions)

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

Declaration
public static ProfileHttpCompress Get(string name, Input<string> id, ProfileHttpCompressState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ProfileHttpCompressState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ProfileHttpCompress
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.