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

nsxt.PolicyContextProfile

Explore with Pulumi AI

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

    Create PolicyContextProfile Resource

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

    Constructor syntax

    new PolicyContextProfile(name: string, args: PolicyContextProfileArgs, opts?: CustomResourceOptions);
    @overload
    def PolicyContextProfile(resource_name: str,
                             args: PolicyContextProfileArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicyContextProfile(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             display_name: Optional[str] = None,
                             app_ids: Optional[Sequence[PolicyContextProfileAppIdArgs]] = None,
                             context: Optional[PolicyContextProfileContextArgs] = None,
                             custom_url: Optional[PolicyContextProfileCustomUrlArgs] = None,
                             description: Optional[str] = None,
                             domain_name: Optional[PolicyContextProfileDomainNameArgs] = None,
                             nsx_id: Optional[str] = None,
                             policy_context_profile_id: Optional[str] = None,
                             tags: Optional[Sequence[PolicyContextProfileTagArgs]] = None,
                             url_category: Optional[PolicyContextProfileUrlCategoryArgs] = None)
    func NewPolicyContextProfile(ctx *Context, name string, args PolicyContextProfileArgs, opts ...ResourceOption) (*PolicyContextProfile, error)
    public PolicyContextProfile(string name, PolicyContextProfileArgs args, CustomResourceOptions? opts = null)
    public PolicyContextProfile(String name, PolicyContextProfileArgs args)
    public PolicyContextProfile(String name, PolicyContextProfileArgs args, CustomResourceOptions options)
    
    type: nsxt:PolicyContextProfile
    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 PolicyContextProfileArgs
    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 PolicyContextProfileArgs
    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 PolicyContextProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyContextProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyContextProfileArgs
    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 policyContextProfileResource = new Nsxt.PolicyContextProfile("policyContextProfileResource", new()
    {
        DisplayName = "string",
        AppIds = new[]
        {
            new Nsxt.Inputs.PolicyContextProfileAppIdArgs
            {
                Values = new[]
                {
                    "string",
                },
                Description = "string",
                IsAlgType = false,
                SubAttribute = new Nsxt.Inputs.PolicyContextProfileAppIdSubAttributeArgs
                {
                    CifsSmbVersions = new[]
                    {
                        "string",
                    },
                    TlsCipherSuites = new[]
                    {
                        "string",
                    },
                    TlsVersions = new[]
                    {
                        "string",
                    },
                },
            },
        },
        Context = new Nsxt.Inputs.PolicyContextProfileContextArgs
        {
            ProjectId = "string",
        },
        CustomUrl = new Nsxt.Inputs.PolicyContextProfileCustomUrlArgs
        {
            Values = new[]
            {
                "string",
            },
            CustomUrlPartialMatch = false,
            Description = "string",
        },
        Description = "string",
        DomainName = new Nsxt.Inputs.PolicyContextProfileDomainNameArgs
        {
            Values = new[]
            {
                "string",
            },
            Description = "string",
        },
        NsxId = "string",
        PolicyContextProfileId = "string",
        Tags = new[]
        {
            new Nsxt.Inputs.PolicyContextProfileTagArgs
            {
                Scope = "string",
                Tag = "string",
            },
        },
        UrlCategory = new Nsxt.Inputs.PolicyContextProfileUrlCategoryArgs
        {
            Values = new[]
            {
                "string",
            },
            Description = "string",
        },
    });
    
    example, err := nsxt.NewPolicyContextProfile(ctx, "policyContextProfileResource", &nsxt.PolicyContextProfileArgs{
    	DisplayName: pulumi.String("string"),
    	AppIds: nsxt.PolicyContextProfileAppIdArray{
    		&nsxt.PolicyContextProfileAppIdArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Description: pulumi.String("string"),
    			IsAlgType:   pulumi.Bool(false),
    			SubAttribute: &nsxt.PolicyContextProfileAppIdSubAttributeArgs{
    				CifsSmbVersions: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				TlsCipherSuites: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				TlsVersions: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Context: &nsxt.PolicyContextProfileContextArgs{
    		ProjectId: pulumi.String("string"),
    	},
    	CustomUrl: &nsxt.PolicyContextProfileCustomUrlArgs{
    		Values: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		CustomUrlPartialMatch: pulumi.Bool(false),
    		Description:           pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DomainName: &nsxt.PolicyContextProfileDomainNameArgs{
    		Values: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Description: pulumi.String("string"),
    	},
    	NsxId:                  pulumi.String("string"),
    	PolicyContextProfileId: pulumi.String("string"),
    	Tags: nsxt.PolicyContextProfileTagArray{
    		&nsxt.PolicyContextProfileTagArgs{
    			Scope: pulumi.String("string"),
    			Tag:   pulumi.String("string"),
    		},
    	},
    	UrlCategory: &nsxt.PolicyContextProfileUrlCategoryArgs{
    		Values: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Description: pulumi.String("string"),
    	},
    })
    
    var policyContextProfileResource = new PolicyContextProfile("policyContextProfileResource", PolicyContextProfileArgs.builder()
        .displayName("string")
        .appIds(PolicyContextProfileAppIdArgs.builder()
            .values("string")
            .description("string")
            .isAlgType(false)
            .subAttribute(PolicyContextProfileAppIdSubAttributeArgs.builder()
                .cifsSmbVersions("string")
                .tlsCipherSuites("string")
                .tlsVersions("string")
                .build())
            .build())
        .context(PolicyContextProfileContextArgs.builder()
            .projectId("string")
            .build())
        .customUrl(PolicyContextProfileCustomUrlArgs.builder()
            .values("string")
            .customUrlPartialMatch(false)
            .description("string")
            .build())
        .description("string")
        .domainName(PolicyContextProfileDomainNameArgs.builder()
            .values("string")
            .description("string")
            .build())
        .nsxId("string")
        .policyContextProfileId("string")
        .tags(PolicyContextProfileTagArgs.builder()
            .scope("string")
            .tag("string")
            .build())
        .urlCategory(PolicyContextProfileUrlCategoryArgs.builder()
            .values("string")
            .description("string")
            .build())
        .build());
    
    policy_context_profile_resource = nsxt.PolicyContextProfile("policyContextProfileResource",
        display_name="string",
        app_ids=[{
            "values": ["string"],
            "description": "string",
            "is_alg_type": False,
            "sub_attribute": {
                "cifs_smb_versions": ["string"],
                "tls_cipher_suites": ["string"],
                "tls_versions": ["string"],
            },
        }],
        context={
            "project_id": "string",
        },
        custom_url={
            "values": ["string"],
            "custom_url_partial_match": False,
            "description": "string",
        },
        description="string",
        domain_name={
            "values": ["string"],
            "description": "string",
        },
        nsx_id="string",
        policy_context_profile_id="string",
        tags=[{
            "scope": "string",
            "tag": "string",
        }],
        url_category={
            "values": ["string"],
            "description": "string",
        })
    
    const policyContextProfileResource = new nsxt.PolicyContextProfile("policyContextProfileResource", {
        displayName: "string",
        appIds: [{
            values: ["string"],
            description: "string",
            isAlgType: false,
            subAttribute: {
                cifsSmbVersions: ["string"],
                tlsCipherSuites: ["string"],
                tlsVersions: ["string"],
            },
        }],
        context: {
            projectId: "string",
        },
        customUrl: {
            values: ["string"],
            customUrlPartialMatch: false,
            description: "string",
        },
        description: "string",
        domainName: {
            values: ["string"],
            description: "string",
        },
        nsxId: "string",
        policyContextProfileId: "string",
        tags: [{
            scope: "string",
            tag: "string",
        }],
        urlCategory: {
            values: ["string"],
            description: "string",
        },
    });
    
    type: nsxt:PolicyContextProfile
    properties:
        appIds:
            - description: string
              isAlgType: false
              subAttribute:
                cifsSmbVersions:
                    - string
                tlsCipherSuites:
                    - string
                tlsVersions:
                    - string
              values:
                - string
        context:
            projectId: string
        customUrl:
            customUrlPartialMatch: false
            description: string
            values:
                - string
        description: string
        displayName: string
        domainName:
            description: string
            values:
                - string
        nsxId: string
        policyContextProfileId: string
        tags:
            - scope: string
              tag: string
        urlCategory:
            description: string
            values:
                - string
    

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

    DisplayName string
    Display name of the resource.
    AppIds List<PolicyContextProfileAppId>
    A block to specify app id attributes for the context profile. Only one block is allowed.
    Context PolicyContextProfileContext
    The context which the object belongs to
    CustomUrl PolicyContextProfileCustomUrl
    A block to specify custom URL attributes for the context profile. Only one block is allowed.
    Description string
    Description of the resource.
    DomainName PolicyContextProfileDomainName
    A block to specify domain name (FQDN) attributes for the context profile. Only one block is allowed.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PolicyContextProfileId string
    ID of the resource.
    Tags List<PolicyContextProfileTag>
    A list of scope + tag pairs to associate with this resource.
    UrlCategory PolicyContextProfileUrlCategory
    A block to specify url category attributes for the context profile. Only one block is allowed.
    DisplayName string
    Display name of the resource.
    AppIds []PolicyContextProfileAppIdArgs
    A block to specify app id attributes for the context profile. Only one block is allowed.
    Context PolicyContextProfileContextArgs
    The context which the object belongs to
    CustomUrl PolicyContextProfileCustomUrlArgs
    A block to specify custom URL attributes for the context profile. Only one block is allowed.
    Description string
    Description of the resource.
    DomainName PolicyContextProfileDomainNameArgs
    A block to specify domain name (FQDN) attributes for the context profile. Only one block is allowed.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PolicyContextProfileId string
    ID of the resource.
    Tags []PolicyContextProfileTagArgs
    A list of scope + tag pairs to associate with this resource.
    UrlCategory PolicyContextProfileUrlCategoryArgs
    A block to specify url category attributes for the context profile. Only one block is allowed.
    displayName String
    Display name of the resource.
    appIds List<PolicyContextProfileAppId>
    A block to specify app id attributes for the context profile. Only one block is allowed.
    context PolicyContextProfileContext
    The context which the object belongs to
    customUrl PolicyContextProfileCustomUrl
    A block to specify custom URL attributes for the context profile. Only one block is allowed.
    description String
    Description of the resource.
    domainName PolicyContextProfileDomainName
    A block to specify domain name (FQDN) attributes for the context profile. Only one block is allowed.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyContextProfileId String
    ID of the resource.
    tags List<PolicyContextProfileTag>
    A list of scope + tag pairs to associate with this resource.
    urlCategory PolicyContextProfileUrlCategory
    A block to specify url category attributes for the context profile. Only one block is allowed.
    displayName string
    Display name of the resource.
    appIds PolicyContextProfileAppId[]
    A block to specify app id attributes for the context profile. Only one block is allowed.
    context PolicyContextProfileContext
    The context which the object belongs to
    customUrl PolicyContextProfileCustomUrl
    A block to specify custom URL attributes for the context profile. Only one block is allowed.
    description string
    Description of the resource.
    domainName PolicyContextProfileDomainName
    A block to specify domain name (FQDN) attributes for the context profile. Only one block is allowed.
    nsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyContextProfileId string
    ID of the resource.
    tags PolicyContextProfileTag[]
    A list of scope + tag pairs to associate with this resource.
    urlCategory PolicyContextProfileUrlCategory
    A block to specify url category attributes for the context profile. Only one block is allowed.
    display_name str
    Display name of the resource.
    app_ids Sequence[PolicyContextProfileAppIdArgs]
    A block to specify app id attributes for the context profile. Only one block is allowed.
    context PolicyContextProfileContextArgs
    The context which the object belongs to
    custom_url PolicyContextProfileCustomUrlArgs
    A block to specify custom URL attributes for the context profile. Only one block is allowed.
    description str
    Description of the resource.
    domain_name PolicyContextProfileDomainNameArgs
    A block to specify domain name (FQDN) attributes for the context profile. Only one block is allowed.
    nsx_id str
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policy_context_profile_id str
    ID of the resource.
    tags Sequence[PolicyContextProfileTagArgs]
    A list of scope + tag pairs to associate with this resource.
    url_category PolicyContextProfileUrlCategoryArgs
    A block to specify url category attributes for the context profile. Only one block is allowed.
    displayName String
    Display name of the resource.
    appIds List<Property Map>
    A block to specify app id attributes for the context profile. Only one block is allowed.
    context Property Map
    The context which the object belongs to
    customUrl Property Map
    A block to specify custom URL attributes for the context profile. Only one block is allowed.
    description String
    Description of the resource.
    domainName Property Map
    A block to specify domain name (FQDN) attributes for the context profile. Only one block is allowed.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyContextProfileId String
    ID of the resource.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this resource.
    urlCategory Property Map
    A block to specify url category attributes for the context profile. Only one block is allowed.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PolicyContextProfile 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 PolicyContextProfile Resource

    Get an existing PolicyContextProfile 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?: PolicyContextProfileState, opts?: CustomResourceOptions): PolicyContextProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_ids: Optional[Sequence[PolicyContextProfileAppIdArgs]] = None,
            context: Optional[PolicyContextProfileContextArgs] = None,
            custom_url: Optional[PolicyContextProfileCustomUrlArgs] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            domain_name: Optional[PolicyContextProfileDomainNameArgs] = None,
            nsx_id: Optional[str] = None,
            path: Optional[str] = None,
            policy_context_profile_id: Optional[str] = None,
            revision: Optional[float] = None,
            tags: Optional[Sequence[PolicyContextProfileTagArgs]] = None,
            url_category: Optional[PolicyContextProfileUrlCategoryArgs] = None) -> PolicyContextProfile
    func GetPolicyContextProfile(ctx *Context, name string, id IDInput, state *PolicyContextProfileState, opts ...ResourceOption) (*PolicyContextProfile, error)
    public static PolicyContextProfile Get(string name, Input<string> id, PolicyContextProfileState? state, CustomResourceOptions? opts = null)
    public static PolicyContextProfile get(String name, Output<String> id, PolicyContextProfileState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:PolicyContextProfile    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:
    AppIds List<PolicyContextProfileAppId>
    A block to specify app id attributes for the context profile. Only one block is allowed.
    Context PolicyContextProfileContext
    The context which the object belongs to
    CustomUrl PolicyContextProfileCustomUrl
    A block to specify custom URL attributes for the context profile. Only one block is allowed.
    Description string
    Description of the resource.
    DisplayName string
    Display name of the resource.
    DomainName PolicyContextProfileDomainName
    A block to specify domain name (FQDN) attributes for the context profile. Only one block is allowed.
    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.
    PolicyContextProfileId 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.
    Tags List<PolicyContextProfileTag>
    A list of scope + tag pairs to associate with this resource.
    UrlCategory PolicyContextProfileUrlCategory
    A block to specify url category attributes for the context profile. Only one block is allowed.
    AppIds []PolicyContextProfileAppIdArgs
    A block to specify app id attributes for the context profile. Only one block is allowed.
    Context PolicyContextProfileContextArgs
    The context which the object belongs to
    CustomUrl PolicyContextProfileCustomUrlArgs
    A block to specify custom URL attributes for the context profile. Only one block is allowed.
    Description string
    Description of the resource.
    DisplayName string
    Display name of the resource.
    DomainName PolicyContextProfileDomainNameArgs
    A block to specify domain name (FQDN) attributes for the context profile. Only one block is allowed.
    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.
    PolicyContextProfileId 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.
    Tags []PolicyContextProfileTagArgs
    A list of scope + tag pairs to associate with this resource.
    UrlCategory PolicyContextProfileUrlCategoryArgs
    A block to specify url category attributes for the context profile. Only one block is allowed.
    appIds List<PolicyContextProfileAppId>
    A block to specify app id attributes for the context profile. Only one block is allowed.
    context PolicyContextProfileContext
    The context which the object belongs to
    customUrl PolicyContextProfileCustomUrl
    A block to specify custom URL attributes for the context profile. Only one block is allowed.
    description String
    Description of the resource.
    displayName String
    Display name of the resource.
    domainName PolicyContextProfileDomainName
    A block to specify domain name (FQDN) attributes for the context profile. Only one block is allowed.
    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.
    policyContextProfileId 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.
    tags List<PolicyContextProfileTag>
    A list of scope + tag pairs to associate with this resource.
    urlCategory PolicyContextProfileUrlCategory
    A block to specify url category attributes for the context profile. Only one block is allowed.
    appIds PolicyContextProfileAppId[]
    A block to specify app id attributes for the context profile. Only one block is allowed.
    context PolicyContextProfileContext
    The context which the object belongs to
    customUrl PolicyContextProfileCustomUrl
    A block to specify custom URL attributes for the context profile. Only one block is allowed.
    description string
    Description of the resource.
    displayName string
    Display name of the resource.
    domainName PolicyContextProfileDomainName
    A block to specify domain name (FQDN) attributes for the context profile. Only one block is allowed.
    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.
    policyContextProfileId 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.
    tags PolicyContextProfileTag[]
    A list of scope + tag pairs to associate with this resource.
    urlCategory PolicyContextProfileUrlCategory
    A block to specify url category attributes for the context profile. Only one block is allowed.
    app_ids Sequence[PolicyContextProfileAppIdArgs]
    A block to specify app id attributes for the context profile. Only one block is allowed.
    context PolicyContextProfileContextArgs
    The context which the object belongs to
    custom_url PolicyContextProfileCustomUrlArgs
    A block to specify custom URL attributes for the context profile. Only one block is allowed.
    description str
    Description of the resource.
    display_name str
    Display name of the resource.
    domain_name PolicyContextProfileDomainNameArgs
    A block to specify domain name (FQDN) attributes for the context profile. Only one block is allowed.
    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.
    policy_context_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.
    tags Sequence[PolicyContextProfileTagArgs]
    A list of scope + tag pairs to associate with this resource.
    url_category PolicyContextProfileUrlCategoryArgs
    A block to specify url category attributes for the context profile. Only one block is allowed.
    appIds List<Property Map>
    A block to specify app id attributes for the context profile. Only one block is allowed.
    context Property Map
    The context which the object belongs to
    customUrl Property Map
    A block to specify custom URL attributes for the context profile. Only one block is allowed.
    description String
    Description of the resource.
    displayName String
    Display name of the resource.
    domainName Property Map
    A block to specify domain name (FQDN) attributes for the context profile. Only one block is allowed.
    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.
    policyContextProfileId 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.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this resource.
    urlCategory Property Map
    A block to specify url category attributes for the context profile. Only one block is allowed.

    Supporting Types

    PolicyContextProfileAppId, PolicyContextProfileAppIdArgs

    Values List<string>
    A list of string indicating values for the app_id. Must be a subset of valid values for app_id on NSX.
    Description string
    Description of the attribute.
    IsAlgType bool
    Describes whether the APP_ID value is ALG type or not.
    SubAttribute PolicyContextProfileAppIdSubAttribute
    A block to specify sub attribute for the app_id. Only one block is allowed.
    Values []string
    A list of string indicating values for the app_id. Must be a subset of valid values for app_id on NSX.
    Description string
    Description of the attribute.
    IsAlgType bool
    Describes whether the APP_ID value is ALG type or not.
    SubAttribute PolicyContextProfileAppIdSubAttribute
    A block to specify sub attribute for the app_id. Only one block is allowed.
    values List<String>
    A list of string indicating values for the app_id. Must be a subset of valid values for app_id on NSX.
    description String
    Description of the attribute.
    isAlgType Boolean
    Describes whether the APP_ID value is ALG type or not.
    subAttribute PolicyContextProfileAppIdSubAttribute
    A block to specify sub attribute for the app_id. Only one block is allowed.
    values string[]
    A list of string indicating values for the app_id. Must be a subset of valid values for app_id on NSX.
    description string
    Description of the attribute.
    isAlgType boolean
    Describes whether the APP_ID value is ALG type or not.
    subAttribute PolicyContextProfileAppIdSubAttribute
    A block to specify sub attribute for the app_id. Only one block is allowed.
    values Sequence[str]
    A list of string indicating values for the app_id. Must be a subset of valid values for app_id on NSX.
    description str
    Description of the attribute.
    is_alg_type bool
    Describes whether the APP_ID value is ALG type or not.
    sub_attribute PolicyContextProfileAppIdSubAttribute
    A block to specify sub attribute for the app_id. Only one block is allowed.
    values List<String>
    A list of string indicating values for the app_id. Must be a subset of valid values for app_id on NSX.
    description String
    Description of the attribute.
    isAlgType Boolean
    Describes whether the APP_ID value is ALG type or not.
    subAttribute Property Map
    A block to specify sub attribute for the app_id. Only one block is allowed.

    PolicyContextProfileAppIdSubAttribute, PolicyContextProfileAppIdSubAttributeArgs

    CifsSmbVersions List<string>
    A list of string indicating values for cifs_smb_version, only applicable to CIFS.
    TlsCipherSuites List<string>
    A list of string indicating values for tls_cipher_suite, only applicable to SSL.
    TlsVersions List<string>
    A list of string indicating values for tls_version, only applicable to SSL.
    CifsSmbVersions []string
    A list of string indicating values for cifs_smb_version, only applicable to CIFS.
    TlsCipherSuites []string
    A list of string indicating values for tls_cipher_suite, only applicable to SSL.
    TlsVersions []string
    A list of string indicating values for tls_version, only applicable to SSL.
    cifsSmbVersions List<String>
    A list of string indicating values for cifs_smb_version, only applicable to CIFS.
    tlsCipherSuites List<String>
    A list of string indicating values for tls_cipher_suite, only applicable to SSL.
    tlsVersions List<String>
    A list of string indicating values for tls_version, only applicable to SSL.
    cifsSmbVersions string[]
    A list of string indicating values for cifs_smb_version, only applicable to CIFS.
    tlsCipherSuites string[]
    A list of string indicating values for tls_cipher_suite, only applicable to SSL.
    tlsVersions string[]
    A list of string indicating values for tls_version, only applicable to SSL.
    cifs_smb_versions Sequence[str]
    A list of string indicating values for cifs_smb_version, only applicable to CIFS.
    tls_cipher_suites Sequence[str]
    A list of string indicating values for tls_cipher_suite, only applicable to SSL.
    tls_versions Sequence[str]
    A list of string indicating values for tls_version, only applicable to SSL.
    cifsSmbVersions List<String>
    A list of string indicating values for cifs_smb_version, only applicable to CIFS.
    tlsCipherSuites List<String>
    A list of string indicating values for tls_cipher_suite, only applicable to SSL.
    tlsVersions List<String>
    A list of string indicating values for tls_version, only applicable to SSL.

    PolicyContextProfileContext, PolicyContextProfileContextArgs

    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

    PolicyContextProfileCustomUrl, PolicyContextProfileCustomUrlArgs

    Values List<string>
    A list of string indicating values for the custom_url. Must be a subset of valid values for custom_url on NSX.
    CustomUrlPartialMatch bool
    True value for this flag will be treated as a partial match for custom url. Attribute is supported with NSX version 4.0.0 and above.
    Description string
    Description of the attribute.
    Values []string
    A list of string indicating values for the custom_url. Must be a subset of valid values for custom_url on NSX.
    CustomUrlPartialMatch bool
    True value for this flag will be treated as a partial match for custom url. Attribute is supported with NSX version 4.0.0 and above.
    Description string
    Description of the attribute.
    values List<String>
    A list of string indicating values for the custom_url. Must be a subset of valid values for custom_url on NSX.
    customUrlPartialMatch Boolean
    True value for this flag will be treated as a partial match for custom url. Attribute is supported with NSX version 4.0.0 and above.
    description String
    Description of the attribute.
    values string[]
    A list of string indicating values for the custom_url. Must be a subset of valid values for custom_url on NSX.
    customUrlPartialMatch boolean
    True value for this flag will be treated as a partial match for custom url. Attribute is supported with NSX version 4.0.0 and above.
    description string
    Description of the attribute.
    values Sequence[str]
    A list of string indicating values for the custom_url. Must be a subset of valid values for custom_url on NSX.
    custom_url_partial_match bool
    True value for this flag will be treated as a partial match for custom url. Attribute is supported with NSX version 4.0.0 and above.
    description str
    Description of the attribute.
    values List<String>
    A list of string indicating values for the custom_url. Must be a subset of valid values for custom_url on NSX.
    customUrlPartialMatch Boolean
    True value for this flag will be treated as a partial match for custom url. Attribute is supported with NSX version 4.0.0 and above.
    description String
    Description of the attribute.

    PolicyContextProfileDomainName, PolicyContextProfileDomainNameArgs

    Values List<string>
    A list of string indicating values for the domain_name. Must be a subset of valid values for domain_name on NSX.
    Description string
    Description of the attribute.
    Values []string
    A list of string indicating values for the domain_name. Must be a subset of valid values for domain_name on NSX.
    Description string
    Description of the attribute.
    values List<String>
    A list of string indicating values for the domain_name. Must be a subset of valid values for domain_name on NSX.
    description String
    Description of the attribute.
    values string[]
    A list of string indicating values for the domain_name. Must be a subset of valid values for domain_name on NSX.
    description string
    Description of the attribute.
    values Sequence[str]
    A list of string indicating values for the domain_name. Must be a subset of valid values for domain_name on NSX.
    description str
    Description of the attribute.
    values List<String>
    A list of string indicating values for the domain_name. Must be a subset of valid values for domain_name on NSX.
    description String
    Description of the attribute.

    PolicyContextProfileTag, PolicyContextProfileTagArgs

    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.

    PolicyContextProfileUrlCategory, PolicyContextProfileUrlCategoryArgs

    Values List<string>
    A list of string indicating values for the url_category. Must be a subset of valid values for url_category on NSX.
    Description string
    Description of the attribute.
    Values []string
    A list of string indicating values for the url_category. Must be a subset of valid values for url_category on NSX.
    Description string
    Description of the attribute.
    values List<String>
    A list of string indicating values for the url_category. Must be a subset of valid values for url_category on NSX.
    description String
    Description of the attribute.
    values string[]
    A list of string indicating values for the url_category. Must be a subset of valid values for url_category on NSX.
    description string
    Description of the attribute.
    values Sequence[str]
    A list of string indicating values for the url_category. Must be a subset of valid values for url_category on NSX.
    description str
    Description of the attribute.
    values List<String>
    A list of string indicating values for the url_category. Must be a subset of valid values for url_category on NSX.
    description String
    Description of the attribute.

    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