import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const ldp = new ovh.dbaas.LogsCluster("ldp", { * serviceName: "ldp-xx-xxxxx", * clusterId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * archiveAllowedNetworks: ["10.0.0.0/16"], * directInputAllowedNetworks: ["10.0.0.0/16"], * queryAllowedNetworks: ["10.0.0.0/16"], * }); * ``` * * ## Import * * OVHcloud DBaaS Log Data Platform clusters can be imported using the `service_name` and `cluster_id` of the cluster, separated by "/" E.g., * * bash * * ```sh * $ pulumi import ovh:Dbaas/logsCluster:LogsCluster ldp service_name/cluster_id * ``` */ export declare class LogsCluster extends pulumi.CustomResource { /** * Get an existing LogsCluster 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?: LogsClusterState, opts?: pulumi.CustomResourceOptions): LogsCluster; /** * Returns true if the given object is an instance of LogsCluster. 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 LogsCluster; /** * List of IP blocks */ readonly archiveAllowedNetworks: pulumi.Output; /** * Cluster ID. If not provided, the default clusterId is used */ readonly clusterId: pulumi.Output; /** * type of cluster (DEDICATED, PRO or TRIAL) */ readonly clusterType: pulumi.Output; /** * PEM for dedicated inputs */ readonly dedicatedInputPem: pulumi.Output; /** * List of IP blocks */ readonly directInputAllowedNetworks: pulumi.Output; /** * PEM for direct inputs */ readonly directInputPem: pulumi.Output; /** * cluster hostname hosting tenant */ readonly hostname: pulumi.Output; /** * Initial allowed networks for ARCHIVE flow type */ readonly initialArchiveAllowedNetworks: pulumi.Output; /** * Initial allowed networks for DIRECT_INPUT flow type */ readonly initialDirectInputAllowedNetworks: pulumi.Output; /** * Initial allowed networks for QUERY flow type */ readonly initialQueryAllowedNetworks: pulumi.Output; /** * true if all content generated by given service will be placed on this cluster */ readonly isDefault: pulumi.Output; /** * true if given service can perform advanced operations on cluster */ readonly isUnlocked: pulumi.Output; /** * List of IP blocks */ readonly queryAllowedNetworks: pulumi.Output; /** * datacenter localization */ readonly region: pulumi.Output; /** * The service name */ readonly serviceName: pulumi.Output; /** * Create a LogsCluster 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: LogsClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogsCluster resources. */ export interface LogsClusterState { /** * List of IP blocks */ archiveAllowedNetworks?: pulumi.Input[]>; /** * Cluster ID. If not provided, the default clusterId is used */ clusterId?: pulumi.Input; /** * type of cluster (DEDICATED, PRO or TRIAL) */ clusterType?: pulumi.Input; /** * PEM for dedicated inputs */ dedicatedInputPem?: pulumi.Input; /** * List of IP blocks */ directInputAllowedNetworks?: pulumi.Input[]>; /** * PEM for direct inputs */ directInputPem?: pulumi.Input; /** * cluster hostname hosting tenant */ hostname?: pulumi.Input; /** * Initial allowed networks for ARCHIVE flow type */ initialArchiveAllowedNetworks?: pulumi.Input[]>; /** * Initial allowed networks for DIRECT_INPUT flow type */ initialDirectInputAllowedNetworks?: pulumi.Input[]>; /** * Initial allowed networks for QUERY flow type */ initialQueryAllowedNetworks?: pulumi.Input[]>; /** * true if all content generated by given service will be placed on this cluster */ isDefault?: pulumi.Input; /** * true if given service can perform advanced operations on cluster */ isUnlocked?: pulumi.Input; /** * List of IP blocks */ queryAllowedNetworks?: pulumi.Input[]>; /** * datacenter localization */ region?: pulumi.Input; /** * The service name */ serviceName?: pulumi.Input; } /** * The set of arguments for constructing a LogsCluster resource. */ export interface LogsClusterArgs { /** * List of IP blocks */ archiveAllowedNetworks?: pulumi.Input[]>; /** * Cluster ID. If not provided, the default clusterId is used */ clusterId?: pulumi.Input; /** * List of IP blocks */ directInputAllowedNetworks?: pulumi.Input[]>; /** * List of IP blocks */ queryAllowedNetworks?: pulumi.Input[]>; /** * The service name */ serviceName: pulumi.Input; }