Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
This data source can read the Crypto IKEv2 configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetCryptoIkev2.Invoke();
});
package main
import (
"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iosxe.LookupCryptoIkev2(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.IosxeFunctions;
import com.pulumi.iosxe.inputs.GetCryptoIkev2Args;
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 = IosxeFunctions.getCryptoIkev2();
}
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getCryptoIkev2({});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_crypto_ikev2()
variables:
example:
fn::invoke:
Function: iosxe:getCryptoIkev2
Arguments: {}
Using getCryptoIkev2
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 getCryptoIkev2(args: GetCryptoIkev2Args, opts?: InvokeOptions): Promise<GetCryptoIkev2Result>
function getCryptoIkev2Output(args: GetCryptoIkev2OutputArgs, opts?: InvokeOptions): Output<GetCryptoIkev2Result>def get_crypto_ikev2(device: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCryptoIkev2Result
def get_crypto_ikev2_output(device: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCryptoIkev2Result]func LookupCryptoIkev2(ctx *Context, args *LookupCryptoIkev2Args, opts ...InvokeOption) (*LookupCryptoIkev2Result, error)
func LookupCryptoIkev2Output(ctx *Context, args *LookupCryptoIkev2OutputArgs, opts ...InvokeOption) LookupCryptoIkev2ResultOutput> Note: This function is named LookupCryptoIkev2 in the Go SDK.
public static class GetCryptoIkev2
{
public static Task<GetCryptoIkev2Result> InvokeAsync(GetCryptoIkev2Args args, InvokeOptions? opts = null)
public static Output<GetCryptoIkev2Result> Invoke(GetCryptoIkev2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCryptoIkev2Result> getCryptoIkev2(GetCryptoIkev2Args args, InvokeOptions options)
public static Output<GetCryptoIkev2Result> getCryptoIkev2(GetCryptoIkev2Args args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getCryptoIkev2:getCryptoIkev2
arguments:
# arguments dictionaryThe following arguments are supported:
- Device string
- A device name from the provider configuration.
- Device string
- A device name from the provider configuration.
- device String
- A device name from the provider configuration.
- device string
- A device name from the provider configuration.
- device str
- A device name from the provider configuration.
- device String
- A device name from the provider configuration.
getCryptoIkev2 Result
The following output properties are available:
- Dpd int
- Enable IKE liveness check for peers
- Dpd
Query string - Dpd
Retry intInterval - Id string
- The path of the retrieved object.
- Nat
Keepalive int - Set NAT keepalive interval
- Device string
- A device name from the provider configuration.
- Dpd int
- Enable IKE liveness check for peers
- Dpd
Query string - Dpd
Retry intInterval - Id string
- The path of the retrieved object.
- Nat
Keepalive int - Set NAT keepalive interval
- Device string
- A device name from the provider configuration.
- dpd Integer
- Enable IKE liveness check for peers
- dpd
Query String - dpd
Retry IntegerInterval - id String
- The path of the retrieved object.
- nat
Keepalive Integer - Set NAT keepalive interval
- device String
- A device name from the provider configuration.
- dpd number
- Enable IKE liveness check for peers
- dpd
Query string - dpd
Retry numberInterval - id string
- The path of the retrieved object.
- nat
Keepalive number - Set NAT keepalive interval
- device string
- A device name from the provider configuration.
- dpd int
- Enable IKE liveness check for peers
- dpd_
query str - dpd_
retry_ intinterval - id str
- The path of the retrieved object.
- nat_
keepalive int - Set NAT keepalive interval
- device str
- A device name from the provider configuration.
- dpd Number
- Enable IKE liveness check for peers
- dpd
Query String - dpd
Retry NumberInterval - id String
- The path of the retrieved object.
- nat
Keepalive Number - Set NAT keepalive interval
- device String
- A device name from the provider configuration.
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxeTerraform Provider.
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
