import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the On Premise Vantage Point Worker resource in Oracle Cloud Infrastructure Apm Synthetics service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/apm-synthetic-monitoring/latest/OnPremiseVantagePointWorker * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/apm/apm_synthetics * * Registers a new worker. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOnPremiseVantagePointWorker = new oci.apmsynthetics.OnPremiseVantagePointWorker("test_on_premise_vantage_point_worker", { * apmDomainId: testApmDomain.id, * name: onPremiseVantagePointWorkerName, * onPremiseVantagePointId: testOnPremiseVantagePoint.id, * resourcePrincipalTokenPublicKey: onPremiseVantagePointWorkerResourcePrincipalTokenPublicKey, * version: onPremiseVantagePointWorkerVersion, * configurationDetails: onPremiseVantagePointWorkerConfigurationDetails, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * priority: Number(onPremiseVantagePointWorkerPriority), * status: onPremiseVantagePointWorkerStatus, * workerType: onPremiseVantagePointWorkerWorkerType, * }); * ``` * * ## Import * * OnPremiseVantagePointWorkers can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:ApmSynthetics/onPremiseVantagePointWorker:OnPremiseVantagePointWorker test_on_premise_vantage_point_worker "onPremiseVantagePoints/{onPremiseVantagePointId}/workers/{workerId}/apmDomainId/{apmDomainId}" * ``` */ export declare class OnPremiseVantagePointWorker extends pulumi.CustomResource { /** * Get an existing OnPremiseVantagePointWorker 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?: OnPremiseVantagePointWorkerState, opts?: pulumi.CustomResourceOptions): OnPremiseVantagePointWorker; /** * Returns true if the given object is an instance of OnPremiseVantagePointWorker. 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 OnPremiseVantagePointWorker; /** * (Updatable) The APM domain ID the request is intended for. */ readonly apmDomainId: pulumi.Output; /** * (Updatable) Configuration details of the On-premise VP worker. */ readonly configurationDetails: 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; }>; /** * Unique name that can be edited. The name should not contain any 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; }>; /** * Geographical information of the On-premise VP worker. */ readonly geoInfo: pulumi.Output; /** * Domain details of the On-premise VP worker. */ readonly identityInfos: pulumi.Output; /** * Monitors list assigned to the On-premise VP worker. */ readonly monitorLists: pulumi.Output; /** * Unique On-premise VP worker name that cannot be edited. The name should not contain any confidential information. */ readonly name: pulumi.Output; /** * The OCID of the On-premise vantage point. */ readonly onPremiseVantagePointId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the On-premise vantage point. */ readonly opvpId: pulumi.Output; /** * On-premise vantage point name. */ readonly opvpName: pulumi.Output; /** * (Updatable) Priority of the On-premise VP worker to schedule monitors. */ readonly priority: pulumi.Output; /** * public key for resource Principal Token based validation to be used in further calls. */ readonly resourcePrincipalTokenPublicKey: pulumi.Output; /** * The runtime assigned id of the On-premise VP worker. */ readonly runtimeId: pulumi.Output; /** * (Updatable) Enables or disables the On-premise VP worker. */ readonly status: pulumi.Output; /** * The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` */ readonly timeCreated: pulumi.Output; /** * The time the resource was last synced, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` */ readonly timeLastSyncUp: pulumi.Output; /** * The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z` */ readonly timeUpdated: pulumi.Output; /** * Image version of the On-premise VP worker. */ readonly version: pulumi.Output; /** * Image version details of the On-premise VP worker. */ readonly versionDetails: pulumi.Output; /** * Type of the On-premise VP worker. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly workerType: pulumi.Output; /** * Create a OnPremiseVantagePointWorker 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: OnPremiseVantagePointWorkerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OnPremiseVantagePointWorker resources. */ export interface OnPremiseVantagePointWorkerState { /** * (Updatable) The APM domain ID the request is intended for. */ apmDomainId?: pulumi.Input; /** * (Updatable) Configuration details of the On-premise VP worker. */ configurationDetails?: 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>; /** * Unique name that can be edited. The name should not contain any 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>; /** * Geographical information of the On-premise VP worker. */ geoInfo?: pulumi.Input; /** * Domain details of the On-premise VP worker. */ identityInfos?: pulumi.Input[] | undefined>; /** * Monitors list assigned to the On-premise VP worker. */ monitorLists?: pulumi.Input[] | undefined>; /** * Unique On-premise VP worker name that cannot be edited. The name should not contain any confidential information. */ name?: pulumi.Input; /** * The OCID of the On-premise vantage point. */ onPremiseVantagePointId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the On-premise vantage point. */ opvpId?: pulumi.Input; /** * On-premise vantage point name. */ opvpName?: pulumi.Input; /** * (Updatable) Priority of the On-premise VP worker to schedule monitors. */ priority?: pulumi.Input; /** * public key for resource Principal Token based validation to be used in further calls. */ resourcePrincipalTokenPublicKey?: pulumi.Input; /** * The runtime assigned id of the On-premise VP worker. */ runtimeId?: pulumi.Input; /** * (Updatable) Enables or disables the On-premise VP worker. */ status?: pulumi.Input; /** * The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` */ timeCreated?: pulumi.Input; /** * The time the resource was last synced, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` */ timeLastSyncUp?: pulumi.Input; /** * The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z` */ timeUpdated?: pulumi.Input; /** * Image version of the On-premise VP worker. */ version?: pulumi.Input; /** * Image version details of the On-premise VP worker. */ versionDetails?: pulumi.Input[] | undefined>; /** * Type of the On-premise VP worker. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ workerType?: pulumi.Input; } /** * The set of arguments for constructing a OnPremiseVantagePointWorker resource. */ export interface OnPremiseVantagePointWorkerArgs { /** * (Updatable) The APM domain ID the request is intended for. */ apmDomainId: pulumi.Input; /** * (Updatable) Configuration details of the On-premise VP worker. */ configurationDetails?: 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) 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>; /** * Unique On-premise VP worker name that cannot be edited. The name should not contain any confidential information. */ name?: pulumi.Input; /** * The OCID of the On-premise vantage point. */ onPremiseVantagePointId: pulumi.Input; /** * (Updatable) Priority of the On-premise VP worker to schedule monitors. */ priority?: pulumi.Input; /** * public key for resource Principal Token based validation to be used in further calls. */ resourcePrincipalTokenPublicKey: pulumi.Input; /** * (Updatable) Enables or disables the On-premise VP worker. */ status?: pulumi.Input; /** * Image version of the On-premise VP worker. */ version: pulumi.Input; /** * Type of the On-premise VP worker. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ workerType?: pulumi.Input; } //# sourceMappingURL=onPremiseVantagePointWorker.d.ts.map