@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
308 lines (307 loc) • 8.4 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* SdwanRule resource
*/
export declare class SdwanRule extends pulumi.CustomResource {
/**
* Get an existing SdwanRule resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SdwanRuleState, opts?: pulumi.CustomResourceOptions): SdwanRule;
/**
* Returns true if the given object is an instance of SdwanRule. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is SdwanRule;
/**
* Action
*/
readonly action: pulumi.Output<outputs.SdwanRuleAction>;
/**
* List of applications
*/
readonly applications: pulumi.Output<string[]>;
/**
* Rule description
*/
readonly description: pulumi.Output<string | undefined>;
/**
* List of destination addresses
*/
readonly destinations: pulumi.Output<string[]>;
/**
* The device in which the resource is defined
*/
readonly device: pulumi.Output<string | undefined>;
/**
* Disable rule?
*/
readonly disabled: pulumi.Output<boolean>;
/**
* Error correction profile
*/
readonly errorCorrectionProfile: pulumi.Output<string | undefined>;
/**
* The folder in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly folder: pulumi.Output<string | undefined>;
/**
* List of source zones
*/
readonly froms: pulumi.Output<string[]>;
/**
* Rule name
*/
readonly name: pulumi.Output<string>;
/**
* Negate destination address(es)?
*/
readonly negateDestination: pulumi.Output<boolean>;
/**
* Negate source address(es)?
*/
readonly negateSource: pulumi.Output<boolean>;
/**
* Path quality profile
*/
readonly pathQualityProfile: pulumi.Output<string>;
/**
* Rule postion relative to device rules
*/
readonly position: pulumi.Output<string>;
/**
* SaaS quality profile
*/
readonly saasQualityProfile: pulumi.Output<string | undefined>;
/**
* List of services
*/
readonly services: pulumi.Output<string[]>;
/**
* The snippet in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly snippet: pulumi.Output<string | undefined>;
/**
* List of source users
*/
readonly sourceUsers: pulumi.Output<string[]>;
/**
* List of source addresses
*/
readonly sources: pulumi.Output<string[]>;
/**
* List of tags
*/
readonly tags: pulumi.Output<string[] | undefined>;
readonly tfid: pulumi.Output<string>;
/**
* List of destination zones
*/
readonly tos: pulumi.Output<string[]>;
/**
* Create a SdwanRule resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: SdwanRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering SdwanRule resources.
*/
export interface SdwanRuleState {
/**
* Action
*/
action?: pulumi.Input<inputs.SdwanRuleAction>;
/**
* List of applications
*/
applications?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Rule description
*/
description?: pulumi.Input<string>;
/**
* List of destination addresses
*/
destinations?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The device in which the resource is defined
*/
device?: pulumi.Input<string>;
/**
* Disable rule?
*/
disabled?: pulumi.Input<boolean>;
/**
* Error correction profile
*/
errorCorrectionProfile?: 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>;
/**
* List of source zones
*/
froms?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Rule name
*/
name?: pulumi.Input<string>;
/**
* Negate destination address(es)?
*/
negateDestination?: pulumi.Input<boolean>;
/**
* Negate source address(es)?
*/
negateSource?: pulumi.Input<boolean>;
/**
* Path quality profile
*/
pathQualityProfile?: pulumi.Input<string>;
/**
* Rule postion relative to device rules
*/
position?: pulumi.Input<string>;
/**
* SaaS quality profile
*/
saasQualityProfile?: pulumi.Input<string>;
/**
* List of services
*/
services?: pulumi.Input<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>;
/**
* List of source users
*/
sourceUsers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of source addresses
*/
sources?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of tags
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
tfid?: pulumi.Input<string>;
/**
* List of destination zones
*/
tos?: pulumi.Input<pulumi.Input<string>[]>;
}
/**
* The set of arguments for constructing a SdwanRule resource.
*/
export interface SdwanRuleArgs {
/**
* Action
*/
action: pulumi.Input<inputs.SdwanRuleAction>;
/**
* List of applications
*/
applications: pulumi.Input<pulumi.Input<string>[]>;
/**
* Rule description
*/
description?: pulumi.Input<string>;
/**
* List of destination addresses
*/
destinations: pulumi.Input<pulumi.Input<string>[]>;
/**
* The device in which the resource is defined
*/
device?: pulumi.Input<string>;
/**
* Disable rule?
*/
disabled?: pulumi.Input<boolean>;
/**
* Error correction profile
*/
errorCorrectionProfile?: 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>;
/**
* List of source zones
*/
froms: pulumi.Input<pulumi.Input<string>[]>;
/**
* Rule name
*/
name?: pulumi.Input<string>;
/**
* Negate destination address(es)?
*/
negateDestination?: pulumi.Input<boolean>;
/**
* Negate source address(es)?
*/
negateSource?: pulumi.Input<boolean>;
/**
* Path quality profile
*/
pathQualityProfile: pulumi.Input<string>;
/**
* Rule postion relative to device rules
*/
position: pulumi.Input<string>;
/**
* SaaS quality profile
*/
saasQualityProfile?: pulumi.Input<string>;
/**
* List of services
*/
services: pulumi.Input<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>;
/**
* List of source users
*/
sourceUsers: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of source addresses
*/
sources: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of tags
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of destination zones
*/
tos: pulumi.Input<pulumi.Input<string>[]>;
}