UNPKG

@pulumi/meraki

Version:

A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0

171 lines (170 loc) 6.13 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = new meraki.networks.SwitchQosRulesOrder("example", { * dscp: 1, * dstPort: 3000, * dstPortRange: "3000-3100", * networkId: "string", * protocol: "TCP", * srcPort: 2000, * srcPortRange: "70-80", * vlan: 100, * }); * export const merakiNetworksSwitchQosRulesOrderExample = example; * ``` * * ## Import * * ```sh * $ pulumi import meraki:networks/switchQosRulesOrder:SwitchQosRulesOrder example "network_id,qos_rule_id" * ``` */ export declare class SwitchQosRulesOrder extends pulumi.CustomResource { /** * Get an existing SwitchQosRulesOrder 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?: SwitchQosRulesOrderState, opts?: pulumi.CustomResourceOptions): SwitchQosRulesOrder; /** * Returns true if the given object is an instance of SwitchQosRulesOrder. 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 SwitchQosRulesOrder; /** * DSCP tag. Set this to -1 to trust incoming DSCP. Default value is 0 */ readonly dscp: pulumi.Output<number>; /** * The destination port of the incoming packet. Applicable only if protocol is TCP or UDP. */ readonly dstPort: pulumi.Output<number>; /** * The destination port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80 */ readonly dstPortRange: pulumi.Output<string>; /** * networkId path parameter. Network ID */ readonly networkId: pulumi.Output<string>; /** * The protocol of the incoming packet. Can be one of "ANY", "TCP" or "UDP". Default value is "ANY" */ readonly protocol: pulumi.Output<string>; /** * qosRuleId path parameter. Qos rule ID */ readonly qosRuleId: pulumi.Output<string>; /** * The source port of the incoming packet. Applicable only if protocol is TCP or UDP. */ readonly srcPort: pulumi.Output<number>; /** * The source port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80 */ readonly srcPortRange: pulumi.Output<string>; /** * The VLAN of the incoming packet. A null value will match any VLAN. */ readonly vlan: pulumi.Output<number>; /** * Create a SwitchQosRulesOrder 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: SwitchQosRulesOrderArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SwitchQosRulesOrder resources. */ export interface SwitchQosRulesOrderState { /** * DSCP tag. Set this to -1 to trust incoming DSCP. Default value is 0 */ dscp?: pulumi.Input<number>; /** * The destination port of the incoming packet. Applicable only if protocol is TCP or UDP. */ dstPort?: pulumi.Input<number>; /** * The destination port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80 */ dstPortRange?: pulumi.Input<string>; /** * networkId path parameter. Network ID */ networkId?: pulumi.Input<string>; /** * The protocol of the incoming packet. Can be one of "ANY", "TCP" or "UDP". Default value is "ANY" */ protocol?: pulumi.Input<string>; /** * qosRuleId path parameter. Qos rule ID */ qosRuleId?: pulumi.Input<string>; /** * The source port of the incoming packet. Applicable only if protocol is TCP or UDP. */ srcPort?: pulumi.Input<number>; /** * The source port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80 */ srcPortRange?: pulumi.Input<string>; /** * The VLAN of the incoming packet. A null value will match any VLAN. */ vlan?: pulumi.Input<number>; } /** * The set of arguments for constructing a SwitchQosRulesOrder resource. */ export interface SwitchQosRulesOrderArgs { /** * DSCP tag. Set this to -1 to trust incoming DSCP. Default value is 0 */ dscp?: pulumi.Input<number>; /** * The destination port of the incoming packet. Applicable only if protocol is TCP or UDP. */ dstPort?: pulumi.Input<number>; /** * The destination port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80 */ dstPortRange?: pulumi.Input<string>; /** * networkId path parameter. Network ID */ networkId: pulumi.Input<string>; /** * The protocol of the incoming packet. Can be one of "ANY", "TCP" or "UDP". Default value is "ANY" */ protocol?: pulumi.Input<string>; /** * qosRuleId path parameter. Qos rule ID */ qosRuleId?: pulumi.Input<string>; /** * The source port of the incoming packet. Applicable only if protocol is TCP or UDP. */ srcPort?: pulumi.Input<number>; /** * The source port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80 */ srcPortRange?: pulumi.Input<string>; /** * The VLAN of the incoming packet. A null value will match any VLAN. */ vlan?: pulumi.Input<number>; }