@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
139 lines (138 loc) • 3.88 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* ServiceConnection data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* //------------------------------------------------------
* // Data Soruce
* //------------------------------------------------------
* const createdConnLookup = scm.getServiceConnection({
* id: "3d07bda7-2cfa-4fdc-b504-cd82847b2ec3",
* });
* export const createdServiceConnectionId = createdConnLookup.then(createdConnLookup => createdConnLookup.id);
* export const createdServiceConnectionRegion = createdConnLookup.then(createdConnLookup => createdConnLookup.region);
* export const createdServiceConnectionSubnets = createdConnLookup.then(createdConnLookup => createdConnLookup.subnets);
* ```
*/
export declare function getServiceConnection(args: GetServiceConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceConnectionResult>;
/**
* A collection of arguments for invoking getServiceConnection.
*/
export interface GetServiceConnectionArgs {
/**
* The UUID of the service connection
*/
id: string;
/**
* The name of the service connection
*/
name?: string;
}
/**
* A collection of values returned by getServiceConnection.
*/
export interface GetServiceConnectionResult {
/**
* Backup s c
*/
readonly backupSc: string;
/**
* Bgp peer
*/
readonly bgpPeer: outputs.GetServiceConnectionBgpPeer;
/**
* Map of sensitive values returned from the API.
*/
readonly encryptedValues: {
[key: string]: string;
};
/**
* The UUID of the service connection
*/
readonly id: string;
/**
* Ipsec tunnel
*/
readonly ipsecTunnel: string;
/**
* The name of the service connection
*/
readonly name: string;
/**
* Nat pool
*/
readonly natPool: string;
/**
* No export community
*/
readonly noExportCommunity: string;
/**
* Onboarding type
*/
readonly onboardingType: string;
/**
* Protocol
*/
readonly protocol: outputs.GetServiceConnectionProtocol;
/**
* Qos
*/
readonly qos: outputs.GetServiceConnectionQos;
/**
* Region
*/
readonly region: string;
/**
* Secondary ipsec tunnel
*/
readonly secondaryIpsecTunnel: string;
/**
* Source nat
*/
readonly sourceNat: boolean;
/**
* Subnets
*/
readonly subnets: string[];
readonly tfid: string;
}
/**
* ServiceConnection data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* //------------------------------------------------------
* // Data Soruce
* //------------------------------------------------------
* const createdConnLookup = scm.getServiceConnection({
* id: "3d07bda7-2cfa-4fdc-b504-cd82847b2ec3",
* });
* export const createdServiceConnectionId = createdConnLookup.then(createdConnLookup => createdConnLookup.id);
* export const createdServiceConnectionRegion = createdConnLookup.then(createdConnLookup => createdConnLookup.region);
* export const createdServiceConnectionSubnets = createdConnLookup.then(createdConnLookup => createdConnLookup.subnets);
* ```
*/
export declare function getServiceConnectionOutput(args: GetServiceConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceConnectionResult>;
/**
* A collection of arguments for invoking getServiceConnection.
*/
export interface GetServiceConnectionOutputArgs {
/**
* The UUID of the service connection
*/
id: pulumi.Input<string>;
/**
* The name of the service connection
*/
name?: pulumi.Input<string>;
}