import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * This resource can manage the MDT Subscription configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@lbrlabs/pulumi-iosxe"; * * const example = new iosxe.MdtSubscription("example", { * encoding: "encode-kvgpb", * filterXpath: "/ios-events-ios-xe-oper:ospf-neighbor-state-change", * receivers: [{ * address: "5.6.7.8", * port: 57600, * protocol: "grpc-tcp", * }], * sourceAddress: "1.2.3.4", * sourceVrf: "Mgmt-vrf", * stream: "yang-notif-native", * subscriptionId: 101, * updatePolicyOnChange: true, * }); * ``` * * ## Import * * ```sh * $ pulumi import iosxe:index/mdtSubscription:MdtSubscription example "Cisco-IOS-XE-mdt-cfg:mdt-config-data/mdt-subscription=101" * ``` */ export declare class MdtSubscription extends pulumi.CustomResource { /** * Get an existing MdtSubscription 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?: MdtSubscriptionState, opts?: pulumi.CustomResourceOptions): MdtSubscription; /** * Returns true if the given object is an instance of MdtSubscription. 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 MdtSubscription; /** * A device name from the provider configuration. */ readonly device: pulumi.Output; /** * Update notification encoding */ readonly encoding: pulumi.Output; /** * XPath expression describing the set of objects wanted as part of the subscription */ readonly filterXpath: pulumi.Output; /** * Configuration of receivers of configured subscriptions. Use of this is deprecated. Use mdt-receiver-names instead. */ readonly receivers: pulumi.Output; /** * The source address for the notifications */ readonly sourceAddress: pulumi.Output; /** * Network instance name for the VRF */ readonly sourceVrf: pulumi.Output; /** * The name of the event stream being subscribed to */ readonly stream: pulumi.Output; /** * Unique subscription identifier. - Range: `0`-`2147483647` */ readonly subscriptionId: pulumi.Output; /** * If true, there is no initial update notification with the current value of all the data. NOT CURRENTLY SUPPORTED. If * specified, must be false */ readonly updatePolicyOnChange: pulumi.Output; /** * Period of update notifications in hundredths of a second - Range: `0`-`4294967295` */ readonly updatePolicyPeriodic: pulumi.Output; /** * Create a MdtSubscription 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: MdtSubscriptionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MdtSubscription resources. */ export interface MdtSubscriptionState { /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Update notification encoding */ encoding?: pulumi.Input; /** * XPath expression describing the set of objects wanted as part of the subscription */ filterXpath?: pulumi.Input; /** * Configuration of receivers of configured subscriptions. Use of this is deprecated. Use mdt-receiver-names instead. */ receivers?: pulumi.Input[]>; /** * The source address for the notifications */ sourceAddress?: pulumi.Input; /** * Network instance name for the VRF */ sourceVrf?: pulumi.Input; /** * The name of the event stream being subscribed to */ stream?: pulumi.Input; /** * Unique subscription identifier. - Range: `0`-`2147483647` */ subscriptionId?: pulumi.Input; /** * If true, there is no initial update notification with the current value of all the data. NOT CURRENTLY SUPPORTED. If * specified, must be false */ updatePolicyOnChange?: pulumi.Input; /** * Period of update notifications in hundredths of a second - Range: `0`-`4294967295` */ updatePolicyPeriodic?: pulumi.Input; } /** * The set of arguments for constructing a MdtSubscription resource. */ export interface MdtSubscriptionArgs { /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Update notification encoding */ encoding?: pulumi.Input; /** * XPath expression describing the set of objects wanted as part of the subscription */ filterXpath?: pulumi.Input; /** * Configuration of receivers of configured subscriptions. Use of this is deprecated. Use mdt-receiver-names instead. */ receivers?: pulumi.Input[]>; /** * The source address for the notifications */ sourceAddress?: pulumi.Input; /** * Network instance name for the VRF */ sourceVrf?: pulumi.Input; /** * The name of the event stream being subscribed to */ stream?: pulumi.Input; /** * Unique subscription identifier. - Range: `0`-`2147483647` */ subscriptionId: pulumi.Input; /** * If true, there is no initial update notification with the current value of all the data. NOT CURRENTLY SUPPORTED. If * specified, must be false */ updatePolicyOnChange?: pulumi.Input; /** * Period of update notifications in hundredths of a second - Range: `0`-`4294967295` */ updatePolicyPeriodic?: pulumi.Input; }