MetastoreFederationState class
Input properties used for looking up and filtering MetastoreFederation resources.
Constructors
-
MetastoreFederationState({Input<
List< ? backendMetastores, Input<MetastoreFederationBackendMetastore> ?>String?> ? createTime, Input<String?> ? deletionPolicy, Input<bool?> ? deletionProtection, Input<Map< ? effectiveLabels, Input<String, String> ?>String?> ? endpointUri, Input<String?> ? federationId, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? state, Input<String?> ? stateMessage, Input<Map< ? tags, Input<String, String> ?>String?> ? uid, Input<String?> ? updateTime, Input<String?> ? version}) -
Creates a new MetastoreFederationState.
backendMetastoresA map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.createTimeOutput only. The time when the metastore federation was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.deletionProtectionWhether Terraform will be prevented from destroying the federation. Defaults to false.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.endpointUriThe URI of the endpoint used to access the metastore federation.federationIdThe ID of the metastore federation. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),labelsUser-defined labels for the metastore federation.locationThe location where the metastore federation should reside.nameThe relative resource name of the metastore federation.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcestateThe current state of the metastore federation.stateMessageAdditional information about the current state of the metastore federation, if available.tagsA map of resource manager tags.uidThe globally unique resource identifier of the metastore federation.updateTimeOutput only. The time when the metastore federation was last updated.versionThe Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.const -
MetastoreFederationState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
backendMetastores
→ Input<
List< ?MetastoreFederationBackendMetastore> ?> -
A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.
Structure is documented below.
final
-
createTime
→ Input<
String?> ? -
Output only. The time when the metastore federation was created.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
deletionProtection
→ Input<
bool?> ? -
Whether Terraform will be prevented from destroying the federation. Defaults to false.
When the field is set to true in Terraform state, a
pulumi uporterraform destroythat would delete the federation will fail.final -
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
-
endpointUri
→ Input<
String?> ? -
The URI of the endpoint used to access the metastore federation.
final
-
federationId
→ Input<
String?> ? -
The ID of the metastore federation. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),
and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between
3 and 63 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
User-defined labels for the metastore federation.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
location
→ Input<
String?> ? -
The location where the metastore federation should reside.
final
-
name
→ Input<
String?> ? -
The relative resource name of the metastore federation.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Input<
String?> ? -
The current state of the metastore federation.
final
-
stateMessage
→ Input<
String?> ? -
Additional information about the current state of the metastore federation, if available.
final
-
A map of resource manager tags.
Resource manager tag keys and values have the same definition as resource manager tags.
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_value_id}.
final
-
uid
→ Input<
String?> ? -
The globally unique resource identifier of the metastore federation.
final
-
updateTime
→ Input<
String?> ? -
Output only. The time when the metastore federation was last updated.
final
-
version
→ Input<
String?> ? -
The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited