import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * This resource can manage the NTP configuration. * * ## Import * * ```sh * $ pulumi import iosxe:index/ntp:Ntp example "Cisco-IOS-XE-native:native/ntp" * ``` */ export declare class Ntp extends pulumi.CustomResource { /** * Get an existing Ntp 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, state?: NtpState, opts?: pulumi.CustomResourceOptions): Ntp; /** * Returns true if the given object is an instance of Ntp. 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 Ntp; readonly accessGroupPeerAcl: pulumi.Output; readonly accessGroupQueryOnlyAcl: pulumi.Output; readonly accessGroupServeAcl: pulumi.Output; readonly accessGroupServeOnlyAcl: pulumi.Output; /** * Authenticate time sources */ readonly authenticate: pulumi.Output; /** * Authentication key for trusted time sources */ readonly authenticationKeys: pulumi.Output; /** * Length of hardware clock tick - Range: `0`-`4294967295` */ readonly clockPeriod: pulumi.Output; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ readonly deleteMode: pulumi.Output; /** * A device name from the provider configuration. */ readonly device: pulumi.Output; /** * Enable NTP message logging */ readonly logging: pulumi.Output; /** * Act as NTP master clock */ readonly master: pulumi.Output; /** * - Range: `1`-`15` */ readonly masterStratum: pulumi.Output; /** * NTP passive mode */ readonly passive: pulumi.Output; /** * VPN Routing/Forwarding Information */ readonly peerVrfs: pulumi.Output; readonly peers: pulumi.Output; /** * VPN Routing/Forwarding Information */ readonly serverVrfs: pulumi.Output; readonly servers: pulumi.Output; /** * Forty GigabitEthernet */ readonly trapSourceFortyGigabitEthernet: pulumi.Output; /** * GigabitEthernet IEEE 802.3z */ readonly trapSourceGigabitEthernet: pulumi.Output; /** * Hundred GigabitEthernet */ readonly trapSourceHundredGigE: pulumi.Output; /** * Loopback interface - Range: `0`-`2147483647` */ readonly trapSourceLoopback: pulumi.Output; /** * Ethernet Channel of interfaces - Range: `0`-`4294967295` */ readonly trapSourcePortChannel: pulumi.Output; readonly trapSourcePortChannelSubinterface: pulumi.Output; /** * Ten Gigabit Ethernet */ readonly trapSourceTenGigabitEthernet: pulumi.Output; /** * Iosxr Vlans - Range: `0`-`65535` */ readonly trapSourceVlan: pulumi.Output; /** * Periodically update calendar with NTP time */ readonly updateCalendar: pulumi.Output; /** * Create a Ntp 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?: NtpArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Ntp resources. */ export interface NtpState { accessGroupPeerAcl?: pulumi.Input; accessGroupQueryOnlyAcl?: pulumi.Input; accessGroupServeAcl?: pulumi.Input; accessGroupServeOnlyAcl?: pulumi.Input; /** * Authenticate time sources */ authenticate?: pulumi.Input; /** * Authentication key for trusted time sources */ authenticationKeys?: pulumi.Input[]>; /** * Length of hardware clock tick - Range: `0`-`4294967295` */ clockPeriod?: pulumi.Input; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ deleteMode?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Enable NTP message logging */ logging?: pulumi.Input; /** * Act as NTP master clock */ master?: pulumi.Input; /** * - Range: `1`-`15` */ masterStratum?: pulumi.Input; /** * NTP passive mode */ passive?: pulumi.Input; /** * VPN Routing/Forwarding Information */ peerVrfs?: pulumi.Input[]>; peers?: pulumi.Input[]>; /** * VPN Routing/Forwarding Information */ serverVrfs?: pulumi.Input[]>; servers?: pulumi.Input[]>; /** * Forty GigabitEthernet */ trapSourceFortyGigabitEthernet?: pulumi.Input; /** * GigabitEthernet IEEE 802.3z */ trapSourceGigabitEthernet?: pulumi.Input; /** * Hundred GigabitEthernet */ trapSourceHundredGigE?: pulumi.Input; /** * Loopback interface - Range: `0`-`2147483647` */ trapSourceLoopback?: pulumi.Input; /** * Ethernet Channel of interfaces - Range: `0`-`4294967295` */ trapSourcePortChannel?: pulumi.Input; trapSourcePortChannelSubinterface?: pulumi.Input; /** * Ten Gigabit Ethernet */ trapSourceTenGigabitEthernet?: pulumi.Input; /** * Iosxr Vlans - Range: `0`-`65535` */ trapSourceVlan?: pulumi.Input; /** * Periodically update calendar with NTP time */ updateCalendar?: pulumi.Input; } /** * The set of arguments for constructing a Ntp resource. */ export interface NtpArgs { accessGroupPeerAcl?: pulumi.Input; accessGroupQueryOnlyAcl?: pulumi.Input; accessGroupServeAcl?: pulumi.Input; accessGroupServeOnlyAcl?: pulumi.Input; /** * Authenticate time sources */ authenticate?: pulumi.Input; /** * Authentication key for trusted time sources */ authenticationKeys?: pulumi.Input[]>; /** * Length of hardware clock tick - Range: `0`-`4294967295` */ clockPeriod?: pulumi.Input; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ deleteMode?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Enable NTP message logging */ logging?: pulumi.Input; /** * Act as NTP master clock */ master?: pulumi.Input; /** * - Range: `1`-`15` */ masterStratum?: pulumi.Input; /** * NTP passive mode */ passive?: pulumi.Input; /** * VPN Routing/Forwarding Information */ peerVrfs?: pulumi.Input[]>; peers?: pulumi.Input[]>; /** * VPN Routing/Forwarding Information */ serverVrfs?: pulumi.Input[]>; servers?: pulumi.Input[]>; /** * Forty GigabitEthernet */ trapSourceFortyGigabitEthernet?: pulumi.Input; /** * GigabitEthernet IEEE 802.3z */ trapSourceGigabitEthernet?: pulumi.Input; /** * Hundred GigabitEthernet */ trapSourceHundredGigE?: pulumi.Input; /** * Loopback interface - Range: `0`-`2147483647` */ trapSourceLoopback?: pulumi.Input; /** * Ethernet Channel of interfaces - Range: `0`-`4294967295` */ trapSourcePortChannel?: pulumi.Input; trapSourcePortChannelSubinterface?: pulumi.Input; /** * Ten Gigabit Ethernet */ trapSourceTenGigabitEthernet?: pulumi.Input; /** * Iosxr Vlans - Range: `0`-`65535` */ trapSourceVlan?: pulumi.Input; /** * Periodically update calendar with NTP time */ updateCalendar?: pulumi.Input; }