import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Path Analyzer Test resource in Oracle Cloud Infrastructure Vn Monitoring service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/NetMonitor/latest/PathAnalyzerTest * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/vn_monitoring * * Creates a new `PathAnalyzerTest` resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPathAnalyzerTest = new oci.vnmonitoring.PathAnalyzerTest("test_path_analyzer_test", { * compartmentId: compartmentId, * destinationEndpoint: { * type: pathAnalyzerTestDestinationEndpointType, * address: pathAnalyzerTestDestinationEndpointAddress, * instanceId: testInstance.id, * listenerId: testListener.id, * loadBalancerId: testLoadBalancer.id, * networkLoadBalancerId: testNetworkLoadBalancer.id, * psaId: testPsa.id, * subnetId: testSubnet.id, * vlanId: testVlan.id, * vnicId: testVnicAttachment.id, * }, * protocol: Number(pathAnalyzerTestProtocol), * sourceEndpoint: { * type: pathAnalyzerTestSourceEndpointType, * address: pathAnalyzerTestSourceEndpointAddress, * instanceId: testInstance.id, * listenerId: testListener.id, * loadBalancerId: testLoadBalancer.id, * networkLoadBalancerId: testNetworkLoadBalancer.id, * psaId: testPsa.id, * subnetId: testSubnet.id, * vlanId: testVlan.id, * vnicId: testVnicAttachment.id, * }, * definedTags: { * "foo-namespace.bar-key": "value", * }, * displayName: pathAnalyzerTestDisplayName, * freeformTags: { * "bar-key": "value", * }, * protocolParameters: { * type: pathAnalyzerTestProtocolParametersType, * destinationPort: Number(pathAnalyzerTestProtocolParametersDestinationPort), * icmpCode: Number(pathAnalyzerTestProtocolParametersIcmpCode), * icmpType: Number(pathAnalyzerTestProtocolParametersIcmpType), * sourcePort: Number(pathAnalyzerTestProtocolParametersSourcePort), * }, * queryOptions: { * isBiDirectionalAnalysis: pathAnalyzerTestQueryOptionsIsBiDirectionalAnalysis === "true", * }, * }); * ``` * * ## Import * * PathAnalyzerTests can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:VnMonitoring/pathAnalyzerTest:PathAnalyzerTest test_path_analyzer_test "id" * ``` */ export declare class PathAnalyzerTest extends pulumi.CustomResource { /** * Get an existing PathAnalyzerTest 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?: PathAnalyzerTestState, opts?: pulumi.CustomResourceOptions): PathAnalyzerTest; /** * Returns true if the given object is an instance of PathAnalyzerTest. 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 PathAnalyzerTest; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the `PathAnalyzerTest` resource's compartment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource. */ readonly destinationEndpoint: pulumi.Output; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The IP protocol to use in the `PathAnalyzerTest` resource. */ readonly protocol: pulumi.Output; /** * (Updatable) Defines the IP protocol parameters for a `PathAnalyzerTest` resource. */ readonly protocolParameters: pulumi.Output; /** * (Updatable) Defines the query options required for a `PathAnalyzerTest` resource. */ readonly queryOptions: pulumi.Output; /** * (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource. */ readonly sourceEndpoint: pulumi.Output; /** * The current state of the `PathAnalyzerTest` resource. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the `PathAnalyzerTest` resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeCreated: pulumi.Output; /** * The date and time the `PathAnalyzerTest` resource was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeUpdated: pulumi.Output; /** * Create a PathAnalyzerTest 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: PathAnalyzerTestArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PathAnalyzerTest resources. */ export interface PathAnalyzerTestState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the `PathAnalyzerTest` resource's compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource. */ destinationEndpoint?: pulumi.Input; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The IP protocol to use in the `PathAnalyzerTest` resource. */ protocol?: pulumi.Input; /** * (Updatable) Defines the IP protocol parameters for a `PathAnalyzerTest` resource. */ protocolParameters?: pulumi.Input; /** * (Updatable) Defines the query options required for a `PathAnalyzerTest` resource. */ queryOptions?: pulumi.Input; /** * (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource. */ sourceEndpoint?: pulumi.Input; /** * The current state of the `PathAnalyzerTest` resource. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the `PathAnalyzerTest` resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ timeCreated?: pulumi.Input; /** * The date and time the `PathAnalyzerTest` resource was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a PathAnalyzerTest resource. */ export interface PathAnalyzerTestArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the `PathAnalyzerTest` resource's compartment. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource. */ destinationEndpoint: pulumi.Input; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The IP protocol to use in the `PathAnalyzerTest` resource. */ protocol: pulumi.Input; /** * (Updatable) Defines the IP protocol parameters for a `PathAnalyzerTest` resource. */ protocolParameters?: pulumi.Input; /** * (Updatable) Defines the query options required for a `PathAnalyzerTest` resource. */ queryOptions?: pulumi.Input; /** * (Updatable) Information describing a source or destination in a `PathAnalyzerTest` resource. */ sourceEndpoint: pulumi.Input; } //# sourceMappingURL=pathAnalyzerTest.d.ts.map