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

nsxt.PolicyL7AccessProfile

Explore with Pulumi AI

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

    Create PolicyL7AccessProfile Resource

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

    Constructor syntax

    new PolicyL7AccessProfile(name: string, args: PolicyL7AccessProfileArgs, opts?: CustomResourceOptions);
    @overload
    def PolicyL7AccessProfile(resource_name: str,
                              args: PolicyL7AccessProfileArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicyL7AccessProfile(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              default_action: Optional[str] = None,
                              display_name: Optional[str] = None,
                              context: Optional[PolicyL7AccessProfileContextArgs] = None,
                              default_action_logged: Optional[bool] = None,
                              description: Optional[str] = None,
                              l7_access_entries: Optional[Sequence[PolicyL7AccessProfileL7AccessEntryArgs]] = None,
                              nsx_id: Optional[str] = None,
                              policy_l7_access_profile_id: Optional[str] = None,
                              tags: Optional[Sequence[PolicyL7AccessProfileTagArgs]] = None)
    func NewPolicyL7AccessProfile(ctx *Context, name string, args PolicyL7AccessProfileArgs, opts ...ResourceOption) (*PolicyL7AccessProfile, error)
    public PolicyL7AccessProfile(string name, PolicyL7AccessProfileArgs args, CustomResourceOptions? opts = null)
    public PolicyL7AccessProfile(String name, PolicyL7AccessProfileArgs args)
    public PolicyL7AccessProfile(String name, PolicyL7AccessProfileArgs args, CustomResourceOptions options)
    
    type: nsxt:PolicyL7AccessProfile
    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 PolicyL7AccessProfileArgs
    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 PolicyL7AccessProfileArgs
    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 PolicyL7AccessProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyL7AccessProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyL7AccessProfileArgs
    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 policyL7AccessProfileResource = new Nsxt.PolicyL7AccessProfile("policyL7AccessProfileResource", new()
    {
        DefaultAction = "string",
        DisplayName = "string",
        Context = new Nsxt.Inputs.PolicyL7AccessProfileContextArgs
        {
            ProjectId = "string",
        },
        DefaultActionLogged = false,
        Description = "string",
        L7AccessEntries = new[]
        {
            new Nsxt.Inputs.PolicyL7AccessProfileL7AccessEntryArgs
            {
                Action = "string",
                Attribute = new Nsxt.Inputs.PolicyL7AccessProfileL7AccessEntryAttributeArgs
                {
                    Key = "string",
                    Values = new[]
                    {
                        "string",
                    },
                    AttributeSource = "string",
                    CustomUrlPartialMatch = false,
                    Description = "string",
                    IsAlgType = false,
                    Metadatas = new[]
                    {
                        new Nsxt.Inputs.PolicyL7AccessProfileL7AccessEntryAttributeMetadataArgs
                        {
                            Key = "string",
                            Value = "string",
                        },
                    },
                    SubAttributes = new[]
                    {
                        new Nsxt.Inputs.PolicyL7AccessProfileL7AccessEntryAttributeSubAttributeArgs
                        {
                            Key = "string",
                            Values = new[]
                            {
                                "string",
                            },
                        },
                    },
                },
                Description = "string",
                Disabled = false,
                DisplayName = "string",
                Logged = false,
                NsxId = "string",
                Path = "string",
                Revision = 0,
                SequenceNumber = 0,
            },
        },
        NsxId = "string",
        PolicyL7AccessProfileId = "string",
        Tags = new[]
        {
            new Nsxt.Inputs.PolicyL7AccessProfileTagArgs
            {
                Scope = "string",
                Tag = "string",
            },
        },
    });
    
    example, err := nsxt.NewPolicyL7AccessProfile(ctx, "policyL7AccessProfileResource", &nsxt.PolicyL7AccessProfileArgs{
    	DefaultAction: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	Context: &nsxt.PolicyL7AccessProfileContextArgs{
    		ProjectId: pulumi.String("string"),
    	},
    	DefaultActionLogged: pulumi.Bool(false),
    	Description:         pulumi.String("string"),
    	L7AccessEntries: nsxt.PolicyL7AccessProfileL7AccessEntryArray{
    		&nsxt.PolicyL7AccessProfileL7AccessEntryArgs{
    			Action: pulumi.String("string"),
    			Attribute: &nsxt.PolicyL7AccessProfileL7AccessEntryAttributeArgs{
    				Key: pulumi.String("string"),
    				Values: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				AttributeSource:       pulumi.String("string"),
    				CustomUrlPartialMatch: pulumi.Bool(false),
    				Description:           pulumi.String("string"),
    				IsAlgType:             pulumi.Bool(false),
    				Metadatas: nsxt.PolicyL7AccessProfileL7AccessEntryAttributeMetadataArray{
    					&nsxt.PolicyL7AccessProfileL7AccessEntryAttributeMetadataArgs{
    						Key:   pulumi.String("string"),
    						Value: pulumi.String("string"),
    					},
    				},
    				SubAttributes: nsxt.PolicyL7AccessProfileL7AccessEntryAttributeSubAttributeArray{
    					&nsxt.PolicyL7AccessProfileL7AccessEntryAttributeSubAttributeArgs{
    						Key: pulumi.String("string"),
    						Values: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    			},
    			Description:    pulumi.String("string"),
    			Disabled:       pulumi.Bool(false),
    			DisplayName:    pulumi.String("string"),
    			Logged:         pulumi.Bool(false),
    			NsxId:          pulumi.String("string"),
    			Path:           pulumi.String("string"),
    			Revision:       pulumi.Float64(0),
    			SequenceNumber: pulumi.Float64(0),
    		},
    	},
    	NsxId:                   pulumi.String("string"),
    	PolicyL7AccessProfileId: pulumi.String("string"),
    	Tags: nsxt.PolicyL7AccessProfileTagArray{
    		&nsxt.PolicyL7AccessProfileTagArgs{
    			Scope: pulumi.String("string"),
    			Tag:   pulumi.String("string"),
    		},
    	},
    })
    
    var policyL7AccessProfileResource = new PolicyL7AccessProfile("policyL7AccessProfileResource", PolicyL7AccessProfileArgs.builder()
        .defaultAction("string")
        .displayName("string")
        .context(PolicyL7AccessProfileContextArgs.builder()
            .projectId("string")
            .build())
        .defaultActionLogged(false)
        .description("string")
        .l7AccessEntries(PolicyL7AccessProfileL7AccessEntryArgs.builder()
            .action("string")
            .attribute(PolicyL7AccessProfileL7AccessEntryAttributeArgs.builder()
                .key("string")
                .values("string")
                .attributeSource("string")
                .customUrlPartialMatch(false)
                .description("string")
                .isAlgType(false)
                .metadatas(PolicyL7AccessProfileL7AccessEntryAttributeMetadataArgs.builder()
                    .key("string")
                    .value("string")
                    .build())
                .subAttributes(PolicyL7AccessProfileL7AccessEntryAttributeSubAttributeArgs.builder()
                    .key("string")
                    .values("string")
                    .build())
                .build())
            .description("string")
            .disabled(false)
            .displayName("string")
            .logged(false)
            .nsxId("string")
            .path("string")
            .revision(0)
            .sequenceNumber(0)
            .build())
        .nsxId("string")
        .policyL7AccessProfileId("string")
        .tags(PolicyL7AccessProfileTagArgs.builder()
            .scope("string")
            .tag("string")
            .build())
        .build());
    
    policy_l7_access_profile_resource = nsxt.PolicyL7AccessProfile("policyL7AccessProfileResource",
        default_action="string",
        display_name="string",
        context={
            "project_id": "string",
        },
        default_action_logged=False,
        description="string",
        l7_access_entries=[{
            "action": "string",
            "attribute": {
                "key": "string",
                "values": ["string"],
                "attribute_source": "string",
                "custom_url_partial_match": False,
                "description": "string",
                "is_alg_type": False,
                "metadatas": [{
                    "key": "string",
                    "value": "string",
                }],
                "sub_attributes": [{
                    "key": "string",
                    "values": ["string"],
                }],
            },
            "description": "string",
            "disabled": False,
            "display_name": "string",
            "logged": False,
            "nsx_id": "string",
            "path": "string",
            "revision": 0,
            "sequence_number": 0,
        }],
        nsx_id="string",
        policy_l7_access_profile_id="string",
        tags=[{
            "scope": "string",
            "tag": "string",
        }])
    
    const policyL7AccessProfileResource = new nsxt.PolicyL7AccessProfile("policyL7AccessProfileResource", {
        defaultAction: "string",
        displayName: "string",
        context: {
            projectId: "string",
        },
        defaultActionLogged: false,
        description: "string",
        l7AccessEntries: [{
            action: "string",
            attribute: {
                key: "string",
                values: ["string"],
                attributeSource: "string",
                customUrlPartialMatch: false,
                description: "string",
                isAlgType: false,
                metadatas: [{
                    key: "string",
                    value: "string",
                }],
                subAttributes: [{
                    key: "string",
                    values: ["string"],
                }],
            },
            description: "string",
            disabled: false,
            displayName: "string",
            logged: false,
            nsxId: "string",
            path: "string",
            revision: 0,
            sequenceNumber: 0,
        }],
        nsxId: "string",
        policyL7AccessProfileId: "string",
        tags: [{
            scope: "string",
            tag: "string",
        }],
    });
    
    type: nsxt:PolicyL7AccessProfile
    properties:
        context:
            projectId: string
        defaultAction: string
        defaultActionLogged: false
        description: string
        displayName: string
        l7AccessEntries:
            - action: string
              attribute:
                attributeSource: string
                customUrlPartialMatch: false
                description: string
                isAlgType: false
                key: string
                metadatas:
                    - key: string
                      value: string
                subAttributes:
                    - key: string
                      values:
                        - string
                values:
                    - string
              description: string
              disabled: false
              displayName: string
              logged: false
              nsxId: string
              path: string
              revision: 0
              sequenceNumber: 0
        nsxId: string
        policyL7AccessProfileId: string
        tags:
            - scope: string
              tag: string
    

    PolicyL7AccessProfile 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 PolicyL7AccessProfile resource accepts the following input properties:

    DefaultAction string
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    DisplayName string
    Display name of the resource.
    Context PolicyL7AccessProfileContext
    The context which the object belongs to
    DefaultActionLogged bool
    Flag to activate packet logging. Default is deactivated.
    Description string
    Description of the resource.
    L7AccessEntries List<PolicyL7AccessProfileL7AccessEntry>
    Property containing L7 access entries for Policy L7 Access Profile.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PolicyL7AccessProfileId string
    ID of the resource.
    Tags List<PolicyL7AccessProfileTag>
    A list of scope + tag pairs to associate with this resource.
    DefaultAction string
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    DisplayName string
    Display name of the resource.
    Context PolicyL7AccessProfileContextArgs
    The context which the object belongs to
    DefaultActionLogged bool
    Flag to activate packet logging. Default is deactivated.
    Description string
    Description of the resource.
    L7AccessEntries []PolicyL7AccessProfileL7AccessEntryArgs
    Property containing L7 access entries for Policy L7 Access Profile.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PolicyL7AccessProfileId string
    ID of the resource.
    Tags []PolicyL7AccessProfileTagArgs
    A list of scope + tag pairs to associate with this resource.
    defaultAction String
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    displayName String
    Display name of the resource.
    context PolicyL7AccessProfileContext
    The context which the object belongs to
    defaultActionLogged Boolean
    Flag to activate packet logging. Default is deactivated.
    description String
    Description of the resource.
    l7AccessEntries List<PolicyL7AccessProfileL7AccessEntry>
    Property containing L7 access entries for Policy L7 Access Profile.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyL7AccessProfileId String
    ID of the resource.
    tags List<PolicyL7AccessProfileTag>
    A list of scope + tag pairs to associate with this resource.
    defaultAction string
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    displayName string
    Display name of the resource.
    context PolicyL7AccessProfileContext
    The context which the object belongs to
    defaultActionLogged boolean
    Flag to activate packet logging. Default is deactivated.
    description string
    Description of the resource.
    l7AccessEntries PolicyL7AccessProfileL7AccessEntry[]
    Property containing L7 access entries for Policy L7 Access Profile.
    nsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyL7AccessProfileId string
    ID of the resource.
    tags PolicyL7AccessProfileTag[]
    A list of scope + tag pairs to associate with this resource.
    default_action str
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    display_name str
    Display name of the resource.
    context PolicyL7AccessProfileContextArgs
    The context which the object belongs to
    default_action_logged bool
    Flag to activate packet logging. Default is deactivated.
    description str
    Description of the resource.
    l7_access_entries Sequence[PolicyL7AccessProfileL7AccessEntryArgs]
    Property containing L7 access entries for Policy L7 Access Profile.
    nsx_id str
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policy_l7_access_profile_id str
    ID of the resource.
    tags Sequence[PolicyL7AccessProfileTagArgs]
    A list of scope + tag pairs to associate with this resource.
    defaultAction String
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    displayName String
    Display name of the resource.
    context Property Map
    The context which the object belongs to
    defaultActionLogged Boolean
    Flag to activate packet logging. Default is deactivated.
    description String
    Description of the resource.
    l7AccessEntries List<Property Map>
    Property containing L7 access entries for Policy L7 Access Profile.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyL7AccessProfileId String
    ID of the resource.
    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 PolicyL7AccessProfile resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Path string
    The NSX path of the L7 access entry.
    Revision double
    Indicates current revision number of the L7 access entry 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 L7 access entry.
    Revision float64
    Indicates current revision number of the L7 access entry 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 L7 access entry.
    revision Double
    Indicates current revision number of the L7 access entry 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 L7 access entry.
    revision number
    Indicates current revision number of the L7 access entry 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 L7 access entry.
    revision float
    Indicates current revision number of the L7 access entry 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 L7 access entry.
    revision Number
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.

    Look up Existing PolicyL7AccessProfile Resource

    Get an existing PolicyL7AccessProfile 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?: PolicyL7AccessProfileState, opts?: CustomResourceOptions): PolicyL7AccessProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            context: Optional[PolicyL7AccessProfileContextArgs] = None,
            default_action: Optional[str] = None,
            default_action_logged: Optional[bool] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            l7_access_entries: Optional[Sequence[PolicyL7AccessProfileL7AccessEntryArgs]] = None,
            nsx_id: Optional[str] = None,
            path: Optional[str] = None,
            policy_l7_access_profile_id: Optional[str] = None,
            revision: Optional[float] = None,
            tags: Optional[Sequence[PolicyL7AccessProfileTagArgs]] = None) -> PolicyL7AccessProfile
    func GetPolicyL7AccessProfile(ctx *Context, name string, id IDInput, state *PolicyL7AccessProfileState, opts ...ResourceOption) (*PolicyL7AccessProfile, error)
    public static PolicyL7AccessProfile Get(string name, Input<string> id, PolicyL7AccessProfileState? state, CustomResourceOptions? opts = null)
    public static PolicyL7AccessProfile get(String name, Output<String> id, PolicyL7AccessProfileState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:PolicyL7AccessProfile    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:
    Context PolicyL7AccessProfileContext
    The context which the object belongs to
    DefaultAction string
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    DefaultActionLogged bool
    Flag to activate packet logging. Default is deactivated.
    Description string
    Description of the resource.
    DisplayName string
    Display name of the resource.
    L7AccessEntries List<PolicyL7AccessProfileL7AccessEntry>
    Property containing L7 access entries for Policy L7 Access Profile.
    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 L7 access entry.
    PolicyL7AccessProfileId string
    ID of the resource.
    Revision double
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.
    Tags List<PolicyL7AccessProfileTag>
    A list of scope + tag pairs to associate with this resource.
    Context PolicyL7AccessProfileContextArgs
    The context which the object belongs to
    DefaultAction string
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    DefaultActionLogged bool
    Flag to activate packet logging. Default is deactivated.
    Description string
    Description of the resource.
    DisplayName string
    Display name of the resource.
    L7AccessEntries []PolicyL7AccessProfileL7AccessEntryArgs
    Property containing L7 access entries for Policy L7 Access Profile.
    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 L7 access entry.
    PolicyL7AccessProfileId string
    ID of the resource.
    Revision float64
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.
    Tags []PolicyL7AccessProfileTagArgs
    A list of scope + tag pairs to associate with this resource.
    context PolicyL7AccessProfileContext
    The context which the object belongs to
    defaultAction String
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    defaultActionLogged Boolean
    Flag to activate packet logging. Default is deactivated.
    description String
    Description of the resource.
    displayName String
    Display name of the resource.
    l7AccessEntries List<PolicyL7AccessProfileL7AccessEntry>
    Property containing L7 access entries for Policy L7 Access Profile.
    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 L7 access entry.
    policyL7AccessProfileId String
    ID of the resource.
    revision Double
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.
    tags List<PolicyL7AccessProfileTag>
    A list of scope + tag pairs to associate with this resource.
    context PolicyL7AccessProfileContext
    The context which the object belongs to
    defaultAction string
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    defaultActionLogged boolean
    Flag to activate packet logging. Default is deactivated.
    description string
    Description of the resource.
    displayName string
    Display name of the resource.
    l7AccessEntries PolicyL7AccessProfileL7AccessEntry[]
    Property containing L7 access entries for Policy L7 Access Profile.
    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 L7 access entry.
    policyL7AccessProfileId string
    ID of the resource.
    revision number
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.
    tags PolicyL7AccessProfileTag[]
    A list of scope + tag pairs to associate with this resource.
    context PolicyL7AccessProfileContextArgs
    The context which the object belongs to
    default_action str
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    default_action_logged bool
    Flag to activate packet logging. Default is deactivated.
    description str
    Description of the resource.
    display_name str
    Display name of the resource.
    l7_access_entries Sequence[PolicyL7AccessProfileL7AccessEntryArgs]
    Property containing L7 access entries for Policy L7 Access Profile.
    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 L7 access entry.
    policy_l7_access_profile_id str
    ID of the resource.
    revision float
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.
    tags Sequence[PolicyL7AccessProfileTagArgs]
    A list of scope + tag pairs to associate with this resource.
    context Property Map
    The context which the object belongs to
    defaultAction String
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    defaultActionLogged Boolean
    Flag to activate packet logging. Default is deactivated.
    description String
    Description of the resource.
    displayName String
    Display name of the resource.
    l7AccessEntries List<Property Map>
    Property containing L7 access entries for Policy L7 Access Profile.
    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 L7 access entry.
    policyL7AccessProfileId String
    ID of the resource.
    revision Number
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this resource.

    Supporting Types

    PolicyL7AccessProfileContext, PolicyL7AccessProfileContextArgs

    ProjectId string
    The ID of the project which the object belongs to
    ProjectId string
    The ID of the project which the object belongs to
    projectId String
    The ID of the project which the object belongs to
    projectId string
    The ID of the project which the object belongs to
    project_id str
    The ID of the project which the object belongs to
    projectId String
    The ID of the project which the object belongs to

    PolicyL7AccessProfileL7AccessEntry, PolicyL7AccessProfileL7AccessEntryArgs

    Action string
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    Attribute PolicyL7AccessProfileL7AccessEntryAttribute
    Property containing attributes/sub-attributes for Policy L7 Access Profile.
    Description string
    Description of the L7 access entry.
    Disabled bool
    Flag to deactivate the entry. Default is activated.
    DisplayName string
    Display name of the L7 access entry.
    Logged bool
    Flag to activate packet logging. Default is deactivated.
    NsxId string
    The NSX ID of this L7 access entry. If set, this ID will be used to create the resource.
    Path string
    The NSX path of the L7 access entry.
    Revision double
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.
    SequenceNumber double
    Determines the order of the entry in this profile. If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple rules with the same sequence number then their order is not deterministic.
    Action string
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    Attribute PolicyL7AccessProfileL7AccessEntryAttribute
    Property containing attributes/sub-attributes for Policy L7 Access Profile.
    Description string
    Description of the L7 access entry.
    Disabled bool
    Flag to deactivate the entry. Default is activated.
    DisplayName string
    Display name of the L7 access entry.
    Logged bool
    Flag to activate packet logging. Default is deactivated.
    NsxId string
    The NSX ID of this L7 access entry. If set, this ID will be used to create the resource.
    Path string
    The NSX path of the L7 access entry.
    Revision float64
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.
    SequenceNumber float64
    Determines the order of the entry in this profile. If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple rules with the same sequence number then their order is not deterministic.
    action String
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    attribute PolicyL7AccessProfileL7AccessEntryAttribute
    Property containing attributes/sub-attributes for Policy L7 Access Profile.
    description String
    Description of the L7 access entry.
    disabled Boolean
    Flag to deactivate the entry. Default is activated.
    displayName String
    Display name of the L7 access entry.
    logged Boolean
    Flag to activate packet logging. Default is deactivated.
    nsxId String
    The NSX ID of this L7 access entry. If set, this ID will be used to create the resource.
    path String
    The NSX path of the L7 access entry.
    revision Double
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.
    sequenceNumber Double
    Determines the order of the entry in this profile. If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple rules with the same sequence number then their order is not deterministic.
    action string
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    attribute PolicyL7AccessProfileL7AccessEntryAttribute
    Property containing attributes/sub-attributes for Policy L7 Access Profile.
    description string
    Description of the L7 access entry.
    disabled boolean
    Flag to deactivate the entry. Default is activated.
    displayName string
    Display name of the L7 access entry.
    logged boolean
    Flag to activate packet logging. Default is deactivated.
    nsxId string
    The NSX ID of this L7 access entry. If set, this ID will be used to create the resource.
    path string
    The NSX path of the L7 access entry.
    revision number
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.
    sequenceNumber number
    Determines the order of the entry in this profile. If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple rules with the same sequence number then their order is not deterministic.
    action str
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    attribute PolicyL7AccessProfileL7AccessEntryAttribute
    Property containing attributes/sub-attributes for Policy L7 Access Profile.
    description str
    Description of the L7 access entry.
    disabled bool
    Flag to deactivate the entry. Default is activated.
    display_name str
    Display name of the L7 access entry.
    logged bool
    Flag to activate packet logging. Default is deactivated.
    nsx_id str
    The NSX ID of this L7 access entry. If set, this ID will be used to create the resource.
    path str
    The NSX path of the L7 access entry.
    revision float
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.
    sequence_number float
    Determines the order of the entry in this profile. If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple rules with the same sequence number then their order is not deterministic.
    action String
    The action to be applied to all the services. Valid values are ALLOW, REJECT, REJECT_WITH_RESPONSE.
    attribute Property Map
    Property containing attributes/sub-attributes for Policy L7 Access Profile.
    description String
    Description of the L7 access entry.
    disabled Boolean
    Flag to deactivate the entry. Default is activated.
    displayName String
    Display name of the L7 access entry.
    logged Boolean
    Flag to activate packet logging. Default is deactivated.
    nsxId String
    The NSX ID of this L7 access entry. If set, this ID will be used to create the resource.
    path String
    The NSX path of the L7 access entry.
    revision Number
    Indicates current revision number of the L7 access entry as seen by NSX-T API server. This attribute can be useful for debugging.
    sequenceNumber Number
    Determines the order of the entry in this profile. If no sequence number is specified in the payload, a value of 0 is assigned by default. If there are multiple rules with the same sequence number then their order is not deterministic.

    PolicyL7AccessProfileL7AccessEntryAttribute, PolicyL7AccessProfileL7AccessEntryAttributeArgs

    Key string
    Key for attribute. Supported Attribute Keys are APP_ID, URL_CATEGORY, CUSTOM_URL.

    • isALGType - (Optional) Describes whether the APP_ID value is ALG type or not.
    Values List<string>
    Multiple attribute values can be specified as elements of array.
    AttributeSource string
    Source of attribute value i.e whether system defined or custom value. Valid values are SYSTEM, CUSTOM.
    CustomUrlPartialMatch bool
    True value for this flag will be treated as a partial match for custom url.
    Description string
    Description for attribute value.
    IsAlgType bool
    Is the value ALG type
    Metadatas List<PolicyL7AccessProfileL7AccessEntryAttributeMetadata>
    This is optional part that can hold additional data about the attribute key/values. Example - For URL CATEGORY key , it specified super category for url category value. This is generic array and can hold multiple meta information about key/values in future
    SubAttributes List<PolicyL7AccessProfileL7AccessEntryAttributeSubAttribute>
    Reference to sub attributes for the attribute
    Key string
    Key for attribute. Supported Attribute Keys are APP_ID, URL_CATEGORY, CUSTOM_URL.

    • isALGType - (Optional) Describes whether the APP_ID value is ALG type or not.
    Values []string
    Multiple attribute values can be specified as elements of array.
    AttributeSource string
    Source of attribute value i.e whether system defined or custom value. Valid values are SYSTEM, CUSTOM.
    CustomUrlPartialMatch bool
    True value for this flag will be treated as a partial match for custom url.
    Description string
    Description for attribute value.
    IsAlgType bool
    Is the value ALG type
    Metadatas []PolicyL7AccessProfileL7AccessEntryAttributeMetadata
    This is optional part that can hold additional data about the attribute key/values. Example - For URL CATEGORY key , it specified super category for url category value. This is generic array and can hold multiple meta information about key/values in future
    SubAttributes []PolicyL7AccessProfileL7AccessEntryAttributeSubAttribute
    Reference to sub attributes for the attribute
    key String
    Key for attribute. Supported Attribute Keys are APP_ID, URL_CATEGORY, CUSTOM_URL.

    • isALGType - (Optional) Describes whether the APP_ID value is ALG type or not.
    values List<String>
    Multiple attribute values can be specified as elements of array.
    attributeSource String
    Source of attribute value i.e whether system defined or custom value. Valid values are SYSTEM, CUSTOM.
    customUrlPartialMatch Boolean
    True value for this flag will be treated as a partial match for custom url.
    description String
    Description for attribute value.
    isAlgType Boolean
    Is the value ALG type
    metadatas List<PolicyL7AccessProfileL7AccessEntryAttributeMetadata>
    This is optional part that can hold additional data about the attribute key/values. Example - For URL CATEGORY key , it specified super category for url category value. This is generic array and can hold multiple meta information about key/values in future
    subAttributes List<PolicyL7AccessProfileL7AccessEntryAttributeSubAttribute>
    Reference to sub attributes for the attribute
    key string
    Key for attribute. Supported Attribute Keys are APP_ID, URL_CATEGORY, CUSTOM_URL.

    • isALGType - (Optional) Describes whether the APP_ID value is ALG type or not.
    values string[]
    Multiple attribute values can be specified as elements of array.
    attributeSource string
    Source of attribute value i.e whether system defined or custom value. Valid values are SYSTEM, CUSTOM.
    customUrlPartialMatch boolean
    True value for this flag will be treated as a partial match for custom url.
    description string
    Description for attribute value.
    isAlgType boolean
    Is the value ALG type
    metadatas PolicyL7AccessProfileL7AccessEntryAttributeMetadata[]
    This is optional part that can hold additional data about the attribute key/values. Example - For URL CATEGORY key , it specified super category for url category value. This is generic array and can hold multiple meta information about key/values in future
    subAttributes PolicyL7AccessProfileL7AccessEntryAttributeSubAttribute[]
    Reference to sub attributes for the attribute
    key str
    Key for attribute. Supported Attribute Keys are APP_ID, URL_CATEGORY, CUSTOM_URL.

    • isALGType - (Optional) Describes whether the APP_ID value is ALG type or not.
    values Sequence[str]
    Multiple attribute values can be specified as elements of array.
    attribute_source str
    Source of attribute value i.e whether system defined or custom value. Valid values are SYSTEM, CUSTOM.
    custom_url_partial_match bool
    True value for this flag will be treated as a partial match for custom url.
    description str
    Description for attribute value.
    is_alg_type bool
    Is the value ALG type
    metadatas Sequence[PolicyL7AccessProfileL7AccessEntryAttributeMetadata]
    This is optional part that can hold additional data about the attribute key/values. Example - For URL CATEGORY key , it specified super category for url category value. This is generic array and can hold multiple meta information about key/values in future
    sub_attributes Sequence[PolicyL7AccessProfileL7AccessEntryAttributeSubAttribute]
    Reference to sub attributes for the attribute
    key String
    Key for attribute. Supported Attribute Keys are APP_ID, URL_CATEGORY, CUSTOM_URL.

    • isALGType - (Optional) Describes whether the APP_ID value is ALG type or not.
    values List<String>
    Multiple attribute values can be specified as elements of array.
    attributeSource String
    Source of attribute value i.e whether system defined or custom value. Valid values are SYSTEM, CUSTOM.
    customUrlPartialMatch Boolean
    True value for this flag will be treated as a partial match for custom url.
    description String
    Description for attribute value.
    isAlgType Boolean
    Is the value ALG type
    metadatas List<Property Map>
    This is optional part that can hold additional data about the attribute key/values. Example - For URL CATEGORY key , it specified super category for url category value. This is generic array and can hold multiple meta information about key/values in future
    subAttributes List<Property Map>
    Reference to sub attributes for the attribute

    PolicyL7AccessProfileL7AccessEntryAttributeMetadata, PolicyL7AccessProfileL7AccessEntryAttributeMetadataArgs

    Key string
    Key for metadata.
    Value string
    Value for metadata key.
    Key string
    Key for metadata.
    Value string
    Value for metadata key.
    key String
    Key for metadata.
    value String
    Value for metadata key.
    key string
    Key for metadata.
    value string
    Value for metadata key.
    key str
    Key for metadata.
    value str
    Value for metadata key.
    key String
    Key for metadata.
    value String
    Value for metadata key.

    PolicyL7AccessProfileL7AccessEntryAttributeSubAttribute, PolicyL7AccessProfileL7AccessEntryAttributeSubAttributeArgs

    Key string
    Key for sub attribute
    Values List<string>
    Multiple sub attribute values can be specified as elements of array.
    Key string
    Key for sub attribute
    Values []string
    Multiple sub attribute values can be specified as elements of array.
    key String
    Key for sub attribute
    values List<String>
    Multiple sub attribute values can be specified as elements of array.
    key string
    Key for sub attribute
    values string[]
    Multiple sub attribute values can be specified as elements of array.
    key str
    Key for sub attribute
    values Sequence[str]
    Multiple sub attribute values can be specified as elements of array.
    key String
    Key for sub attribute
    values List<String>
    Multiple sub attribute values can be specified as elements of array.

    PolicyL7AccessProfileTag, PolicyL7AccessProfileTagArgs

    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