@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
217 lines (216 loc) • 7.83 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 Cisco Logging feature template.
* - Minimum SD-WAN Manager version: `15.0.0`
*
* ## Import
*
* The `pulumi import` command can be used, for example:
*
* ```sh
* $ pulumi import sdwan:index/ciscoLoggingFeatureTemplate:CiscoLoggingFeatureTemplate example "f6b2c44c-693c-4763-b010-895aa3d236bd"
* ```
*/
export declare class CiscoLoggingFeatureTemplate extends pulumi.CustomResource {
/**
* Get an existing CiscoLoggingFeatureTemplate 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?: CiscoLoggingFeatureTemplateState, opts?: pulumi.CustomResourceOptions): CiscoLoggingFeatureTemplate;
/**
* Returns true if the given object is an instance of CiscoLoggingFeatureTemplate. 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 CiscoLoggingFeatureTemplate;
/**
* The description of the feature template
*/
readonly description: pulumi.Output<string>;
/**
* List of supported device types - Choices: `vedge-C8000V`, `vedge-C8300-1N1S-4T2X`, `vedge-C8300-1N1S-6T`,
* `vedge-C8300-2N2S-6T`, `vedge-C8300-2N2S-4T2X`, `vedge-C8500-12X4QC`, `vedge-C8500-12X`, `vedge-C8500-20X6C`,
* `vedge-C8500L-8S4X`, `vedge-C8200-1N-4T`, `vedge-C8200L-1N-4T`
*/
readonly deviceTypes: pulumi.Output<string[]>;
/**
* Enable logging to local disk - Default value: `true`
*/
readonly diskLogging: pulumi.Output<boolean | undefined>;
/**
* Variable name
*/
readonly diskLoggingVariable: pulumi.Output<string | undefined>;
/**
* Enable logging to remote server
*/
readonly ipv4Servers: pulumi.Output<outputs.CiscoLoggingFeatureTemplateIpv4Server[] | undefined>;
/**
* Enable logging to remote IPv6 server
*/
readonly ipv6Servers: pulumi.Output<outputs.CiscoLoggingFeatureTemplateIpv6Server[] | undefined>;
/**
* Set number of syslog files to create before discarding oldest files - Range: `1`-`10` - Default value: `10`
*/
readonly logRotations: pulumi.Output<number | undefined>;
/**
* Variable name
*/
readonly logRotationsVariable: pulumi.Output<string | undefined>;
/**
* Set maximum size of file before it is rotated - Range: `1`-`20` - Default value: `10`
*/
readonly maxSize: pulumi.Output<number | undefined>;
/**
* Variable name
*/
readonly maxSizeVariable: pulumi.Output<string | undefined>;
/**
* The name of the feature template
*/
readonly name: pulumi.Output<string>;
/**
* The template type
*/
readonly templateType: pulumi.Output<string>;
/**
* Configure a TLS profile
*/
readonly tlsProfiles: pulumi.Output<outputs.CiscoLoggingFeatureTemplateTlsProfile[] | undefined>;
/**
* The version of the feature template
*/
readonly version: pulumi.Output<number>;
/**
* Create a CiscoLoggingFeatureTemplate 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: CiscoLoggingFeatureTemplateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CiscoLoggingFeatureTemplate resources.
*/
export interface CiscoLoggingFeatureTemplateState {
/**
* The description of the feature template
*/
description?: pulumi.Input<string>;
/**
* List of supported device types - Choices: `vedge-C8000V`, `vedge-C8300-1N1S-4T2X`, `vedge-C8300-1N1S-6T`,
* `vedge-C8300-2N2S-6T`, `vedge-C8300-2N2S-4T2X`, `vedge-C8500-12X4QC`, `vedge-C8500-12X`, `vedge-C8500-20X6C`,
* `vedge-C8500L-8S4X`, `vedge-C8200-1N-4T`, `vedge-C8200L-1N-4T`
*/
deviceTypes?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Enable logging to local disk - Default value: `true`
*/
diskLogging?: pulumi.Input<boolean>;
/**
* Variable name
*/
diskLoggingVariable?: pulumi.Input<string>;
/**
* Enable logging to remote server
*/
ipv4Servers?: pulumi.Input<pulumi.Input<inputs.CiscoLoggingFeatureTemplateIpv4Server>[]>;
/**
* Enable logging to remote IPv6 server
*/
ipv6Servers?: pulumi.Input<pulumi.Input<inputs.CiscoLoggingFeatureTemplateIpv6Server>[]>;
/**
* Set number of syslog files to create before discarding oldest files - Range: `1`-`10` - Default value: `10`
*/
logRotations?: pulumi.Input<number>;
/**
* Variable name
*/
logRotationsVariable?: pulumi.Input<string>;
/**
* Set maximum size of file before it is rotated - Range: `1`-`20` - Default value: `10`
*/
maxSize?: pulumi.Input<number>;
/**
* Variable name
*/
maxSizeVariable?: pulumi.Input<string>;
/**
* The name of the feature template
*/
name?: pulumi.Input<string>;
/**
* The template type
*/
templateType?: pulumi.Input<string>;
/**
* Configure a TLS profile
*/
tlsProfiles?: pulumi.Input<pulumi.Input<inputs.CiscoLoggingFeatureTemplateTlsProfile>[]>;
/**
* The version of the feature template
*/
version?: pulumi.Input<number>;
}
/**
* The set of arguments for constructing a CiscoLoggingFeatureTemplate resource.
*/
export interface CiscoLoggingFeatureTemplateArgs {
/**
* The description of the feature template
*/
description: pulumi.Input<string>;
/**
* List of supported device types - Choices: `vedge-C8000V`, `vedge-C8300-1N1S-4T2X`, `vedge-C8300-1N1S-6T`,
* `vedge-C8300-2N2S-6T`, `vedge-C8300-2N2S-4T2X`, `vedge-C8500-12X4QC`, `vedge-C8500-12X`, `vedge-C8500-20X6C`,
* `vedge-C8500L-8S4X`, `vedge-C8200-1N-4T`, `vedge-C8200L-1N-4T`
*/
deviceTypes: pulumi.Input<pulumi.Input<string>[]>;
/**
* Enable logging to local disk - Default value: `true`
*/
diskLogging?: pulumi.Input<boolean>;
/**
* Variable name
*/
diskLoggingVariable?: pulumi.Input<string>;
/**
* Enable logging to remote server
*/
ipv4Servers?: pulumi.Input<pulumi.Input<inputs.CiscoLoggingFeatureTemplateIpv4Server>[]>;
/**
* Enable logging to remote IPv6 server
*/
ipv6Servers?: pulumi.Input<pulumi.Input<inputs.CiscoLoggingFeatureTemplateIpv6Server>[]>;
/**
* Set number of syslog files to create before discarding oldest files - Range: `1`-`10` - Default value: `10`
*/
logRotations?: pulumi.Input<number>;
/**
* Variable name
*/
logRotationsVariable?: pulumi.Input<string>;
/**
* Set maximum size of file before it is rotated - Range: `1`-`20` - Default value: `10`
*/
maxSize?: pulumi.Input<number>;
/**
* Variable name
*/
maxSizeVariable?: pulumi.Input<string>;
/**
* The name of the feature template
*/
name?: pulumi.Input<string>;
/**
* Configure a TLS profile
*/
tlsProfiles?: pulumi.Input<pulumi.Input<inputs.CiscoLoggingFeatureTemplateTlsProfile>[]>;
}