oci.DataCatalog.Metastore
Explore with Pulumi AI
This resource provides the Metastore resource in Oracle Cloud Infrastructure Data Catalog service.
Creates a new metastore.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMetastore = new oci.datacatalog.Metastore("test_metastore", {
compartmentId: compartmentId,
defaultExternalTableLocation: metastoreDefaultExternalTableLocation,
defaultManagedTableLocation: metastoreDefaultManagedTableLocation,
definedTags: {
"foo-namespace.bar-key": "value",
},
displayName: metastoreDisplayName,
freeformTags: {
"bar-key": "value",
},
});
import pulumi
import pulumi_oci as oci
test_metastore = oci.data_catalog.Metastore("test_metastore",
compartment_id=compartment_id,
default_external_table_location=metastore_default_external_table_location,
default_managed_table_location=metastore_default_managed_table_location,
defined_tags={
"foo-namespace.bar-key": "value",
},
display_name=metastore_display_name,
freeform_tags={
"bar-key": "value",
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataCatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataCatalog.NewMetastore(ctx, "test_metastore", &DataCatalog.MetastoreArgs{
CompartmentId: pulumi.Any(compartmentId),
DefaultExternalTableLocation: pulumi.Any(metastoreDefaultExternalTableLocation),
DefaultManagedTableLocation: pulumi.Any(metastoreDefaultManagedTableLocation),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
DisplayName: pulumi.Any(metastoreDisplayName),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testMetastore = new Oci.DataCatalog.Metastore("test_metastore", new()
{
CompartmentId = compartmentId,
DefaultExternalTableLocation = metastoreDefaultExternalTableLocation,
DefaultManagedTableLocation = metastoreDefaultManagedTableLocation,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
DisplayName = metastoreDisplayName,
FreeformTags =
{
{ "bar-key", "value" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataCatalog.Metastore;
import com.pulumi.oci.DataCatalog.MetastoreArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testMetastore = new Metastore("testMetastore", MetastoreArgs.builder()
.compartmentId(compartmentId)
.defaultExternalTableLocation(metastoreDefaultExternalTableLocation)
.defaultManagedTableLocation(metastoreDefaultManagedTableLocation)
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.displayName(metastoreDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.build());
}
}
resources:
testMetastore:
type: oci:DataCatalog:Metastore
name: test_metastore
properties:
compartmentId: ${compartmentId}
defaultExternalTableLocation: ${metastoreDefaultExternalTableLocation}
defaultManagedTableLocation: ${metastoreDefaultManagedTableLocation}
definedTags:
foo-namespace.bar-key: value
displayName: ${metastoreDisplayName}
freeformTags:
bar-key: value
Create Metastore Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Metastore(name: string, args: MetastoreArgs, opts?: CustomResourceOptions);
@overload
def Metastore(resource_name: str,
args: MetastoreArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Metastore(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
default_external_table_location: Optional[str] = None,
default_managed_table_location: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None)
func NewMetastore(ctx *Context, name string, args MetastoreArgs, opts ...ResourceOption) (*Metastore, error)
public Metastore(string name, MetastoreArgs args, CustomResourceOptions? opts = null)
public Metastore(String name, MetastoreArgs args)
public Metastore(String name, MetastoreArgs args, CustomResourceOptions options)
type: oci:DataCatalog:Metastore
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MetastoreArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MetastoreArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MetastoreArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MetastoreArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MetastoreArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var metastoreResource = new Oci.DataCatalog.Metastore("metastoreResource", new()
{
CompartmentId = "string",
DefaultExternalTableLocation = "string",
DefaultManagedTableLocation = "string",
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
});
example, err := DataCatalog.NewMetastore(ctx, "metastoreResource", &DataCatalog.MetastoreArgs{
CompartmentId: pulumi.String("string"),
DefaultExternalTableLocation: pulumi.String("string"),
DefaultManagedTableLocation: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var metastoreResource = new Metastore("metastoreResource", MetastoreArgs.builder()
.compartmentId("string")
.defaultExternalTableLocation("string")
.defaultManagedTableLocation("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.build());
metastore_resource = oci.data_catalog.Metastore("metastoreResource",
compartment_id="string",
default_external_table_location="string",
default_managed_table_location="string",
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
})
const metastoreResource = new oci.datacatalog.Metastore("metastoreResource", {
compartmentId: "string",
defaultExternalTableLocation: "string",
defaultManagedTableLocation: "string",
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
});
type: oci:DataCatalog:Metastore
properties:
compartmentId: string
defaultExternalTableLocation: string
defaultManagedTableLocation: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
Metastore Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Metastore resource accepts the following input properties:
- Compartment
Id string - (Updatable) OCID of the compartment which holds the metastore.
- Default
External stringTable Location - Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- Default
Managed stringTable Location - Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- Dictionary<string, string>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Mutable name of the metastore.
- Dictionary<string, string>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
** 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
- Compartment
Id string - (Updatable) OCID of the compartment which holds the metastore.
- Default
External stringTable Location - Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- Default
Managed stringTable Location - Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- map[string]string
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Mutable name of the metastore.
- map[string]string
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
** 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
- compartment
Id String - (Updatable) OCID of the compartment which holds the metastore.
- default
External StringTable Location - Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- default
Managed StringTable Location - Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- Map<String,String>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Mutable name of the metastore.
- Map<String,String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
** 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
- compartment
Id string - (Updatable) OCID of the compartment which holds the metastore.
- default
External stringTable Location - Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- default
Managed stringTable Location - Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- {[key: string]: string}
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) Mutable name of the metastore.
- {[key: string]: string}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
** 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
- compartment_
id str - (Updatable) OCID of the compartment which holds the metastore.
- default_
external_ strtable_ location - Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- default_
managed_ strtable_ location - Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- Mapping[str, str]
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - (Updatable) Mutable name of the metastore.
- Mapping[str, str]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
** 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
- compartment
Id String - (Updatable) OCID of the compartment which holds the metastore.
- default
External StringTable Location - Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- default
Managed StringTable Location - Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- Map<String>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Mutable name of the metastore.
- Map<String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
** 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
Outputs
All input properties are implicitly available as output properties. Additionally, the Metastore resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Locks
List<Metastore
Lock> - Locks associated with this resource.
- State string
- The current state of the metastore.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Time at which the metastore was created. An RFC3339 formatted datetime string.
- Time
Updated string - Time at which the metastore was last modified. An RFC3339 formatted datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Locks
[]Metastore
Lock - Locks associated with this resource.
- State string
- The current state of the metastore.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Time at which the metastore was created. An RFC3339 formatted datetime string.
- Time
Updated string - Time at which the metastore was last modified. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
List<Metastore
Lock> - Locks associated with this resource.
- state String
- The current state of the metastore.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Time at which the metastore was created. An RFC3339 formatted datetime string.
- time
Updated String - Time at which the metastore was last modified. An RFC3339 formatted datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
Metastore
Lock[] - Locks associated with this resource.
- state string
- The current state of the metastore.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - Time at which the metastore was created. An RFC3339 formatted datetime string.
- time
Updated string - Time at which the metastore was last modified. An RFC3339 formatted datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
Sequence[datacatalog.
Metastore Lock] - Locks associated with this resource.
- state str
- The current state of the metastore.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - Time at which the metastore was created. An RFC3339 formatted datetime string.
- time_
updated str - Time at which the metastore was last modified. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks List<Property Map>
- Locks associated with this resource.
- state String
- The current state of the metastore.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Time at which the metastore was created. An RFC3339 formatted datetime string.
- time
Updated String - Time at which the metastore was last modified. An RFC3339 formatted datetime string.
Look up Existing Metastore Resource
Get an existing Metastore resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MetastoreState, opts?: CustomResourceOptions): Metastore
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
default_external_table_location: Optional[str] = None,
default_managed_table_location: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
locks: Optional[Sequence[_datacatalog.MetastoreLockArgs]] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> Metastore
func GetMetastore(ctx *Context, name string, id IDInput, state *MetastoreState, opts ...ResourceOption) (*Metastore, error)
public static Metastore Get(string name, Input<string> id, MetastoreState? state, CustomResourceOptions? opts = null)
public static Metastore get(String name, Output<String> id, MetastoreState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) OCID of the compartment which holds the metastore.
- Default
External stringTable Location - Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- Default
Managed stringTable Location - Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- Dictionary<string, string>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Mutable name of the metastore.
- Dictionary<string, string>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
** 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
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Locks
List<Metastore
Lock> - Locks associated with this resource.
- State string
- The current state of the metastore.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Time at which the metastore was created. An RFC3339 formatted datetime string.
- Time
Updated string - Time at which the metastore was last modified. An RFC3339 formatted datetime string.
- Compartment
Id string - (Updatable) OCID of the compartment which holds the metastore.
- Default
External stringTable Location - Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- Default
Managed stringTable Location - Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- map[string]string
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Mutable name of the metastore.
- map[string]string
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
** 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
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Locks
[]Metastore
Lock Args - Locks associated with this resource.
- State string
- The current state of the metastore.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Time at which the metastore was created. An RFC3339 formatted datetime string.
- Time
Updated string - Time at which the metastore was last modified. An RFC3339 formatted datetime string.
- compartment
Id String - (Updatable) OCID of the compartment which holds the metastore.
- default
External StringTable Location - Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- default
Managed StringTable Location - Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- Map<String,String>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Mutable name of the metastore.
- Map<String,String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
** 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
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
List<Metastore
Lock> - Locks associated with this resource.
- state String
- The current state of the metastore.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Time at which the metastore was created. An RFC3339 formatted datetime string.
- time
Updated String - Time at which the metastore was last modified. An RFC3339 formatted datetime string.
- compartment
Id string - (Updatable) OCID of the compartment which holds the metastore.
- default
External stringTable Location - Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- default
Managed stringTable Location - Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- {[key: string]: string}
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) Mutable name of the metastore.
- {[key: string]: string}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
** 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
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
Metastore
Lock[] - Locks associated with this resource.
- state string
- The current state of the metastore.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - Time at which the metastore was created. An RFC3339 formatted datetime string.
- time
Updated string - Time at which the metastore was last modified. An RFC3339 formatted datetime string.
- compartment_
id str - (Updatable) OCID of the compartment which holds the metastore.
- default_
external_ strtable_ location - Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- default_
managed_ strtable_ location - Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- Mapping[str, str]
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - (Updatable) Mutable name of the metastore.
- Mapping[str, str]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
** 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
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks
Sequence[datacatalog.
Metastore Lock Args] - Locks associated with this resource.
- state str
- The current state of the metastore.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - Time at which the metastore was created. An RFC3339 formatted datetime string.
- time_
updated str - Time at which the metastore was last modified. An RFC3339 formatted datetime string.
- compartment
Id String - (Updatable) OCID of the compartment which holds the metastore.
- default
External StringTable Location - Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- default
Managed StringTable Location - Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/
- Map<String>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Mutable name of the metastore.
- Map<String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
** 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
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- locks List<Property Map>
- Locks associated with this resource.
- state String
- The current state of the metastore.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Time at which the metastore was created. An RFC3339 formatted datetime string.
- time
Updated String - Time at which the metastore was last modified. An RFC3339 formatted datetime string.
Supporting Types
MetastoreLock, MetastoreLockArgs
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - Time at which the metastore was created. An RFC3339 formatted datetime string.
- Type string
- Type of the lock.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - Time at which the metastore was created. An RFC3339 formatted datetime string.
- Type string
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - Time at which the metastore was created. An RFC3339 formatted datetime string.
- type String
- Type of the lock.
- message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created string - Time at which the metastore was created. An RFC3339 formatted datetime string.
- type string
- Type of the lock.
- message str
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- str
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time_
created str - Time at which the metastore was created. An RFC3339 formatted datetime string.
- type str
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - Time at which the metastore was created. An RFC3339 formatted datetime string.
- type String
- Type of the lock.
Import
Metastores can be imported using the id
, e.g.
$ pulumi import oci:DataCatalog/metastore:Metastore test_metastore "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.