nsxt.PolicyIpsecVpnLocalEndpoint
Explore with Pulumi AI
Create PolicyIpsecVpnLocalEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyIpsecVpnLocalEndpoint(name: string, args: PolicyIpsecVpnLocalEndpointArgs, opts?: CustomResourceOptions);
@overload
def PolicyIpsecVpnLocalEndpoint(resource_name: str,
args: PolicyIpsecVpnLocalEndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyIpsecVpnLocalEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
local_address: Optional[str] = None,
service_path: Optional[str] = None,
certificate_path: Optional[str] = None,
description: Optional[str] = None,
local_id: Optional[str] = None,
nsx_id: Optional[str] = None,
policy_ipsec_vpn_local_endpoint_id: Optional[str] = None,
tags: Optional[Sequence[PolicyIpsecVpnLocalEndpointTagArgs]] = None,
trust_ca_paths: Optional[Sequence[str]] = None,
trust_crl_paths: Optional[Sequence[str]] = None)
func NewPolicyIpsecVpnLocalEndpoint(ctx *Context, name string, args PolicyIpsecVpnLocalEndpointArgs, opts ...ResourceOption) (*PolicyIpsecVpnLocalEndpoint, error)
public PolicyIpsecVpnLocalEndpoint(string name, PolicyIpsecVpnLocalEndpointArgs args, CustomResourceOptions? opts = null)
public PolicyIpsecVpnLocalEndpoint(String name, PolicyIpsecVpnLocalEndpointArgs args)
public PolicyIpsecVpnLocalEndpoint(String name, PolicyIpsecVpnLocalEndpointArgs args, CustomResourceOptions options)
type: nsxt:PolicyIpsecVpnLocalEndpoint
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 PolicyIpsecVpnLocalEndpointArgs
- 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 PolicyIpsecVpnLocalEndpointArgs
- 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 PolicyIpsecVpnLocalEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyIpsecVpnLocalEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyIpsecVpnLocalEndpointArgs
- 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 policyIpsecVpnLocalEndpointResource = new Nsxt.PolicyIpsecVpnLocalEndpoint("policyIpsecVpnLocalEndpointResource", new()
{
DisplayName = "string",
LocalAddress = "string",
ServicePath = "string",
CertificatePath = "string",
Description = "string",
LocalId = "string",
NsxId = "string",
PolicyIpsecVpnLocalEndpointId = "string",
Tags = new[]
{
new Nsxt.Inputs.PolicyIpsecVpnLocalEndpointTagArgs
{
Scope = "string",
Tag = "string",
},
},
TrustCaPaths = new[]
{
"string",
},
TrustCrlPaths = new[]
{
"string",
},
});
example, err := nsxt.NewPolicyIpsecVpnLocalEndpoint(ctx, "policyIpsecVpnLocalEndpointResource", &nsxt.PolicyIpsecVpnLocalEndpointArgs{
DisplayName: pulumi.String("string"),
LocalAddress: pulumi.String("string"),
ServicePath: pulumi.String("string"),
CertificatePath: pulumi.String("string"),
Description: pulumi.String("string"),
LocalId: pulumi.String("string"),
NsxId: pulumi.String("string"),
PolicyIpsecVpnLocalEndpointId: pulumi.String("string"),
Tags: nsxt.PolicyIpsecVpnLocalEndpointTagArray{
&nsxt.PolicyIpsecVpnLocalEndpointTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
TrustCaPaths: pulumi.StringArray{
pulumi.String("string"),
},
TrustCrlPaths: pulumi.StringArray{
pulumi.String("string"),
},
})
var policyIpsecVpnLocalEndpointResource = new PolicyIpsecVpnLocalEndpoint("policyIpsecVpnLocalEndpointResource", PolicyIpsecVpnLocalEndpointArgs.builder()
.displayName("string")
.localAddress("string")
.servicePath("string")
.certificatePath("string")
.description("string")
.localId("string")
.nsxId("string")
.policyIpsecVpnLocalEndpointId("string")
.tags(PolicyIpsecVpnLocalEndpointTagArgs.builder()
.scope("string")
.tag("string")
.build())
.trustCaPaths("string")
.trustCrlPaths("string")
.build());
policy_ipsec_vpn_local_endpoint_resource = nsxt.PolicyIpsecVpnLocalEndpoint("policyIpsecVpnLocalEndpointResource",
display_name="string",
local_address="string",
service_path="string",
certificate_path="string",
description="string",
local_id="string",
nsx_id="string",
policy_ipsec_vpn_local_endpoint_id="string",
tags=[{
"scope": "string",
"tag": "string",
}],
trust_ca_paths=["string"],
trust_crl_paths=["string"])
const policyIpsecVpnLocalEndpointResource = new nsxt.PolicyIpsecVpnLocalEndpoint("policyIpsecVpnLocalEndpointResource", {
displayName: "string",
localAddress: "string",
servicePath: "string",
certificatePath: "string",
description: "string",
localId: "string",
nsxId: "string",
policyIpsecVpnLocalEndpointId: "string",
tags: [{
scope: "string",
tag: "string",
}],
trustCaPaths: ["string"],
trustCrlPaths: ["string"],
});
type: nsxt:PolicyIpsecVpnLocalEndpoint
properties:
certificatePath: string
description: string
displayName: string
localAddress: string
localId: string
nsxId: string
policyIpsecVpnLocalEndpointId: string
servicePath: string
tags:
- scope: string
tag: string
trustCaPaths:
- string
trustCrlPaths:
- string
PolicyIpsecVpnLocalEndpoint 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 PolicyIpsecVpnLocalEndpoint resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Local
Address string - Local IPv4 IP address.
- Service
Path string - Policy path for IPSec VPN service
- Certificate
Path string - Policy path referencing site certificate.
- Description string
- Description of the resource.
- Local
Id string - Local id for the local endpoint.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Ipsec stringVpn Local Endpoint Id - ID of the resource.
- List<Policy
Ipsec Vpn Local Endpoint Tag> - A list of scope + tag pairs to associate with this resource.
- Trust
Ca List<string>Paths - List of trust ca certificate paths.
- Trust
Crl List<string>Paths - List of trust CRL paths.
- Display
Name string - Display name of the resource.
- Local
Address string - Local IPv4 IP address.
- Service
Path string - Policy path for IPSec VPN service
- Certificate
Path string - Policy path referencing site certificate.
- Description string
- Description of the resource.
- Local
Id string - Local id for the local endpoint.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Ipsec stringVpn Local Endpoint Id - ID of the resource.
- []Policy
Ipsec Vpn Local Endpoint Tag Args - A list of scope + tag pairs to associate with this resource.
- Trust
Ca []stringPaths - List of trust ca certificate paths.
- Trust
Crl []stringPaths - List of trust CRL paths.
- display
Name String - Display name of the resource.
- local
Address String - Local IPv4 IP address.
- service
Path String - Policy path for IPSec VPN service
- certificate
Path String - Policy path referencing site certificate.
- description String
- Description of the resource.
- local
Id String - Local id for the local endpoint.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Ipsec StringVpn Local Endpoint Id - ID of the resource.
- List<Policy
Ipsec Vpn Local Endpoint Tag> - A list of scope + tag pairs to associate with this resource.
- trust
Ca List<String>Paths - List of trust ca certificate paths.
- trust
Crl List<String>Paths - List of trust CRL paths.
- display
Name string - Display name of the resource.
- local
Address string - Local IPv4 IP address.
- service
Path string - Policy path for IPSec VPN service
- certificate
Path string - Policy path referencing site certificate.
- description string
- Description of the resource.
- local
Id string - Local id for the local endpoint.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Ipsec stringVpn Local Endpoint Id - ID of the resource.
- Policy
Ipsec Vpn Local Endpoint Tag[] - A list of scope + tag pairs to associate with this resource.
- trust
Ca string[]Paths - List of trust ca certificate paths.
- trust
Crl string[]Paths - List of trust CRL paths.
- display_
name str - Display name of the resource.
- local_
address str - Local IPv4 IP address.
- service_
path str - Policy path for IPSec VPN service
- certificate_
path str - Policy path referencing site certificate.
- description str
- Description of the resource.
- local_
id str - Local id for the local endpoint.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy_
ipsec_ strvpn_ local_ endpoint_ id - ID of the resource.
- Sequence[Policy
Ipsec Vpn Local Endpoint Tag Args] - A list of scope + tag pairs to associate with this resource.
- trust_
ca_ Sequence[str]paths - List of trust ca certificate paths.
- trust_
crl_ Sequence[str]paths - List of trust CRL paths.
- display
Name String - Display name of the resource.
- local
Address String - Local IPv4 IP address.
- service
Path String - Policy path for IPSec VPN service
- certificate
Path String - Policy path referencing site certificate.
- description String
- Description of the resource.
- local
Id String - Local id for the local endpoint.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Ipsec StringVpn Local Endpoint Id - ID of the resource.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- trust
Ca List<String>Paths - List of trust ca certificate paths.
- trust
Crl List<String>Paths - List of trust CRL paths.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyIpsecVpnLocalEndpoint resource produces the following output properties:
Look up Existing PolicyIpsecVpnLocalEndpoint Resource
Get an existing PolicyIpsecVpnLocalEndpoint 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?: PolicyIpsecVpnLocalEndpointState, opts?: CustomResourceOptions): PolicyIpsecVpnLocalEndpoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
certificate_path: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
local_address: Optional[str] = None,
local_id: Optional[str] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_ipsec_vpn_local_endpoint_id: Optional[str] = None,
revision: Optional[float] = None,
service_path: Optional[str] = None,
tags: Optional[Sequence[PolicyIpsecVpnLocalEndpointTagArgs]] = None,
trust_ca_paths: Optional[Sequence[str]] = None,
trust_crl_paths: Optional[Sequence[str]] = None) -> PolicyIpsecVpnLocalEndpoint
func GetPolicyIpsecVpnLocalEndpoint(ctx *Context, name string, id IDInput, state *PolicyIpsecVpnLocalEndpointState, opts ...ResourceOption) (*PolicyIpsecVpnLocalEndpoint, error)
public static PolicyIpsecVpnLocalEndpoint Get(string name, Input<string> id, PolicyIpsecVpnLocalEndpointState? state, CustomResourceOptions? opts = null)
public static PolicyIpsecVpnLocalEndpoint get(String name, Output<String> id, PolicyIpsecVpnLocalEndpointState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyIpsecVpnLocalEndpoint 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.
- Certificate
Path string - Policy path referencing site certificate.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Local
Address string - Local IPv4 IP address.
- Local
Id string - Local id for the local endpoint.
- 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 policy resource.
- Policy
Ipsec stringVpn Local Endpoint Id - 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.
- Service
Path string - Policy path for IPSec VPN service
- List<Policy
Ipsec Vpn Local Endpoint Tag> - A list of scope + tag pairs to associate with this resource.
- Trust
Ca List<string>Paths - List of trust ca certificate paths.
- Trust
Crl List<string>Paths - List of trust CRL paths.
- Certificate
Path string - Policy path referencing site certificate.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Local
Address string - Local IPv4 IP address.
- Local
Id string - Local id for the local endpoint.
- 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 policy resource.
- Policy
Ipsec stringVpn Local Endpoint Id - 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.
- Service
Path string - Policy path for IPSec VPN service
- []Policy
Ipsec Vpn Local Endpoint Tag Args - A list of scope + tag pairs to associate with this resource.
- Trust
Ca []stringPaths - List of trust ca certificate paths.
- Trust
Crl []stringPaths - List of trust CRL paths.
- certificate
Path String - Policy path referencing site certificate.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- local
Address String - Local IPv4 IP address.
- local
Id String - Local id for the local endpoint.
- 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 policy resource.
- policy
Ipsec StringVpn Local Endpoint Id - 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.
- service
Path String - Policy path for IPSec VPN service
- List<Policy
Ipsec Vpn Local Endpoint Tag> - A list of scope + tag pairs to associate with this resource.
- trust
Ca List<String>Paths - List of trust ca certificate paths.
- trust
Crl List<String>Paths - List of trust CRL paths.
- certificate
Path string - Policy path referencing site certificate.
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- local
Address string - Local IPv4 IP address.
- local
Id string - Local id for the local endpoint.
- 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 policy resource.
- policy
Ipsec stringVpn Local Endpoint Id - 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.
- service
Path string - Policy path for IPSec VPN service
- Policy
Ipsec Vpn Local Endpoint Tag[] - A list of scope + tag pairs to associate with this resource.
- trust
Ca string[]Paths - List of trust ca certificate paths.
- trust
Crl string[]Paths - List of trust CRL paths.
- certificate_
path str - Policy path referencing site certificate.
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- local_
address str - Local IPv4 IP address.
- local_
id str - Local id for the local endpoint.
- 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_
ipsec_ strvpn_ local_ endpoint_ id - 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.
- service_
path str - Policy path for IPSec VPN service
- Sequence[Policy
Ipsec Vpn Local Endpoint Tag Args] - A list of scope + tag pairs to associate with this resource.
- trust_
ca_ Sequence[str]paths - List of trust ca certificate paths.
- trust_
crl_ Sequence[str]paths - List of trust CRL paths.
- certificate
Path String - Policy path referencing site certificate.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- local
Address String - Local IPv4 IP address.
- local
Id String - Local id for the local endpoint.
- 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 policy resource.
- policy
Ipsec StringVpn Local Endpoint Id - 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.
- service
Path String - Policy path for IPSec VPN service
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- trust
Ca List<String>Paths - List of trust ca certificate paths.
- trust
Crl List<String>Paths - List of trust CRL paths.
Supporting Types
PolicyIpsecVpnLocalEndpointTag, PolicyIpsecVpnLocalEndpointTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.