Documentation ¶
Index ¶
- type EndpointGroup
- type EndpointGroupArgs
- type EndpointGroupArray
- type EndpointGroupArrayInput
- type EndpointGroupArrayOutput
- func (EndpointGroupArrayOutput) ElementType() reflect.Type
- func (o EndpointGroupArrayOutput) Index(i pulumi.IntInput) EndpointGroupOutput
- func (o EndpointGroupArrayOutput) ToEndpointGroupArrayOutput() EndpointGroupArrayOutput
- func (o EndpointGroupArrayOutput) ToEndpointGroupArrayOutputWithContext(ctx context.Context) EndpointGroupArrayOutput
- type EndpointGroupInput
- type EndpointGroupMap
- type EndpointGroupMapInput
- type EndpointGroupMapOutput
- func (EndpointGroupMapOutput) ElementType() reflect.Type
- func (o EndpointGroupMapOutput) MapIndex(k pulumi.StringInput) EndpointGroupOutput
- func (o EndpointGroupMapOutput) ToEndpointGroupMapOutput() EndpointGroupMapOutput
- func (o EndpointGroupMapOutput) ToEndpointGroupMapOutputWithContext(ctx context.Context) EndpointGroupMapOutput
- type EndpointGroupOutput
- func (o EndpointGroupOutput) Description() pulumi.StringPtrOutput
- func (EndpointGroupOutput) ElementType() reflect.Type
- func (o EndpointGroupOutput) Endpoints() pulumi.StringArrayOutput
- func (o EndpointGroupOutput) Name() pulumi.StringOutput
- func (o EndpointGroupOutput) Region() pulumi.StringOutput
- func (o EndpointGroupOutput) TenantId() pulumi.StringOutput
- func (o EndpointGroupOutput) ToEndpointGroupOutput() EndpointGroupOutput
- func (o EndpointGroupOutput) ToEndpointGroupOutputWithContext(ctx context.Context) EndpointGroupOutput
- func (o EndpointGroupOutput) Type() pulumi.StringOutput
- func (o EndpointGroupOutput) ValueSpecs() pulumi.MapOutput
- type EndpointGroupState
- type IkePolicy
- type IkePolicyArgs
- type IkePolicyArray
- type IkePolicyArrayInput
- type IkePolicyArrayOutput
- func (IkePolicyArrayOutput) ElementType() reflect.Type
- func (o IkePolicyArrayOutput) Index(i pulumi.IntInput) IkePolicyOutput
- func (o IkePolicyArrayOutput) ToIkePolicyArrayOutput() IkePolicyArrayOutput
- func (o IkePolicyArrayOutput) ToIkePolicyArrayOutputWithContext(ctx context.Context) IkePolicyArrayOutput
- type IkePolicyInput
- type IkePolicyLifetime
- type IkePolicyLifetimeArgs
- type IkePolicyLifetimeArray
- type IkePolicyLifetimeArrayInput
- type IkePolicyLifetimeArrayOutput
- func (IkePolicyLifetimeArrayOutput) ElementType() reflect.Type
- func (o IkePolicyLifetimeArrayOutput) Index(i pulumi.IntInput) IkePolicyLifetimeOutput
- func (o IkePolicyLifetimeArrayOutput) ToIkePolicyLifetimeArrayOutput() IkePolicyLifetimeArrayOutput
- func (o IkePolicyLifetimeArrayOutput) ToIkePolicyLifetimeArrayOutputWithContext(ctx context.Context) IkePolicyLifetimeArrayOutput
- type IkePolicyLifetimeInput
- type IkePolicyLifetimeOutput
- func (IkePolicyLifetimeOutput) ElementType() reflect.Type
- func (o IkePolicyLifetimeOutput) ToIkePolicyLifetimeOutput() IkePolicyLifetimeOutput
- func (o IkePolicyLifetimeOutput) ToIkePolicyLifetimeOutputWithContext(ctx context.Context) IkePolicyLifetimeOutput
- func (o IkePolicyLifetimeOutput) Units() pulumi.StringPtrOutput
- func (o IkePolicyLifetimeOutput) Value() pulumi.IntPtrOutput
- type IkePolicyMap
- type IkePolicyMapInput
- type IkePolicyMapOutput
- type IkePolicyOutput
- func (o IkePolicyOutput) AuthAlgorithm() pulumi.StringPtrOutput
- func (o IkePolicyOutput) Description() pulumi.StringPtrOutput
- func (IkePolicyOutput) ElementType() reflect.Type
- func (o IkePolicyOutput) EncryptionAlgorithm() pulumi.StringPtrOutput
- func (o IkePolicyOutput) IkeVersion() pulumi.StringPtrOutput
- func (o IkePolicyOutput) Lifetimes() IkePolicyLifetimeArrayOutput
- func (o IkePolicyOutput) Name() pulumi.StringOutput
- func (o IkePolicyOutput) Pfs() pulumi.StringPtrOutput
- func (o IkePolicyOutput) Phase1NegotiationMode() pulumi.StringPtrOutput
- func (o IkePolicyOutput) Region() pulumi.StringOutput
- func (o IkePolicyOutput) TenantId() pulumi.StringOutput
- func (o IkePolicyOutput) ToIkePolicyOutput() IkePolicyOutput
- func (o IkePolicyOutput) ToIkePolicyOutputWithContext(ctx context.Context) IkePolicyOutput
- func (o IkePolicyOutput) ValueSpecs() pulumi.MapOutput
- type IkePolicyState
- type IpSecPolicy
- type IpSecPolicyArgs
- type IpSecPolicyArray
- type IpSecPolicyArrayInput
- type IpSecPolicyArrayOutput
- func (IpSecPolicyArrayOutput) ElementType() reflect.Type
- func (o IpSecPolicyArrayOutput) Index(i pulumi.IntInput) IpSecPolicyOutput
- func (o IpSecPolicyArrayOutput) ToIpSecPolicyArrayOutput() IpSecPolicyArrayOutput
- func (o IpSecPolicyArrayOutput) ToIpSecPolicyArrayOutputWithContext(ctx context.Context) IpSecPolicyArrayOutput
- type IpSecPolicyInput
- type IpSecPolicyLifetime
- type IpSecPolicyLifetimeArgs
- type IpSecPolicyLifetimeArray
- type IpSecPolicyLifetimeArrayInput
- type IpSecPolicyLifetimeArrayOutput
- func (IpSecPolicyLifetimeArrayOutput) ElementType() reflect.Type
- func (o IpSecPolicyLifetimeArrayOutput) Index(i pulumi.IntInput) IpSecPolicyLifetimeOutput
- func (o IpSecPolicyLifetimeArrayOutput) ToIpSecPolicyLifetimeArrayOutput() IpSecPolicyLifetimeArrayOutput
- func (o IpSecPolicyLifetimeArrayOutput) ToIpSecPolicyLifetimeArrayOutputWithContext(ctx context.Context) IpSecPolicyLifetimeArrayOutput
- type IpSecPolicyLifetimeInput
- type IpSecPolicyLifetimeOutput
- func (IpSecPolicyLifetimeOutput) ElementType() reflect.Type
- func (o IpSecPolicyLifetimeOutput) ToIpSecPolicyLifetimeOutput() IpSecPolicyLifetimeOutput
- func (o IpSecPolicyLifetimeOutput) ToIpSecPolicyLifetimeOutputWithContext(ctx context.Context) IpSecPolicyLifetimeOutput
- func (o IpSecPolicyLifetimeOutput) Units() pulumi.StringPtrOutput
- func (o IpSecPolicyLifetimeOutput) Value() pulumi.IntPtrOutput
- type IpSecPolicyMap
- type IpSecPolicyMapInput
- type IpSecPolicyMapOutput
- func (IpSecPolicyMapOutput) ElementType() reflect.Type
- func (o IpSecPolicyMapOutput) MapIndex(k pulumi.StringInput) IpSecPolicyOutput
- func (o IpSecPolicyMapOutput) ToIpSecPolicyMapOutput() IpSecPolicyMapOutput
- func (o IpSecPolicyMapOutput) ToIpSecPolicyMapOutputWithContext(ctx context.Context) IpSecPolicyMapOutput
- type IpSecPolicyOutput
- func (o IpSecPolicyOutput) AuthAlgorithm() pulumi.StringOutput
- func (o IpSecPolicyOutput) Description() pulumi.StringPtrOutput
- func (IpSecPolicyOutput) ElementType() reflect.Type
- func (o IpSecPolicyOutput) EncapsulationMode() pulumi.StringOutput
- func (o IpSecPolicyOutput) EncryptionAlgorithm() pulumi.StringOutput
- func (o IpSecPolicyOutput) Lifetimes() IpSecPolicyLifetimeArrayOutput
- func (o IpSecPolicyOutput) Name() pulumi.StringOutput
- func (o IpSecPolicyOutput) Pfs() pulumi.StringOutput
- func (o IpSecPolicyOutput) Region() pulumi.StringOutput
- func (o IpSecPolicyOutput) TenantId() pulumi.StringOutput
- func (o IpSecPolicyOutput) ToIpSecPolicyOutput() IpSecPolicyOutput
- func (o IpSecPolicyOutput) ToIpSecPolicyOutputWithContext(ctx context.Context) IpSecPolicyOutput
- func (o IpSecPolicyOutput) TransformProtocol() pulumi.StringOutput
- func (o IpSecPolicyOutput) ValueSpecs() pulumi.MapOutput
- type IpSecPolicyState
- type Service
- type ServiceArgs
- type ServiceArray
- type ServiceArrayInput
- type ServiceArrayOutput
- type ServiceInput
- type ServiceMap
- type ServiceMapInput
- type ServiceMapOutput
- type ServiceOutput
- func (o ServiceOutput) AdminStateUp() pulumi.BoolPtrOutput
- func (o ServiceOutput) Description() pulumi.StringPtrOutput
- func (ServiceOutput) ElementType() reflect.Type
- func (o ServiceOutput) ExternalV4Ip() pulumi.StringOutput
- func (o ServiceOutput) ExternalV6Ip() pulumi.StringOutput
- func (o ServiceOutput) Name() pulumi.StringOutput
- func (o ServiceOutput) Region() pulumi.StringOutput
- func (o ServiceOutput) RouterId() pulumi.StringOutput
- func (o ServiceOutput) Status() pulumi.StringOutput
- func (o ServiceOutput) SubnetId() pulumi.StringPtrOutput
- func (o ServiceOutput) TenantId() pulumi.StringOutput
- func (o ServiceOutput) ToServiceOutput() ServiceOutput
- func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- func (o ServiceOutput) ValueSpecs() pulumi.MapOutput
- type ServiceState
- type SiteConnection
- type SiteConnectionArgs
- type SiteConnectionArray
- type SiteConnectionArrayInput
- type SiteConnectionArrayOutput
- func (SiteConnectionArrayOutput) ElementType() reflect.Type
- func (o SiteConnectionArrayOutput) Index(i pulumi.IntInput) SiteConnectionOutput
- func (o SiteConnectionArrayOutput) ToSiteConnectionArrayOutput() SiteConnectionArrayOutput
- func (o SiteConnectionArrayOutput) ToSiteConnectionArrayOutputWithContext(ctx context.Context) SiteConnectionArrayOutput
- type SiteConnectionDpd
- type SiteConnectionDpdArgs
- type SiteConnectionDpdArray
- type SiteConnectionDpdArrayInput
- type SiteConnectionDpdArrayOutput
- func (SiteConnectionDpdArrayOutput) ElementType() reflect.Type
- func (o SiteConnectionDpdArrayOutput) Index(i pulumi.IntInput) SiteConnectionDpdOutput
- func (o SiteConnectionDpdArrayOutput) ToSiteConnectionDpdArrayOutput() SiteConnectionDpdArrayOutput
- func (o SiteConnectionDpdArrayOutput) ToSiteConnectionDpdArrayOutputWithContext(ctx context.Context) SiteConnectionDpdArrayOutput
- type SiteConnectionDpdInput
- type SiteConnectionDpdOutput
- func (o SiteConnectionDpdOutput) Action() pulumi.StringPtrOutput
- func (SiteConnectionDpdOutput) ElementType() reflect.Type
- func (o SiteConnectionDpdOutput) Interval() pulumi.IntPtrOutput
- func (o SiteConnectionDpdOutput) Timeout() pulumi.IntPtrOutput
- func (o SiteConnectionDpdOutput) ToSiteConnectionDpdOutput() SiteConnectionDpdOutput
- func (o SiteConnectionDpdOutput) ToSiteConnectionDpdOutputWithContext(ctx context.Context) SiteConnectionDpdOutput
- type SiteConnectionInput
- type SiteConnectionMap
- type SiteConnectionMapInput
- type SiteConnectionMapOutput
- func (SiteConnectionMapOutput) ElementType() reflect.Type
- func (o SiteConnectionMapOutput) MapIndex(k pulumi.StringInput) SiteConnectionOutput
- func (o SiteConnectionMapOutput) ToSiteConnectionMapOutput() SiteConnectionMapOutput
- func (o SiteConnectionMapOutput) ToSiteConnectionMapOutputWithContext(ctx context.Context) SiteConnectionMapOutput
- type SiteConnectionOutput
- func (o SiteConnectionOutput) AdminStateUp() pulumi.BoolPtrOutput
- func (o SiteConnectionOutput) Description() pulumi.StringPtrOutput
- func (o SiteConnectionOutput) Dpds() SiteConnectionDpdArrayOutput
- func (SiteConnectionOutput) ElementType() reflect.Type
- func (o SiteConnectionOutput) IkepolicyId() pulumi.StringOutput
- func (o SiteConnectionOutput) Initiator() pulumi.StringOutput
- func (o SiteConnectionOutput) IpsecpolicyId() pulumi.StringOutput
- func (o SiteConnectionOutput) LocalEpGroupId() pulumi.StringPtrOutput
- func (o SiteConnectionOutput) LocalId() pulumi.StringPtrOutput
- func (o SiteConnectionOutput) Mtu() pulumi.IntOutput
- func (o SiteConnectionOutput) Name() pulumi.StringOutput
- func (o SiteConnectionOutput) PeerAddress() pulumi.StringOutput
- func (o SiteConnectionOutput) PeerCidrs() pulumi.StringArrayOutput
- func (o SiteConnectionOutput) PeerEpGroupId() pulumi.StringPtrOutput
- func (o SiteConnectionOutput) PeerId() pulumi.StringOutput
- func (o SiteConnectionOutput) Psk() pulumi.StringOutput
- func (o SiteConnectionOutput) Region() pulumi.StringOutput
- func (o SiteConnectionOutput) TenantId() pulumi.StringOutput
- func (o SiteConnectionOutput) ToSiteConnectionOutput() SiteConnectionOutput
- func (o SiteConnectionOutput) ToSiteConnectionOutputWithContext(ctx context.Context) SiteConnectionOutput
- func (o SiteConnectionOutput) ValueSpecs() pulumi.MapOutput
- func (o SiteConnectionOutput) VpnserviceId() pulumi.StringOutput
- type SiteConnectionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointGroup ¶
type EndpointGroup struct { pulumi.CustomResourceState // The human-readable description for the group. // Changing this updates the description of the existing group. Description pulumi.StringPtrOutput `pulumi:"description"` // List of endpoints of the same type, for the endpoint group. The values will depend on the type. // Changing this creates a new group. Endpoints pulumi.StringArrayOutput `pulumi:"endpoints"` // The name of the group. Changing this updates the name of // the existing group. Name pulumi.StringOutput `pulumi:"name"` // The region in which to obtain the V2 Networking client. // A Networking client is needed to create an endpoint group. If omitted, the // `region` argument of the provider is used. Changing this creates a new // group. Region pulumi.StringOutput `pulumi:"region"` // The owner of the group. Required if admin wants to // create an endpoint group for another project. Changing this creates a new group. TenantId pulumi.StringOutput `pulumi:"tenantId"` // The type of the endpoints in the group. A valid value is subnet, cidr, network, router, or vlan. // Changing this creates a new group. Type pulumi.StringOutput `pulumi:"type"` // Map of additional options. ValueSpecs pulumi.MapOutput `pulumi:"valueSpecs"` }
Manages a V2 Neutron Endpoint Group resource within OpenStack.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/vpnaas" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vpnaas.NewEndpointGroup(ctx, "group1", &vpnaas.EndpointGroupArgs{ Endpoints: pulumi.StringArray{ pulumi.String("10.2.0.0/24"), pulumi.String("10.3.0.0/24"), }, Type: pulumi.String("cidr"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Groups can be imported using the `id`, e.g.
```sh $ pulumi import openstack:vpnaas/endpointGroup:EndpointGroup group_1 832cb7f3-59fe-40cf-8f64-8350ffc03272 ```
func GetEndpointGroup ¶
func GetEndpointGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EndpointGroupState, opts ...pulumi.ResourceOption) (*EndpointGroup, error)
GetEndpointGroup gets an existing EndpointGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEndpointGroup ¶
func NewEndpointGroup(ctx *pulumi.Context, name string, args *EndpointGroupArgs, opts ...pulumi.ResourceOption) (*EndpointGroup, error)
NewEndpointGroup registers a new resource with the given unique name, arguments, and options.
func (*EndpointGroup) ElementType ¶
func (*EndpointGroup) ElementType() reflect.Type
func (*EndpointGroup) ToEndpointGroupOutput ¶
func (i *EndpointGroup) ToEndpointGroupOutput() EndpointGroupOutput
func (*EndpointGroup) ToEndpointGroupOutputWithContext ¶
func (i *EndpointGroup) ToEndpointGroupOutputWithContext(ctx context.Context) EndpointGroupOutput
type EndpointGroupArgs ¶
type EndpointGroupArgs struct { // The human-readable description for the group. // Changing this updates the description of the existing group. Description pulumi.StringPtrInput // List of endpoints of the same type, for the endpoint group. The values will depend on the type. // Changing this creates a new group. Endpoints pulumi.StringArrayInput // The name of the group. Changing this updates the name of // the existing group. Name pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create an endpoint group. If omitted, the // `region` argument of the provider is used. Changing this creates a new // group. Region pulumi.StringPtrInput // The owner of the group. Required if admin wants to // create an endpoint group for another project. Changing this creates a new group. TenantId pulumi.StringPtrInput // The type of the endpoints in the group. A valid value is subnet, cidr, network, router, or vlan. // Changing this creates a new group. Type pulumi.StringPtrInput // Map of additional options. ValueSpecs pulumi.MapInput }
The set of arguments for constructing a EndpointGroup resource.
func (EndpointGroupArgs) ElementType ¶
func (EndpointGroupArgs) ElementType() reflect.Type
type EndpointGroupArray ¶
type EndpointGroupArray []EndpointGroupInput
func (EndpointGroupArray) ElementType ¶
func (EndpointGroupArray) ElementType() reflect.Type
func (EndpointGroupArray) ToEndpointGroupArrayOutput ¶
func (i EndpointGroupArray) ToEndpointGroupArrayOutput() EndpointGroupArrayOutput
func (EndpointGroupArray) ToEndpointGroupArrayOutputWithContext ¶
func (i EndpointGroupArray) ToEndpointGroupArrayOutputWithContext(ctx context.Context) EndpointGroupArrayOutput
type EndpointGroupArrayInput ¶
type EndpointGroupArrayInput interface { pulumi.Input ToEndpointGroupArrayOutput() EndpointGroupArrayOutput ToEndpointGroupArrayOutputWithContext(context.Context) EndpointGroupArrayOutput }
EndpointGroupArrayInput is an input type that accepts EndpointGroupArray and EndpointGroupArrayOutput values. You can construct a concrete instance of `EndpointGroupArrayInput` via:
EndpointGroupArray{ EndpointGroupArgs{...} }
type EndpointGroupArrayOutput ¶
type EndpointGroupArrayOutput struct{ *pulumi.OutputState }
func (EndpointGroupArrayOutput) ElementType ¶
func (EndpointGroupArrayOutput) ElementType() reflect.Type
func (EndpointGroupArrayOutput) Index ¶
func (o EndpointGroupArrayOutput) Index(i pulumi.IntInput) EndpointGroupOutput
func (EndpointGroupArrayOutput) ToEndpointGroupArrayOutput ¶
func (o EndpointGroupArrayOutput) ToEndpointGroupArrayOutput() EndpointGroupArrayOutput
func (EndpointGroupArrayOutput) ToEndpointGroupArrayOutputWithContext ¶
func (o EndpointGroupArrayOutput) ToEndpointGroupArrayOutputWithContext(ctx context.Context) EndpointGroupArrayOutput
type EndpointGroupInput ¶
type EndpointGroupInput interface { pulumi.Input ToEndpointGroupOutput() EndpointGroupOutput ToEndpointGroupOutputWithContext(ctx context.Context) EndpointGroupOutput }
type EndpointGroupMap ¶
type EndpointGroupMap map[string]EndpointGroupInput
func (EndpointGroupMap) ElementType ¶
func (EndpointGroupMap) ElementType() reflect.Type
func (EndpointGroupMap) ToEndpointGroupMapOutput ¶
func (i EndpointGroupMap) ToEndpointGroupMapOutput() EndpointGroupMapOutput
func (EndpointGroupMap) ToEndpointGroupMapOutputWithContext ¶
func (i EndpointGroupMap) ToEndpointGroupMapOutputWithContext(ctx context.Context) EndpointGroupMapOutput
type EndpointGroupMapInput ¶
type EndpointGroupMapInput interface { pulumi.Input ToEndpointGroupMapOutput() EndpointGroupMapOutput ToEndpointGroupMapOutputWithContext(context.Context) EndpointGroupMapOutput }
EndpointGroupMapInput is an input type that accepts EndpointGroupMap and EndpointGroupMapOutput values. You can construct a concrete instance of `EndpointGroupMapInput` via:
EndpointGroupMap{ "key": EndpointGroupArgs{...} }
type EndpointGroupMapOutput ¶
type EndpointGroupMapOutput struct{ *pulumi.OutputState }
func (EndpointGroupMapOutput) ElementType ¶
func (EndpointGroupMapOutput) ElementType() reflect.Type
func (EndpointGroupMapOutput) MapIndex ¶
func (o EndpointGroupMapOutput) MapIndex(k pulumi.StringInput) EndpointGroupOutput
func (EndpointGroupMapOutput) ToEndpointGroupMapOutput ¶
func (o EndpointGroupMapOutput) ToEndpointGroupMapOutput() EndpointGroupMapOutput
func (EndpointGroupMapOutput) ToEndpointGroupMapOutputWithContext ¶
func (o EndpointGroupMapOutput) ToEndpointGroupMapOutputWithContext(ctx context.Context) EndpointGroupMapOutput
type EndpointGroupOutput ¶
type EndpointGroupOutput struct{ *pulumi.OutputState }
func (EndpointGroupOutput) Description ¶ added in v3.9.0
func (o EndpointGroupOutput) Description() pulumi.StringPtrOutput
The human-readable description for the group. Changing this updates the description of the existing group.
func (EndpointGroupOutput) ElementType ¶
func (EndpointGroupOutput) ElementType() reflect.Type
func (EndpointGroupOutput) Endpoints ¶ added in v3.9.0
func (o EndpointGroupOutput) Endpoints() pulumi.StringArrayOutput
List of endpoints of the same type, for the endpoint group. The values will depend on the type. Changing this creates a new group.
func (EndpointGroupOutput) Name ¶ added in v3.9.0
func (o EndpointGroupOutput) Name() pulumi.StringOutput
The name of the group. Changing this updates the name of the existing group.
func (EndpointGroupOutput) Region ¶ added in v3.9.0
func (o EndpointGroupOutput) Region() pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create an endpoint group. If omitted, the `region` argument of the provider is used. Changing this creates a new group.
func (EndpointGroupOutput) TenantId ¶ added in v3.9.0
func (o EndpointGroupOutput) TenantId() pulumi.StringOutput
The owner of the group. Required if admin wants to create an endpoint group for another project. Changing this creates a new group.
func (EndpointGroupOutput) ToEndpointGroupOutput ¶
func (o EndpointGroupOutput) ToEndpointGroupOutput() EndpointGroupOutput
func (EndpointGroupOutput) ToEndpointGroupOutputWithContext ¶
func (o EndpointGroupOutput) ToEndpointGroupOutputWithContext(ctx context.Context) EndpointGroupOutput
func (EndpointGroupOutput) Type ¶ added in v3.9.0
func (o EndpointGroupOutput) Type() pulumi.StringOutput
The type of the endpoints in the group. A valid value is subnet, cidr, network, router, or vlan. Changing this creates a new group.
func (EndpointGroupOutput) ValueSpecs ¶ added in v3.9.0
func (o EndpointGroupOutput) ValueSpecs() pulumi.MapOutput
Map of additional options.
type EndpointGroupState ¶
type EndpointGroupState struct { // The human-readable description for the group. // Changing this updates the description of the existing group. Description pulumi.StringPtrInput // List of endpoints of the same type, for the endpoint group. The values will depend on the type. // Changing this creates a new group. Endpoints pulumi.StringArrayInput // The name of the group. Changing this updates the name of // the existing group. Name pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create an endpoint group. If omitted, the // `region` argument of the provider is used. Changing this creates a new // group. Region pulumi.StringPtrInput // The owner of the group. Required if admin wants to // create an endpoint group for another project. Changing this creates a new group. TenantId pulumi.StringPtrInput // The type of the endpoints in the group. A valid value is subnet, cidr, network, router, or vlan. // Changing this creates a new group. Type pulumi.StringPtrInput // Map of additional options. ValueSpecs pulumi.MapInput }
func (EndpointGroupState) ElementType ¶
func (EndpointGroupState) ElementType() reflect.Type
type IkePolicy ¶
type IkePolicy struct { pulumi.CustomResourceState // The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. // Default is sha1. Changing this updates the algorithm of the existing policy. AuthAlgorithm pulumi.StringPtrOutput `pulumi:"authAlgorithm"` // The human-readable description for the policy. // Changing this updates the description of the existing policy. Description pulumi.StringPtrOutput `pulumi:"description"` // The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. // The default value is aes-128. Changing this updates the existing policy. EncryptionAlgorithm pulumi.StringPtrOutput `pulumi:"encryptionAlgorithm"` // The IKE mode. A valid value is v1 or v2. Default is v1. // Changing this updates the existing policy. IkeVersion pulumi.StringPtrOutput `pulumi:"ikeVersion"` // The lifetime of the security association. Consists of Unit and Value. Lifetimes IkePolicyLifetimeArrayOutput `pulumi:"lifetimes"` // The name of the policy. Changing this updates the name of // the existing policy. Name pulumi.StringOutput `pulumi:"name"` // The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. // Changing this updates the existing policy. Pfs pulumi.StringPtrOutput `pulumi:"pfs"` // The IKE mode. A valid value is main, which is the default. // Changing this updates the existing policy. Phase1NegotiationMode pulumi.StringPtrOutput `pulumi:"phase1NegotiationMode"` // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a VPN service. If omitted, the // `region` argument of the provider is used. Changing this creates a new // service. Region pulumi.StringOutput `pulumi:"region"` // The owner of the policy. Required if admin wants to // create a service for another policy. Changing this creates a new policy. TenantId pulumi.StringOutput `pulumi:"tenantId"` // Map of additional options. ValueSpecs pulumi.MapOutput `pulumi:"valueSpecs"` }
Manages a V2 Neutron IKE policy resource within OpenStack.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/vpnaas" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vpnaas.NewIkePolicy(ctx, "policy1", nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Services can be imported using the `id`, e.g.
```sh $ pulumi import openstack:vpnaas/ikePolicy:IkePolicy policy_1 832cb7f3-59fe-40cf-8f64-8350ffc03272 ```
func GetIkePolicy ¶
func GetIkePolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IkePolicyState, opts ...pulumi.ResourceOption) (*IkePolicy, error)
GetIkePolicy gets an existing IkePolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIkePolicy ¶
func NewIkePolicy(ctx *pulumi.Context, name string, args *IkePolicyArgs, opts ...pulumi.ResourceOption) (*IkePolicy, error)
NewIkePolicy registers a new resource with the given unique name, arguments, and options.
func (*IkePolicy) ElementType ¶
func (*IkePolicy) ToIkePolicyOutput ¶
func (i *IkePolicy) ToIkePolicyOutput() IkePolicyOutput
func (*IkePolicy) ToIkePolicyOutputWithContext ¶
func (i *IkePolicy) ToIkePolicyOutputWithContext(ctx context.Context) IkePolicyOutput
type IkePolicyArgs ¶
type IkePolicyArgs struct { // The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. // Default is sha1. Changing this updates the algorithm of the existing policy. AuthAlgorithm pulumi.StringPtrInput // The human-readable description for the policy. // Changing this updates the description of the existing policy. Description pulumi.StringPtrInput // The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. // The default value is aes-128. Changing this updates the existing policy. EncryptionAlgorithm pulumi.StringPtrInput // The IKE mode. A valid value is v1 or v2. Default is v1. // Changing this updates the existing policy. IkeVersion pulumi.StringPtrInput // The lifetime of the security association. Consists of Unit and Value. Lifetimes IkePolicyLifetimeArrayInput // The name of the policy. Changing this updates the name of // the existing policy. Name pulumi.StringPtrInput // The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. // Changing this updates the existing policy. Pfs pulumi.StringPtrInput // The IKE mode. A valid value is main, which is the default. // Changing this updates the existing policy. Phase1NegotiationMode pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a VPN service. If omitted, the // `region` argument of the provider is used. Changing this creates a new // service. Region pulumi.StringPtrInput // The owner of the policy. Required if admin wants to // create a service for another policy. Changing this creates a new policy. TenantId pulumi.StringPtrInput // Map of additional options. ValueSpecs pulumi.MapInput }
The set of arguments for constructing a IkePolicy resource.
func (IkePolicyArgs) ElementType ¶
func (IkePolicyArgs) ElementType() reflect.Type
type IkePolicyArray ¶
type IkePolicyArray []IkePolicyInput
func (IkePolicyArray) ElementType ¶
func (IkePolicyArray) ElementType() reflect.Type
func (IkePolicyArray) ToIkePolicyArrayOutput ¶
func (i IkePolicyArray) ToIkePolicyArrayOutput() IkePolicyArrayOutput
func (IkePolicyArray) ToIkePolicyArrayOutputWithContext ¶
func (i IkePolicyArray) ToIkePolicyArrayOutputWithContext(ctx context.Context) IkePolicyArrayOutput
type IkePolicyArrayInput ¶
type IkePolicyArrayInput interface { pulumi.Input ToIkePolicyArrayOutput() IkePolicyArrayOutput ToIkePolicyArrayOutputWithContext(context.Context) IkePolicyArrayOutput }
IkePolicyArrayInput is an input type that accepts IkePolicyArray and IkePolicyArrayOutput values. You can construct a concrete instance of `IkePolicyArrayInput` via:
IkePolicyArray{ IkePolicyArgs{...} }
type IkePolicyArrayOutput ¶
type IkePolicyArrayOutput struct{ *pulumi.OutputState }
func (IkePolicyArrayOutput) ElementType ¶
func (IkePolicyArrayOutput) ElementType() reflect.Type
func (IkePolicyArrayOutput) Index ¶
func (o IkePolicyArrayOutput) Index(i pulumi.IntInput) IkePolicyOutput
func (IkePolicyArrayOutput) ToIkePolicyArrayOutput ¶
func (o IkePolicyArrayOutput) ToIkePolicyArrayOutput() IkePolicyArrayOutput
func (IkePolicyArrayOutput) ToIkePolicyArrayOutputWithContext ¶
func (o IkePolicyArrayOutput) ToIkePolicyArrayOutputWithContext(ctx context.Context) IkePolicyArrayOutput
type IkePolicyInput ¶
type IkePolicyInput interface { pulumi.Input ToIkePolicyOutput() IkePolicyOutput ToIkePolicyOutputWithContext(ctx context.Context) IkePolicyOutput }
type IkePolicyLifetime ¶
type IkePolicyLifetimeArgs ¶
type IkePolicyLifetimeArgs struct { Units pulumi.StringPtrInput `pulumi:"units"` // The value for the lifetime of the security association. Must be a positive integer. // Default is 3600. Value pulumi.IntPtrInput `pulumi:"value"` }
func (IkePolicyLifetimeArgs) ElementType ¶
func (IkePolicyLifetimeArgs) ElementType() reflect.Type
func (IkePolicyLifetimeArgs) ToIkePolicyLifetimeOutput ¶
func (i IkePolicyLifetimeArgs) ToIkePolicyLifetimeOutput() IkePolicyLifetimeOutput
func (IkePolicyLifetimeArgs) ToIkePolicyLifetimeOutputWithContext ¶
func (i IkePolicyLifetimeArgs) ToIkePolicyLifetimeOutputWithContext(ctx context.Context) IkePolicyLifetimeOutput
type IkePolicyLifetimeArray ¶
type IkePolicyLifetimeArray []IkePolicyLifetimeInput
func (IkePolicyLifetimeArray) ElementType ¶
func (IkePolicyLifetimeArray) ElementType() reflect.Type
func (IkePolicyLifetimeArray) ToIkePolicyLifetimeArrayOutput ¶
func (i IkePolicyLifetimeArray) ToIkePolicyLifetimeArrayOutput() IkePolicyLifetimeArrayOutput
func (IkePolicyLifetimeArray) ToIkePolicyLifetimeArrayOutputWithContext ¶
func (i IkePolicyLifetimeArray) ToIkePolicyLifetimeArrayOutputWithContext(ctx context.Context) IkePolicyLifetimeArrayOutput
type IkePolicyLifetimeArrayInput ¶
type IkePolicyLifetimeArrayInput interface { pulumi.Input ToIkePolicyLifetimeArrayOutput() IkePolicyLifetimeArrayOutput ToIkePolicyLifetimeArrayOutputWithContext(context.Context) IkePolicyLifetimeArrayOutput }
IkePolicyLifetimeArrayInput is an input type that accepts IkePolicyLifetimeArray and IkePolicyLifetimeArrayOutput values. You can construct a concrete instance of `IkePolicyLifetimeArrayInput` via:
IkePolicyLifetimeArray{ IkePolicyLifetimeArgs{...} }
type IkePolicyLifetimeArrayOutput ¶
type IkePolicyLifetimeArrayOutput struct{ *pulumi.OutputState }
func (IkePolicyLifetimeArrayOutput) ElementType ¶
func (IkePolicyLifetimeArrayOutput) ElementType() reflect.Type
func (IkePolicyLifetimeArrayOutput) Index ¶
func (o IkePolicyLifetimeArrayOutput) Index(i pulumi.IntInput) IkePolicyLifetimeOutput
func (IkePolicyLifetimeArrayOutput) ToIkePolicyLifetimeArrayOutput ¶
func (o IkePolicyLifetimeArrayOutput) ToIkePolicyLifetimeArrayOutput() IkePolicyLifetimeArrayOutput
func (IkePolicyLifetimeArrayOutput) ToIkePolicyLifetimeArrayOutputWithContext ¶
func (o IkePolicyLifetimeArrayOutput) ToIkePolicyLifetimeArrayOutputWithContext(ctx context.Context) IkePolicyLifetimeArrayOutput
type IkePolicyLifetimeInput ¶
type IkePolicyLifetimeInput interface { pulumi.Input ToIkePolicyLifetimeOutput() IkePolicyLifetimeOutput ToIkePolicyLifetimeOutputWithContext(context.Context) IkePolicyLifetimeOutput }
IkePolicyLifetimeInput is an input type that accepts IkePolicyLifetimeArgs and IkePolicyLifetimeOutput values. You can construct a concrete instance of `IkePolicyLifetimeInput` via:
IkePolicyLifetimeArgs{...}
type IkePolicyLifetimeOutput ¶
type IkePolicyLifetimeOutput struct{ *pulumi.OutputState }
func (IkePolicyLifetimeOutput) ElementType ¶
func (IkePolicyLifetimeOutput) ElementType() reflect.Type
func (IkePolicyLifetimeOutput) ToIkePolicyLifetimeOutput ¶
func (o IkePolicyLifetimeOutput) ToIkePolicyLifetimeOutput() IkePolicyLifetimeOutput
func (IkePolicyLifetimeOutput) ToIkePolicyLifetimeOutputWithContext ¶
func (o IkePolicyLifetimeOutput) ToIkePolicyLifetimeOutputWithContext(ctx context.Context) IkePolicyLifetimeOutput
func (IkePolicyLifetimeOutput) Units ¶
func (o IkePolicyLifetimeOutput) Units() pulumi.StringPtrOutput
func (IkePolicyLifetimeOutput) Value ¶
func (o IkePolicyLifetimeOutput) Value() pulumi.IntPtrOutput
The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
type IkePolicyMap ¶
type IkePolicyMap map[string]IkePolicyInput
func (IkePolicyMap) ElementType ¶
func (IkePolicyMap) ElementType() reflect.Type
func (IkePolicyMap) ToIkePolicyMapOutput ¶
func (i IkePolicyMap) ToIkePolicyMapOutput() IkePolicyMapOutput
func (IkePolicyMap) ToIkePolicyMapOutputWithContext ¶
func (i IkePolicyMap) ToIkePolicyMapOutputWithContext(ctx context.Context) IkePolicyMapOutput
type IkePolicyMapInput ¶
type IkePolicyMapInput interface { pulumi.Input ToIkePolicyMapOutput() IkePolicyMapOutput ToIkePolicyMapOutputWithContext(context.Context) IkePolicyMapOutput }
IkePolicyMapInput is an input type that accepts IkePolicyMap and IkePolicyMapOutput values. You can construct a concrete instance of `IkePolicyMapInput` via:
IkePolicyMap{ "key": IkePolicyArgs{...} }
type IkePolicyMapOutput ¶
type IkePolicyMapOutput struct{ *pulumi.OutputState }
func (IkePolicyMapOutput) ElementType ¶
func (IkePolicyMapOutput) ElementType() reflect.Type
func (IkePolicyMapOutput) MapIndex ¶
func (o IkePolicyMapOutput) MapIndex(k pulumi.StringInput) IkePolicyOutput
func (IkePolicyMapOutput) ToIkePolicyMapOutput ¶
func (o IkePolicyMapOutput) ToIkePolicyMapOutput() IkePolicyMapOutput
func (IkePolicyMapOutput) ToIkePolicyMapOutputWithContext ¶
func (o IkePolicyMapOutput) ToIkePolicyMapOutputWithContext(ctx context.Context) IkePolicyMapOutput
type IkePolicyOutput ¶
type IkePolicyOutput struct{ *pulumi.OutputState }
func (IkePolicyOutput) AuthAlgorithm ¶ added in v3.9.0
func (o IkePolicyOutput) AuthAlgorithm() pulumi.StringPtrOutput
The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
func (IkePolicyOutput) Description ¶ added in v3.9.0
func (o IkePolicyOutput) Description() pulumi.StringPtrOutput
The human-readable description for the policy. Changing this updates the description of the existing policy.
func (IkePolicyOutput) ElementType ¶
func (IkePolicyOutput) ElementType() reflect.Type
func (IkePolicyOutput) EncryptionAlgorithm ¶ added in v3.9.0
func (o IkePolicyOutput) EncryptionAlgorithm() pulumi.StringPtrOutput
The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
func (IkePolicyOutput) IkeVersion ¶ added in v3.9.0
func (o IkePolicyOutput) IkeVersion() pulumi.StringPtrOutput
The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
func (IkePolicyOutput) Lifetimes ¶ added in v3.9.0
func (o IkePolicyOutput) Lifetimes() IkePolicyLifetimeArrayOutput
The lifetime of the security association. Consists of Unit and Value.
func (IkePolicyOutput) Name ¶ added in v3.9.0
func (o IkePolicyOutput) Name() pulumi.StringOutput
The name of the policy. Changing this updates the name of the existing policy.
func (IkePolicyOutput) Pfs ¶ added in v3.9.0
func (o IkePolicyOutput) Pfs() pulumi.StringPtrOutput
The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
func (IkePolicyOutput) Phase1NegotiationMode ¶ added in v3.9.0
func (o IkePolicyOutput) Phase1NegotiationMode() pulumi.StringPtrOutput
The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
func (IkePolicyOutput) Region ¶ added in v3.9.0
func (o IkePolicyOutput) Region() pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the `region` argument of the provider is used. Changing this creates a new service.
func (IkePolicyOutput) TenantId ¶ added in v3.9.0
func (o IkePolicyOutput) TenantId() pulumi.StringOutput
The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
func (IkePolicyOutput) ToIkePolicyOutput ¶
func (o IkePolicyOutput) ToIkePolicyOutput() IkePolicyOutput
func (IkePolicyOutput) ToIkePolicyOutputWithContext ¶
func (o IkePolicyOutput) ToIkePolicyOutputWithContext(ctx context.Context) IkePolicyOutput
func (IkePolicyOutput) ValueSpecs ¶ added in v3.9.0
func (o IkePolicyOutput) ValueSpecs() pulumi.MapOutput
Map of additional options.
type IkePolicyState ¶
type IkePolicyState struct { // The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. // Default is sha1. Changing this updates the algorithm of the existing policy. AuthAlgorithm pulumi.StringPtrInput // The human-readable description for the policy. // Changing this updates the description of the existing policy. Description pulumi.StringPtrInput // The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. // The default value is aes-128. Changing this updates the existing policy. EncryptionAlgorithm pulumi.StringPtrInput // The IKE mode. A valid value is v1 or v2. Default is v1. // Changing this updates the existing policy. IkeVersion pulumi.StringPtrInput // The lifetime of the security association. Consists of Unit and Value. Lifetimes IkePolicyLifetimeArrayInput // The name of the policy. Changing this updates the name of // the existing policy. Name pulumi.StringPtrInput // The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. // Changing this updates the existing policy. Pfs pulumi.StringPtrInput // The IKE mode. A valid value is main, which is the default. // Changing this updates the existing policy. Phase1NegotiationMode pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a VPN service. If omitted, the // `region` argument of the provider is used. Changing this creates a new // service. Region pulumi.StringPtrInput // The owner of the policy. Required if admin wants to // create a service for another policy. Changing this creates a new policy. TenantId pulumi.StringPtrInput // Map of additional options. ValueSpecs pulumi.MapInput }
func (IkePolicyState) ElementType ¶
func (IkePolicyState) ElementType() reflect.Type
type IpSecPolicy ¶
type IpSecPolicy struct { pulumi.CustomResourceState // The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. // Default is sha1. Changing this updates the algorithm of the existing policy. AuthAlgorithm pulumi.StringOutput `pulumi:"authAlgorithm"` // The human-readable description for the policy. // Changing this updates the description of the existing policy. Description pulumi.StringPtrOutput `pulumi:"description"` // The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. // Changing this updates the existing policy. EncapsulationMode pulumi.StringOutput `pulumi:"encapsulationMode"` // The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. // The default value is aes-128. Changing this updates the existing policy. EncryptionAlgorithm pulumi.StringOutput `pulumi:"encryptionAlgorithm"` // The lifetime of the security association. Consists of Unit and Value. Lifetimes IpSecPolicyLifetimeArrayOutput `pulumi:"lifetimes"` // The name of the policy. Changing this updates the name of // the existing policy. Name pulumi.StringOutput `pulumi:"name"` // The perfect forward secrecy mode. Valid values are group2, group5 and group14. Default // is group5. Changing this updates the existing policy. Pfs pulumi.StringOutput `pulumi:"pfs"` // The region in which to obtain the V2 Networking client. // A Networking client is needed to create an IPSec policy. If omitted, the // `region` argument of the provider is used. Changing this creates a new // policy. Region pulumi.StringOutput `pulumi:"region"` // The owner of the policy. Required if admin wants to // create a policy for another project. Changing this creates a new policy. TenantId pulumi.StringOutput `pulumi:"tenantId"` // The transform protocol. Valid values are esp, ah and ah-esp. // Changing this updates the existing policy. Default is ESP. TransformProtocol pulumi.StringOutput `pulumi:"transformProtocol"` // Map of additional options. ValueSpecs pulumi.MapOutput `pulumi:"valueSpecs"` }
Manages a V2 Neutron IPSec policy resource within OpenStack.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/vpnaas" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vpnaas.NewIpSecPolicy(ctx, "policy1", nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Policies can be imported using the `id`, e.g.
```sh $ pulumi import openstack:vpnaas/ipSecPolicy:IpSecPolicy policy_1 832cb7f3-59fe-40cf-8f64-8350ffc03272 ```
func GetIpSecPolicy ¶
func GetIpSecPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IpSecPolicyState, opts ...pulumi.ResourceOption) (*IpSecPolicy, error)
GetIpSecPolicy gets an existing IpSecPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIpSecPolicy ¶
func NewIpSecPolicy(ctx *pulumi.Context, name string, args *IpSecPolicyArgs, opts ...pulumi.ResourceOption) (*IpSecPolicy, error)
NewIpSecPolicy registers a new resource with the given unique name, arguments, and options.
func (*IpSecPolicy) ElementType ¶
func (*IpSecPolicy) ElementType() reflect.Type
func (*IpSecPolicy) ToIpSecPolicyOutput ¶
func (i *IpSecPolicy) ToIpSecPolicyOutput() IpSecPolicyOutput
func (*IpSecPolicy) ToIpSecPolicyOutputWithContext ¶
func (i *IpSecPolicy) ToIpSecPolicyOutputWithContext(ctx context.Context) IpSecPolicyOutput
type IpSecPolicyArgs ¶
type IpSecPolicyArgs struct { // The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. // Default is sha1. Changing this updates the algorithm of the existing policy. AuthAlgorithm pulumi.StringPtrInput // The human-readable description for the policy. // Changing this updates the description of the existing policy. Description pulumi.StringPtrInput // The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. // Changing this updates the existing policy. EncapsulationMode pulumi.StringPtrInput // The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. // The default value is aes-128. Changing this updates the existing policy. EncryptionAlgorithm pulumi.StringPtrInput // The lifetime of the security association. Consists of Unit and Value. Lifetimes IpSecPolicyLifetimeArrayInput // The name of the policy. Changing this updates the name of // the existing policy. Name pulumi.StringPtrInput // The perfect forward secrecy mode. Valid values are group2, group5 and group14. Default // is group5. Changing this updates the existing policy. Pfs pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create an IPSec policy. If omitted, the // `region` argument of the provider is used. Changing this creates a new // policy. Region pulumi.StringPtrInput // The owner of the policy. Required if admin wants to // create a policy for another project. Changing this creates a new policy. TenantId pulumi.StringPtrInput // The transform protocol. Valid values are esp, ah and ah-esp. // Changing this updates the existing policy. Default is ESP. TransformProtocol pulumi.StringPtrInput // Map of additional options. ValueSpecs pulumi.MapInput }
The set of arguments for constructing a IpSecPolicy resource.
func (IpSecPolicyArgs) ElementType ¶
func (IpSecPolicyArgs) ElementType() reflect.Type
type IpSecPolicyArray ¶
type IpSecPolicyArray []IpSecPolicyInput
func (IpSecPolicyArray) ElementType ¶
func (IpSecPolicyArray) ElementType() reflect.Type
func (IpSecPolicyArray) ToIpSecPolicyArrayOutput ¶
func (i IpSecPolicyArray) ToIpSecPolicyArrayOutput() IpSecPolicyArrayOutput
func (IpSecPolicyArray) ToIpSecPolicyArrayOutputWithContext ¶
func (i IpSecPolicyArray) ToIpSecPolicyArrayOutputWithContext(ctx context.Context) IpSecPolicyArrayOutput
type IpSecPolicyArrayInput ¶
type IpSecPolicyArrayInput interface { pulumi.Input ToIpSecPolicyArrayOutput() IpSecPolicyArrayOutput ToIpSecPolicyArrayOutputWithContext(context.Context) IpSecPolicyArrayOutput }
IpSecPolicyArrayInput is an input type that accepts IpSecPolicyArray and IpSecPolicyArrayOutput values. You can construct a concrete instance of `IpSecPolicyArrayInput` via:
IpSecPolicyArray{ IpSecPolicyArgs{...} }
type IpSecPolicyArrayOutput ¶
type IpSecPolicyArrayOutput struct{ *pulumi.OutputState }
func (IpSecPolicyArrayOutput) ElementType ¶
func (IpSecPolicyArrayOutput) ElementType() reflect.Type
func (IpSecPolicyArrayOutput) Index ¶
func (o IpSecPolicyArrayOutput) Index(i pulumi.IntInput) IpSecPolicyOutput
func (IpSecPolicyArrayOutput) ToIpSecPolicyArrayOutput ¶
func (o IpSecPolicyArrayOutput) ToIpSecPolicyArrayOutput() IpSecPolicyArrayOutput
func (IpSecPolicyArrayOutput) ToIpSecPolicyArrayOutputWithContext ¶
func (o IpSecPolicyArrayOutput) ToIpSecPolicyArrayOutputWithContext(ctx context.Context) IpSecPolicyArrayOutput
type IpSecPolicyInput ¶
type IpSecPolicyInput interface { pulumi.Input ToIpSecPolicyOutput() IpSecPolicyOutput ToIpSecPolicyOutputWithContext(ctx context.Context) IpSecPolicyOutput }
type IpSecPolicyLifetime ¶
type IpSecPolicyLifetimeArgs ¶
type IpSecPolicyLifetimeArgs struct { Units pulumi.StringPtrInput `pulumi:"units"` // The value for the lifetime of the security association. Must be a positive integer. // Default is 3600. Value pulumi.IntPtrInput `pulumi:"value"` }
func (IpSecPolicyLifetimeArgs) ElementType ¶
func (IpSecPolicyLifetimeArgs) ElementType() reflect.Type
func (IpSecPolicyLifetimeArgs) ToIpSecPolicyLifetimeOutput ¶
func (i IpSecPolicyLifetimeArgs) ToIpSecPolicyLifetimeOutput() IpSecPolicyLifetimeOutput
func (IpSecPolicyLifetimeArgs) ToIpSecPolicyLifetimeOutputWithContext ¶
func (i IpSecPolicyLifetimeArgs) ToIpSecPolicyLifetimeOutputWithContext(ctx context.Context) IpSecPolicyLifetimeOutput
type IpSecPolicyLifetimeArray ¶
type IpSecPolicyLifetimeArray []IpSecPolicyLifetimeInput
func (IpSecPolicyLifetimeArray) ElementType ¶
func (IpSecPolicyLifetimeArray) ElementType() reflect.Type
func (IpSecPolicyLifetimeArray) ToIpSecPolicyLifetimeArrayOutput ¶
func (i IpSecPolicyLifetimeArray) ToIpSecPolicyLifetimeArrayOutput() IpSecPolicyLifetimeArrayOutput
func (IpSecPolicyLifetimeArray) ToIpSecPolicyLifetimeArrayOutputWithContext ¶
func (i IpSecPolicyLifetimeArray) ToIpSecPolicyLifetimeArrayOutputWithContext(ctx context.Context) IpSecPolicyLifetimeArrayOutput
type IpSecPolicyLifetimeArrayInput ¶
type IpSecPolicyLifetimeArrayInput interface { pulumi.Input ToIpSecPolicyLifetimeArrayOutput() IpSecPolicyLifetimeArrayOutput ToIpSecPolicyLifetimeArrayOutputWithContext(context.Context) IpSecPolicyLifetimeArrayOutput }
IpSecPolicyLifetimeArrayInput is an input type that accepts IpSecPolicyLifetimeArray and IpSecPolicyLifetimeArrayOutput values. You can construct a concrete instance of `IpSecPolicyLifetimeArrayInput` via:
IpSecPolicyLifetimeArray{ IpSecPolicyLifetimeArgs{...} }
type IpSecPolicyLifetimeArrayOutput ¶
type IpSecPolicyLifetimeArrayOutput struct{ *pulumi.OutputState }
func (IpSecPolicyLifetimeArrayOutput) ElementType ¶
func (IpSecPolicyLifetimeArrayOutput) ElementType() reflect.Type
func (IpSecPolicyLifetimeArrayOutput) Index ¶
func (o IpSecPolicyLifetimeArrayOutput) Index(i pulumi.IntInput) IpSecPolicyLifetimeOutput
func (IpSecPolicyLifetimeArrayOutput) ToIpSecPolicyLifetimeArrayOutput ¶
func (o IpSecPolicyLifetimeArrayOutput) ToIpSecPolicyLifetimeArrayOutput() IpSecPolicyLifetimeArrayOutput
func (IpSecPolicyLifetimeArrayOutput) ToIpSecPolicyLifetimeArrayOutputWithContext ¶
func (o IpSecPolicyLifetimeArrayOutput) ToIpSecPolicyLifetimeArrayOutputWithContext(ctx context.Context) IpSecPolicyLifetimeArrayOutput
type IpSecPolicyLifetimeInput ¶
type IpSecPolicyLifetimeInput interface { pulumi.Input ToIpSecPolicyLifetimeOutput() IpSecPolicyLifetimeOutput ToIpSecPolicyLifetimeOutputWithContext(context.Context) IpSecPolicyLifetimeOutput }
IpSecPolicyLifetimeInput is an input type that accepts IpSecPolicyLifetimeArgs and IpSecPolicyLifetimeOutput values. You can construct a concrete instance of `IpSecPolicyLifetimeInput` via:
IpSecPolicyLifetimeArgs{...}
type IpSecPolicyLifetimeOutput ¶
type IpSecPolicyLifetimeOutput struct{ *pulumi.OutputState }
func (IpSecPolicyLifetimeOutput) ElementType ¶
func (IpSecPolicyLifetimeOutput) ElementType() reflect.Type
func (IpSecPolicyLifetimeOutput) ToIpSecPolicyLifetimeOutput ¶
func (o IpSecPolicyLifetimeOutput) ToIpSecPolicyLifetimeOutput() IpSecPolicyLifetimeOutput
func (IpSecPolicyLifetimeOutput) ToIpSecPolicyLifetimeOutputWithContext ¶
func (o IpSecPolicyLifetimeOutput) ToIpSecPolicyLifetimeOutputWithContext(ctx context.Context) IpSecPolicyLifetimeOutput
func (IpSecPolicyLifetimeOutput) Units ¶
func (o IpSecPolicyLifetimeOutput) Units() pulumi.StringPtrOutput
func (IpSecPolicyLifetimeOutput) Value ¶
func (o IpSecPolicyLifetimeOutput) Value() pulumi.IntPtrOutput
The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
type IpSecPolicyMap ¶
type IpSecPolicyMap map[string]IpSecPolicyInput
func (IpSecPolicyMap) ElementType ¶
func (IpSecPolicyMap) ElementType() reflect.Type
func (IpSecPolicyMap) ToIpSecPolicyMapOutput ¶
func (i IpSecPolicyMap) ToIpSecPolicyMapOutput() IpSecPolicyMapOutput
func (IpSecPolicyMap) ToIpSecPolicyMapOutputWithContext ¶
func (i IpSecPolicyMap) ToIpSecPolicyMapOutputWithContext(ctx context.Context) IpSecPolicyMapOutput
type IpSecPolicyMapInput ¶
type IpSecPolicyMapInput interface { pulumi.Input ToIpSecPolicyMapOutput() IpSecPolicyMapOutput ToIpSecPolicyMapOutputWithContext(context.Context) IpSecPolicyMapOutput }
IpSecPolicyMapInput is an input type that accepts IpSecPolicyMap and IpSecPolicyMapOutput values. You can construct a concrete instance of `IpSecPolicyMapInput` via:
IpSecPolicyMap{ "key": IpSecPolicyArgs{...} }
type IpSecPolicyMapOutput ¶
type IpSecPolicyMapOutput struct{ *pulumi.OutputState }
func (IpSecPolicyMapOutput) ElementType ¶
func (IpSecPolicyMapOutput) ElementType() reflect.Type
func (IpSecPolicyMapOutput) MapIndex ¶
func (o IpSecPolicyMapOutput) MapIndex(k pulumi.StringInput) IpSecPolicyOutput
func (IpSecPolicyMapOutput) ToIpSecPolicyMapOutput ¶
func (o IpSecPolicyMapOutput) ToIpSecPolicyMapOutput() IpSecPolicyMapOutput
func (IpSecPolicyMapOutput) ToIpSecPolicyMapOutputWithContext ¶
func (o IpSecPolicyMapOutput) ToIpSecPolicyMapOutputWithContext(ctx context.Context) IpSecPolicyMapOutput
type IpSecPolicyOutput ¶
type IpSecPolicyOutput struct{ *pulumi.OutputState }
func (IpSecPolicyOutput) AuthAlgorithm ¶ added in v3.9.0
func (o IpSecPolicyOutput) AuthAlgorithm() pulumi.StringOutput
The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
func (IpSecPolicyOutput) Description ¶ added in v3.9.0
func (o IpSecPolicyOutput) Description() pulumi.StringPtrOutput
The human-readable description for the policy. Changing this updates the description of the existing policy.
func (IpSecPolicyOutput) ElementType ¶
func (IpSecPolicyOutput) ElementType() reflect.Type
func (IpSecPolicyOutput) EncapsulationMode ¶ added in v3.9.0
func (o IpSecPolicyOutput) EncapsulationMode() pulumi.StringOutput
The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. Changing this updates the existing policy.
func (IpSecPolicyOutput) EncryptionAlgorithm ¶ added in v3.9.0
func (o IpSecPolicyOutput) EncryptionAlgorithm() pulumi.StringOutput
The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
func (IpSecPolicyOutput) Lifetimes ¶ added in v3.9.0
func (o IpSecPolicyOutput) Lifetimes() IpSecPolicyLifetimeArrayOutput
The lifetime of the security association. Consists of Unit and Value.
func (IpSecPolicyOutput) Name ¶ added in v3.9.0
func (o IpSecPolicyOutput) Name() pulumi.StringOutput
The name of the policy. Changing this updates the name of the existing policy.
func (IpSecPolicyOutput) Pfs ¶ added in v3.9.0
func (o IpSecPolicyOutput) Pfs() pulumi.StringOutput
The perfect forward secrecy mode. Valid values are group2, group5 and group14. Default is group5. Changing this updates the existing policy.
func (IpSecPolicyOutput) Region ¶ added in v3.9.0
func (o IpSecPolicyOutput) Region() pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create an IPSec policy. If omitted, the `region` argument of the provider is used. Changing this creates a new policy.
func (IpSecPolicyOutput) TenantId ¶ added in v3.9.0
func (o IpSecPolicyOutput) TenantId() pulumi.StringOutput
The owner of the policy. Required if admin wants to create a policy for another project. Changing this creates a new policy.
func (IpSecPolicyOutput) ToIpSecPolicyOutput ¶
func (o IpSecPolicyOutput) ToIpSecPolicyOutput() IpSecPolicyOutput
func (IpSecPolicyOutput) ToIpSecPolicyOutputWithContext ¶
func (o IpSecPolicyOutput) ToIpSecPolicyOutputWithContext(ctx context.Context) IpSecPolicyOutput
func (IpSecPolicyOutput) TransformProtocol ¶ added in v3.9.0
func (o IpSecPolicyOutput) TransformProtocol() pulumi.StringOutput
The transform protocol. Valid values are esp, ah and ah-esp. Changing this updates the existing policy. Default is ESP.
func (IpSecPolicyOutput) ValueSpecs ¶ added in v3.9.0
func (o IpSecPolicyOutput) ValueSpecs() pulumi.MapOutput
Map of additional options.
type IpSecPolicyState ¶
type IpSecPolicyState struct { // The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. // Default is sha1. Changing this updates the algorithm of the existing policy. AuthAlgorithm pulumi.StringPtrInput // The human-readable description for the policy. // Changing this updates the description of the existing policy. Description pulumi.StringPtrInput // The encapsulation mode. Valid values are tunnel and transport. Default is tunnel. // Changing this updates the existing policy. EncapsulationMode pulumi.StringPtrInput // The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. // The default value is aes-128. Changing this updates the existing policy. EncryptionAlgorithm pulumi.StringPtrInput // The lifetime of the security association. Consists of Unit and Value. Lifetimes IpSecPolicyLifetimeArrayInput // The name of the policy. Changing this updates the name of // the existing policy. Name pulumi.StringPtrInput // The perfect forward secrecy mode. Valid values are group2, group5 and group14. Default // is group5. Changing this updates the existing policy. Pfs pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create an IPSec policy. If omitted, the // `region` argument of the provider is used. Changing this creates a new // policy. Region pulumi.StringPtrInput // The owner of the policy. Required if admin wants to // create a policy for another project. Changing this creates a new policy. TenantId pulumi.StringPtrInput // The transform protocol. Valid values are esp, ah and ah-esp. // Changing this updates the existing policy. Default is ESP. TransformProtocol pulumi.StringPtrInput // Map of additional options. ValueSpecs pulumi.MapInput }
func (IpSecPolicyState) ElementType ¶
func (IpSecPolicyState) ElementType() reflect.Type
type Service ¶
type Service struct { pulumi.CustomResourceState // The administrative state of the resource. Can either be up(true) or down(false). // Changing this updates the administrative state of the existing service. AdminStateUp pulumi.BoolPtrOutput `pulumi:"adminStateUp"` // The human-readable description for the service. // Changing this updates the description of the existing service. Description pulumi.StringPtrOutput `pulumi:"description"` // The read-only external (public) IPv4 address that is used for the VPN service. ExternalV4Ip pulumi.StringOutput `pulumi:"externalV4Ip"` // The read-only external (public) IPv6 address that is used for the VPN service. ExternalV6Ip pulumi.StringOutput `pulumi:"externalV6Ip"` // The name of the service. Changing this updates the name of // the existing service. Name pulumi.StringOutput `pulumi:"name"` // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a VPN service. If omitted, the // `region` argument of the provider is used. Changing this creates a new // service. Region pulumi.StringOutput `pulumi:"region"` // The ID of the router. Changing this creates a new service. RouterId pulumi.StringOutput `pulumi:"routerId"` // Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE. Status pulumi.StringOutput `pulumi:"status"` // SubnetID is the ID of the subnet. Default is null. SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"` // The owner of the service. Required if admin wants to // create a service for another project. Changing this creates a new service. TenantId pulumi.StringOutput `pulumi:"tenantId"` // Map of additional options. ValueSpecs pulumi.MapOutput `pulumi:"valueSpecs"` }
Manages a V2 Neutron VPN service resource within OpenStack.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/vpnaas" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vpnaas.NewService(ctx, "service1", &vpnaas.ServiceArgs{ AdminStateUp: pulumi.Bool(true), RouterId: pulumi.String("14a75700-fc03-4602-9294-26ee44f366b3"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Services can be imported using the `id`, e.g.
```sh $ pulumi import openstack:vpnaas/service:Service service_1 832cb7f3-59fe-40cf-8f64-8350ffc03272 ```
func GetService ¶
func GetService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)
GetService gets an existing Service resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewService ¶
func NewService(ctx *pulumi.Context, name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)
NewService registers a new resource with the given unique name, arguments, and options.
func (*Service) ElementType ¶
func (*Service) ToServiceOutput ¶
func (i *Service) ToServiceOutput() ServiceOutput
func (*Service) ToServiceOutputWithContext ¶
func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceArgs ¶
type ServiceArgs struct { // The administrative state of the resource. Can either be up(true) or down(false). // Changing this updates the administrative state of the existing service. AdminStateUp pulumi.BoolPtrInput // The human-readable description for the service. // Changing this updates the description of the existing service. Description pulumi.StringPtrInput // The name of the service. Changing this updates the name of // the existing service. Name pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a VPN service. If omitted, the // `region` argument of the provider is used. Changing this creates a new // service. Region pulumi.StringPtrInput // The ID of the router. Changing this creates a new service. RouterId pulumi.StringInput // SubnetID is the ID of the subnet. Default is null. SubnetId pulumi.StringPtrInput // The owner of the service. Required if admin wants to // create a service for another project. Changing this creates a new service. TenantId pulumi.StringPtrInput // Map of additional options. ValueSpecs pulumi.MapInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶
func (ServiceArgs) ElementType() reflect.Type
type ServiceArray ¶
type ServiceArray []ServiceInput
func (ServiceArray) ElementType ¶
func (ServiceArray) ElementType() reflect.Type
func (ServiceArray) ToServiceArrayOutput ¶
func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArray) ToServiceArrayOutputWithContext ¶
func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceArrayInput ¶
type ServiceArrayInput interface { pulumi.Input ToServiceArrayOutput() ServiceArrayOutput ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput }
ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:
ServiceArray{ ServiceArgs{...} }
type ServiceArrayOutput ¶
type ServiceArrayOutput struct{ *pulumi.OutputState }
func (ServiceArrayOutput) ElementType ¶
func (ServiceArrayOutput) ElementType() reflect.Type
func (ServiceArrayOutput) Index ¶
func (o ServiceArrayOutput) Index(i pulumi.IntInput) ServiceOutput
func (ServiceArrayOutput) ToServiceArrayOutput ¶
func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArrayOutput) ToServiceArrayOutputWithContext ¶
func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceInput ¶
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceMap ¶
type ServiceMap map[string]ServiceInput
func (ServiceMap) ElementType ¶
func (ServiceMap) ElementType() reflect.Type
func (ServiceMap) ToServiceMapOutput ¶
func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput
func (ServiceMap) ToServiceMapOutputWithContext ¶
func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceMapInput ¶
type ServiceMapInput interface { pulumi.Input ToServiceMapOutput() ServiceMapOutput ToServiceMapOutputWithContext(context.Context) ServiceMapOutput }
ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:
ServiceMap{ "key": ServiceArgs{...} }
type ServiceMapOutput ¶
type ServiceMapOutput struct{ *pulumi.OutputState }
func (ServiceMapOutput) ElementType ¶
func (ServiceMapOutput) ElementType() reflect.Type
func (ServiceMapOutput) MapIndex ¶
func (o ServiceMapOutput) MapIndex(k pulumi.StringInput) ServiceOutput
func (ServiceMapOutput) ToServiceMapOutput ¶
func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput
func (ServiceMapOutput) ToServiceMapOutputWithContext ¶
func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceOutput ¶
type ServiceOutput struct{ *pulumi.OutputState }
func (ServiceOutput) AdminStateUp ¶ added in v3.9.0
func (o ServiceOutput) AdminStateUp() pulumi.BoolPtrOutput
The administrative state of the resource. Can either be up(true) or down(false). Changing this updates the administrative state of the existing service.
func (ServiceOutput) Description ¶ added in v3.9.0
func (o ServiceOutput) Description() pulumi.StringPtrOutput
The human-readable description for the service. Changing this updates the description of the existing service.
func (ServiceOutput) ElementType ¶
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) ExternalV4Ip ¶ added in v3.9.0
func (o ServiceOutput) ExternalV4Ip() pulumi.StringOutput
The read-only external (public) IPv4 address that is used for the VPN service.
func (ServiceOutput) ExternalV6Ip ¶ added in v3.9.0
func (o ServiceOutput) ExternalV6Ip() pulumi.StringOutput
The read-only external (public) IPv6 address that is used for the VPN service.
func (ServiceOutput) Name ¶ added in v3.9.0
func (o ServiceOutput) Name() pulumi.StringOutput
The name of the service. Changing this updates the name of the existing service.
func (ServiceOutput) Region ¶ added in v3.9.0
func (o ServiceOutput) Region() pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the `region` argument of the provider is used. Changing this creates a new service.
func (ServiceOutput) RouterId ¶ added in v3.9.0
func (o ServiceOutput) RouterId() pulumi.StringOutput
The ID of the router. Changing this creates a new service.
func (ServiceOutput) Status ¶ added in v3.9.0
func (o ServiceOutput) Status() pulumi.StringOutput
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE.
func (ServiceOutput) SubnetId ¶ added in v3.9.0
func (o ServiceOutput) SubnetId() pulumi.StringPtrOutput
SubnetID is the ID of the subnet. Default is null.
func (ServiceOutput) TenantId ¶ added in v3.9.0
func (o ServiceOutput) TenantId() pulumi.StringOutput
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
func (ServiceOutput) ToServiceOutput ¶
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
func (ServiceOutput) ValueSpecs ¶ added in v3.9.0
func (o ServiceOutput) ValueSpecs() pulumi.MapOutput
Map of additional options.
type ServiceState ¶
type ServiceState struct { // The administrative state of the resource. Can either be up(true) or down(false). // Changing this updates the administrative state of the existing service. AdminStateUp pulumi.BoolPtrInput // The human-readable description for the service. // Changing this updates the description of the existing service. Description pulumi.StringPtrInput // The read-only external (public) IPv4 address that is used for the VPN service. ExternalV4Ip pulumi.StringPtrInput // The read-only external (public) IPv6 address that is used for the VPN service. ExternalV6Ip pulumi.StringPtrInput // The name of the service. Changing this updates the name of // the existing service. Name pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a VPN service. If omitted, the // `region` argument of the provider is used. Changing this creates a new // service. Region pulumi.StringPtrInput // The ID of the router. Changing this creates a new service. RouterId pulumi.StringPtrInput // Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE, or PENDING_DELETE. Status pulumi.StringPtrInput // SubnetID is the ID of the subnet. Default is null. SubnetId pulumi.StringPtrInput // The owner of the service. Required if admin wants to // create a service for another project. Changing this creates a new service. TenantId pulumi.StringPtrInput // Map of additional options. ValueSpecs pulumi.MapInput }
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type
type SiteConnection ¶
type SiteConnection struct { pulumi.CustomResourceState // The administrative state of the resource. Can either be up(true) or down(false). // Changing this updates the administrative state of the existing connection. AdminStateUp pulumi.BoolPtrOutput `pulumi:"adminStateUp"` // The human-readable description for the connection. // Changing this updates the description of the existing connection. Description pulumi.StringPtrOutput `pulumi:"description"` // A dictionary with dead peer detection (DPD) protocol controls. Dpds SiteConnectionDpdArrayOutput `pulumi:"dpds"` // The ID of the IKE policy. Changing this creates a new connection. IkepolicyId pulumi.StringOutput `pulumi:"ikepolicyId"` // A valid value is response-only or bi-directional. Default is bi-directional. Initiator pulumi.StringOutput `pulumi:"initiator"` // The ID of the IPsec policy. Changing this creates a new connection. IpsecpolicyId pulumi.StringOutput `pulumi:"ipsecpolicyId"` // The ID for the endpoint group that contains private subnets for the local side of the connection. // You must specify this parameter with the peerEpGroupId parameter unless // in backward- compatible mode where peerCidrs is provided with a subnetId for the VPN service. // Changing this updates the existing connection. LocalEpGroupId pulumi.StringPtrOutput `pulumi:"localEpGroupId"` // An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. // Most often, local ID would be domain name, email address, etc. // If this is not configured then the external IP address will be used as the ID. LocalId pulumi.StringPtrOutput `pulumi:"localId"` // The maximum transmission unit (MTU) value to address fragmentation. // Minimum value is 68 for IPv4, and 1280 for IPv6. Mtu pulumi.IntOutput `pulumi:"mtu"` // The name of the connection. Changing this updates the name of // the existing connection. Name pulumi.StringOutput `pulumi:"name"` // The peer gateway public IPv4 or IPv6 address or FQDN. PeerAddress pulumi.StringOutput `pulumi:"peerAddress"` // Unique list of valid peer private CIDRs in the form < netAddress > / < prefix > . PeerCidrs pulumi.StringArrayOutput `pulumi:"peerCidrs"` // The ID for the endpoint group that contains private CIDRs in the form < netAddress > / < prefix > for the peer side of the connection. // You must specify this parameter with the localEpGroupId parameter unless in backward-compatible mode // where peerCidrs is provided with a subnetId for the VPN service. PeerEpGroupId pulumi.StringPtrOutput `pulumi:"peerEpGroupId"` // The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. // Typically, this value matches the peerAddress value. // Changing this updates the existing policy. PeerId pulumi.StringOutput `pulumi:"peerId"` // The pre-shared key. A valid value is any string. Psk pulumi.StringOutput `pulumi:"psk"` // The region in which to obtain the V2 Networking client. // A Networking client is needed to create an IPSec site connection. If omitted, the // `region` argument of the provider is used. Changing this creates a new // site connection. Region pulumi.StringOutput `pulumi:"region"` // The owner of the connection. Required if admin wants to // create a connection for another project. Changing this creates a new connection. TenantId pulumi.StringOutput `pulumi:"tenantId"` // Map of additional options. ValueSpecs pulumi.MapOutput `pulumi:"valueSpecs"` // The ID of the VPN service. Changing this creates a new connection. VpnserviceId pulumi.StringOutput `pulumi:"vpnserviceId"` }
Manages a V2 Neutron IPSec site connection resource within OpenStack.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/vpnaas" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vpnaas.NewSiteConnection(ctx, "conn1", &vpnaas.SiteConnectionArgs{ IkepolicyId: pulumi.Any(openstack_vpnaas_ike_policy_v2.Policy_2.Id), IpsecpolicyId: pulumi.Any(openstack_vpnaas_ipsec_policy_v2.Policy_1.Id), VpnserviceId: pulumi.Any(openstack_vpnaas_service_v2.Service_1.Id), Psk: pulumi.String("secret"), PeerAddress: pulumi.String("192.168.10.1"), LocalEpGroupId: pulumi.Any(openstack_vpnaas_endpoint_group_v2.Group_2.Id), PeerEpGroupId: pulumi.Any(openstack_vpnaas_endpoint_group_v2.Group_1.Id), Dpds: vpnaas.SiteConnectionDpdArray{ &vpnaas.SiteConnectionDpdArgs{ Action: pulumi.String("restart"), Timeout: pulumi.Int(42), Interval: pulumi.Int(21), }, }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Site Connections can be imported using the `id`, e.g.
```sh $ pulumi import openstack:vpnaas/siteConnection:SiteConnection conn_1 832cb7f3-59fe-40cf-8f64-8350ffc03272 ```
func GetSiteConnection ¶
func GetSiteConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SiteConnectionState, opts ...pulumi.ResourceOption) (*SiteConnection, error)
GetSiteConnection gets an existing SiteConnection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSiteConnection ¶
func NewSiteConnection(ctx *pulumi.Context, name string, args *SiteConnectionArgs, opts ...pulumi.ResourceOption) (*SiteConnection, error)
NewSiteConnection registers a new resource with the given unique name, arguments, and options.
func (*SiteConnection) ElementType ¶
func (*SiteConnection) ElementType() reflect.Type
func (*SiteConnection) ToSiteConnectionOutput ¶
func (i *SiteConnection) ToSiteConnectionOutput() SiteConnectionOutput
func (*SiteConnection) ToSiteConnectionOutputWithContext ¶
func (i *SiteConnection) ToSiteConnectionOutputWithContext(ctx context.Context) SiteConnectionOutput
type SiteConnectionArgs ¶
type SiteConnectionArgs struct { // The administrative state of the resource. Can either be up(true) or down(false). // Changing this updates the administrative state of the existing connection. AdminStateUp pulumi.BoolPtrInput // The human-readable description for the connection. // Changing this updates the description of the existing connection. Description pulumi.StringPtrInput // A dictionary with dead peer detection (DPD) protocol controls. Dpds SiteConnectionDpdArrayInput // The ID of the IKE policy. Changing this creates a new connection. IkepolicyId pulumi.StringInput // A valid value is response-only or bi-directional. Default is bi-directional. Initiator pulumi.StringPtrInput // The ID of the IPsec policy. Changing this creates a new connection. IpsecpolicyId pulumi.StringInput // The ID for the endpoint group that contains private subnets for the local side of the connection. // You must specify this parameter with the peerEpGroupId parameter unless // in backward- compatible mode where peerCidrs is provided with a subnetId for the VPN service. // Changing this updates the existing connection. LocalEpGroupId pulumi.StringPtrInput // An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. // Most often, local ID would be domain name, email address, etc. // If this is not configured then the external IP address will be used as the ID. LocalId pulumi.StringPtrInput // The maximum transmission unit (MTU) value to address fragmentation. // Minimum value is 68 for IPv4, and 1280 for IPv6. Mtu pulumi.IntPtrInput // The name of the connection. Changing this updates the name of // the existing connection. Name pulumi.StringPtrInput // The peer gateway public IPv4 or IPv6 address or FQDN. PeerAddress pulumi.StringInput // Unique list of valid peer private CIDRs in the form < netAddress > / < prefix > . PeerCidrs pulumi.StringArrayInput // The ID for the endpoint group that contains private CIDRs in the form < netAddress > / < prefix > for the peer side of the connection. // You must specify this parameter with the localEpGroupId parameter unless in backward-compatible mode // where peerCidrs is provided with a subnetId for the VPN service. PeerEpGroupId pulumi.StringPtrInput // The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. // Typically, this value matches the peerAddress value. // Changing this updates the existing policy. PeerId pulumi.StringInput // The pre-shared key. A valid value is any string. Psk pulumi.StringInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create an IPSec site connection. If omitted, the // `region` argument of the provider is used. Changing this creates a new // site connection. Region pulumi.StringPtrInput // The owner of the connection. Required if admin wants to // create a connection for another project. Changing this creates a new connection. TenantId pulumi.StringPtrInput // Map of additional options. ValueSpecs pulumi.MapInput // The ID of the VPN service. Changing this creates a new connection. VpnserviceId pulumi.StringInput }
The set of arguments for constructing a SiteConnection resource.
func (SiteConnectionArgs) ElementType ¶
func (SiteConnectionArgs) ElementType() reflect.Type
type SiteConnectionArray ¶
type SiteConnectionArray []SiteConnectionInput
func (SiteConnectionArray) ElementType ¶
func (SiteConnectionArray) ElementType() reflect.Type
func (SiteConnectionArray) ToSiteConnectionArrayOutput ¶
func (i SiteConnectionArray) ToSiteConnectionArrayOutput() SiteConnectionArrayOutput
func (SiteConnectionArray) ToSiteConnectionArrayOutputWithContext ¶
func (i SiteConnectionArray) ToSiteConnectionArrayOutputWithContext(ctx context.Context) SiteConnectionArrayOutput
type SiteConnectionArrayInput ¶
type SiteConnectionArrayInput interface { pulumi.Input ToSiteConnectionArrayOutput() SiteConnectionArrayOutput ToSiteConnectionArrayOutputWithContext(context.Context) SiteConnectionArrayOutput }
SiteConnectionArrayInput is an input type that accepts SiteConnectionArray and SiteConnectionArrayOutput values. You can construct a concrete instance of `SiteConnectionArrayInput` via:
SiteConnectionArray{ SiteConnectionArgs{...} }
type SiteConnectionArrayOutput ¶
type SiteConnectionArrayOutput struct{ *pulumi.OutputState }
func (SiteConnectionArrayOutput) ElementType ¶
func (SiteConnectionArrayOutput) ElementType() reflect.Type
func (SiteConnectionArrayOutput) Index ¶
func (o SiteConnectionArrayOutput) Index(i pulumi.IntInput) SiteConnectionOutput
func (SiteConnectionArrayOutput) ToSiteConnectionArrayOutput ¶
func (o SiteConnectionArrayOutput) ToSiteConnectionArrayOutput() SiteConnectionArrayOutput
func (SiteConnectionArrayOutput) ToSiteConnectionArrayOutputWithContext ¶
func (o SiteConnectionArrayOutput) ToSiteConnectionArrayOutputWithContext(ctx context.Context) SiteConnectionArrayOutput
type SiteConnectionDpd ¶
type SiteConnectionDpd struct { // The dead peer detection (DPD) action. // A valid value is clear, hold, restart, disabled, or restart-by-peer. // Default value is hold. Action *string `pulumi:"action"` // The dead peer detection (DPD) interval, in seconds. // A valid value is a positive integer. // Default is 30. Interval *int `pulumi:"interval"` // The dead peer detection (DPD) timeout in seconds. // A valid value is a positive integer that is greater than the DPD interval value. // Default is 120. Timeout *int `pulumi:"timeout"` }
type SiteConnectionDpdArgs ¶
type SiteConnectionDpdArgs struct { // The dead peer detection (DPD) action. // A valid value is clear, hold, restart, disabled, or restart-by-peer. // Default value is hold. Action pulumi.StringPtrInput `pulumi:"action"` // The dead peer detection (DPD) interval, in seconds. // A valid value is a positive integer. // Default is 30. Interval pulumi.IntPtrInput `pulumi:"interval"` // The dead peer detection (DPD) timeout in seconds. // A valid value is a positive integer that is greater than the DPD interval value. // Default is 120. Timeout pulumi.IntPtrInput `pulumi:"timeout"` }
func (SiteConnectionDpdArgs) ElementType ¶
func (SiteConnectionDpdArgs) ElementType() reflect.Type
func (SiteConnectionDpdArgs) ToSiteConnectionDpdOutput ¶
func (i SiteConnectionDpdArgs) ToSiteConnectionDpdOutput() SiteConnectionDpdOutput
func (SiteConnectionDpdArgs) ToSiteConnectionDpdOutputWithContext ¶
func (i SiteConnectionDpdArgs) ToSiteConnectionDpdOutputWithContext(ctx context.Context) SiteConnectionDpdOutput
type SiteConnectionDpdArray ¶
type SiteConnectionDpdArray []SiteConnectionDpdInput
func (SiteConnectionDpdArray) ElementType ¶
func (SiteConnectionDpdArray) ElementType() reflect.Type
func (SiteConnectionDpdArray) ToSiteConnectionDpdArrayOutput ¶
func (i SiteConnectionDpdArray) ToSiteConnectionDpdArrayOutput() SiteConnectionDpdArrayOutput
func (SiteConnectionDpdArray) ToSiteConnectionDpdArrayOutputWithContext ¶
func (i SiteConnectionDpdArray) ToSiteConnectionDpdArrayOutputWithContext(ctx context.Context) SiteConnectionDpdArrayOutput
type SiteConnectionDpdArrayInput ¶
type SiteConnectionDpdArrayInput interface { pulumi.Input ToSiteConnectionDpdArrayOutput() SiteConnectionDpdArrayOutput ToSiteConnectionDpdArrayOutputWithContext(context.Context) SiteConnectionDpdArrayOutput }
SiteConnectionDpdArrayInput is an input type that accepts SiteConnectionDpdArray and SiteConnectionDpdArrayOutput values. You can construct a concrete instance of `SiteConnectionDpdArrayInput` via:
SiteConnectionDpdArray{ SiteConnectionDpdArgs{...} }
type SiteConnectionDpdArrayOutput ¶
type SiteConnectionDpdArrayOutput struct{ *pulumi.OutputState }
func (SiteConnectionDpdArrayOutput) ElementType ¶
func (SiteConnectionDpdArrayOutput) ElementType() reflect.Type
func (SiteConnectionDpdArrayOutput) Index ¶
func (o SiteConnectionDpdArrayOutput) Index(i pulumi.IntInput) SiteConnectionDpdOutput
func (SiteConnectionDpdArrayOutput) ToSiteConnectionDpdArrayOutput ¶
func (o SiteConnectionDpdArrayOutput) ToSiteConnectionDpdArrayOutput() SiteConnectionDpdArrayOutput
func (SiteConnectionDpdArrayOutput) ToSiteConnectionDpdArrayOutputWithContext ¶
func (o SiteConnectionDpdArrayOutput) ToSiteConnectionDpdArrayOutputWithContext(ctx context.Context) SiteConnectionDpdArrayOutput
type SiteConnectionDpdInput ¶
type SiteConnectionDpdInput interface { pulumi.Input ToSiteConnectionDpdOutput() SiteConnectionDpdOutput ToSiteConnectionDpdOutputWithContext(context.Context) SiteConnectionDpdOutput }
SiteConnectionDpdInput is an input type that accepts SiteConnectionDpdArgs and SiteConnectionDpdOutput values. You can construct a concrete instance of `SiteConnectionDpdInput` via:
SiteConnectionDpdArgs{...}
type SiteConnectionDpdOutput ¶
type SiteConnectionDpdOutput struct{ *pulumi.OutputState }
func (SiteConnectionDpdOutput) Action ¶
func (o SiteConnectionDpdOutput) Action() pulumi.StringPtrOutput
The dead peer detection (DPD) action. A valid value is clear, hold, restart, disabled, or restart-by-peer. Default value is hold.
func (SiteConnectionDpdOutput) ElementType ¶
func (SiteConnectionDpdOutput) ElementType() reflect.Type
func (SiteConnectionDpdOutput) Interval ¶
func (o SiteConnectionDpdOutput) Interval() pulumi.IntPtrOutput
The dead peer detection (DPD) interval, in seconds. A valid value is a positive integer. Default is 30.
func (SiteConnectionDpdOutput) Timeout ¶
func (o SiteConnectionDpdOutput) Timeout() pulumi.IntPtrOutput
The dead peer detection (DPD) timeout in seconds. A valid value is a positive integer that is greater than the DPD interval value. Default is 120.
func (SiteConnectionDpdOutput) ToSiteConnectionDpdOutput ¶
func (o SiteConnectionDpdOutput) ToSiteConnectionDpdOutput() SiteConnectionDpdOutput
func (SiteConnectionDpdOutput) ToSiteConnectionDpdOutputWithContext ¶
func (o SiteConnectionDpdOutput) ToSiteConnectionDpdOutputWithContext(ctx context.Context) SiteConnectionDpdOutput
type SiteConnectionInput ¶
type SiteConnectionInput interface { pulumi.Input ToSiteConnectionOutput() SiteConnectionOutput ToSiteConnectionOutputWithContext(ctx context.Context) SiteConnectionOutput }
type SiteConnectionMap ¶
type SiteConnectionMap map[string]SiteConnectionInput
func (SiteConnectionMap) ElementType ¶
func (SiteConnectionMap) ElementType() reflect.Type
func (SiteConnectionMap) ToSiteConnectionMapOutput ¶
func (i SiteConnectionMap) ToSiteConnectionMapOutput() SiteConnectionMapOutput
func (SiteConnectionMap) ToSiteConnectionMapOutputWithContext ¶
func (i SiteConnectionMap) ToSiteConnectionMapOutputWithContext(ctx context.Context) SiteConnectionMapOutput
type SiteConnectionMapInput ¶
type SiteConnectionMapInput interface { pulumi.Input ToSiteConnectionMapOutput() SiteConnectionMapOutput ToSiteConnectionMapOutputWithContext(context.Context) SiteConnectionMapOutput }
SiteConnectionMapInput is an input type that accepts SiteConnectionMap and SiteConnectionMapOutput values. You can construct a concrete instance of `SiteConnectionMapInput` via:
SiteConnectionMap{ "key": SiteConnectionArgs{...} }
type SiteConnectionMapOutput ¶
type SiteConnectionMapOutput struct{ *pulumi.OutputState }
func (SiteConnectionMapOutput) ElementType ¶
func (SiteConnectionMapOutput) ElementType() reflect.Type
func (SiteConnectionMapOutput) MapIndex ¶
func (o SiteConnectionMapOutput) MapIndex(k pulumi.StringInput) SiteConnectionOutput
func (SiteConnectionMapOutput) ToSiteConnectionMapOutput ¶
func (o SiteConnectionMapOutput) ToSiteConnectionMapOutput() SiteConnectionMapOutput
func (SiteConnectionMapOutput) ToSiteConnectionMapOutputWithContext ¶
func (o SiteConnectionMapOutput) ToSiteConnectionMapOutputWithContext(ctx context.Context) SiteConnectionMapOutput
type SiteConnectionOutput ¶
type SiteConnectionOutput struct{ *pulumi.OutputState }
func (SiteConnectionOutput) AdminStateUp ¶ added in v3.9.0
func (o SiteConnectionOutput) AdminStateUp() pulumi.BoolPtrOutput
The administrative state of the resource. Can either be up(true) or down(false). Changing this updates the administrative state of the existing connection.
func (SiteConnectionOutput) Description ¶ added in v3.9.0
func (o SiteConnectionOutput) Description() pulumi.StringPtrOutput
The human-readable description for the connection. Changing this updates the description of the existing connection.
func (SiteConnectionOutput) Dpds ¶ added in v3.9.0
func (o SiteConnectionOutput) Dpds() SiteConnectionDpdArrayOutput
A dictionary with dead peer detection (DPD) protocol controls.
func (SiteConnectionOutput) ElementType ¶
func (SiteConnectionOutput) ElementType() reflect.Type
func (SiteConnectionOutput) IkepolicyId ¶ added in v3.9.0
func (o SiteConnectionOutput) IkepolicyId() pulumi.StringOutput
The ID of the IKE policy. Changing this creates a new connection.
func (SiteConnectionOutput) Initiator ¶ added in v3.9.0
func (o SiteConnectionOutput) Initiator() pulumi.StringOutput
A valid value is response-only or bi-directional. Default is bi-directional.
func (SiteConnectionOutput) IpsecpolicyId ¶ added in v3.9.0
func (o SiteConnectionOutput) IpsecpolicyId() pulumi.StringOutput
The ID of the IPsec policy. Changing this creates a new connection.
func (SiteConnectionOutput) LocalEpGroupId ¶ added in v3.9.0
func (o SiteConnectionOutput) LocalEpGroupId() pulumi.StringPtrOutput
The ID for the endpoint group that contains private subnets for the local side of the connection. You must specify this parameter with the peerEpGroupId parameter unless in backward- compatible mode where peerCidrs is provided with a subnetId for the VPN service. Changing this updates the existing connection.
func (SiteConnectionOutput) LocalId ¶ added in v3.9.0
func (o SiteConnectionOutput) LocalId() pulumi.StringPtrOutput
An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
func (SiteConnectionOutput) Mtu ¶ added in v3.9.0
func (o SiteConnectionOutput) Mtu() pulumi.IntOutput
The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
func (SiteConnectionOutput) Name ¶ added in v3.9.0
func (o SiteConnectionOutput) Name() pulumi.StringOutput
The name of the connection. Changing this updates the name of the existing connection.
func (SiteConnectionOutput) PeerAddress ¶ added in v3.9.0
func (o SiteConnectionOutput) PeerAddress() pulumi.StringOutput
The peer gateway public IPv4 or IPv6 address or FQDN.
func (SiteConnectionOutput) PeerCidrs ¶ added in v3.9.0
func (o SiteConnectionOutput) PeerCidrs() pulumi.StringArrayOutput
Unique list of valid peer private CIDRs in the form < netAddress > / < prefix > .
func (SiteConnectionOutput) PeerEpGroupId ¶ added in v3.9.0
func (o SiteConnectionOutput) PeerEpGroupId() pulumi.StringPtrOutput
The ID for the endpoint group that contains private CIDRs in the form < netAddress > / < prefix > for the peer side of the connection. You must specify this parameter with the localEpGroupId parameter unless in backward-compatible mode where peerCidrs is provided with a subnetId for the VPN service.
func (SiteConnectionOutput) PeerId ¶ added in v3.9.0
func (o SiteConnectionOutput) PeerId() pulumi.StringOutput
The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peerAddress value. Changing this updates the existing policy.
func (SiteConnectionOutput) Psk ¶ added in v3.9.0
func (o SiteConnectionOutput) Psk() pulumi.StringOutput
The pre-shared key. A valid value is any string.
func (SiteConnectionOutput) Region ¶ added in v3.9.0
func (o SiteConnectionOutput) Region() pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create an IPSec site connection. If omitted, the `region` argument of the provider is used. Changing this creates a new site connection.
func (SiteConnectionOutput) TenantId ¶ added in v3.9.0
func (o SiteConnectionOutput) TenantId() pulumi.StringOutput
The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
func (SiteConnectionOutput) ToSiteConnectionOutput ¶
func (o SiteConnectionOutput) ToSiteConnectionOutput() SiteConnectionOutput
func (SiteConnectionOutput) ToSiteConnectionOutputWithContext ¶
func (o SiteConnectionOutput) ToSiteConnectionOutputWithContext(ctx context.Context) SiteConnectionOutput
func (SiteConnectionOutput) ValueSpecs ¶ added in v3.9.0
func (o SiteConnectionOutput) ValueSpecs() pulumi.MapOutput
Map of additional options.
func (SiteConnectionOutput) VpnserviceId ¶ added in v3.9.0
func (o SiteConnectionOutput) VpnserviceId() pulumi.StringOutput
The ID of the VPN service. Changing this creates a new connection.
type SiteConnectionState ¶
type SiteConnectionState struct { // The administrative state of the resource. Can either be up(true) or down(false). // Changing this updates the administrative state of the existing connection. AdminStateUp pulumi.BoolPtrInput // The human-readable description for the connection. // Changing this updates the description of the existing connection. Description pulumi.StringPtrInput // A dictionary with dead peer detection (DPD) protocol controls. Dpds SiteConnectionDpdArrayInput // The ID of the IKE policy. Changing this creates a new connection. IkepolicyId pulumi.StringPtrInput // A valid value is response-only or bi-directional. Default is bi-directional. Initiator pulumi.StringPtrInput // The ID of the IPsec policy. Changing this creates a new connection. IpsecpolicyId pulumi.StringPtrInput // The ID for the endpoint group that contains private subnets for the local side of the connection. // You must specify this parameter with the peerEpGroupId parameter unless // in backward- compatible mode where peerCidrs is provided with a subnetId for the VPN service. // Changing this updates the existing connection. LocalEpGroupId pulumi.StringPtrInput // An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. // Most often, local ID would be domain name, email address, etc. // If this is not configured then the external IP address will be used as the ID. LocalId pulumi.StringPtrInput // The maximum transmission unit (MTU) value to address fragmentation. // Minimum value is 68 for IPv4, and 1280 for IPv6. Mtu pulumi.IntPtrInput // The name of the connection. Changing this updates the name of // the existing connection. Name pulumi.StringPtrInput // The peer gateway public IPv4 or IPv6 address or FQDN. PeerAddress pulumi.StringPtrInput // Unique list of valid peer private CIDRs in the form < netAddress > / < prefix > . PeerCidrs pulumi.StringArrayInput // The ID for the endpoint group that contains private CIDRs in the form < netAddress > / < prefix > for the peer side of the connection. // You must specify this parameter with the localEpGroupId parameter unless in backward-compatible mode // where peerCidrs is provided with a subnetId for the VPN service. PeerEpGroupId pulumi.StringPtrInput // The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. // Typically, this value matches the peerAddress value. // Changing this updates the existing policy. PeerId pulumi.StringPtrInput // The pre-shared key. A valid value is any string. Psk pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create an IPSec site connection. If omitted, the // `region` argument of the provider is used. Changing this creates a new // site connection. Region pulumi.StringPtrInput // The owner of the connection. Required if admin wants to // create a connection for another project. Changing this creates a new connection. TenantId pulumi.StringPtrInput // Map of additional options. ValueSpecs pulumi.MapInput // The ID of the VPN service. Changing this creates a new connection. VpnserviceId pulumi.StringPtrInput }
func (SiteConnectionState) ElementType ¶
func (SiteConnectionState) ElementType() reflect.Type