@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
94 lines (93 loc) • 2.52 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* This data source can read the Policy Object AS Path List Policy_object.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = sdwan.getPolicyObjectAsPathList({
* id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
* });
* ```
*/
export declare function getPolicyObjectAsPathList(args: GetPolicyObjectAsPathListArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyObjectAsPathListResult>;
/**
* A collection of arguments for invoking getPolicyObjectAsPathList.
*/
export interface GetPolicyObjectAsPathListArgs {
/**
* Feature Profile ID
*/
featureProfileId: string;
/**
* The id of the Policy_object
*/
id: string;
}
/**
* A collection of values returned by getPolicyObjectAsPathList.
*/
export interface GetPolicyObjectAsPathListResult {
/**
* As path List Number
*/
readonly asPathListId: number;
/**
* The description of the Policy_object
*/
readonly description: string;
/**
* AS Path List
*/
readonly entries: outputs.GetPolicyObjectAsPathListEntry[];
/**
* Feature Profile ID
*/
readonly featureProfileId: string;
/**
* The id of the Policy_object
*/
readonly id: string;
/**
* The name of the Policy_object
*/
readonly name: string;
/**
* The version of the Policy_object
*/
readonly version: number;
}
/**
* This data source can read the Policy Object AS Path List Policy_object.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = sdwan.getPolicyObjectAsPathList({
* id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
* });
* ```
*/
export declare function getPolicyObjectAsPathListOutput(args: GetPolicyObjectAsPathListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPolicyObjectAsPathListResult>;
/**
* A collection of arguments for invoking getPolicyObjectAsPathList.
*/
export interface GetPolicyObjectAsPathListOutputArgs {
/**
* Feature Profile ID
*/
featureProfileId: pulumi.Input<string>;
/**
* The id of the Policy_object
*/
id: pulumi.Input<string>;
}