Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 by Pulumi
scm.getIkeGateway
Explore with Pulumi AI
Retrieves a config item.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const example = scm.getIkeGateway({
id: "1234-56-789",
});
import pulumi
import pulumi_scm as scm
example = scm.get_ike_gateway(id="1234-56-789")
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 {
_, err := scm.LookupIkeGateway(ctx, &scm.LookupIkeGatewayArgs{
Id: "1234-56-789",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var example = Scm.GetIkeGateway.Invoke(new()
{
Id = "1234-56-789",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ScmFunctions;
import com.pulumi.scm.inputs.GetIkeGatewayArgs;
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) {
final var example = ScmFunctions.getIkeGateway(GetIkeGatewayArgs.builder()
.id("1234-56-789")
.build());
}
}
variables:
example:
fn::invoke:
Function: scm:getIkeGateway
Arguments:
id: 1234-56-789
Using getIkeGateway
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIkeGateway(args: GetIkeGatewayArgs, opts?: InvokeOptions): Promise<GetIkeGatewayResult>
function getIkeGatewayOutput(args: GetIkeGatewayOutputArgs, opts?: InvokeOptions): Output<GetIkeGatewayResult>
def get_ike_gateway(device: Optional[str] = None,
folder: Optional[str] = None,
id: Optional[str] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIkeGatewayResult
def get_ike_gateway_output(device: Optional[pulumi.Input[str]] = None,
folder: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
snippet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIkeGatewayResult]
func LookupIkeGateway(ctx *Context, args *LookupIkeGatewayArgs, opts ...InvokeOption) (*LookupIkeGatewayResult, error)
func LookupIkeGatewayOutput(ctx *Context, args *LookupIkeGatewayOutputArgs, opts ...InvokeOption) LookupIkeGatewayResultOutput
> Note: This function is named LookupIkeGateway
in the Go SDK.
public static class GetIkeGateway
{
public static Task<GetIkeGatewayResult> InvokeAsync(GetIkeGatewayArgs args, InvokeOptions? opts = null)
public static Output<GetIkeGatewayResult> Invoke(GetIkeGatewayInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIkeGatewayResult> getIkeGateway(GetIkeGatewayArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scm:index/getIkeGateway:getIkeGateway
arguments:
# arguments dictionary
The following arguments are supported:
getIkeGateway Result
The following output properties are available:
- Authentication
Get
Ike Gateway Authentication - The Authentication param.
- Id string
- The Id param.
- Local
Id GetIke Gateway Local Id - The LocalId param.
- Name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 63 characters.
- Peer
Address GetIke Gateway Peer Address - The PeerAddress param.
- Peer
Id GetIke Gateway Peer Id - The PeerId param.
- Protocol
Get
Ike Gateway Protocol - The Protocol param.
- Protocol
Common GetIke Gateway Protocol Common - The ProtocolCommon param.
- Tfid string
- Device string
- The Device param.
- Folder string
- The Folder param.
- Snippet string
- The Snippet param.
- Authentication
Get
Ike Gateway Authentication - The Authentication param.
- Id string
- The Id param.
- Local
Id GetIke Gateway Local Id - The LocalId param.
- Name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 63 characters.
- Peer
Address GetIke Gateway Peer Address - The PeerAddress param.
- Peer
Id GetIke Gateway Peer Id - The PeerId param.
- Protocol
Get
Ike Gateway Protocol - The Protocol param.
- Protocol
Common GetIke Gateway Protocol Common - The ProtocolCommon param.
- Tfid string
- Device string
- The Device param.
- Folder string
- The Folder param.
- Snippet string
- The Snippet param.
- authentication
Get
Ike Gateway Authentication - The Authentication param.
- id String
- The Id param.
- local
Id GetIke Gateway Local Id - The LocalId param.
- name String
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 63 characters.
- peer
Address GetIke Gateway Peer Address - The PeerAddress param.
- peer
Id GetIke Gateway Peer Id - The PeerId param.
- protocol
Get
Ike Gateway Protocol - The Protocol param.
- protocol
Common GetIke Gateway Protocol Common - The ProtocolCommon param.
- tfid String
- device String
- The Device param.
- folder String
- The Folder param.
- snippet String
- The Snippet param.
- authentication
Get
Ike Gateway Authentication - The Authentication param.
- id string
- The Id param.
- local
Id GetIke Gateway Local Id - The LocalId param.
- name string
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 63 characters.
- peer
Address GetIke Gateway Peer Address - The PeerAddress param.
- peer
Id GetIke Gateway Peer Id - The PeerId param.
- protocol
Get
Ike Gateway Protocol - The Protocol param.
- protocol
Common GetIke Gateway Protocol Common - The ProtocolCommon param.
- tfid string
- device string
- The Device param.
- folder string
- The Folder param.
- snippet string
- The Snippet param.
- authentication
Get
Ike Gateway Authentication - The Authentication param.
- id str
- The Id param.
- local_
id GetIke Gateway Local Id - The LocalId param.
- name str
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 63 characters.
- peer_
address GetIke Gateway Peer Address - The PeerAddress param.
- peer_
id GetIke Gateway Peer Id - The PeerId param.
- protocol
Get
Ike Gateway Protocol - The Protocol param.
- protocol_
common GetIke Gateway Protocol Common - The ProtocolCommon param.
- tfid str
- device str
- The Device param.
- folder str
- The Folder param.
- snippet str
- The Snippet param.
- authentication Property Map
- The Authentication param.
- id String
- The Id param.
- local
Id Property Map - The LocalId param.
- name String
- Alphanumeric string begin with letter: [0-9a-zA-Z._-]. String length must not exceed 63 characters.
- peer
Address Property Map - The PeerAddress param.
- peer
Id Property Map - The PeerId param.
- protocol Property Map
- The Protocol param.
- protocol
Common Property Map - The ProtocolCommon param.
- tfid String
- device String
- The Device param.
- folder String
- The Folder param.
- snippet String
- The Snippet param.
Supporting Types
GetIkeGatewayAuthentication
- Certificate
Get
Ike Gateway Authentication Certificate - The Certificate param.
- Get
Ike Gateway Authentication Pre Shared Key - The PreSharedKey param.
- Certificate
Get
Ike Gateway Authentication Certificate - The Certificate param.
- Get
Ike Gateway Authentication Pre Shared Key - The PreSharedKey param.
- certificate
Get
Ike Gateway Authentication Certificate - The Certificate param.
- Get
Ike Gateway Authentication Pre Shared Key - The PreSharedKey param.
- certificate
Get
Ike Gateway Authentication Certificate - The Certificate param.
- Get
Ike Gateway Authentication Pre Shared Key - The PreSharedKey param.
- certificate
Get
Ike Gateway Authentication Certificate - The Certificate param.
- Get
Ike Gateway Authentication Pre Shared Key - The PreSharedKey param.
- certificate Property Map
- The Certificate param.
- Property Map
- The PreSharedKey param.
GetIkeGatewayAuthenticationCertificate
- Allow
Id boolPayload Mismatch - The AllowIdPayloadMismatch param.
- Certificate
Profile string - The CertificateProfile param.
- Local
Certificate GetIke Gateway Authentication Certificate Local Certificate - The LocalCertificate param.
- Strict
Validation boolRevocation - The StrictValidationRevocation param.
- Use
Management boolAs Source - The UseManagementAsSource param.
- Allow
Id boolPayload Mismatch - The AllowIdPayloadMismatch param.
- Certificate
Profile string - The CertificateProfile param.
- Local
Certificate GetIke Gateway Authentication Certificate Local Certificate - The LocalCertificate param.
- Strict
Validation boolRevocation - The StrictValidationRevocation param.
- Use
Management boolAs Source - The UseManagementAsSource param.
- allow
Id BooleanPayload Mismatch - The AllowIdPayloadMismatch param.
- certificate
Profile String - The CertificateProfile param.
- local
Certificate GetIke Gateway Authentication Certificate Local Certificate - The LocalCertificate param.
- strict
Validation BooleanRevocation - The StrictValidationRevocation param.
- use
Management BooleanAs Source - The UseManagementAsSource param.
- allow
Id booleanPayload Mismatch - The AllowIdPayloadMismatch param.
- certificate
Profile string - The CertificateProfile param.
- local
Certificate GetIke Gateway Authentication Certificate Local Certificate - The LocalCertificate param.
- strict
Validation booleanRevocation - The StrictValidationRevocation param.
- use
Management booleanAs Source - The UseManagementAsSource param.
- allow_
id_ boolpayload_ mismatch - The AllowIdPayloadMismatch param.
- certificate_
profile str - The CertificateProfile param.
- local_
certificate GetIke Gateway Authentication Certificate Local Certificate - The LocalCertificate param.
- strict_
validation_ boolrevocation - The StrictValidationRevocation param.
- use_
management_ boolas_ source - The UseManagementAsSource param.
- allow
Id BooleanPayload Mismatch - The AllowIdPayloadMismatch param.
- certificate
Profile String - The CertificateProfile param.
- local
Certificate Property Map - The LocalCertificate param.
- strict
Validation BooleanRevocation - The StrictValidationRevocation param.
- use
Management BooleanAs Source - The UseManagementAsSource param.
GetIkeGatewayAuthenticationCertificateLocalCertificate
- Local
Certificate stringName - The LocalCertificateName param.
- Local
Certificate stringName - The LocalCertificateName param.
- local
Certificate StringName - The LocalCertificateName param.
- local
Certificate stringName - The LocalCertificateName param.
- local_
certificate_ strname - The LocalCertificateName param.
- local
Certificate StringName - The LocalCertificateName param.
GetIkeGatewayAuthenticationPreSharedKey
- Key string
- The Key param.
- Key string
- The Key param.
- key String
- The Key param.
- key string
- The Key param.
- key str
- The Key param.
- key String
- The Key param.
GetIkeGatewayLocalId
GetIkeGatewayPeerAddress
- Dynamic
Address bool - The DynamicAddress param.
- Fqdn string
- peer gateway FQDN name. String length must not exceed 255 characters.
- Ip string
- peer gateway has static IP address.
- Dynamic
Address bool - The DynamicAddress param.
- Fqdn string
- peer gateway FQDN name. String length must not exceed 255 characters.
- Ip string
- peer gateway has static IP address.
- dynamic
Address Boolean - The DynamicAddress param.
- fqdn String
- peer gateway FQDN name. String length must not exceed 255 characters.
- ip String
- peer gateway has static IP address.
- dynamic
Address boolean - The DynamicAddress param.
- fqdn string
- peer gateway FQDN name. String length must not exceed 255 characters.
- ip string
- peer gateway has static IP address.
- dynamic_
address bool - The DynamicAddress param.
- fqdn str
- peer gateway FQDN name. String length must not exceed 255 characters.
- ip str
- peer gateway has static IP address.
- dynamic
Address Boolean - The DynamicAddress param.
- fqdn String
- peer gateway FQDN name. String length must not exceed 255 characters.
- ip String
- peer gateway has static IP address.
GetIkeGatewayPeerId
- Id string
- Peer ID string. String length must be between 1 and 1024 characters. String validation regex:
^(.+\@[\*a-zA-Z0-9.-]+)$|^([\*$a-zA-Z0-9_:.-]+)$|^(([[:xdigit:]][[:xdigit:]])+)$|^([a-zA-Z0-9.]+=(\\,|[^,])+[, ]+)*([a-zA-Z0-9.]+=(\\,|[^,])+)$
. - Type string
- The Type param. String must be one of these:
"ipaddr"
,"keyid"
,"fqdn"
,"ufqdn"
.
- Id string
- Peer ID string. String length must be between 1 and 1024 characters. String validation regex:
^(.+\@[\*a-zA-Z0-9.-]+)$|^([\*$a-zA-Z0-9_:.-]+)$|^(([[:xdigit:]][[:xdigit:]])+)$|^([a-zA-Z0-9.]+=(\\,|[^,])+[, ]+)*([a-zA-Z0-9.]+=(\\,|[^,])+)$
. - Type string
- The Type param. String must be one of these:
"ipaddr"
,"keyid"
,"fqdn"
,"ufqdn"
.
- id String
- Peer ID string. String length must be between 1 and 1024 characters. String validation regex:
^(.+\@[\*a-zA-Z0-9.-]+)$|^([\*$a-zA-Z0-9_:.-]+)$|^(([[:xdigit:]][[:xdigit:]])+)$|^([a-zA-Z0-9.]+=(\\,|[^,])+[, ]+)*([a-zA-Z0-9.]+=(\\,|[^,])+)$
. - type String
- The Type param. String must be one of these:
"ipaddr"
,"keyid"
,"fqdn"
,"ufqdn"
.
- id string
- Peer ID string. String length must be between 1 and 1024 characters. String validation regex:
^(.+\@[\*a-zA-Z0-9.-]+)$|^([\*$a-zA-Z0-9_:.-]+)$|^(([[:xdigit:]][[:xdigit:]])+)$|^([a-zA-Z0-9.]+=(\\,|[^,])+[, ]+)*([a-zA-Z0-9.]+=(\\,|[^,])+)$
. - type string
- The Type param. String must be one of these:
"ipaddr"
,"keyid"
,"fqdn"
,"ufqdn"
.
- id str
- Peer ID string. String length must be between 1 and 1024 characters. String validation regex:
^(.+\@[\*a-zA-Z0-9.-]+)$|^([\*$a-zA-Z0-9_:.-]+)$|^(([[:xdigit:]][[:xdigit:]])+)$|^([a-zA-Z0-9.]+=(\\,|[^,])+[, ]+)*([a-zA-Z0-9.]+=(\\,|[^,])+)$
. - type str
- The Type param. String must be one of these:
"ipaddr"
,"keyid"
,"fqdn"
,"ufqdn"
.
- id String
- Peer ID string. String length must be between 1 and 1024 characters. String validation regex:
^(.+\@[\*a-zA-Z0-9.-]+)$|^([\*$a-zA-Z0-9_:.-]+)$|^(([[:xdigit:]][[:xdigit:]])+)$|^([a-zA-Z0-9.]+=(\\,|[^,])+[, ]+)*([a-zA-Z0-9.]+=(\\,|[^,])+)$
. - type String
- The Type param. String must be one of these:
"ipaddr"
,"keyid"
,"fqdn"
,"ufqdn"
.
GetIkeGatewayProtocol
- Ikev1
Get
Ike Gateway Protocol Ikev1 - The Ikev1 param.
- Ikev2
Get
Ike Gateway Protocol Ikev2 - The Ikev2 param.
- Version string
- The Version param. String must be one of these:
"ikev2-preferred"
,"ikev1"
,"ikev2"
. Default:"ikev2-preferred"
.
- Ikev1
Get
Ike Gateway Protocol Ikev1 - The Ikev1 param.
- Ikev2
Get
Ike Gateway Protocol Ikev2 - The Ikev2 param.
- Version string
- The Version param. String must be one of these:
"ikev2-preferred"
,"ikev1"
,"ikev2"
. Default:"ikev2-preferred"
.
- ikev1
Get
Ike Gateway Protocol Ikev1 - The Ikev1 param.
- ikev2
Get
Ike Gateway Protocol Ikev2 - The Ikev2 param.
- version String
- The Version param. String must be one of these:
"ikev2-preferred"
,"ikev1"
,"ikev2"
. Default:"ikev2-preferred"
.
- ikev1
Get
Ike Gateway Protocol Ikev1 - The Ikev1 param.
- ikev2
Get
Ike Gateway Protocol Ikev2 - The Ikev2 param.
- version string
- The Version param. String must be one of these:
"ikev2-preferred"
,"ikev1"
,"ikev2"
. Default:"ikev2-preferred"
.
- ikev1
Get
Ike Gateway Protocol Ikev1 - The Ikev1 param.
- ikev2
Get
Ike Gateway Protocol Ikev2 - The Ikev2 param.
- version str
- The Version param. String must be one of these:
"ikev2-preferred"
,"ikev1"
,"ikev2"
. Default:"ikev2-preferred"
.
- ikev1 Property Map
- The Ikev1 param.
- ikev2 Property Map
- The Ikev2 param.
- version String
- The Version param. String must be one of these:
"ikev2-preferred"
,"ikev1"
,"ikev2"
. Default:"ikev2-preferred"
.
GetIkeGatewayProtocolCommon
- Fragmentation
Get
Ike Gateway Protocol Common Fragmentation - The Fragmentation param.
- Nat
Traversal GetIke Gateway Protocol Common Nat Traversal - The NatTraversal param.
- Passive
Mode bool - The PassiveMode param.
- Fragmentation
Get
Ike Gateway Protocol Common Fragmentation - The Fragmentation param.
- Nat
Traversal GetIke Gateway Protocol Common Nat Traversal - The NatTraversal param.
- Passive
Mode bool - The PassiveMode param.
- fragmentation
Get
Ike Gateway Protocol Common Fragmentation - The Fragmentation param.
- nat
Traversal GetIke Gateway Protocol Common Nat Traversal - The NatTraversal param.
- passive
Mode Boolean - The PassiveMode param.
- fragmentation
Get
Ike Gateway Protocol Common Fragmentation - The Fragmentation param.
- nat
Traversal GetIke Gateway Protocol Common Nat Traversal - The NatTraversal param.
- passive
Mode boolean - The PassiveMode param.
- fragmentation
Get
Ike Gateway Protocol Common Fragmentation - The Fragmentation param.
- nat_
traversal GetIke Gateway Protocol Common Nat Traversal - The NatTraversal param.
- passive_
mode bool - The PassiveMode param.
- fragmentation Property Map
- The Fragmentation param.
- nat
Traversal Property Map - The NatTraversal param.
- passive
Mode Boolean - The PassiveMode param.
GetIkeGatewayProtocolCommonFragmentation
- Enable bool
- The Enable param. Default:
false
.
- Enable bool
- The Enable param. Default:
false
.
- enable Boolean
- The Enable param. Default:
false
.
- enable boolean
- The Enable param. Default:
false
.
- enable bool
- The Enable param. Default:
false
.
- enable Boolean
- The Enable param. Default:
false
.
GetIkeGatewayProtocolCommonNatTraversal
- Enable bool
- The Enable param.
- Enable bool
- The Enable param.
- enable Boolean
- The Enable param.
- enable boolean
- The Enable param.
- enable bool
- The Enable param.
- enable Boolean
- The Enable param.
GetIkeGatewayProtocolIkev1
- Dpd
Get
Ike Gateway Protocol Ikev1Dpd - The Dpd param.
- Ike
Crypto stringProfile - The IkeCryptoProfile param.
- Dpd
Get
Ike Gateway Protocol Ikev1Dpd - The Dpd param.
- Ike
Crypto stringProfile - The IkeCryptoProfile param.
- dpd
Get
Ike Gateway Protocol Ikev1Dpd - The Dpd param.
- ike
Crypto StringProfile - The IkeCryptoProfile param.
- dpd
Get
Ike Gateway Protocol Ikev1Dpd - The Dpd param.
- ike
Crypto stringProfile - The IkeCryptoProfile param.
- dpd
Get
Ike Gateway Protocol Ikev1Dpd - The Dpd param.
- ike_
crypto_ strprofile - The IkeCryptoProfile param.
- dpd Property Map
- The Dpd param.
- ike
Crypto StringProfile - The IkeCryptoProfile param.
GetIkeGatewayProtocolIkev1Dpd
- Enable bool
- The Enable param.
- Enable bool
- The Enable param.
- enable Boolean
- The Enable param.
- enable boolean
- The Enable param.
- enable bool
- The Enable param.
- enable Boolean
- The Enable param.
GetIkeGatewayProtocolIkev2
- Dpd
Get
Ike Gateway Protocol Ikev2Dpd - The Dpd param.
- Ike
Crypto stringProfile - The IkeCryptoProfile param.
- Dpd
Get
Ike Gateway Protocol Ikev2Dpd - The Dpd param.
- Ike
Crypto stringProfile - The IkeCryptoProfile param.
- dpd
Get
Ike Gateway Protocol Ikev2Dpd - The Dpd param.
- ike
Crypto StringProfile - The IkeCryptoProfile param.
- dpd
Get
Ike Gateway Protocol Ikev2Dpd - The Dpd param.
- ike
Crypto stringProfile - The IkeCryptoProfile param.
- dpd
Get
Ike Gateway Protocol Ikev2Dpd - The Dpd param.
- ike_
crypto_ strprofile - The IkeCryptoProfile param.
- dpd Property Map
- The Dpd param.
- ike
Crypto StringProfile - The IkeCryptoProfile param.
GetIkeGatewayProtocolIkev2Dpd
- Enable bool
- The Enable param.
- Enable bool
- The Enable param.
- enable Boolean
- The Enable param.
- enable boolean
- The Enable param.
- enable bool
- The Enable param.
- enable Boolean
- The Enable param.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scm
Terraform Provider.