Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix
aviatrix.AviatrixFqdn
Explore with Pulumi AI
Import
fqdn can be imported using the fqdn_tag
, e.g.
$ pulumi import aviatrix:index/aviatrixFqdn:AviatrixFqdn test fqdn_tag
Create AviatrixFqdn Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixFqdn(name: string, args: AviatrixFqdnArgs, opts?: CustomResourceOptions);
@overload
def AviatrixFqdn(resource_name: str,
args: AviatrixFqdnArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixFqdn(resource_name: str,
opts: Optional[ResourceOptions] = None,
fqdn_tag: Optional[str] = None,
domain_names: Optional[Sequence[AviatrixFqdnDomainNameArgs]] = None,
fqdn_enabled: Optional[bool] = None,
fqdn_mode: Optional[str] = None,
gw_filter_tag_lists: Optional[Sequence[AviatrixFqdnGwFilterTagListArgs]] = None,
manage_domain_names: Optional[bool] = None)
func NewAviatrixFqdn(ctx *Context, name string, args AviatrixFqdnArgs, opts ...ResourceOption) (*AviatrixFqdn, error)
public AviatrixFqdn(string name, AviatrixFqdnArgs args, CustomResourceOptions? opts = null)
public AviatrixFqdn(String name, AviatrixFqdnArgs args)
public AviatrixFqdn(String name, AviatrixFqdnArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixFqdn
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 AviatrixFqdnArgs
- 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 AviatrixFqdnArgs
- 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 AviatrixFqdnArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AviatrixFqdnArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AviatrixFqdnArgs
- 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 aviatrixFqdnResource = new Aviatrix.AviatrixFqdn("aviatrixFqdnResource", new()
{
FqdnTag = "string",
DomainNames = new[]
{
new Aviatrix.Inputs.AviatrixFqdnDomainNameArgs
{
Fqdn = "string",
Port = "string",
Proto = "string",
Action = "string",
},
},
FqdnEnabled = false,
FqdnMode = "string",
GwFilterTagLists = new[]
{
new Aviatrix.Inputs.AviatrixFqdnGwFilterTagListArgs
{
GwName = "string",
SourceIpLists = new[]
{
"string",
},
},
},
ManageDomainNames = false,
});
example, err := aviatrix.NewAviatrixFqdn(ctx, "aviatrixFqdnResource", &aviatrix.AviatrixFqdnArgs{
FqdnTag: pulumi.String("string"),
DomainNames: aviatrix.AviatrixFqdnDomainNameArray{
&aviatrix.AviatrixFqdnDomainNameArgs{
Fqdn: pulumi.String("string"),
Port: pulumi.String("string"),
Proto: pulumi.String("string"),
Action: pulumi.String("string"),
},
},
FqdnEnabled: pulumi.Bool(false),
FqdnMode: pulumi.String("string"),
GwFilterTagLists: aviatrix.AviatrixFqdnGwFilterTagListArray{
&aviatrix.AviatrixFqdnGwFilterTagListArgs{
GwName: pulumi.String("string"),
SourceIpLists: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ManageDomainNames: pulumi.Bool(false),
})
var aviatrixFqdnResource = new AviatrixFqdn("aviatrixFqdnResource", AviatrixFqdnArgs.builder()
.fqdnTag("string")
.domainNames(AviatrixFqdnDomainNameArgs.builder()
.fqdn("string")
.port("string")
.proto("string")
.action("string")
.build())
.fqdnEnabled(false)
.fqdnMode("string")
.gwFilterTagLists(AviatrixFqdnGwFilterTagListArgs.builder()
.gwName("string")
.sourceIpLists("string")
.build())
.manageDomainNames(false)
.build());
aviatrix_fqdn_resource = aviatrix.AviatrixFqdn("aviatrixFqdnResource",
fqdn_tag="string",
domain_names=[aviatrix.AviatrixFqdnDomainNameArgs(
fqdn="string",
port="string",
proto="string",
action="string",
)],
fqdn_enabled=False,
fqdn_mode="string",
gw_filter_tag_lists=[aviatrix.AviatrixFqdnGwFilterTagListArgs(
gw_name="string",
source_ip_lists=["string"],
)],
manage_domain_names=False)
const aviatrixFqdnResource = new aviatrix.AviatrixFqdn("aviatrixFqdnResource", {
fqdnTag: "string",
domainNames: [{
fqdn: "string",
port: "string",
proto: "string",
action: "string",
}],
fqdnEnabled: false,
fqdnMode: "string",
gwFilterTagLists: [{
gwName: "string",
sourceIpLists: ["string"],
}],
manageDomainNames: false,
});
type: aviatrix:AviatrixFqdn
properties:
domainNames:
- action: string
fqdn: string
port: string
proto: string
fqdnEnabled: false
fqdnMode: string
fqdnTag: string
gwFilterTagLists:
- gwName: string
sourceIpLists:
- string
manageDomainNames: false
AviatrixFqdn Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AviatrixFqdn resource accepts the following input properties:
- Fqdn
Tag string - FQDN Filter tag name.
- Domain
Names List<AviatrixFqdn Domain Name> - One or more domain names in a list with details as listed below:
- Fqdn
Enabled bool - FQDN Filter tag status. Valid values: true, false.
- Fqdn
Mode string - Specify FQDN mode: whitelist or blacklist. Valid values: "white", "black".
- Gw
Filter List<AviatrixTag Lists Fqdn Gw Filter Tag List> - A list of gateways to attach to the specific tag.
- Manage
Domain boolNames - Enable to manage domain name rules in-line. If false, domain name rules must be managed using
aviatrix.AviatrixFqdnTagRule
resources. Default: true. Valid values: true, false. Available in provider version R2.17+.
- Fqdn
Tag string - FQDN Filter tag name.
- Domain
Names []AviatrixFqdn Domain Name Args - One or more domain names in a list with details as listed below:
- Fqdn
Enabled bool - FQDN Filter tag status. Valid values: true, false.
- Fqdn
Mode string - Specify FQDN mode: whitelist or blacklist. Valid values: "white", "black".
- Gw
Filter []AviatrixTag Lists Fqdn Gw Filter Tag List Args - A list of gateways to attach to the specific tag.
- Manage
Domain boolNames - Enable to manage domain name rules in-line. If false, domain name rules must be managed using
aviatrix.AviatrixFqdnTagRule
resources. Default: true. Valid values: true, false. Available in provider version R2.17+.
- fqdn
Tag String - FQDN Filter tag name.
- domain
Names List<AviatrixFqdn Domain Name> - One or more domain names in a list with details as listed below:
- fqdn
Enabled Boolean - FQDN Filter tag status. Valid values: true, false.
- fqdn
Mode String - Specify FQDN mode: whitelist or blacklist. Valid values: "white", "black".
- gw
Filter List<AviatrixTag Lists Fqdn Gw Filter Tag List> - A list of gateways to attach to the specific tag.
- manage
Domain BooleanNames - Enable to manage domain name rules in-line. If false, domain name rules must be managed using
aviatrix.AviatrixFqdnTagRule
resources. Default: true. Valid values: true, false. Available in provider version R2.17+.
- fqdn
Tag string - FQDN Filter tag name.
- domain
Names AviatrixFqdn Domain Name[] - One or more domain names in a list with details as listed below:
- fqdn
Enabled boolean - FQDN Filter tag status. Valid values: true, false.
- fqdn
Mode string - Specify FQDN mode: whitelist or blacklist. Valid values: "white", "black".
- gw
Filter AviatrixTag Lists Fqdn Gw Filter Tag List[] - A list of gateways to attach to the specific tag.
- manage
Domain booleanNames - Enable to manage domain name rules in-line. If false, domain name rules must be managed using
aviatrix.AviatrixFqdnTagRule
resources. Default: true. Valid values: true, false. Available in provider version R2.17+.
- fqdn_
tag str - FQDN Filter tag name.
- domain_
names Sequence[AviatrixFqdn Domain Name Args] - One or more domain names in a list with details as listed below:
- fqdn_
enabled bool - FQDN Filter tag status. Valid values: true, false.
- fqdn_
mode str - Specify FQDN mode: whitelist or blacklist. Valid values: "white", "black".
- gw_
filter_ Sequence[Aviatrixtag_ lists Fqdn Gw Filter Tag List Args] - A list of gateways to attach to the specific tag.
- manage_
domain_ boolnames - Enable to manage domain name rules in-line. If false, domain name rules must be managed using
aviatrix.AviatrixFqdnTagRule
resources. Default: true. Valid values: true, false. Available in provider version R2.17+.
- fqdn
Tag String - FQDN Filter tag name.
- domain
Names List<Property Map> - One or more domain names in a list with details as listed below:
- fqdn
Enabled Boolean - FQDN Filter tag status. Valid values: true, false.
- fqdn
Mode String - Specify FQDN mode: whitelist or blacklist. Valid values: "white", "black".
- gw
Filter List<Property Map>Tag Lists - A list of gateways to attach to the specific tag.
- manage
Domain BooleanNames - Enable to manage domain name rules in-line. If false, domain name rules must be managed using
aviatrix.AviatrixFqdnTagRule
resources. Default: true. Valid values: true, false. Available in provider version R2.17+.
Outputs
All input properties are implicitly available as output properties. Additionally, the AviatrixFqdn resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AviatrixFqdn Resource
Get an existing AviatrixFqdn 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?: AviatrixFqdnState, opts?: CustomResourceOptions): AviatrixFqdn
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
domain_names: Optional[Sequence[AviatrixFqdnDomainNameArgs]] = None,
fqdn_enabled: Optional[bool] = None,
fqdn_mode: Optional[str] = None,
fqdn_tag: Optional[str] = None,
gw_filter_tag_lists: Optional[Sequence[AviatrixFqdnGwFilterTagListArgs]] = None,
manage_domain_names: Optional[bool] = None) -> AviatrixFqdn
func GetAviatrixFqdn(ctx *Context, name string, id IDInput, state *AviatrixFqdnState, opts ...ResourceOption) (*AviatrixFqdn, error)
public static AviatrixFqdn Get(string name, Input<string> id, AviatrixFqdnState? state, CustomResourceOptions? opts = null)
public static AviatrixFqdn get(String name, Output<String> id, AviatrixFqdnState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Domain
Names List<AviatrixFqdn Domain Name> - One or more domain names in a list with details as listed below:
- Fqdn
Enabled bool - FQDN Filter tag status. Valid values: true, false.
- Fqdn
Mode string - Specify FQDN mode: whitelist or blacklist. Valid values: "white", "black".
- Fqdn
Tag string - FQDN Filter tag name.
- Gw
Filter List<AviatrixTag Lists Fqdn Gw Filter Tag List> - A list of gateways to attach to the specific tag.
- Manage
Domain boolNames - Enable to manage domain name rules in-line. If false, domain name rules must be managed using
aviatrix.AviatrixFqdnTagRule
resources. Default: true. Valid values: true, false. Available in provider version R2.17+.
- Domain
Names []AviatrixFqdn Domain Name Args - One or more domain names in a list with details as listed below:
- Fqdn
Enabled bool - FQDN Filter tag status. Valid values: true, false.
- Fqdn
Mode string - Specify FQDN mode: whitelist or blacklist. Valid values: "white", "black".
- Fqdn
Tag string - FQDN Filter tag name.
- Gw
Filter []AviatrixTag Lists Fqdn Gw Filter Tag List Args - A list of gateways to attach to the specific tag.
- Manage
Domain boolNames - Enable to manage domain name rules in-line. If false, domain name rules must be managed using
aviatrix.AviatrixFqdnTagRule
resources. Default: true. Valid values: true, false. Available in provider version R2.17+.
- domain
Names List<AviatrixFqdn Domain Name> - One or more domain names in a list with details as listed below:
- fqdn
Enabled Boolean - FQDN Filter tag status. Valid values: true, false.
- fqdn
Mode String - Specify FQDN mode: whitelist or blacklist. Valid values: "white", "black".
- fqdn
Tag String - FQDN Filter tag name.
- gw
Filter List<AviatrixTag Lists Fqdn Gw Filter Tag List> - A list of gateways to attach to the specific tag.
- manage
Domain BooleanNames - Enable to manage domain name rules in-line. If false, domain name rules must be managed using
aviatrix.AviatrixFqdnTagRule
resources. Default: true. Valid values: true, false. Available in provider version R2.17+.
- domain
Names AviatrixFqdn Domain Name[] - One or more domain names in a list with details as listed below:
- fqdn
Enabled boolean - FQDN Filter tag status. Valid values: true, false.
- fqdn
Mode string - Specify FQDN mode: whitelist or blacklist. Valid values: "white", "black".
- fqdn
Tag string - FQDN Filter tag name.
- gw
Filter AviatrixTag Lists Fqdn Gw Filter Tag List[] - A list of gateways to attach to the specific tag.
- manage
Domain booleanNames - Enable to manage domain name rules in-line. If false, domain name rules must be managed using
aviatrix.AviatrixFqdnTagRule
resources. Default: true. Valid values: true, false. Available in provider version R2.17+.
- domain_
names Sequence[AviatrixFqdn Domain Name Args] - One or more domain names in a list with details as listed below:
- fqdn_
enabled bool - FQDN Filter tag status. Valid values: true, false.
- fqdn_
mode str - Specify FQDN mode: whitelist or blacklist. Valid values: "white", "black".
- fqdn_
tag str - FQDN Filter tag name.
- gw_
filter_ Sequence[Aviatrixtag_ lists Fqdn Gw Filter Tag List Args] - A list of gateways to attach to the specific tag.
- manage_
domain_ boolnames - Enable to manage domain name rules in-line. If false, domain name rules must be managed using
aviatrix.AviatrixFqdnTagRule
resources. Default: true. Valid values: true, false. Available in provider version R2.17+.
- domain
Names List<Property Map> - One or more domain names in a list with details as listed below:
- fqdn
Enabled Boolean - FQDN Filter tag status. Valid values: true, false.
- fqdn
Mode String - Specify FQDN mode: whitelist or blacklist. Valid values: "white", "black".
- fqdn
Tag String - FQDN Filter tag name.
- gw
Filter List<Property Map>Tag Lists - A list of gateways to attach to the specific tag.
- manage
Domain BooleanNames - Enable to manage domain name rules in-line. If false, domain name rules must be managed using
aviatrix.AviatrixFqdnTagRule
resources. Default: true. Valid values: true, false. Available in provider version R2.17+.
Supporting Types
AviatrixFqdnDomainName, AviatrixFqdnDomainNameArgs
- Fqdn string
- FQDN. Example: "facebook.com".
- Port string
- Port. Example "25".
- Proto string
- Protocol. Valid values: "all", "tcp", "udp", "icmp".
- Action string
- What action should happen to matching requests. Possible values are: 'Base Policy', 'Allow' or 'Deny'. Defaults to 'Base Policy' if no value provided.
- For protocol "all", port must be set to "all".
- For protocol “icmp”, port must be set to “ping”.
- Fqdn string
- FQDN. Example: "facebook.com".
- Port string
- Port. Example "25".
- Proto string
- Protocol. Valid values: "all", "tcp", "udp", "icmp".
- Action string
- What action should happen to matching requests. Possible values are: 'Base Policy', 'Allow' or 'Deny'. Defaults to 'Base Policy' if no value provided.
- For protocol "all", port must be set to "all".
- For protocol “icmp”, port must be set to “ping”.
- fqdn String
- FQDN. Example: "facebook.com".
- port String
- Port. Example "25".
- proto String
- Protocol. Valid values: "all", "tcp", "udp", "icmp".
- action String
- What action should happen to matching requests. Possible values are: 'Base Policy', 'Allow' or 'Deny'. Defaults to 'Base Policy' if no value provided.
- For protocol "all", port must be set to "all".
- For protocol “icmp”, port must be set to “ping”.
- fqdn string
- FQDN. Example: "facebook.com".
- port string
- Port. Example "25".
- proto string
- Protocol. Valid values: "all", "tcp", "udp", "icmp".
- action string
- What action should happen to matching requests. Possible values are: 'Base Policy', 'Allow' or 'Deny'. Defaults to 'Base Policy' if no value provided.
- For protocol "all", port must be set to "all".
- For protocol “icmp”, port must be set to “ping”.
- fqdn str
- FQDN. Example: "facebook.com".
- port str
- Port. Example "25".
- proto str
- Protocol. Valid values: "all", "tcp", "udp", "icmp".
- action str
- What action should happen to matching requests. Possible values are: 'Base Policy', 'Allow' or 'Deny'. Defaults to 'Base Policy' if no value provided.
- For protocol "all", port must be set to "all".
- For protocol “icmp”, port must be set to “ping”.
- fqdn String
- FQDN. Example: "facebook.com".
- port String
- Port. Example "25".
- proto String
- Protocol. Valid values: "all", "tcp", "udp", "icmp".
- action String
- What action should happen to matching requests. Possible values are: 'Base Policy', 'Allow' or 'Deny'. Defaults to 'Base Policy' if no value provided.
- For protocol "all", port must be set to "all".
- For protocol “icmp”, port must be set to “ping”.
AviatrixFqdnGwFilterTagList, AviatrixFqdnGwFilterTagListArgs
- Gw
Name string - Name of the gateway to attach to the specific tag.
- Source
Ip List<string>Lists - List of source IPs in the VPC qualified for a specific tag.
- Gw
Name string - Name of the gateway to attach to the specific tag.
- Source
Ip []stringLists - List of source IPs in the VPC qualified for a specific tag.
- gw
Name String - Name of the gateway to attach to the specific tag.
- source
Ip List<String>Lists - List of source IPs in the VPC qualified for a specific tag.
- gw
Name string - Name of the gateway to attach to the specific tag.
- source
Ip string[]Lists - List of source IPs in the VPC qualified for a specific tag.
- gw_
name str - Name of the gateway to attach to the specific tag.
- source_
ip_ Sequence[str]lists - List of source IPs in the VPC qualified for a specific tag.
- gw
Name String - Name of the gateway to attach to the specific tag.
- source
Ip List<String>Lists - List of source IPs in the VPC qualified for a specific tag.
Package Details
- Repository
- aviatrix astipkovits/pulumi-aviatrix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aviatrix
Terraform Provider.