@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
166 lines (165 loc) • 4.47 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* TrafficSteeringRule resource
*
* ## Import
*
* The following command can be used to import a resource not managed by Terraform:
*
* bash
*
* ```sh
* $ pulumi import scm:index/trafficSteeringRule:TrafficSteeringRule example folder:::id
* ```
*
* or
*
* bash
*
* ```sh
* $ pulumi import scm:index/trafficSteeringRule:TrafficSteeringRule example :snippet::id
* ```
*
* or
*
* bash
*
* ```sh
* $ pulumi import scm:index/trafficSteeringRule:TrafficSteeringRule example ::device:id
* ```
*/
export declare class TrafficSteeringRule extends pulumi.CustomResource {
/**
* Get an existing TrafficSteeringRule 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?: TrafficSteeringRuleState, opts?: pulumi.CustomResourceOptions): TrafficSteeringRule;
/**
* Returns true if the given object is an instance of TrafficSteeringRule. 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 TrafficSteeringRule;
/**
* Action
*/
readonly action: pulumi.Output<outputs.TrafficSteeringRuleAction | undefined>;
/**
* Category
*/
readonly categories: pulumi.Output<string[] | undefined>;
/**
* Destination
*/
readonly destinations: pulumi.Output<string[]>;
/**
* The folder containing the traffic steering rule
*/
readonly folder: pulumi.Output<string>;
/**
* Name
*/
readonly name: pulumi.Output<string>;
/**
* Service
*/
readonly services: pulumi.Output<string[]>;
/**
* Source user
*/
readonly sourceUsers: pulumi.Output<string[]>;
/**
* Source
*/
readonly sources: pulumi.Output<string[]>;
readonly tfid: pulumi.Output<string>;
/**
* Create a TrafficSteeringRule 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: TrafficSteeringRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering TrafficSteeringRule resources.
*/
export interface TrafficSteeringRuleState {
/**
* Action
*/
action?: pulumi.Input<inputs.TrafficSteeringRuleAction>;
/**
* Category
*/
categories?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Destination
*/
destinations?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The folder containing the traffic steering rule
*/
folder?: pulumi.Input<string>;
/**
* Name
*/
name?: pulumi.Input<string>;
/**
* Service
*/
services?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Source user
*/
sourceUsers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Source
*/
sources?: pulumi.Input<pulumi.Input<string>[]>;
tfid?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a TrafficSteeringRule resource.
*/
export interface TrafficSteeringRuleArgs {
/**
* Action
*/
action?: pulumi.Input<inputs.TrafficSteeringRuleAction>;
/**
* Category
*/
categories?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Destination
*/
destinations?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The folder containing the traffic steering rule
*/
folder: pulumi.Input<string>;
/**
* Name
*/
name?: pulumi.Input<string>;
/**
* Service
*/
services: pulumi.Input<pulumi.Input<string>[]>;
/**
* Source user
*/
sourceUsers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Source
*/
sources: pulumi.Input<pulumi.Input<string>[]>;
}