UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

131 lines (130 loc) 3.42 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * RemoteNetwork data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Data source to retrieve a single remote_network object. * // * // Look up a single Remote Network by its ID. * // Replace the ID with the UUID of the remote network you want to find. * const example = scm.getRemoteNetwork({ * id: "7fc59ec2-46b3-4a0e-9c86-9b7416426a70", * }); * export const remoteNetworkDetails = example; * ``` */ export declare function getRemoteNetwork(args: GetRemoteNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetRemoteNetworkResult>; /** * A collection of arguments for invoking getRemoteNetwork. */ export interface GetRemoteNetworkArgs { /** * The UUID of the remote network */ id: string; /** * The name of the remote network */ name?: string; } /** * A collection of values returned by getRemoteNetwork. */ export interface GetRemoteNetworkResult { /** * Ecmp load balancing */ readonly ecmpLoadBalancing: string; /** * ecmp*tunnels is required when ecmp*load*balancing is enable */ readonly ecmpTunnels: outputs.GetRemoteNetworkEcmpTunnel[]; /** * Map of sensitive values returned from the API. */ readonly encryptedValues: { [key: string]: string; }; /** * The folder that contains the remote network */ readonly folder: string; /** * The UUID of the remote network */ readonly id: string; /** * ipsec*tunnel is required when ecmp*load_balancing is disable */ readonly ipsecTunnel: string; /** * New customer will only be on aggregate bandwidth licensing */ readonly licenseType: string; /** * The name of the remote network */ readonly name: string; /** * setup the protocol when ecmp*load*balancing is disable */ readonly protocol: outputs.GetRemoteNetworkProtocol; /** * Region */ readonly region: string; /** * specify secondary ipsecTunnel if needed */ readonly secondaryIpsecTunnel: string; /** * spn-name is needed when licenseType is FWAAS-AGGREGATE */ readonly spnName: string; /** * Subnets */ readonly subnets: string[]; readonly tfid: string; } /** * RemoteNetwork data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Data source to retrieve a single remote_network object. * // * // Look up a single Remote Network by its ID. * // Replace the ID with the UUID of the remote network you want to find. * const example = scm.getRemoteNetwork({ * id: "7fc59ec2-46b3-4a0e-9c86-9b7416426a70", * }); * export const remoteNetworkDetails = example; * ``` */ export declare function getRemoteNetworkOutput(args: GetRemoteNetworkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRemoteNetworkResult>; /** * A collection of arguments for invoking getRemoteNetwork. */ export interface GetRemoteNetworkOutputArgs { /** * The UUID of the remote network */ id: pulumi.Input<string>; /** * The name of the remote network */ name?: pulumi.Input<string>; }