@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
232 lines (231 loc) • 7.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* This resource can manage a URL Filtering Policy Definition .
*
* ## Import
*
* The `pulumi import` command can be used, for example:
*
* ```sh
* $ pulumi import sdwan:index/urlFilteringPolicyDefinition:UrlFilteringPolicyDefinition example "f6b2c44c-693c-4763-b010-895aa3d236bd"
* ```
*/
export declare class UrlFilteringPolicyDefinition extends pulumi.CustomResource {
/**
* Get an existing UrlFilteringPolicyDefinition 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?: UrlFilteringPolicyDefinitionState, opts?: pulumi.CustomResourceOptions): UrlFilteringPolicyDefinition;
/**
* Returns true if the given object is an instance of UrlFilteringPolicyDefinition. 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 UrlFilteringPolicyDefinition;
/**
* List of alerts options that will be exported as syslog messages
*/
readonly alerts: pulumi.Output<string[] | undefined>;
/**
* Allow URL list ID
*/
readonly allowUrlListId: pulumi.Output<string | undefined>;
/**
* Allow URL list version
*/
readonly allowUrlListVersion: pulumi.Output<number | undefined>;
/**
* Redirect to a URL or display a message when a blocked page is accessed. - Choices: `text`, `redirectUrl`
*/
readonly blockPageAction: pulumi.Output<string | undefined>;
/**
* The message displayed or URL redirected to when a blocked page is accessed.
*/
readonly blockPageContents: pulumi.Output<string | undefined>;
/**
* Block URL list ID
*/
readonly blockUrlListId: pulumi.Output<string | undefined>;
/**
* Block URL list version
*/
readonly blockUrlListVersion: pulumi.Output<number | undefined>;
/**
* The description of the policy definition.
*/
readonly description: pulumi.Output<string>;
readonly loggings: pulumi.Output<outputs.UrlFilteringPolicyDefinitionLogging[] | undefined>;
/**
* The policy mode - Choices: `security`, `unified`
*/
readonly mode: pulumi.Output<string | undefined>;
/**
* The name of the policy definition.
*/
readonly name: pulumi.Output<string>;
/**
* List of VPN IDs
*/
readonly targetVpns: pulumi.Output<string[] | undefined>;
/**
* The version of the object
*/
readonly version: pulumi.Output<number>;
/**
* List of categories to block or allow
*/
readonly webCategories: pulumi.Output<string[] | undefined>;
/**
* whether the selected web categories should be blocked or allowed. - Choices: `block`, `allow`
*/
readonly webCategoriesAction: pulumi.Output<string | undefined>;
/**
* The web reputation of the policy definition - Choices: `high-risk`, `suspicious`, `moderate-risk`, `low-risk`,
* `trustworthy`
*/
readonly webReputation: pulumi.Output<string | undefined>;
/**
* Create a UrlFilteringPolicyDefinition 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: UrlFilteringPolicyDefinitionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering UrlFilteringPolicyDefinition resources.
*/
export interface UrlFilteringPolicyDefinitionState {
/**
* List of alerts options that will be exported as syslog messages
*/
alerts?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Allow URL list ID
*/
allowUrlListId?: pulumi.Input<string>;
/**
* Allow URL list version
*/
allowUrlListVersion?: pulumi.Input<number>;
/**
* Redirect to a URL or display a message when a blocked page is accessed. - Choices: `text`, `redirectUrl`
*/
blockPageAction?: pulumi.Input<string>;
/**
* The message displayed or URL redirected to when a blocked page is accessed.
*/
blockPageContents?: pulumi.Input<string>;
/**
* Block URL list ID
*/
blockUrlListId?: pulumi.Input<string>;
/**
* Block URL list version
*/
blockUrlListVersion?: pulumi.Input<number>;
/**
* The description of the policy definition.
*/
description?: pulumi.Input<string>;
loggings?: pulumi.Input<pulumi.Input<inputs.UrlFilteringPolicyDefinitionLogging>[]>;
/**
* The policy mode - Choices: `security`, `unified`
*/
mode?: pulumi.Input<string>;
/**
* The name of the policy definition.
*/
name?: pulumi.Input<string>;
/**
* List of VPN IDs
*/
targetVpns?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The version of the object
*/
version?: pulumi.Input<number>;
/**
* List of categories to block or allow
*/
webCategories?: pulumi.Input<pulumi.Input<string>[]>;
/**
* whether the selected web categories should be blocked or allowed. - Choices: `block`, `allow`
*/
webCategoriesAction?: pulumi.Input<string>;
/**
* The web reputation of the policy definition - Choices: `high-risk`, `suspicious`, `moderate-risk`, `low-risk`,
* `trustworthy`
*/
webReputation?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a UrlFilteringPolicyDefinition resource.
*/
export interface UrlFilteringPolicyDefinitionArgs {
/**
* List of alerts options that will be exported as syslog messages
*/
alerts?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Allow URL list ID
*/
allowUrlListId?: pulumi.Input<string>;
/**
* Allow URL list version
*/
allowUrlListVersion?: pulumi.Input<number>;
/**
* Redirect to a URL or display a message when a blocked page is accessed. - Choices: `text`, `redirectUrl`
*/
blockPageAction?: pulumi.Input<string>;
/**
* The message displayed or URL redirected to when a blocked page is accessed.
*/
blockPageContents?: pulumi.Input<string>;
/**
* Block URL list ID
*/
blockUrlListId?: pulumi.Input<string>;
/**
* Block URL list version
*/
blockUrlListVersion?: pulumi.Input<number>;
/**
* The description of the policy definition.
*/
description: pulumi.Input<string>;
loggings?: pulumi.Input<pulumi.Input<inputs.UrlFilteringPolicyDefinitionLogging>[]>;
/**
* The policy mode - Choices: `security`, `unified`
*/
mode?: pulumi.Input<string>;
/**
* The name of the policy definition.
*/
name?: pulumi.Input<string>;
/**
* List of VPN IDs
*/
targetVpns?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of categories to block or allow
*/
webCategories?: pulumi.Input<pulumi.Input<string>[]>;
/**
* whether the selected web categories should be blocked or allowed. - Choices: `block`, `allow`
*/
webCategoriesAction?: pulumi.Input<string>;
/**
* The web reputation of the policy definition - Choices: `high-risk`, `suspicious`, `moderate-risk`, `low-risk`,
* `trustworthy`
*/
webReputation?: pulumi.Input<string>;
}