@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
88 lines (87 loc) • 2.46 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* This data source can read the Hub and Spoke Topology Policy Definition .
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = sdwan.getHubAndSpokeTopologyPolicyDefinition({
* id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
* });
* ```
*/
export declare function getHubAndSpokeTopologyPolicyDefinition(args: GetHubAndSpokeTopologyPolicyDefinitionArgs, opts?: pulumi.InvokeOptions): Promise<GetHubAndSpokeTopologyPolicyDefinitionResult>;
/**
* A collection of arguments for invoking getHubAndSpokeTopologyPolicyDefinition.
*/
export interface GetHubAndSpokeTopologyPolicyDefinitionArgs {
/**
* The id of the object
*/
id: string;
}
/**
* A collection of values returned by getHubAndSpokeTopologyPolicyDefinition.
*/
export interface GetHubAndSpokeTopologyPolicyDefinitionResult {
/**
* The description of the policy definition
*/
readonly description: string;
/**
* The id of the object
*/
readonly id: string;
/**
* The name of the policy definition
*/
readonly name: string;
/**
* List of topologies
*/
readonly topologies: outputs.GetHubAndSpokeTopologyPolicyDefinitionTopology[];
/**
* Type
*/
readonly type: string;
/**
* The version of the object
*/
readonly version: number;
/**
* VPN list ID
*/
readonly vpnListId: string;
/**
* VPN list version
*/
readonly vpnListVersion: number;
}
/**
* This data source can read the Hub and Spoke Topology Policy Definition .
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = sdwan.getHubAndSpokeTopologyPolicyDefinition({
* id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
* });
* ```
*/
export declare function getHubAndSpokeTopologyPolicyDefinitionOutput(args: GetHubAndSpokeTopologyPolicyDefinitionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHubAndSpokeTopologyPolicyDefinitionResult>;
/**
* A collection of arguments for invoking getHubAndSpokeTopologyPolicyDefinition.
*/
export interface GetHubAndSpokeTopologyPolicyDefinitionOutputArgs {
/**
* The id of the object
*/
id: pulumi.Input<string>;
}