@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
252 lines (251 loc) • 7.4 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 System NTP Feature.
* - Minimum SD-WAN Manager version: `20.12.0`
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdwan from "@pulumi/sdwan";
*
* const example = new sdwan.SystemNtpFeature("example", {
* name: "Example",
* description: "My Example",
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
* servers: [{
* hostnameIpAddress: "1.1.1.1",
* authenticationKey: 41673,
* vpn: 1,
* ntpVersion: 4,
* sourceInterface: "Ethernet",
* preferThisNtpServer: false,
* }],
* authenticationKeys: [{
* keyId: 49737,
* md5Value: "$CRYPT_CLUSTER",
* }],
* trustedKeys: [49737],
* authoritativeNtpServer: false,
* stratum: 1,
* sourceInterface: "ATM",
* });
* ```
*
* ## Import
*
* The `pulumi import` command can be used, for example:
*
* Expected import identifier with the format: "system_ntp_feature_id,feature_profile_id"
*
* ```sh
* $ pulumi import sdwan:index/systemNtpFeature:SystemNtpFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
* ```
*/
export declare class SystemNtpFeature extends pulumi.CustomResource {
/**
* Get an existing SystemNtpFeature 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?: SystemNtpFeatureState, opts?: pulumi.CustomResourceOptions): SystemNtpFeature;
/**
* Returns true if the given object is an instance of SystemNtpFeature. 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 SystemNtpFeature;
/**
* Set MD5 authentication key
*/
readonly authenticationKeys: pulumi.Output<outputs.SystemNtpFeatureAuthenticationKey[] | undefined>;
/**
* Enable device as NTP Leader
* - Default value: `false`
*/
readonly authoritativeNtpServer: pulumi.Output<boolean | undefined>;
/**
* Variable name
*/
readonly authoritativeNtpServerVariable: pulumi.Output<string | undefined>;
/**
* The description of the Feature
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Feature Profile ID
*/
readonly featureProfileId: pulumi.Output<string>;
/**
* The name of the Feature
*/
readonly name: pulumi.Output<string>;
/**
* Configure NTP servers
*/
readonly servers: pulumi.Output<outputs.SystemNtpFeatureServer[] | undefined>;
/**
* Enable device as NTP Leader
*/
readonly sourceInterface: pulumi.Output<string | undefined>;
/**
* Variable name
*/
readonly sourceInterfaceVariable: pulumi.Output<string | undefined>;
/**
* Enable device as NTP Leader
* - Range: `1`-`15`
*/
readonly stratum: pulumi.Output<number | undefined>;
/**
* Variable name
*/
readonly stratumVariable: pulumi.Output<string | undefined>;
/**
* Designate authentication key as trustworthy
*/
readonly trustedKeys: pulumi.Output<number[] | undefined>;
/**
* Variable name
*/
readonly trustedKeysVariable: pulumi.Output<string | undefined>;
/**
* The version of the Feature
*/
readonly version: pulumi.Output<number>;
/**
* Create a SystemNtpFeature 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: SystemNtpFeatureArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering SystemNtpFeature resources.
*/
export interface SystemNtpFeatureState {
/**
* Set MD5 authentication key
*/
authenticationKeys?: pulumi.Input<pulumi.Input<inputs.SystemNtpFeatureAuthenticationKey>[]>;
/**
* Enable device as NTP Leader
* - Default value: `false`
*/
authoritativeNtpServer?: pulumi.Input<boolean>;
/**
* Variable name
*/
authoritativeNtpServerVariable?: pulumi.Input<string>;
/**
* The description of the Feature
*/
description?: pulumi.Input<string>;
/**
* Feature Profile ID
*/
featureProfileId?: pulumi.Input<string>;
/**
* The name of the Feature
*/
name?: pulumi.Input<string>;
/**
* Configure NTP servers
*/
servers?: pulumi.Input<pulumi.Input<inputs.SystemNtpFeatureServer>[]>;
/**
* Enable device as NTP Leader
*/
sourceInterface?: pulumi.Input<string>;
/**
* Variable name
*/
sourceInterfaceVariable?: pulumi.Input<string>;
/**
* Enable device as NTP Leader
* - Range: `1`-`15`
*/
stratum?: pulumi.Input<number>;
/**
* Variable name
*/
stratumVariable?: pulumi.Input<string>;
/**
* Designate authentication key as trustworthy
*/
trustedKeys?: pulumi.Input<pulumi.Input<number>[]>;
/**
* Variable name
*/
trustedKeysVariable?: pulumi.Input<string>;
/**
* The version of the Feature
*/
version?: pulumi.Input<number>;
}
/**
* The set of arguments for constructing a SystemNtpFeature resource.
*/
export interface SystemNtpFeatureArgs {
/**
* Set MD5 authentication key
*/
authenticationKeys?: pulumi.Input<pulumi.Input<inputs.SystemNtpFeatureAuthenticationKey>[]>;
/**
* Enable device as NTP Leader
* - Default value: `false`
*/
authoritativeNtpServer?: pulumi.Input<boolean>;
/**
* Variable name
*/
authoritativeNtpServerVariable?: pulumi.Input<string>;
/**
* The description of the Feature
*/
description?: pulumi.Input<string>;
/**
* Feature Profile ID
*/
featureProfileId: pulumi.Input<string>;
/**
* The name of the Feature
*/
name?: pulumi.Input<string>;
/**
* Configure NTP servers
*/
servers?: pulumi.Input<pulumi.Input<inputs.SystemNtpFeatureServer>[]>;
/**
* Enable device as NTP Leader
*/
sourceInterface?: pulumi.Input<string>;
/**
* Variable name
*/
sourceInterfaceVariable?: pulumi.Input<string>;
/**
* Enable device as NTP Leader
* - Range: `1`-`15`
*/
stratum?: pulumi.Input<number>;
/**
* Variable name
*/
stratumVariable?: pulumi.Input<string>;
/**
* Designate authentication key as trustworthy
*/
trustedKeys?: pulumi.Input<pulumi.Input<number>[]>;
/**
* Variable name
*/
trustedKeysVariable?: pulumi.Input<string>;
}