import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Workspace resource in Oracle Cloud Infrastructure Data Integration service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-integration/latest/Workspace * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dataintegration * * Creates a new Data Integration workspace ready for performing data integration tasks. To retrieve the OCID for the new workspace, use the opc-work-request-id returned by this API and call the [GetWorkRequest](https://docs.cloud.oracle.com/iaas/api/#/en/data-integration/latest/WorkRequest/GetWorkRequest) API. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWorkspace = new oci.dataintegration.Workspace("test_workspace", { * compartmentId: compartmentId, * displayName: workspaceDisplayName, * definedTags: { * "Operations.CostCenter": "42", * }, * description: workspaceDescription, * dnsServerIp: workspaceDnsServerIp, * dnsServerZone: workspaceDnsServerZone, * endpointCompartmentId: testCompartment.id, * endpointId: testEndpoint.id, * endpointName: workspaceEndpointName, * freeformTags: { * Department: "Finance", * }, * isPrivateNetworkEnabled: workspaceIsPrivateNetworkEnabled === "true", * registryCompartmentId: testCompartment.id, * registryId: testRegistry.id, * registryName: testRegistry.name, * subnetId: testSubnet.id, * vcnId: testVcn.id, * }); * ``` * * ## Import * * Workspaces can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataIntegration/workspace:Workspace test_workspace "id" * ``` */ export declare class Workspace extends pulumi.CustomResource { /** * Get an existing Workspace 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?: WorkspaceState, opts?: pulumi.CustomResourceOptions): Workspace; /** * Returns true if the given object is an instance of Workspace. 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 Workspace; /** * (Updatable) The OCID of the compartment containing the workspace. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A user defined description for the workspace. */ readonly description: pulumi.Output; /** * (Updatable) A user-friendly display name for the workspace. Does not have to be unique, and can be modified. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * The IP of the custom DNS. */ readonly dnsServerIp: pulumi.Output; /** * The DNS zone of the custom DNS to use to resolve names. */ readonly dnsServerZone: pulumi.Output; /** * DCMS PRivate Endpoint Compartment Identifier */ readonly endpointCompartmentId: pulumi.Output; /** * DCMS Private Endpoint ID associated with workspace if the pvt networking is enabled */ readonly endpointId: pulumi.Output; /** * DCMS Private Endpoint Name */ readonly endpointName: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; readonly isForceOperation: pulumi.Output; /** * Specifies whether the private network connection is enabled or disabled. */ readonly isPrivateNetworkEnabled: pulumi.Output; readonly quiesceTimeout: pulumi.Output; /** * DCMS Data Asset Registry Compartment Identifier */ readonly registryCompartmentId: pulumi.Output; /** * DCMS Data Asset Registry ID to which the workspace is associated */ readonly registryId: pulumi.Output; /** * DCMS Data Asset Registry display name */ readonly registryName: pulumi.Output; /** * Lifecycle states for workspaces in Data Integration Service CREATING - The resource is being created and may not be usable until the entire metadata is defined UPDATING - The resource is being updated and may not be usable until all changes are commited DELETING - The resource is being deleted and might require deep cleanup of children. ACTIVE - The resource is valid and available for access INACTIVE - The resource might be incomplete in its definition or might have been made unavailable for administrative reasons DELETED - The resource has been deleted and isn't available FAILED - The resource is in a failed state due to validation or other errors STARTING - The resource is being started and may not be usable until becomes ACTIVE again STOPPING - The resource is in the process of Stopping and may not be usable until it Stops or fails STOPPED - The resource is in Stopped state due to stop operation. */ readonly state: pulumi.Output; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state. */ readonly stateMessage: pulumi.Output; /** * The OCID of the subnet for customer connected databases. */ readonly subnetId: pulumi.Output; /** * The date and time the workspace was created, in the timestamp format defined by RFC3339. */ readonly timeCreated: pulumi.Output; /** * The date and time the workspace was updated, in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeUpdated: pulumi.Output; /** * The OCID of the VCN the subnet is in. * * ** 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 vcnId: pulumi.Output; /** * Create a Workspace 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: WorkspaceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Workspace resources. */ export interface WorkspaceState { /** * (Updatable) The OCID of the compartment containing the workspace. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user defined description for the workspace. */ description?: pulumi.Input; /** * (Updatable) A user-friendly display name for the workspace. Does not have to be unique, and can be modified. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * The IP of the custom DNS. */ dnsServerIp?: pulumi.Input; /** * The DNS zone of the custom DNS to use to resolve names. */ dnsServerZone?: pulumi.Input; /** * DCMS PRivate Endpoint Compartment Identifier */ endpointCompartmentId?: pulumi.Input; /** * DCMS Private Endpoint ID associated with workspace if the pvt networking is enabled */ endpointId?: pulumi.Input; /** * DCMS Private Endpoint Name */ endpointName?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; isForceOperation?: pulumi.Input; /** * Specifies whether the private network connection is enabled or disabled. */ isPrivateNetworkEnabled?: pulumi.Input; quiesceTimeout?: pulumi.Input; /** * DCMS Data Asset Registry Compartment Identifier */ registryCompartmentId?: pulumi.Input; /** * DCMS Data Asset Registry ID to which the workspace is associated */ registryId?: pulumi.Input; /** * DCMS Data Asset Registry display name */ registryName?: pulumi.Input; /** * Lifecycle states for workspaces in Data Integration Service CREATING - The resource is being created and may not be usable until the entire metadata is defined UPDATING - The resource is being updated and may not be usable until all changes are commited DELETING - The resource is being deleted and might require deep cleanup of children. ACTIVE - The resource is valid and available for access INACTIVE - The resource might be incomplete in its definition or might have been made unavailable for administrative reasons DELETED - The resource has been deleted and isn't available FAILED - The resource is in a failed state due to validation or other errors STARTING - The resource is being started and may not be usable until becomes ACTIVE again STOPPING - The resource is in the process of Stopping and may not be usable until it Stops or fails STOPPED - The resource is in Stopped state due to stop operation. */ state?: pulumi.Input; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state. */ stateMessage?: pulumi.Input; /** * The OCID of the subnet for customer connected databases. */ subnetId?: pulumi.Input; /** * The date and time the workspace was created, in the timestamp format defined by RFC3339. */ timeCreated?: pulumi.Input; /** * The date and time the workspace was updated, in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ timeUpdated?: pulumi.Input; /** * The OCID of the VCN the subnet is in. * * ** 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 */ vcnId?: pulumi.Input; } /** * The set of arguments for constructing a Workspace resource. */ export interface WorkspaceArgs { /** * (Updatable) The OCID of the compartment containing the workspace. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user defined description for the workspace. */ description?: pulumi.Input; /** * (Updatable) A user-friendly display name for the workspace. Does not have to be unique, and can be modified. Avoid entering confidential information. */ displayName: pulumi.Input; /** * The IP of the custom DNS. */ dnsServerIp?: pulumi.Input; /** * The DNS zone of the custom DNS to use to resolve names. */ dnsServerZone?: pulumi.Input; /** * DCMS PRivate Endpoint Compartment Identifier */ endpointCompartmentId?: pulumi.Input; /** * DCMS Private Endpoint ID associated with workspace if the pvt networking is enabled */ endpointId?: pulumi.Input; /** * DCMS Private Endpoint Name */ endpointName?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; isForceOperation?: pulumi.Input; /** * Specifies whether the private network connection is enabled or disabled. */ isPrivateNetworkEnabled?: pulumi.Input; quiesceTimeout?: pulumi.Input; /** * DCMS Data Asset Registry Compartment Identifier */ registryCompartmentId?: pulumi.Input; /** * DCMS Data Asset Registry ID to which the workspace is associated */ registryId?: pulumi.Input; /** * DCMS Data Asset Registry display name */ registryName?: pulumi.Input; /** * The OCID of the subnet for customer connected databases. */ subnetId?: pulumi.Input; /** * The OCID of the VCN the subnet is in. * * ** 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 */ vcnId?: pulumi.Input; } //# sourceMappingURL=workspace.d.ts.map