nsxt.PolicyL7AccessProfile
Explore with Pulumi AI
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:
- Default
Action string - The action to be applied to all the services. Valid values are
ALLOW
,REJECT
,REJECT_WITH_RESPONSE
. - Display
Name string - Display name of the resource.
- Context
Policy
L7Access Profile Context - The context which the object belongs to
- Default
Action boolLogged - Flag to activate packet logging. Default is deactivated.
- Description string
- Description of the resource.
- L7Access
Entries List<PolicyL7Access Profile L7Access Entry> - Property containing L7 access entries for Policy L7 Access Profile.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
L7Access stringProfile Id - ID of the resource.
- List<Policy
L7Access Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Default
Action string - The action to be applied to all the services. Valid values are
ALLOW
,REJECT
,REJECT_WITH_RESPONSE
. - Display
Name string - Display name of the resource.
- Context
Policy
L7Access Profile Context Args - The context which the object belongs to
- Default
Action boolLogged - Flag to activate packet logging. Default is deactivated.
- Description string
- Description of the resource.
- L7Access
Entries []PolicyL7Access Profile L7Access Entry Args - Property containing L7 access entries for Policy L7 Access Profile.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
L7Access stringProfile Id - ID of the resource.
- []Policy
L7Access Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- default
Action String - The action to be applied to all the services. Valid values are
ALLOW
,REJECT
,REJECT_WITH_RESPONSE
. - display
Name String - Display name of the resource.
- context
Policy
L7Access Profile Context - The context which the object belongs to
- default
Action BooleanLogged - Flag to activate packet logging. Default is deactivated.
- description String
- Description of the resource.
- l7Access
Entries List<PolicyL7Access Profile L7Access Entry> - Property containing L7 access entries for Policy L7 Access Profile.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
L7Access StringProfile Id - ID of the resource.
- List<Policy
L7Access Profile Tag> - A list of scope + tag pairs to associate with this resource.
- default
Action string - The action to be applied to all the services. Valid values are
ALLOW
,REJECT
,REJECT_WITH_RESPONSE
. - display
Name string - Display name of the resource.
- context
Policy
L7Access Profile Context - The context which the object belongs to
- default
Action booleanLogged - Flag to activate packet logging. Default is deactivated.
- description string
- Description of the resource.
- l7Access
Entries PolicyL7Access Profile L7Access Entry[] - Property containing L7 access entries for Policy L7 Access Profile.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
L7Access stringProfile Id - ID of the resource.
- Policy
L7Access Profile Tag[] - 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
Policy
L7Access Profile Context Args - The context which the object belongs to
- default_
action_ boollogged - Flag to activate packet logging. Default is deactivated.
- description str
- Description of the resource.
- l7_
access_ Sequence[Policyentries L7Access Profile L7Access Entry Args] - 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_ straccess_ profile_ id - ID of the resource.
- Sequence[Policy
L7Access Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- default
Action String - The action to be applied to all the services. Valid values are
ALLOW
,REJECT
,REJECT_WITH_RESPONSE
. - display
Name String - Display name of the resource.
- context Property Map
- The context which the object belongs to
- default
Action BooleanLogged - Flag to activate packet logging. Default is deactivated.
- description String
- Description of the resource.
- l7Access
Entries List<Property Map> - Property containing L7 access entries for Policy L7 Access Profile.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
L7Access StringProfile Id - ID of the resource.
- 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:
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.
- Context
Policy
L7Access Profile Context - The context which the object belongs to
- Default
Action string - The action to be applied to all the services. Valid values are
ALLOW
,REJECT
,REJECT_WITH_RESPONSE
. - Default
Action boolLogged - Flag to activate packet logging. Default is deactivated.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- L7Access
Entries List<PolicyL7Access Profile L7Access Entry> - Property containing L7 access entries for Policy L7 Access Profile.
- Nsx
Id 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.
- Policy
L7Access stringProfile Id - 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.
- List<Policy
L7Access Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Context
Policy
L7Access Profile Context Args - The context which the object belongs to
- Default
Action string - The action to be applied to all the services. Valid values are
ALLOW
,REJECT
,REJECT_WITH_RESPONSE
. - Default
Action boolLogged - Flag to activate packet logging. Default is deactivated.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- L7Access
Entries []PolicyL7Access Profile L7Access Entry Args - Property containing L7 access entries for Policy L7 Access Profile.
- Nsx
Id 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.
- Policy
L7Access stringProfile Id - 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.
- []Policy
L7Access Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- context
Policy
L7Access Profile Context - The context which the object belongs to
- default
Action String - The action to be applied to all the services. Valid values are
ALLOW
,REJECT
,REJECT_WITH_RESPONSE
. - default
Action BooleanLogged - Flag to activate packet logging. Default is deactivated.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- l7Access
Entries List<PolicyL7Access Profile L7Access Entry> - Property containing L7 access entries for Policy L7 Access Profile.
- nsx
Id 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.
- policy
L7Access StringProfile Id - 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.
- List<Policy
L7Access Profile Tag> - A list of scope + tag pairs to associate with this resource.
- context
Policy
L7Access Profile Context - The context which the object belongs to
- default
Action string - The action to be applied to all the services. Valid values are
ALLOW
,REJECT
,REJECT_WITH_RESPONSE
. - default
Action booleanLogged - Flag to activate packet logging. Default is deactivated.
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- l7Access
Entries PolicyL7Access Profile L7Access Entry[] - Property containing L7 access entries for Policy L7 Access Profile.
- nsx
Id 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.
- policy
L7Access stringProfile Id - 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.
- Policy
L7Access Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- context
Policy
L7Access Profile Context Args - 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_ boollogged - Flag to activate packet logging. Default is deactivated.
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- l7_
access_ Sequence[Policyentries L7Access Profile L7Access Entry Args] - 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_ straccess_ profile_ id - 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.
- Sequence[Policy
L7Access Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- context Property Map
- The context which the object belongs to
- default
Action String - The action to be applied to all the services. Valid values are
ALLOW
,REJECT
,REJECT_WITH_RESPONSE
. - default
Action BooleanLogged - Flag to activate packet logging. Default is deactivated.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- l7Access
Entries List<Property Map> - Property containing L7 access entries for Policy L7 Access Profile.
- nsx
Id 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.
- policy
L7Access StringProfile Id - 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.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyL7AccessProfileContext, PolicyL7AccessProfileContextArgs
- Project
Id string - The ID of the project which the object belongs to
- Project
Id string - The ID of the project which the object belongs to
- project
Id String - The ID of the project which the object belongs to
- project
Id string - The ID of the project which the object belongs to
- project_
id str - The ID of the project which the object belongs to
- project
Id 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
Policy
L7Access Profile L7Access Entry Attribute - 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.
- Display
Name string - Display name of the L7 access entry.
- Logged bool
- Flag to activate packet logging. Default is deactivated.
- Nsx
Id 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.
- Sequence
Number 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
Policy
L7Access Profile L7Access Entry Attribute - 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.
- Display
Name string - Display name of the L7 access entry.
- Logged bool
- Flag to activate packet logging. Default is deactivated.
- Nsx
Id 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.
- Sequence
Number 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
Policy
L7Access Profile L7Access Entry Attribute - 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.
- display
Name String - Display name of the L7 access entry.
- logged Boolean
- Flag to activate packet logging. Default is deactivated.
- nsx
Id 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.
- sequence
Number 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
Policy
L7Access Profile L7Access Entry Attribute - 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.
- display
Name string - Display name of the L7 access entry.
- logged boolean
- Flag to activate packet logging. Default is deactivated.
- nsx
Id 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.
- sequence
Number 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
Policy
L7Access Profile L7Access Entry Attribute - 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.
- display
Name String - Display name of the L7 access entry.
- logged Boolean
- Flag to activate packet logging. Default is deactivated.
- nsx
Id 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.
- sequence
Number 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.
- Attribute
Source string - Source of attribute value i.e whether system defined or custom value. Valid values are
SYSTEM
,CUSTOM
. - Custom
Url boolPartial Match - True value for this flag will be treated as a partial match for custom url.
- Description string
- Description for attribute value.
- Is
Alg boolType - Is the value ALG type
- Metadatas
List<Policy
L7Access Profile L7Access Entry Attribute Metadata> - 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 List<PolicyL7Access Profile L7Access Entry Attribute Sub Attribute> - 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.
- Attribute
Source string - Source of attribute value i.e whether system defined or custom value. Valid values are
SYSTEM
,CUSTOM
. - Custom
Url boolPartial Match - True value for this flag will be treated as a partial match for custom url.
- Description string
- Description for attribute value.
- Is
Alg boolType - Is the value ALG type
- Metadatas
[]Policy
L7Access Profile L7Access Entry Attribute Metadata - 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 []PolicyL7Access Profile L7Access Entry Attribute Sub Attribute - 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.
- attribute
Source String - Source of attribute value i.e whether system defined or custom value. Valid values are
SYSTEM
,CUSTOM
. - custom
Url BooleanPartial Match - True value for this flag will be treated as a partial match for custom url.
- description String
- Description for attribute value.
- is
Alg BooleanType - Is the value ALG type
- metadatas
List<Policy
L7Access Profile L7Access Entry Attribute Metadata> - 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 List<PolicyL7Access Profile L7Access Entry Attribute Sub Attribute> - 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.
- attribute
Source string - Source of attribute value i.e whether system defined or custom value. Valid values are
SYSTEM
,CUSTOM
. - custom
Url booleanPartial Match - True value for this flag will be treated as a partial match for custom url.
- description string
- Description for attribute value.
- is
Alg booleanType - Is the value ALG type
- metadatas
Policy
L7Access Profile L7Access Entry Attribute Metadata[] - 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 PolicyL7Access Profile L7Access Entry Attribute Sub Attribute[] - 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_ boolpartial_ match - True value for this flag will be treated as a partial match for custom url.
- description str
- Description for attribute value.
- is_
alg_ booltype - Is the value ALG type
- metadatas
Sequence[Policy
L7Access Profile L7Access Entry Attribute Metadata] - 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[PolicyL7Access Profile L7Access Entry Attribute Sub Attribute] - 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.
- attribute
Source String - Source of attribute value i.e whether system defined or custom value. Valid values are
SYSTEM
,CUSTOM
. - custom
Url BooleanPartial Match - True value for this flag will be treated as a partial match for custom url.
- description String
- Description for attribute value.
- is
Alg BooleanType - 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
- sub
Attributes List<Property Map> - Reference to sub attributes for the attribute
PolicyL7AccessProfileL7AccessEntryAttributeMetadata, PolicyL7AccessProfileL7AccessEntryAttributeMetadataArgs
PolicyL7AccessProfileL7AccessEntryAttributeSubAttribute, PolicyL7AccessProfileL7AccessEntryAttributeSubAttributeArgs
PolicyL7AccessProfileTag, PolicyL7AccessProfileTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.