IkeGateway resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// The scm_ike_crypto_profile resource is a prerequisite for the IKE gateway.
const scmIkeGwCryptoProfile1 = new scm.IkeCryptoProfile("scm_ike_gw_crypto_profile_1", {
folder: "Remote Networks",
name: "scm_ike_gw_crypto_profile_1",
hashes: ["sha256"],
dhGroups: ["group14"],
encryptions: ["aes-256-cbc"],
});
// This is the main scm_ike_gateway resource.
const scmIkeGateway1 = new scm.IkeGateway("scm_ike_gateway_1", {
folder: "Remote Networks",
name: "scm_ike_gateway_1",
authentication: {
preSharedKey: {
key: "123456",
},
},
peerAddress: {
ip: "2.2.2.4",
},
peerId: {
type: "ipaddr",
id: "10.3.3.4",
},
localId: {
type: "ipaddr",
id: "10.3.4.4",
},
protocol: {
ikev1: {
ikeCryptoProfile: scmIkeGwCryptoProfile1.name,
dpd: {
enable: true,
},
},
ikev2: {
ikeCryptoProfile: scmIkeGwCryptoProfile1.name,
dpd: {
enable: true,
},
},
},
});
import pulumi
import pulumi_scm as scm
# The scm_ike_crypto_profile resource is a prerequisite for the IKE gateway.
scm_ike_gw_crypto_profile1 = scm.IkeCryptoProfile("scm_ike_gw_crypto_profile_1",
folder="Remote Networks",
name="scm_ike_gw_crypto_profile_1",
hashes=["sha256"],
dh_groups=["group14"],
encryptions=["aes-256-cbc"])
# This is the main scm_ike_gateway resource.
scm_ike_gateway1 = scm.IkeGateway("scm_ike_gateway_1",
folder="Remote Networks",
name="scm_ike_gateway_1",
authentication={
"pre_shared_key": {
"key": "123456",
},
},
peer_address={
"ip": "2.2.2.4",
},
peer_id={
"type": "ipaddr",
"id": "10.3.3.4",
},
local_id={
"type": "ipaddr",
"id": "10.3.4.4",
},
protocol={
"ikev1": {
"ike_crypto_profile": scm_ike_gw_crypto_profile1.name,
"dpd": {
"enable": True,
},
},
"ikev2": {
"ike_crypto_profile": scm_ike_gw_crypto_profile1.name,
"dpd": {
"enable": True,
},
},
})
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// The scm_ike_crypto_profile resource is a prerequisite for the IKE gateway.
scmIkeGwCryptoProfile1, err := scm.NewIkeCryptoProfile(ctx, "scm_ike_gw_crypto_profile_1", &scm.IkeCryptoProfileArgs{
Folder: pulumi.String("Remote Networks"),
Name: pulumi.String("scm_ike_gw_crypto_profile_1"),
Hashes: pulumi.StringArray{
pulumi.String("sha256"),
},
DhGroups: pulumi.StringArray{
pulumi.String("group14"),
},
Encryptions: pulumi.StringArray{
pulumi.String("aes-256-cbc"),
},
})
if err != nil {
return err
}
// This is the main scm_ike_gateway resource.
_, err = scm.NewIkeGateway(ctx, "scm_ike_gateway_1", &scm.IkeGatewayArgs{
Folder: pulumi.String("Remote Networks"),
Name: pulumi.String("scm_ike_gateway_1"),
Authentication: &scm.IkeGatewayAuthenticationArgs{
PreSharedKey: &scm.IkeGatewayAuthenticationPreSharedKeyArgs{
Key: pulumi.String("123456"),
},
},
PeerAddress: &scm.IkeGatewayPeerAddressArgs{
Ip: pulumi.String("2.2.2.4"),
},
PeerId: &scm.IkeGatewayPeerIdArgs{
Type: pulumi.String("ipaddr"),
Id: pulumi.String("10.3.3.4"),
},
LocalId: &scm.IkeGatewayLocalIdArgs{
Type: pulumi.String("ipaddr"),
Id: pulumi.String("10.3.4.4"),
},
Protocol: &scm.IkeGatewayProtocolArgs{
Ikev1: &scm.IkeGatewayProtocolIkev1Args{
IkeCryptoProfile: scmIkeGwCryptoProfile1.Name,
Dpd: &scm.IkeGatewayProtocolIkev1DpdArgs{
Enable: pulumi.Bool(true),
},
},
Ikev2: &scm.IkeGatewayProtocolIkev2Args{
IkeCryptoProfile: scmIkeGwCryptoProfile1.Name,
Dpd: &scm.IkeGatewayProtocolIkev2DpdArgs{
Enable: pulumi.Bool(true),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// The scm_ike_crypto_profile resource is a prerequisite for the IKE gateway.
var scmIkeGwCryptoProfile1 = new Scm.IkeCryptoProfile("scm_ike_gw_crypto_profile_1", new()
{
Folder = "Remote Networks",
Name = "scm_ike_gw_crypto_profile_1",
Hashes = new[]
{
"sha256",
},
DhGroups = new[]
{
"group14",
},
Encryptions = new[]
{
"aes-256-cbc",
},
});
// This is the main scm_ike_gateway resource.
var scmIkeGateway1 = new Scm.IkeGateway("scm_ike_gateway_1", new()
{
Folder = "Remote Networks",
Name = "scm_ike_gateway_1",
Authentication = new Scm.Inputs.IkeGatewayAuthenticationArgs
{
PreSharedKey = new Scm.Inputs.IkeGatewayAuthenticationPreSharedKeyArgs
{
Key = "123456",
},
},
PeerAddress = new Scm.Inputs.IkeGatewayPeerAddressArgs
{
Ip = "2.2.2.4",
},
PeerId = new Scm.Inputs.IkeGatewayPeerIdArgs
{
Type = "ipaddr",
Id = "10.3.3.4",
},
LocalId = new Scm.Inputs.IkeGatewayLocalIdArgs
{
Type = "ipaddr",
Id = "10.3.4.4",
},
Protocol = new Scm.Inputs.IkeGatewayProtocolArgs
{
Ikev1 = new Scm.Inputs.IkeGatewayProtocolIkev1Args
{
IkeCryptoProfile = scmIkeGwCryptoProfile1.Name,
Dpd = new Scm.Inputs.IkeGatewayProtocolIkev1DpdArgs
{
Enable = true,
},
},
Ikev2 = new Scm.Inputs.IkeGatewayProtocolIkev2Args
{
IkeCryptoProfile = scmIkeGwCryptoProfile1.Name,
Dpd = new Scm.Inputs.IkeGatewayProtocolIkev2DpdArgs
{
Enable = true,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.IkeCryptoProfile;
import com.pulumi.scm.IkeCryptoProfileArgs;
import com.pulumi.scm.IkeGateway;
import com.pulumi.scm.IkeGatewayArgs;
import com.pulumi.scm.inputs.IkeGatewayAuthenticationArgs;
import com.pulumi.scm.inputs.IkeGatewayAuthenticationPreSharedKeyArgs;
import com.pulumi.scm.inputs.IkeGatewayPeerAddressArgs;
import com.pulumi.scm.inputs.IkeGatewayPeerIdArgs;
import com.pulumi.scm.inputs.IkeGatewayLocalIdArgs;
import com.pulumi.scm.inputs.IkeGatewayProtocolArgs;
import com.pulumi.scm.inputs.IkeGatewayProtocolIkev1Args;
import com.pulumi.scm.inputs.IkeGatewayProtocolIkev1DpdArgs;
import com.pulumi.scm.inputs.IkeGatewayProtocolIkev2Args;
import com.pulumi.scm.inputs.IkeGatewayProtocolIkev2DpdArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// The scm_ike_crypto_profile resource is a prerequisite for the IKE gateway.
var scmIkeGwCryptoProfile1 = new IkeCryptoProfile("scmIkeGwCryptoProfile1", IkeCryptoProfileArgs.builder()
.folder("Remote Networks")
.name("scm_ike_gw_crypto_profile_1")
.hashes("sha256")
.dhGroups("group14")
.encryptions("aes-256-cbc")
.build());
// This is the main scm_ike_gateway resource.
var scmIkeGateway1 = new IkeGateway("scmIkeGateway1", IkeGatewayArgs.builder()
.folder("Remote Networks")
.name("scm_ike_gateway_1")
.authentication(IkeGatewayAuthenticationArgs.builder()
.preSharedKey(IkeGatewayAuthenticationPreSharedKeyArgs.builder()
.key("123456")
.build())
.build())
.peerAddress(IkeGatewayPeerAddressArgs.builder()
.ip("2.2.2.4")
.build())
.peerId(IkeGatewayPeerIdArgs.builder()
.type("ipaddr")
.id("10.3.3.4")
.build())
.localId(IkeGatewayLocalIdArgs.builder()
.type("ipaddr")
.id("10.3.4.4")
.build())
.protocol(IkeGatewayProtocolArgs.builder()
.ikev1(IkeGatewayProtocolIkev1Args.builder()
.ikeCryptoProfile(scmIkeGwCryptoProfile1.name())
.dpd(IkeGatewayProtocolIkev1DpdArgs.builder()
.enable(true)
.build())
.build())
.ikev2(IkeGatewayProtocolIkev2Args.builder()
.ikeCryptoProfile(scmIkeGwCryptoProfile1.name())
.dpd(IkeGatewayProtocolIkev2DpdArgs.builder()
.enable(true)
.build())
.build())
.build())
.build());
}
}
resources:
# The scm_ike_crypto_profile resource is a prerequisite for the IKE gateway.
scmIkeGwCryptoProfile1:
type: scm:IkeCryptoProfile
name: scm_ike_gw_crypto_profile_1
properties:
folder: Remote Networks
name: scm_ike_gw_crypto_profile_1
hashes:
- sha256
dhGroups:
- group14
encryptions:
- aes-256-cbc
# This is the main scm_ike_gateway resource.
scmIkeGateway1:
type: scm:IkeGateway
name: scm_ike_gateway_1
properties:
folder: Remote Networks
name: scm_ike_gateway_1
authentication:
preSharedKey:
key: '123456'
peerAddress:
ip: 2.2.2.4
peerId:
type: ipaddr
id: 10.3.3.4
localId:
type: ipaddr
id: 10.3.4.4
protocol:
ikev1:
ikeCryptoProfile: ${scmIkeGwCryptoProfile1.name}
dpd:
enable: true
ikev2:
ikeCryptoProfile: ${scmIkeGwCryptoProfile1.name}
dpd:
enable: true
Create IkeGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IkeGateway(name: string, args: IkeGatewayArgs, opts?: CustomResourceOptions);@overload
def IkeGateway(resource_name: str,
args: IkeGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IkeGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
authentication: Optional[IkeGatewayAuthenticationArgs] = None,
peer_address: Optional[IkeGatewayPeerAddressArgs] = None,
protocol: Optional[IkeGatewayProtocolArgs] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
local_address: Optional[IkeGatewayLocalAddressArgs] = None,
local_id: Optional[IkeGatewayLocalIdArgs] = None,
name: Optional[str] = None,
peer_id: Optional[IkeGatewayPeerIdArgs] = None,
protocol_common: Optional[IkeGatewayProtocolCommonArgs] = None,
snippet: Optional[str] = None)func NewIkeGateway(ctx *Context, name string, args IkeGatewayArgs, opts ...ResourceOption) (*IkeGateway, error)public IkeGateway(string name, IkeGatewayArgs args, CustomResourceOptions? opts = null)
public IkeGateway(String name, IkeGatewayArgs args)
public IkeGateway(String name, IkeGatewayArgs args, CustomResourceOptions options)
type: scm:IkeGateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IkeGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IkeGatewayArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IkeGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IkeGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IkeGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ikeGatewayResource = new Scm.IkeGateway("ikeGatewayResource", new()
{
Authentication = new Scm.Inputs.IkeGatewayAuthenticationArgs
{
Certificate = new Scm.Inputs.IkeGatewayAuthenticationCertificateArgs
{
AllowIdPayloadMismatch = false,
CertificateProfile = "string",
LocalCertificate = new Scm.Inputs.IkeGatewayAuthenticationCertificateLocalCertificateArgs
{
LocalCertificateName = "string",
},
StrictValidationRevocation = false,
UseManagementAsSource = false,
},
PreSharedKey = new Scm.Inputs.IkeGatewayAuthenticationPreSharedKeyArgs
{
Key = "string",
},
},
PeerAddress = new Scm.Inputs.IkeGatewayPeerAddressArgs
{
Dynamic = null,
Fqdn = "string",
Ip = "string",
},
Protocol = new Scm.Inputs.IkeGatewayProtocolArgs
{
Ikev1 = new Scm.Inputs.IkeGatewayProtocolIkev1Args
{
Dpd = new Scm.Inputs.IkeGatewayProtocolIkev1DpdArgs
{
Enable = false,
},
IkeCryptoProfile = "string",
},
Ikev2 = new Scm.Inputs.IkeGatewayProtocolIkev2Args
{
Dpd = new Scm.Inputs.IkeGatewayProtocolIkev2DpdArgs
{
Enable = false,
},
IkeCryptoProfile = "string",
},
Version = "string",
},
Device = "string",
Folder = "string",
LocalAddress = new Scm.Inputs.IkeGatewayLocalAddressArgs
{
Interface = "string",
},
LocalId = new Scm.Inputs.IkeGatewayLocalIdArgs
{
Id = "string",
Type = "string",
},
Name = "string",
PeerId = new Scm.Inputs.IkeGatewayPeerIdArgs
{
Id = "string",
Type = "string",
},
ProtocolCommon = new Scm.Inputs.IkeGatewayProtocolCommonArgs
{
Fragmentation = new Scm.Inputs.IkeGatewayProtocolCommonFragmentationArgs
{
Enable = false,
},
NatTraversal = new Scm.Inputs.IkeGatewayProtocolCommonNatTraversalArgs
{
Enable = false,
},
PassiveMode = false,
},
Snippet = "string",
});
example, err := scm.NewIkeGateway(ctx, "ikeGatewayResource", &scm.IkeGatewayArgs{
Authentication: &scm.IkeGatewayAuthenticationArgs{
Certificate: &scm.IkeGatewayAuthenticationCertificateArgs{
AllowIdPayloadMismatch: pulumi.Bool(false),
CertificateProfile: pulumi.String("string"),
LocalCertificate: &scm.IkeGatewayAuthenticationCertificateLocalCertificateArgs{
LocalCertificateName: pulumi.String("string"),
},
StrictValidationRevocation: pulumi.Bool(false),
UseManagementAsSource: pulumi.Bool(false),
},
PreSharedKey: &scm.IkeGatewayAuthenticationPreSharedKeyArgs{
Key: pulumi.String("string"),
},
},
PeerAddress: &scm.IkeGatewayPeerAddressArgs{
Dynamic: &scm.IkeGatewayPeerAddressDynamicArgs{},
Fqdn: pulumi.String("string"),
Ip: pulumi.String("string"),
},
Protocol: &scm.IkeGatewayProtocolArgs{
Ikev1: &scm.IkeGatewayProtocolIkev1Args{
Dpd: &scm.IkeGatewayProtocolIkev1DpdArgs{
Enable: pulumi.Bool(false),
},
IkeCryptoProfile: pulumi.String("string"),
},
Ikev2: &scm.IkeGatewayProtocolIkev2Args{
Dpd: &scm.IkeGatewayProtocolIkev2DpdArgs{
Enable: pulumi.Bool(false),
},
IkeCryptoProfile: pulumi.String("string"),
},
Version: pulumi.String("string"),
},
Device: pulumi.String("string"),
Folder: pulumi.String("string"),
LocalAddress: &scm.IkeGatewayLocalAddressArgs{
Interface: pulumi.String("string"),
},
LocalId: &scm.IkeGatewayLocalIdArgs{
Id: pulumi.String("string"),
Type: pulumi.String("string"),
},
Name: pulumi.String("string"),
PeerId: &scm.IkeGatewayPeerIdArgs{
Id: pulumi.String("string"),
Type: pulumi.String("string"),
},
ProtocolCommon: &scm.IkeGatewayProtocolCommonArgs{
Fragmentation: &scm.IkeGatewayProtocolCommonFragmentationArgs{
Enable: pulumi.Bool(false),
},
NatTraversal: &scm.IkeGatewayProtocolCommonNatTraversalArgs{
Enable: pulumi.Bool(false),
},
PassiveMode: pulumi.Bool(false),
},
Snippet: pulumi.String("string"),
})
var ikeGatewayResource = new IkeGateway("ikeGatewayResource", IkeGatewayArgs.builder()
.authentication(IkeGatewayAuthenticationArgs.builder()
.certificate(IkeGatewayAuthenticationCertificateArgs.builder()
.allowIdPayloadMismatch(false)
.certificateProfile("string")
.localCertificate(IkeGatewayAuthenticationCertificateLocalCertificateArgs.builder()
.localCertificateName("string")
.build())
.strictValidationRevocation(false)
.useManagementAsSource(false)
.build())
.preSharedKey(IkeGatewayAuthenticationPreSharedKeyArgs.builder()
.key("string")
.build())
.build())
.peerAddress(IkeGatewayPeerAddressArgs.builder()
.dynamic(IkeGatewayPeerAddressDynamicArgs.builder()
.build())
.fqdn("string")
.ip("string")
.build())
.protocol(IkeGatewayProtocolArgs.builder()
.ikev1(IkeGatewayProtocolIkev1Args.builder()
.dpd(IkeGatewayProtocolIkev1DpdArgs.builder()
.enable(false)
.build())
.ikeCryptoProfile("string")
.build())
.ikev2(IkeGatewayProtocolIkev2Args.builder()
.dpd(IkeGatewayProtocolIkev2DpdArgs.builder()
.enable(false)
.build())
.ikeCryptoProfile("string")
.build())
.version("string")
.build())
.device("string")
.folder("string")
.localAddress(IkeGatewayLocalAddressArgs.builder()
.interface_("string")
.build())
.localId(IkeGatewayLocalIdArgs.builder()
.id("string")
.type("string")
.build())
.name("string")
.peerId(IkeGatewayPeerIdArgs.builder()
.id("string")
.type("string")
.build())
.protocolCommon(IkeGatewayProtocolCommonArgs.builder()
.fragmentation(IkeGatewayProtocolCommonFragmentationArgs.builder()
.enable(false)
.build())
.natTraversal(IkeGatewayProtocolCommonNatTraversalArgs.builder()
.enable(false)
.build())
.passiveMode(false)
.build())
.snippet("string")
.build());
ike_gateway_resource = scm.IkeGateway("ikeGatewayResource",
authentication={
"certificate": {
"allow_id_payload_mismatch": False,
"certificate_profile": "string",
"local_certificate": {
"local_certificate_name": "string",
},
"strict_validation_revocation": False,
"use_management_as_source": False,
},
"pre_shared_key": {
"key": "string",
},
},
peer_address={
"dynamic": {},
"fqdn": "string",
"ip": "string",
},
protocol={
"ikev1": {
"dpd": {
"enable": False,
},
"ike_crypto_profile": "string",
},
"ikev2": {
"dpd": {
"enable": False,
},
"ike_crypto_profile": "string",
},
"version": "string",
},
device="string",
folder="string",
local_address={
"interface": "string",
},
local_id={
"id": "string",
"type": "string",
},
name="string",
peer_id={
"id": "string",
"type": "string",
},
protocol_common={
"fragmentation": {
"enable": False,
},
"nat_traversal": {
"enable": False,
},
"passive_mode": False,
},
snippet="string")
const ikeGatewayResource = new scm.IkeGateway("ikeGatewayResource", {
authentication: {
certificate: {
allowIdPayloadMismatch: false,
certificateProfile: "string",
localCertificate: {
localCertificateName: "string",
},
strictValidationRevocation: false,
useManagementAsSource: false,
},
preSharedKey: {
key: "string",
},
},
peerAddress: {
dynamic: {},
fqdn: "string",
ip: "string",
},
protocol: {
ikev1: {
dpd: {
enable: false,
},
ikeCryptoProfile: "string",
},
ikev2: {
dpd: {
enable: false,
},
ikeCryptoProfile: "string",
},
version: "string",
},
device: "string",
folder: "string",
localAddress: {
"interface": "string",
},
localId: {
id: "string",
type: "string",
},
name: "string",
peerId: {
id: "string",
type: "string",
},
protocolCommon: {
fragmentation: {
enable: false,
},
natTraversal: {
enable: false,
},
passiveMode: false,
},
snippet: "string",
});
type: scm:IkeGateway
properties:
authentication:
certificate:
allowIdPayloadMismatch: false
certificateProfile: string
localCertificate:
localCertificateName: string
strictValidationRevocation: false
useManagementAsSource: false
preSharedKey:
key: string
device: string
folder: string
localAddress:
interface: string
localId:
id: string
type: string
name: string
peerAddress:
dynamic: {}
fqdn: string
ip: string
peerId:
id: string
type: string
protocol:
ikev1:
dpd:
enable: false
ikeCryptoProfile: string
ikev2:
dpd:
enable: false
ikeCryptoProfile: string
version: string
protocolCommon:
fragmentation:
enable: false
natTraversal:
enable: false
passiveMode: false
snippet: string
IkeGateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IkeGateway resource accepts the following input properties:
- Authentication
Ike
Gateway Authentication - Authentication
- Peer
Address IkeGateway Peer Address - Peer address
- Protocol
Ike
Gateway Protocol - Protocol
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Local
Address IkeGateway Local Address - Local address
- Local
Id IkeGateway Local Id - Local id
- Name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- Peer
Id IkeGateway Peer Id - Peer id
- Protocol
Common IkeGateway Protocol Common - Protocol common
- Snippet string
- The snippet in which the resource is defined
- Authentication
Ike
Gateway Authentication Args - Authentication
- Peer
Address IkeGateway Peer Address Args - Peer address
- Protocol
Ike
Gateway Protocol Args - Protocol
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Local
Address IkeGateway Local Address Args - Local address
- Local
Id IkeGateway Local Id Args - Local id
- Name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- Peer
Id IkeGateway Peer Id Args - Peer id
- Protocol
Common IkeGateway Protocol Common Args - Protocol common
- Snippet string
- The snippet in which the resource is defined
- authentication
Ike
Gateway Authentication - Authentication
- peer
Address IkeGateway Peer Address - Peer address
- protocol
Ike
Gateway Protocol - Protocol
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- local
Address IkeGateway Local Address - Local address
- local
Id IkeGateway Local Id - Local id
- name String
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- peer
Id IkeGateway Peer Id - Peer id
- protocol
Common IkeGateway Protocol Common - Protocol common
- snippet String
- The snippet in which the resource is defined
- authentication
Ike
Gateway Authentication - Authentication
- peer
Address IkeGateway Peer Address - Peer address
- protocol
Ike
Gateway Protocol - Protocol
- device string
- The device in which the resource is defined
- folder string
- The folder in which the resource is defined
- local
Address IkeGateway Local Address - Local address
- local
Id IkeGateway Local Id - Local id
- name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- peer
Id IkeGateway Peer Id - Peer id
- protocol
Common IkeGateway Protocol Common - Protocol common
- snippet string
- The snippet in which the resource is defined
- authentication
Ike
Gateway Authentication Args - Authentication
- peer_
address IkeGateway Peer Address Args - Peer address
- protocol
Ike
Gateway Protocol Args - Protocol
- device str
- The device in which the resource is defined
- folder str
- The folder in which the resource is defined
- local_
address IkeGateway Local Address Args - Local address
- local_
id IkeGateway Local Id Args - Local id
- name str
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- peer_
id IkeGateway Peer Id Args - Peer id
- protocol_
common IkeGateway Protocol Common Args - Protocol common
- snippet str
- The snippet in which the resource is defined
- authentication Property Map
- Authentication
- peer
Address Property Map - Peer address
- protocol Property Map
- Protocol
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- local
Address Property Map - Local address
- local
Id Property Map - Local id
- name String
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- peer
Id Property Map - Peer id
- protocol
Common Property Map - Protocol common
- snippet String
- The snippet in which the resource is defined
Outputs
All input properties are implicitly available as output properties. Additionally, the IkeGateway resource produces the following output properties:
- Encrypted
Values Dictionary<string, string> - Map of sensitive values returned from the API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- Encrypted
Values map[string]string - Map of sensitive values returned from the API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- encrypted
Values Map<String,String> - Map of sensitive values returned from the API.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- encrypted
Values {[key: string]: string} - Map of sensitive values returned from the API.
- id string
- The provider-assigned unique ID for this managed resource.
- tfid string
- encrypted_
values Mapping[str, str] - Map of sensitive values returned from the API.
- id str
- The provider-assigned unique ID for this managed resource.
- tfid str
- encrypted
Values Map<String> - Map of sensitive values returned from the API.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
Look up Existing IkeGateway Resource
Get an existing IkeGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IkeGatewayState, opts?: CustomResourceOptions): IkeGateway@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authentication: Optional[IkeGatewayAuthenticationArgs] = None,
device: Optional[str] = None,
encrypted_values: Optional[Mapping[str, str]] = None,
folder: Optional[str] = None,
local_address: Optional[IkeGatewayLocalAddressArgs] = None,
local_id: Optional[IkeGatewayLocalIdArgs] = None,
name: Optional[str] = None,
peer_address: Optional[IkeGatewayPeerAddressArgs] = None,
peer_id: Optional[IkeGatewayPeerIdArgs] = None,
protocol: Optional[IkeGatewayProtocolArgs] = None,
protocol_common: Optional[IkeGatewayProtocolCommonArgs] = None,
snippet: Optional[str] = None,
tfid: Optional[str] = None) -> IkeGatewayfunc GetIkeGateway(ctx *Context, name string, id IDInput, state *IkeGatewayState, opts ...ResourceOption) (*IkeGateway, error)public static IkeGateway Get(string name, Input<string> id, IkeGatewayState? state, CustomResourceOptions? opts = null)public static IkeGateway get(String name, Output<String> id, IkeGatewayState state, CustomResourceOptions options)resources: _: type: scm:IkeGateway get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Authentication
Ike
Gateway Authentication - Authentication
- Device string
- The device in which the resource is defined
- Encrypted
Values Dictionary<string, string> - Map of sensitive values returned from the API.
- Folder string
- The folder in which the resource is defined
- Local
Address IkeGateway Local Address - Local address
- Local
Id IkeGateway Local Id - Local id
- Name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- Peer
Address IkeGateway Peer Address - Peer address
- Peer
Id IkeGateway Peer Id - Peer id
- Protocol
Ike
Gateway Protocol - Protocol
- Protocol
Common IkeGateway Protocol Common - Protocol common
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Authentication
Ike
Gateway Authentication Args - Authentication
- Device string
- The device in which the resource is defined
- Encrypted
Values map[string]string - Map of sensitive values returned from the API.
- Folder string
- The folder in which the resource is defined
- Local
Address IkeGateway Local Address Args - Local address
- Local
Id IkeGateway Local Id Args - Local id
- Name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- Peer
Address IkeGateway Peer Address Args - Peer address
- Peer
Id IkeGateway Peer Id Args - Peer id
- Protocol
Ike
Gateway Protocol Args - Protocol
- Protocol
Common IkeGateway Protocol Common Args - Protocol common
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- authentication
Ike
Gateway Authentication - Authentication
- device String
- The device in which the resource is defined
- encrypted
Values Map<String,String> - Map of sensitive values returned from the API.
- folder String
- The folder in which the resource is defined
- local
Address IkeGateway Local Address - Local address
- local
Id IkeGateway Local Id - Local id
- name String
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- peer
Address IkeGateway Peer Address - Peer address
- peer
Id IkeGateway Peer Id - Peer id
- protocol
Ike
Gateway Protocol - Protocol
- protocol
Common IkeGateway Protocol Common - Protocol common
- snippet String
- The snippet in which the resource is defined
- tfid String
- authentication
Ike
Gateway Authentication - Authentication
- device string
- The device in which the resource is defined
- encrypted
Values {[key: string]: string} - Map of sensitive values returned from the API.
- folder string
- The folder in which the resource is defined
- local
Address IkeGateway Local Address - Local address
- local
Id IkeGateway Local Id - Local id
- name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- peer
Address IkeGateway Peer Address - Peer address
- peer
Id IkeGateway Peer Id - Peer id
- protocol
Ike
Gateway Protocol - Protocol
- protocol
Common IkeGateway Protocol Common - Protocol common
- snippet string
- The snippet in which the resource is defined
- tfid string
- authentication
Ike
Gateway Authentication Args - Authentication
- device str
- The device in which the resource is defined
- encrypted_
values Mapping[str, str] - Map of sensitive values returned from the API.
- folder str
- The folder in which the resource is defined
- local_
address IkeGateway Local Address Args - Local address
- local_
id IkeGateway Local Id Args - Local id
- name str
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- peer_
address IkeGateway Peer Address Args - Peer address
- peer_
id IkeGateway Peer Id Args - Peer id
- protocol
Ike
Gateway Protocol Args - Protocol
- protocol_
common IkeGateway Protocol Common Args - Protocol common
- snippet str
- The snippet in which the resource is defined
- tfid str
- authentication Property Map
- Authentication
- device String
- The device in which the resource is defined
- encrypted
Values Map<String> - Map of sensitive values returned from the API.
- folder String
- The folder in which the resource is defined
- local
Address Property Map - Local address
- local
Id Property Map - Local id
- name String
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]
- peer
Address Property Map - Peer address
- peer
Id Property Map - Peer id
- protocol Property Map
- Protocol
- protocol
Common Property Map - Protocol common
- snippet String
- The snippet in which the resource is defined
- tfid String
Supporting Types
IkeGatewayAuthentication, IkeGatewayAuthenticationArgs
- Certificate
Ike
Gateway Authentication Certificate - Certificate
-
Ike
Gateway Authentication Pre Shared Key - Pre shared key
- Certificate
Ike
Gateway Authentication Certificate - Certificate
-
Ike
Gateway Authentication Pre Shared Key - Pre shared key
- certificate
Ike
Gateway Authentication Certificate - Certificate
-
Ike
Gateway Authentication Pre Shared Key - Pre shared key
- certificate
Ike
Gateway Authentication Certificate - Certificate
-
Ike
Gateway Authentication Pre Shared Key - Pre shared key
- certificate
Ike
Gateway Authentication Certificate - Certificate
-
Ike
Gateway Authentication Pre Shared Key - Pre shared key
- certificate Property Map
- Certificate
- Property Map
- Pre shared key
IkeGatewayAuthenticationCertificate, IkeGatewayAuthenticationCertificateArgs
- Allow
Id boolPayload Mismatch - Allow id payload mismatch
- Certificate
Profile string - Certificate profile
- Local
Certificate IkeGateway Authentication Certificate Local Certificate - Local certificate
- Strict
Validation boolRevocation - Strict validation revocation
- Use
Management boolAs Source - Use management as source
- Allow
Id boolPayload Mismatch - Allow id payload mismatch
- Certificate
Profile string - Certificate profile
- Local
Certificate IkeGateway Authentication Certificate Local Certificate - Local certificate
- Strict
Validation boolRevocation - Strict validation revocation
- Use
Management boolAs Source - Use management as source
- allow
Id BooleanPayload Mismatch - Allow id payload mismatch
- certificate
Profile String - Certificate profile
- local
Certificate IkeGateway Authentication Certificate Local Certificate - Local certificate
- strict
Validation BooleanRevocation - Strict validation revocation
- use
Management BooleanAs Source - Use management as source
- allow
Id booleanPayload Mismatch - Allow id payload mismatch
- certificate
Profile string - Certificate profile
- local
Certificate IkeGateway Authentication Certificate Local Certificate - Local certificate
- strict
Validation booleanRevocation - Strict validation revocation
- use
Management booleanAs Source - Use management as source
- allow_
id_ boolpayload_ mismatch - Allow id payload mismatch
- certificate_
profile str - Certificate profile
- local_
certificate IkeGateway Authentication Certificate Local Certificate - Local certificate
- strict_
validation_ boolrevocation - Strict validation revocation
- use_
management_ boolas_ source - Use management as source
- allow
Id BooleanPayload Mismatch - Allow id payload mismatch
- certificate
Profile String - Certificate profile
- local
Certificate Property Map - Local certificate
- strict
Validation BooleanRevocation - Strict validation revocation
- use
Management BooleanAs Source - Use management as source
IkeGatewayAuthenticationCertificateLocalCertificate, IkeGatewayAuthenticationCertificateLocalCertificateArgs
- Local
Certificate stringName - Local certificate name
- Local
Certificate stringName - Local certificate name
- local
Certificate StringName - Local certificate name
- local
Certificate stringName - Local certificate name
- local_
certificate_ strname - Local certificate name
- local
Certificate StringName - Local certificate name
IkeGatewayAuthenticationPreSharedKey, IkeGatewayAuthenticationPreSharedKeyArgs
- Key string
- Key
- Key string
- Key
- key String
- Key
- key string
- Key
- key str
- Key
- key String
- Key
IkeGatewayLocalAddress, IkeGatewayLocalAddressArgs
- Interface string
- Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
- Interface string
- Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
- interface_ String
- Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
- interface string
- Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
- interface str
- Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
- interface String
- Interface variable or hardcoded vlan/loopback. vlan will be passed as default value
IkeGatewayLocalId, IkeGatewayLocalIdArgs
IkeGatewayPeerAddress, IkeGatewayPeerAddressArgs
- Dynamic
Ike
Gateway Peer Address Dynamic - Dynamic
- Fqdn string
- peer gateway FQDN name
- Ip string
- peer gateway has static IP address
- Dynamic
Ike
Gateway Peer Address Dynamic - Dynamic
- Fqdn string
- peer gateway FQDN name
- Ip string
- peer gateway has static IP address
- dynamic
Ike
Gateway Peer Address Dynamic - Dynamic
- fqdn String
- peer gateway FQDN name
- ip String
- peer gateway has static IP address
- dynamic
Ike
Gateway Peer Address Dynamic - Dynamic
- fqdn string
- peer gateway FQDN name
- ip string
- peer gateway has static IP address
- dynamic
Ike
Gateway Peer Address Dynamic - Dynamic
- fqdn str
- peer gateway FQDN name
- ip str
- peer gateway has static IP address
- dynamic Property Map
- Dynamic
- fqdn String
- peer gateway FQDN name
- ip String
- peer gateway has static IP address
IkeGatewayPeerId, IkeGatewayPeerIdArgs
IkeGatewayProtocol, IkeGatewayProtocolArgs
- Ikev1
Ike
Gateway Protocol Ikev1 - Ikev1
- Ikev2
Ike
Gateway Protocol Ikev2 - Ikev2
- Version string
- Version
- Ikev1
Ike
Gateway Protocol Ikev1 - Ikev1
- Ikev2
Ike
Gateway Protocol Ikev2 - Ikev2
- Version string
- Version
- ikev1
Ike
Gateway Protocol Ikev1 - Ikev1
- ikev2
Ike
Gateway Protocol Ikev2 - Ikev2
- version String
- Version
- ikev1
Ike
Gateway Protocol Ikev1 - Ikev1
- ikev2
Ike
Gateway Protocol Ikev2 - Ikev2
- version string
- Version
- ikev1
Ike
Gateway Protocol Ikev1 - Ikev1
- ikev2
Ike
Gateway Protocol Ikev2 - Ikev2
- version str
- Version
- ikev1 Property Map
- Ikev1
- ikev2 Property Map
- Ikev2
- version String
- Version
IkeGatewayProtocolCommon, IkeGatewayProtocolCommonArgs
- Fragmentation
Ike
Gateway Protocol Common Fragmentation - Fragmentation
- Nat
Traversal IkeGateway Protocol Common Nat Traversal - Enables NAT traversal for the IKE gateway.
- Passive
Mode bool - Passive mode
- Fragmentation
Ike
Gateway Protocol Common Fragmentation - Fragmentation
- Nat
Traversal IkeGateway Protocol Common Nat Traversal - Enables NAT traversal for the IKE gateway.
- Passive
Mode bool - Passive mode
- fragmentation
Ike
Gateway Protocol Common Fragmentation - Fragmentation
- nat
Traversal IkeGateway Protocol Common Nat Traversal - Enables NAT traversal for the IKE gateway.
- passive
Mode Boolean - Passive mode
- fragmentation
Ike
Gateway Protocol Common Fragmentation - Fragmentation
- nat
Traversal IkeGateway Protocol Common Nat Traversal - Enables NAT traversal for the IKE gateway.
- passive
Mode boolean - Passive mode
- fragmentation
Ike
Gateway Protocol Common Fragmentation - Fragmentation
- nat_
traversal IkeGateway Protocol Common Nat Traversal - Enables NAT traversal for the IKE gateway.
- passive_
mode bool - Passive mode
- fragmentation Property Map
- Fragmentation
- nat
Traversal Property Map - Enables NAT traversal for the IKE gateway.
- passive
Mode Boolean - Passive mode
IkeGatewayProtocolCommonFragmentation, IkeGatewayProtocolCommonFragmentationArgs
- Enable bool
- Enable
- Enable bool
- Enable
- enable Boolean
- Enable
- enable boolean
- Enable
- enable bool
- Enable
- enable Boolean
- Enable
IkeGatewayProtocolCommonNatTraversal, IkeGatewayProtocolCommonNatTraversalArgs
- Enable bool
- Enable
- Enable bool
- Enable
- enable Boolean
- Enable
- enable boolean
- Enable
- enable bool
- Enable
- enable Boolean
- Enable
IkeGatewayProtocolIkev1, IkeGatewayProtocolIkev1Args
- Dpd
Ike
Gateway Protocol Ikev1Dpd - Dpd
- Ike
Crypto stringProfile - Ike crypto profile
- Dpd
Ike
Gateway Protocol Ikev1Dpd - Dpd
- Ike
Crypto stringProfile - Ike crypto profile
- dpd
Ike
Gateway Protocol Ikev1Dpd - Dpd
- ike
Crypto StringProfile - Ike crypto profile
- dpd
Ike
Gateway Protocol Ikev1Dpd - Dpd
- ike
Crypto stringProfile - Ike crypto profile
- dpd
Ike
Gateway Protocol Ikev1Dpd - Dpd
- ike_
crypto_ strprofile - Ike crypto profile
- dpd Property Map
- Dpd
- ike
Crypto StringProfile - Ike crypto profile
IkeGatewayProtocolIkev1Dpd, IkeGatewayProtocolIkev1DpdArgs
- Enable bool
- Enable
- Enable bool
- Enable
- enable Boolean
- Enable
- enable boolean
- Enable
- enable bool
- Enable
- enable Boolean
- Enable
IkeGatewayProtocolIkev2, IkeGatewayProtocolIkev2Args
- Dpd
Ike
Gateway Protocol Ikev2Dpd - Dpd
- Ike
Crypto stringProfile - Ike crypto profile
- Dpd
Ike
Gateway Protocol Ikev2Dpd - Dpd
- Ike
Crypto stringProfile - Ike crypto profile
- dpd
Ike
Gateway Protocol Ikev2Dpd - Dpd
- ike
Crypto StringProfile - Ike crypto profile
- dpd
Ike
Gateway Protocol Ikev2Dpd - Dpd
- ike
Crypto stringProfile - Ike crypto profile
- dpd
Ike
Gateway Protocol Ikev2Dpd - Dpd
- ike_
crypto_ strprofile - Ike crypto profile
- dpd Property Map
- Dpd
- ike
Crypto StringProfile - Ike crypto profile
IkeGatewayProtocolIkev2Dpd, IkeGatewayProtocolIkev2DpdArgs
- Enable bool
- Enable
- Enable bool
- Enable
- enable Boolean
- Enable
- enable boolean
- Enable
- enable bool
- Enable
- enable Boolean
- Enable
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
