@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
76 lines (75 loc) • 1.96 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* This data source can read the Centralized Policy .
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = sdwan.getCentralizedPolicy({
* id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
* });
* ```
*/
export declare function getCentralizedPolicy(args: GetCentralizedPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetCentralizedPolicyResult>;
/**
* A collection of arguments for invoking getCentralizedPolicy.
*/
export interface GetCentralizedPolicyArgs {
/**
* The id of the object
*/
id: string;
}
/**
* A collection of values returned by getCentralizedPolicy.
*/
export interface GetCentralizedPolicyResult {
/**
* List of policy definitions
*/
readonly definitions: outputs.GetCentralizedPolicyDefinition[];
/**
* The description of the centralized policy
*/
readonly description: string;
/**
* The id of the object
*/
readonly id: string;
/**
* The name of the centralized policy
*/
readonly name: string;
/**
* The version of the object
*/
readonly version: number;
}
/**
* This data source can read the Centralized Policy .
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = sdwan.getCentralizedPolicy({
* id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
* });
* ```
*/
export declare function getCentralizedPolicyOutput(args: GetCentralizedPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCentralizedPolicyResult>;
/**
* A collection of arguments for invoking getCentralizedPolicy.
*/
export interface GetCentralizedPolicyOutputArgs {
/**
* The id of the object
*/
id: pulumi.Input<string>;
}