import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a metastore service in a project and location. */ export declare class Service extends pulumi.CustomResource { /** * Get an existing Service 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Service; /** * Returns true if the given object is an instance of Service. 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 Service; /** * A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. */ readonly artifactGcsUri: pulumi.Output; /** * The time when the metastore service was created. */ readonly createTime: pulumi.Output; /** * Immutable. The database type that the Metastore service stores its data. */ readonly databaseType: pulumi.Output; /** * Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated. */ readonly encryptionConfig: pulumi.Output; /** * The URI of the endpoint used to access the metastore service. */ readonly endpointUri: pulumi.Output; /** * Configuration information specific to running Hive metastore software as the metastore service. */ readonly hiveMetastoreConfig: pulumi.Output; /** * User-defined labels for the metastore service. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time. Maintenance window is not needed for services with the SPANNER database type. */ readonly maintenanceWindow: pulumi.Output; /** * Optional. The setting that defines how metastore metadata should be integrated with external services and systems. */ readonly metadataIntegration: pulumi.Output; /** * The metadata management activities of the metastore service. */ readonly metadataManagementActivity: pulumi.Output; /** * Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */ readonly name: pulumi.Output; /** * Immutable. The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:projects/{project_number}/global/networks/{network_id}. */ readonly network: pulumi.Output; /** * The configuration specifying the network settings for the Dataproc Metastore service. */ readonly networkConfig: pulumi.Output; /** * The TCP port at which the metastore service is reached. Default: 9083. */ readonly port: pulumi.Output; readonly project: pulumi.Output; /** * Immutable. The release channel of the service. If unspecified, defaults to STABLE. */ readonly releaseChannel: pulumi.Output; /** * Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported. */ readonly requestId: pulumi.Output; /** * Scaling configuration of the metastore service. */ readonly scalingConfig: pulumi.Output; /** * Required. The ID of the metastore service, which is used as the final component of the metastore service's name.This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens. */ readonly serviceId: pulumi.Output; /** * The current state of the metastore service. */ readonly state: pulumi.Output; /** * Additional information about the current state of the metastore service, if available. */ readonly stateMessage: pulumi.Output; /** * The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON. */ readonly telemetryConfig: pulumi.Output; /** * The tier of the service. */ readonly tier: pulumi.Output; /** * The globally unique resource identifier of the metastore service. */ readonly uid: pulumi.Output; /** * The time when the metastore service was last updated. */ readonly updateTime: pulumi.Output; /** * Create a Service 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: ServiceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Service resource. */ export interface ServiceArgs { /** * Immutable. The database type that the Metastore service stores its data. */ databaseType?: pulumi.Input; /** * Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated. */ encryptionConfig?: pulumi.Input; /** * Configuration information specific to running Hive metastore software as the metastore service. */ hiveMetastoreConfig?: pulumi.Input; /** * User-defined labels for the metastore service. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time. Maintenance window is not needed for services with the SPANNER database type. */ maintenanceWindow?: pulumi.Input; /** * Optional. The setting that defines how metastore metadata should be integrated with external services and systems. */ metadataIntegration?: pulumi.Input; /** * Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. */ name?: pulumi.Input; /** * Immutable. The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:projects/{project_number}/global/networks/{network_id}. */ network?: pulumi.Input; /** * The configuration specifying the network settings for the Dataproc Metastore service. */ networkConfig?: pulumi.Input; /** * The TCP port at which the metastore service is reached. Default: 9083. */ port?: pulumi.Input; project?: pulumi.Input; /** * Immutable. The release channel of the service. If unspecified, defaults to STABLE. */ releaseChannel?: pulumi.Input; /** * Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported. */ requestId?: pulumi.Input; /** * Scaling configuration of the metastore service. */ scalingConfig?: pulumi.Input; /** * Required. The ID of the metastore service, which is used as the final component of the metastore service's name.This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens. */ serviceId: pulumi.Input; /** * The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON. */ telemetryConfig?: pulumi.Input; /** * The tier of the service. */ tier?: pulumi.Input; }