1. Packages
  2. Nsxt Provider
  3. API Docs
  4. PolicyLbCookiePersistenceProfile
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

nsxt.PolicyLbCookiePersistenceProfile

Explore with Pulumi AI

nsxt logo
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

    Create PolicyLbCookiePersistenceProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PolicyLbCookiePersistenceProfile(name: string, args: PolicyLbCookiePersistenceProfileArgs, opts?: CustomResourceOptions);
    @overload
    def PolicyLbCookiePersistenceProfile(resource_name: str,
                                         args: PolicyLbCookiePersistenceProfileArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicyLbCookiePersistenceProfile(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         display_name: Optional[str] = None,
                                         description: Optional[str] = None,
                                         persistence_cookie_time: Optional[PolicyLbCookiePersistenceProfilePersistenceCookieTimeArgs] = None,
                                         cookie_httponly: Optional[bool] = None,
                                         cookie_mode: Optional[str] = None,
                                         cookie_name: Optional[str] = None,
                                         cookie_path: Optional[str] = None,
                                         cookie_garble: Optional[bool] = None,
                                         cookie_fallback: Optional[bool] = None,
                                         cookie_secure: Optional[bool] = None,
                                         nsx_id: Optional[str] = None,
                                         cookie_domain: Optional[str] = None,
                                         persistence_shared: Optional[bool] = None,
                                         policy_lb_cookie_persistence_profile_id: Optional[str] = None,
                                         session_cookie_time: Optional[PolicyLbCookiePersistenceProfileSessionCookieTimeArgs] = None,
                                         tags: Optional[Sequence[PolicyLbCookiePersistenceProfileTagArgs]] = None)
    func NewPolicyLbCookiePersistenceProfile(ctx *Context, name string, args PolicyLbCookiePersistenceProfileArgs, opts ...ResourceOption) (*PolicyLbCookiePersistenceProfile, error)
    public PolicyLbCookiePersistenceProfile(string name, PolicyLbCookiePersistenceProfileArgs args, CustomResourceOptions? opts = null)
    public PolicyLbCookiePersistenceProfile(String name, PolicyLbCookiePersistenceProfileArgs args)
    public PolicyLbCookiePersistenceProfile(String name, PolicyLbCookiePersistenceProfileArgs args, CustomResourceOptions options)
    
    type: nsxt:PolicyLbCookiePersistenceProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PolicyLbCookiePersistenceProfileArgs
    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 PolicyLbCookiePersistenceProfileArgs
    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 PolicyLbCookiePersistenceProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyLbCookiePersistenceProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyLbCookiePersistenceProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var policyLbCookiePersistenceProfileResource = new Nsxt.PolicyLbCookiePersistenceProfile("policyLbCookiePersistenceProfileResource", new()
    {
        DisplayName = "string",
        Description = "string",
        PersistenceCookieTime = new Nsxt.Inputs.PolicyLbCookiePersistenceProfilePersistenceCookieTimeArgs
        {
            MaxIdle = 0,
        },
        CookieHttponly = false,
        CookieMode = "string",
        CookieName = "string",
        CookiePath = "string",
        CookieGarble = false,
        CookieFallback = false,
        CookieSecure = false,
        NsxId = "string",
        CookieDomain = "string",
        PersistenceShared = false,
        PolicyLbCookiePersistenceProfileId = "string",
        SessionCookieTime = new Nsxt.Inputs.PolicyLbCookiePersistenceProfileSessionCookieTimeArgs
        {
            MaxIdle = 0,
            MaxLife = 0,
        },
        Tags = new[]
        {
            new Nsxt.Inputs.PolicyLbCookiePersistenceProfileTagArgs
            {
                Scope = "string",
                Tag = "string",
            },
        },
    });
    
    example, err := nsxt.NewPolicyLbCookiePersistenceProfile(ctx, "policyLbCookiePersistenceProfileResource", &nsxt.PolicyLbCookiePersistenceProfileArgs{
    	DisplayName: pulumi.String("string"),
    	Description: pulumi.String("string"),
    	PersistenceCookieTime: &nsxt.PolicyLbCookiePersistenceProfilePersistenceCookieTimeArgs{
    		MaxIdle: pulumi.Float64(0),
    	},
    	CookieHttponly:                     pulumi.Bool(false),
    	CookieMode:                         pulumi.String("string"),
    	CookieName:                         pulumi.String("string"),
    	CookiePath:                         pulumi.String("string"),
    	CookieGarble:                       pulumi.Bool(false),
    	CookieFallback:                     pulumi.Bool(false),
    	CookieSecure:                       pulumi.Bool(false),
    	NsxId:                              pulumi.String("string"),
    	CookieDomain:                       pulumi.String("string"),
    	PersistenceShared:                  pulumi.Bool(false),
    	PolicyLbCookiePersistenceProfileId: pulumi.String("string"),
    	SessionCookieTime: &nsxt.PolicyLbCookiePersistenceProfileSessionCookieTimeArgs{
    		MaxIdle: pulumi.Float64(0),
    		MaxLife: pulumi.Float64(0),
    	},
    	Tags: nsxt.PolicyLbCookiePersistenceProfileTagArray{
    		&nsxt.PolicyLbCookiePersistenceProfileTagArgs{
    			Scope: pulumi.String("string"),
    			Tag:   pulumi.String("string"),
    		},
    	},
    })
    
    var policyLbCookiePersistenceProfileResource = new PolicyLbCookiePersistenceProfile("policyLbCookiePersistenceProfileResource", PolicyLbCookiePersistenceProfileArgs.builder()
        .displayName("string")
        .description("string")
        .persistenceCookieTime(PolicyLbCookiePersistenceProfilePersistenceCookieTimeArgs.builder()
            .maxIdle(0)
            .build())
        .cookieHttponly(false)
        .cookieMode("string")
        .cookieName("string")
        .cookiePath("string")
        .cookieGarble(false)
        .cookieFallback(false)
        .cookieSecure(false)
        .nsxId("string")
        .cookieDomain("string")
        .persistenceShared(false)
        .policyLbCookiePersistenceProfileId("string")
        .sessionCookieTime(PolicyLbCookiePersistenceProfileSessionCookieTimeArgs.builder()
            .maxIdle(0)
            .maxLife(0)
            .build())
        .tags(PolicyLbCookiePersistenceProfileTagArgs.builder()
            .scope("string")
            .tag("string")
            .build())
        .build());
    
    policy_lb_cookie_persistence_profile_resource = nsxt.PolicyLbCookiePersistenceProfile("policyLbCookiePersistenceProfileResource",
        display_name="string",
        description="string",
        persistence_cookie_time={
            "max_idle": 0,
        },
        cookie_httponly=False,
        cookie_mode="string",
        cookie_name="string",
        cookie_path="string",
        cookie_garble=False,
        cookie_fallback=False,
        cookie_secure=False,
        nsx_id="string",
        cookie_domain="string",
        persistence_shared=False,
        policy_lb_cookie_persistence_profile_id="string",
        session_cookie_time={
            "max_idle": 0,
            "max_life": 0,
        },
        tags=[{
            "scope": "string",
            "tag": "string",
        }])
    
    const policyLbCookiePersistenceProfileResource = new nsxt.PolicyLbCookiePersistenceProfile("policyLbCookiePersistenceProfileResource", {
        displayName: "string",
        description: "string",
        persistenceCookieTime: {
            maxIdle: 0,
        },
        cookieHttponly: false,
        cookieMode: "string",
        cookieName: "string",
        cookiePath: "string",
        cookieGarble: false,
        cookieFallback: false,
        cookieSecure: false,
        nsxId: "string",
        cookieDomain: "string",
        persistenceShared: false,
        policyLbCookiePersistenceProfileId: "string",
        sessionCookieTime: {
            maxIdle: 0,
            maxLife: 0,
        },
        tags: [{
            scope: "string",
            tag: "string",
        }],
    });
    
    type: nsxt:PolicyLbCookiePersistenceProfile
    properties:
        cookieDomain: string
        cookieFallback: false
        cookieGarble: false
        cookieHttponly: false
        cookieMode: string
        cookieName: string
        cookiePath: string
        cookieSecure: false
        description: string
        displayName: string
        nsxId: string
        persistenceCookieTime:
            maxIdle: 0
        persistenceShared: false
        policyLbCookiePersistenceProfileId: string
        sessionCookieTime:
            maxIdle: 0
            maxLife: 0
        tags:
            - scope: string
              tag: string
    

    PolicyLbCookiePersistenceProfile Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PolicyLbCookiePersistenceProfile resource accepts the following input properties:

    DisplayName string
    Display name of the resource.
    CookieDomain string
    HTTP cookie domain. Only relevant for INSERT mode.
    CookieFallback bool
    If true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected.
    CookieGarble bool
    If enabled, cookie value (server IP and port) would be encrypted.
    CookieHttponly bool
    CookieMode string
    One of INSERT, PREFIX or REWRITE. Default is INSERT.
    CookieName string
    Cookie name, default is NSXLB
    CookiePath string
    HTTP cookie path. Only relevant for INSERT mode.
    CookieSecure bool
    If enabled, this cookie will only be sent over HTTPS. Only relevant for INSERT mode.
    Description string
    Description of the resource.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PersistenceCookieTime PolicyLbCookiePersistenceProfilePersistenceCookieTime
    Persistence cookie time preferences
    PersistenceShared bool
    If enabled, all virtual servers with this profile will share the same persistence mechanism.
    PolicyLbCookiePersistenceProfileId string
    ID of the resource.
    SessionCookieTime PolicyLbCookiePersistenceProfileSessionCookieTime
    Session cookie time preferences
    Tags List<PolicyLbCookiePersistenceProfileTag>
    A list of scope + tag pairs to associate with this resource.
    DisplayName string
    Display name of the resource.
    CookieDomain string
    HTTP cookie domain. Only relevant for INSERT mode.
    CookieFallback bool
    If true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected.
    CookieGarble bool
    If enabled, cookie value (server IP and port) would be encrypted.
    CookieHttponly bool
    CookieMode string
    One of INSERT, PREFIX or REWRITE. Default is INSERT.
    CookieName string
    Cookie name, default is NSXLB
    CookiePath string
    HTTP cookie path. Only relevant for INSERT mode.
    CookieSecure bool
    If enabled, this cookie will only be sent over HTTPS. Only relevant for INSERT mode.
    Description string
    Description of the resource.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PersistenceCookieTime PolicyLbCookiePersistenceProfilePersistenceCookieTimeArgs
    Persistence cookie time preferences
    PersistenceShared bool
    If enabled, all virtual servers with this profile will share the same persistence mechanism.
    PolicyLbCookiePersistenceProfileId string
    ID of the resource.
    SessionCookieTime PolicyLbCookiePersistenceProfileSessionCookieTimeArgs
    Session cookie time preferences
    Tags []PolicyLbCookiePersistenceProfileTagArgs
    A list of scope + tag pairs to associate with this resource.
    displayName String
    Display name of the resource.
    cookieDomain String
    HTTP cookie domain. Only relevant for INSERT mode.
    cookieFallback Boolean
    If true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected.
    cookieGarble Boolean
    If enabled, cookie value (server IP and port) would be encrypted.
    cookieHttponly Boolean
    cookieMode String
    One of INSERT, PREFIX or REWRITE. Default is INSERT.
    cookieName String
    Cookie name, default is NSXLB
    cookiePath String
    HTTP cookie path. Only relevant for INSERT mode.
    cookieSecure Boolean
    If enabled, this cookie will only be sent over HTTPS. Only relevant for INSERT mode.
    description String
    Description of the resource.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    persistenceCookieTime PolicyLbCookiePersistenceProfilePersistenceCookieTime
    Persistence cookie time preferences
    persistenceShared Boolean
    If enabled, all virtual servers with this profile will share the same persistence mechanism.
    policyLbCookiePersistenceProfileId String
    ID of the resource.
    sessionCookieTime PolicyLbCookiePersistenceProfileSessionCookieTime
    Session cookie time preferences
    tags List<PolicyLbCookiePersistenceProfileTag>
    A list of scope + tag pairs to associate with this resource.
    displayName string
    Display name of the resource.
    cookieDomain string
    HTTP cookie domain. Only relevant for INSERT mode.
    cookieFallback boolean
    If true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected.
    cookieGarble boolean
    If enabled, cookie value (server IP and port) would be encrypted.
    cookieHttponly boolean
    cookieMode string
    One of INSERT, PREFIX or REWRITE. Default is INSERT.
    cookieName string
    Cookie name, default is NSXLB
    cookiePath string
    HTTP cookie path. Only relevant for INSERT mode.
    cookieSecure boolean
    If enabled, this cookie will only be sent over HTTPS. Only relevant for INSERT mode.
    description string
    Description of the resource.
    nsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    persistenceCookieTime PolicyLbCookiePersistenceProfilePersistenceCookieTime
    Persistence cookie time preferences
    persistenceShared boolean
    If enabled, all virtual servers with this profile will share the same persistence mechanism.
    policyLbCookiePersistenceProfileId string
    ID of the resource.
    sessionCookieTime PolicyLbCookiePersistenceProfileSessionCookieTime
    Session cookie time preferences
    tags PolicyLbCookiePersistenceProfileTag[]
    A list of scope + tag pairs to associate with this resource.
    display_name str
    Display name of the resource.
    cookie_domain str
    HTTP cookie domain. Only relevant for INSERT mode.
    cookie_fallback bool
    If true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected.
    cookie_garble bool
    If enabled, cookie value (server IP and port) would be encrypted.
    cookie_httponly bool
    cookie_mode str
    One of INSERT, PREFIX or REWRITE. Default is INSERT.
    cookie_name str
    Cookie name, default is NSXLB
    cookie_path str
    HTTP cookie path. Only relevant for INSERT mode.
    cookie_secure bool
    If enabled, this cookie will only be sent over HTTPS. Only relevant for INSERT mode.
    description str
    Description of the resource.
    nsx_id str
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    persistence_cookie_time PolicyLbCookiePersistenceProfilePersistenceCookieTimeArgs
    Persistence cookie time preferences
    persistence_shared bool
    If enabled, all virtual servers with this profile will share the same persistence mechanism.
    policy_lb_cookie_persistence_profile_id str
    ID of the resource.
    session_cookie_time PolicyLbCookiePersistenceProfileSessionCookieTimeArgs
    Session cookie time preferences
    tags Sequence[PolicyLbCookiePersistenceProfileTagArgs]
    A list of scope + tag pairs to associate with this resource.
    displayName String
    Display name of the resource.
    cookieDomain String
    HTTP cookie domain. Only relevant for INSERT mode.
    cookieFallback Boolean
    If true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected.
    cookieGarble Boolean
    If enabled, cookie value (server IP and port) would be encrypted.
    cookieHttponly Boolean
    cookieMode String
    One of INSERT, PREFIX or REWRITE. Default is INSERT.
    cookieName String
    Cookie name, default is NSXLB
    cookiePath String
    HTTP cookie path. Only relevant for INSERT mode.
    cookieSecure Boolean
    If enabled, this cookie will only be sent over HTTPS. Only relevant for INSERT mode.
    description String
    Description of the resource.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    persistenceCookieTime Property Map
    Persistence cookie time preferences
    persistenceShared Boolean
    If enabled, all virtual servers with this profile will share the same persistence mechanism.
    policyLbCookiePersistenceProfileId String
    ID of the resource.
    sessionCookieTime Property Map
    Session cookie time preferences
    tags List<Property Map>
    A list of scope + tag pairs to associate with this resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Path string
    The NSX path of the policy resource.
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    Id string
    The provider-assigned unique ID for this managed resource.
    Path string
    The NSX path of the policy resource.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id String
    The provider-assigned unique ID for this managed resource.
    path String
    The NSX path of the policy resource.
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id string
    The provider-assigned unique ID for this managed resource.
    path string
    The NSX path of the policy resource.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id str
    The provider-assigned unique ID for this managed resource.
    path str
    The NSX path of the policy resource.
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id String
    The provider-assigned unique ID for this managed resource.
    path String
    The NSX path of the policy resource.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.

    Look up Existing PolicyLbCookiePersistenceProfile Resource

    Get an existing PolicyLbCookiePersistenceProfile 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?: PolicyLbCookiePersistenceProfileState, opts?: CustomResourceOptions): PolicyLbCookiePersistenceProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cookie_domain: Optional[str] = None,
            cookie_fallback: Optional[bool] = None,
            cookie_garble: Optional[bool] = None,
            cookie_httponly: Optional[bool] = None,
            cookie_mode: Optional[str] = None,
            cookie_name: Optional[str] = None,
            cookie_path: Optional[str] = None,
            cookie_secure: Optional[bool] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            nsx_id: Optional[str] = None,
            path: Optional[str] = None,
            persistence_cookie_time: Optional[PolicyLbCookiePersistenceProfilePersistenceCookieTimeArgs] = None,
            persistence_shared: Optional[bool] = None,
            policy_lb_cookie_persistence_profile_id: Optional[str] = None,
            revision: Optional[float] = None,
            session_cookie_time: Optional[PolicyLbCookiePersistenceProfileSessionCookieTimeArgs] = None,
            tags: Optional[Sequence[PolicyLbCookiePersistenceProfileTagArgs]] = None) -> PolicyLbCookiePersistenceProfile
    func GetPolicyLbCookiePersistenceProfile(ctx *Context, name string, id IDInput, state *PolicyLbCookiePersistenceProfileState, opts ...ResourceOption) (*PolicyLbCookiePersistenceProfile, error)
    public static PolicyLbCookiePersistenceProfile Get(string name, Input<string> id, PolicyLbCookiePersistenceProfileState? state, CustomResourceOptions? opts = null)
    public static PolicyLbCookiePersistenceProfile get(String name, Output<String> id, PolicyLbCookiePersistenceProfileState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:PolicyLbCookiePersistenceProfile    get:      id: ${id}
    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:
    CookieDomain string
    HTTP cookie domain. Only relevant for INSERT mode.
    CookieFallback bool
    If true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected.
    CookieGarble bool
    If enabled, cookie value (server IP and port) would be encrypted.
    CookieHttponly bool
    CookieMode string
    One of INSERT, PREFIX or REWRITE. Default is INSERT.
    CookieName string
    Cookie name, default is NSXLB
    CookiePath string
    HTTP cookie path. Only relevant for INSERT mode.
    CookieSecure bool
    If enabled, this cookie will only be sent over HTTPS. Only relevant for INSERT mode.
    Description string
    Description of the resource.
    DisplayName string
    Display name of the resource.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    Path string
    The NSX path of the policy resource.
    PersistenceCookieTime PolicyLbCookiePersistenceProfilePersistenceCookieTime
    Persistence cookie time preferences
    PersistenceShared bool
    If enabled, all virtual servers with this profile will share the same persistence mechanism.
    PolicyLbCookiePersistenceProfileId string
    ID of the resource.
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SessionCookieTime PolicyLbCookiePersistenceProfileSessionCookieTime
    Session cookie time preferences
    Tags List<PolicyLbCookiePersistenceProfileTag>
    A list of scope + tag pairs to associate with this resource.
    CookieDomain string
    HTTP cookie domain. Only relevant for INSERT mode.
    CookieFallback bool
    If true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected.
    CookieGarble bool
    If enabled, cookie value (server IP and port) would be encrypted.
    CookieHttponly bool
    CookieMode string
    One of INSERT, PREFIX or REWRITE. Default is INSERT.
    CookieName string
    Cookie name, default is NSXLB
    CookiePath string
    HTTP cookie path. Only relevant for INSERT mode.
    CookieSecure bool
    If enabled, this cookie will only be sent over HTTPS. Only relevant for INSERT mode.
    Description string
    Description of the resource.
    DisplayName string
    Display name of the resource.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    Path string
    The NSX path of the policy resource.
    PersistenceCookieTime PolicyLbCookiePersistenceProfilePersistenceCookieTimeArgs
    Persistence cookie time preferences
    PersistenceShared bool
    If enabled, all virtual servers with this profile will share the same persistence mechanism.
    PolicyLbCookiePersistenceProfileId string
    ID of the resource.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SessionCookieTime PolicyLbCookiePersistenceProfileSessionCookieTimeArgs
    Session cookie time preferences
    Tags []PolicyLbCookiePersistenceProfileTagArgs
    A list of scope + tag pairs to associate with this resource.
    cookieDomain String
    HTTP cookie domain. Only relevant for INSERT mode.
    cookieFallback Boolean
    If true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected.
    cookieGarble Boolean
    If enabled, cookie value (server IP and port) would be encrypted.
    cookieHttponly Boolean
    cookieMode String
    One of INSERT, PREFIX or REWRITE. Default is INSERT.
    cookieName String
    Cookie name, default is NSXLB
    cookiePath String
    HTTP cookie path. Only relevant for INSERT mode.
    cookieSecure Boolean
    If enabled, this cookie will only be sent over HTTPS. Only relevant for INSERT mode.
    description String
    Description of the resource.
    displayName String
    Display name of the resource.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    path String
    The NSX path of the policy resource.
    persistenceCookieTime PolicyLbCookiePersistenceProfilePersistenceCookieTime
    Persistence cookie time preferences
    persistenceShared Boolean
    If enabled, all virtual servers with this profile will share the same persistence mechanism.
    policyLbCookiePersistenceProfileId String
    ID of the resource.
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    sessionCookieTime PolicyLbCookiePersistenceProfileSessionCookieTime
    Session cookie time preferences
    tags List<PolicyLbCookiePersistenceProfileTag>
    A list of scope + tag pairs to associate with this resource.
    cookieDomain string
    HTTP cookie domain. Only relevant for INSERT mode.
    cookieFallback boolean
    If true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected.
    cookieGarble boolean
    If enabled, cookie value (server IP and port) would be encrypted.
    cookieHttponly boolean
    cookieMode string
    One of INSERT, PREFIX or REWRITE. Default is INSERT.
    cookieName string
    Cookie name, default is NSXLB
    cookiePath string
    HTTP cookie path. Only relevant for INSERT mode.
    cookieSecure boolean
    If enabled, this cookie will only be sent over HTTPS. Only relevant for INSERT mode.
    description string
    Description of the resource.
    displayName string
    Display name of the resource.
    nsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    path string
    The NSX path of the policy resource.
    persistenceCookieTime PolicyLbCookiePersistenceProfilePersistenceCookieTime
    Persistence cookie time preferences
    persistenceShared boolean
    If enabled, all virtual servers with this profile will share the same persistence mechanism.
    policyLbCookiePersistenceProfileId string
    ID of the resource.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    sessionCookieTime PolicyLbCookiePersistenceProfileSessionCookieTime
    Session cookie time preferences
    tags PolicyLbCookiePersistenceProfileTag[]
    A list of scope + tag pairs to associate with this resource.
    cookie_domain str
    HTTP cookie domain. Only relevant for INSERT mode.
    cookie_fallback bool
    If true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected.
    cookie_garble bool
    If enabled, cookie value (server IP and port) would be encrypted.
    cookie_httponly bool
    cookie_mode str
    One of INSERT, PREFIX or REWRITE. Default is INSERT.
    cookie_name str
    Cookie name, default is NSXLB
    cookie_path str
    HTTP cookie path. Only relevant for INSERT mode.
    cookie_secure bool
    If enabled, this cookie will only be sent over HTTPS. Only relevant for INSERT mode.
    description str
    Description of the resource.
    display_name str
    Display name of the resource.
    nsx_id str
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    path str
    The NSX path of the policy resource.
    persistence_cookie_time PolicyLbCookiePersistenceProfilePersistenceCookieTimeArgs
    Persistence cookie time preferences
    persistence_shared bool
    If enabled, all virtual servers with this profile will share the same persistence mechanism.
    policy_lb_cookie_persistence_profile_id str
    ID of the resource.
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    session_cookie_time PolicyLbCookiePersistenceProfileSessionCookieTimeArgs
    Session cookie time preferences
    tags Sequence[PolicyLbCookiePersistenceProfileTagArgs]
    A list of scope + tag pairs to associate with this resource.
    cookieDomain String
    HTTP cookie domain. Only relevant for INSERT mode.
    cookieFallback Boolean
    If true, once the cookie points to a server that is down (i.e. admin state DISABLED or healthcheck state is DOWN), then a new server is selected by default to handle that request. If fallback is false, it will cause the request to be rejected.
    cookieGarble Boolean
    If enabled, cookie value (server IP and port) would be encrypted.
    cookieHttponly Boolean
    cookieMode String
    One of INSERT, PREFIX or REWRITE. Default is INSERT.
    cookieName String
    Cookie name, default is NSXLB
    cookiePath String
    HTTP cookie path. Only relevant for INSERT mode.
    cookieSecure Boolean
    If enabled, this cookie will only be sent over HTTPS. Only relevant for INSERT mode.
    description String
    Description of the resource.
    displayName String
    Display name of the resource.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    path String
    The NSX path of the policy resource.
    persistenceCookieTime Property Map
    Persistence cookie time preferences
    persistenceShared Boolean
    If enabled, all virtual servers with this profile will share the same persistence mechanism.
    policyLbCookiePersistenceProfileId String
    ID of the resource.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    sessionCookieTime Property Map
    Session cookie time preferences
    tags List<Property Map>
    A list of scope + tag pairs to associate with this resource.

    Supporting Types

    PolicyLbCookiePersistenceProfilePersistenceCookieTime, PolicyLbCookiePersistenceProfilePersistenceCookieTimeArgs

    MaxIdle double
    Maximum interval the cookie is valid for from the last time it was seen in a request
    MaxIdle float64
    Maximum interval the cookie is valid for from the last time it was seen in a request
    maxIdle Double
    Maximum interval the cookie is valid for from the last time it was seen in a request
    maxIdle number
    Maximum interval the cookie is valid for from the last time it was seen in a request
    max_idle float
    Maximum interval the cookie is valid for from the last time it was seen in a request
    maxIdle Number
    Maximum interval the cookie is valid for from the last time it was seen in a request

    PolicyLbCookiePersistenceProfileSessionCookieTime, PolicyLbCookiePersistenceProfileSessionCookieTimeArgs

    MaxIdle double
    Maximum interval the cookie is valid for from the last time it was seen in a request
    MaxLife double
    Maximum interval the cookie is valid for from the first time it was seen in a request
    MaxIdle float64
    Maximum interval the cookie is valid for from the last time it was seen in a request
    MaxLife float64
    Maximum interval the cookie is valid for from the first time it was seen in a request
    maxIdle Double
    Maximum interval the cookie is valid for from the last time it was seen in a request
    maxLife Double
    Maximum interval the cookie is valid for from the first time it was seen in a request
    maxIdle number
    Maximum interval the cookie is valid for from the last time it was seen in a request
    maxLife number
    Maximum interval the cookie is valid for from the first time it was seen in a request
    max_idle float
    Maximum interval the cookie is valid for from the last time it was seen in a request
    max_life float
    Maximum interval the cookie is valid for from the first time it was seen in a request
    maxIdle Number
    Maximum interval the cookie is valid for from the last time it was seen in a request
    maxLife Number
    Maximum interval the cookie is valid for from the first time it was seen in a request

    PolicyLbCookiePersistenceProfileTag, PolicyLbCookiePersistenceProfileTagArgs

    Scope string
    Tag string
    A list of scope + tag pairs to associate with this resource.
    Scope string
    Tag string
    A list of scope + tag pairs to associate with this resource.
    scope String
    tag String
    A list of scope + tag pairs to associate with this resource.
    scope string
    tag string
    A list of scope + tag pairs to associate with this resource.
    scope str
    tag str
    A list of scope + tag pairs to associate with this resource.
    scope String
    tag String
    A list of scope + tag pairs to associate with this resource.

    Package Details

    Repository
    nsxt vmware/terraform-provider-nsxt
    License
    Notes
    This Pulumi package is based on the nsxt Terraform Provider.
    nsxt logo
    nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware