@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
164 lines (163 loc) • 4.21 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* SdwanRule data source
*/
export declare function getSdwanRule(args: GetSdwanRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetSdwanRuleResult>;
/**
* A collection of arguments for invoking getSdwanRule.
*/
export interface GetSdwanRuleArgs {
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
device?: string;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
folder?: string;
/**
* UUID of the resource
*/
id: string;
/**
* Rule name
*/
name?: string;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: string;
}
/**
* A collection of values returned by getSdwanRule.
*/
export interface GetSdwanRuleResult {
/**
* Action
*/
readonly action: outputs.GetSdwanRuleAction;
/**
* List of applications
*/
readonly applications: string[];
/**
* Rule description
*/
readonly description: string;
/**
* List of destination addresses
*/
readonly destinations: string[];
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly device: string;
/**
* Disable rule?
*/
readonly disabled: boolean;
/**
* Error correction profile
*/
readonly errorCorrectionProfile: string;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly folder: string;
/**
* List of source zones
*/
readonly froms: string[];
/**
* UUID of the resource
*/
readonly id: string;
/**
* Rule name
*/
readonly name: string;
/**
* Negate destination address(es)?
*/
readonly negateDestination: boolean;
/**
* Negate source address(es)?
*/
readonly negateSource: boolean;
/**
* Path quality profile
*/
readonly pathQualityProfile: string;
/**
* Rule postion relative to device rules
*/
readonly position: string;
/**
* SaaS quality profile
*/
readonly saasQualityProfile: string;
/**
* List of services
*/
readonly services: string[];
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly snippet: string;
/**
* List of source users
*/
readonly sourceUsers: string[];
/**
* List of source addresses
*/
readonly sources: string[];
/**
* List of tags
*/
readonly tags: string[];
readonly tfid: string;
/**
* List of destination zones
*/
readonly tos: string[];
}
/**
* SdwanRule data source
*/
export declare function getSdwanRuleOutput(args: GetSdwanRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSdwanRuleResult>;
/**
* A collection of arguments for invoking getSdwanRule.
*/
export interface GetSdwanRuleOutputArgs {
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
device?: pulumi.Input<string>;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
folder?: pulumi.Input<string>;
/**
* UUID of the resource
*/
id: pulumi.Input<string>;
/**
* Rule name
*/
name?: pulumi.Input<string>;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: pulumi.Input<string>;
}