google-native.metastore/v1.getFederation
Gets the details of a single federation.
Using getFederation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFederation(args: GetFederationArgs, opts?: InvokeOptions): Promise<GetFederationResult>
function getFederationOutput(args: GetFederationOutputArgs, opts?: InvokeOptions): Output<GetFederationResult>
def get_federation(federation_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFederationResult
def get_federation_output(federation_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFederationResult]
func LookupFederation(ctx *Context, args *LookupFederationArgs, opts ...InvokeOption) (*LookupFederationResult, error)
func LookupFederationOutput(ctx *Context, args *LookupFederationOutputArgs, opts ...InvokeOption) LookupFederationResultOutput
> Note: This function is named LookupFederation
in the Go SDK.
public static class GetFederation
{
public static Task<GetFederationResult> InvokeAsync(GetFederationArgs args, InvokeOptions? opts = null)
public static Output<GetFederationResult> Invoke(GetFederationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFederationResult> getFederation(GetFederationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:metastore/v1:getFederation
arguments:
# arguments dictionary
The following arguments are supported:
- Federation
Id string - Location string
- Project string
- Federation
Id string - Location string
- Project string
- federation
Id String - location String
- project String
- federation
Id string - location string
- project string
- federation_
id str - location str
- project str
- federation
Id String - location String
- project String
getFederation Result
The following output properties are available:
- Backend
Metastores Dictionary<string, string> 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.
- Create
Time string The time when the metastore federation was created.
- Endpoint
Uri string The federation endpoint.
- Labels Dictionary<string, string>
User-defined labels for the metastore federation.
- Name string
Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
- State string
The current state of the federation.
- State
Message string Additional information about the current state of the metastore federation, if available.
- Uid string
The globally unique resource identifier of the metastore federation.
- Update
Time string The time when the metastore federation was last updated.
- Version string
Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.
- Backend
Metastores map[string]string 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.
- Create
Time string The time when the metastore federation was created.
- Endpoint
Uri string The federation endpoint.
- Labels map[string]string
User-defined labels for the metastore federation.
- Name string
Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
- State string
The current state of the federation.
- State
Message string Additional information about the current state of the metastore federation, if available.
- Uid string
The globally unique resource identifier of the metastore federation.
- Update
Time string The time when the metastore federation was last updated.
- Version string
Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.
- backend
Metastores Map<String,String> 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.
- create
Time String The time when the metastore federation was created.
- endpoint
Uri String The federation endpoint.
- labels Map<String,String>
User-defined labels for the metastore federation.
- name String
Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
- state String
The current state of the federation.
- state
Message String Additional information about the current state of the metastore federation, if available.
- uid String
The globally unique resource identifier of the metastore federation.
- update
Time String The time when the metastore federation was last updated.
- version String
Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.
- backend
Metastores {[key: string]: string} 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.
- create
Time string The time when the metastore federation was created.
- endpoint
Uri string The federation endpoint.
- labels {[key: string]: string}
User-defined labels for the metastore federation.
- name string
Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
- state string
The current state of the federation.
- state
Message string Additional information about the current state of the metastore federation, if available.
- uid string
The globally unique resource identifier of the metastore federation.
- update
Time string The time when the metastore federation was last updated.
- version string
Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.
- backend_
metastores Mapping[str, str] 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.
- create_
time str The time when the metastore federation was created.
- endpoint_
uri str The federation endpoint.
- labels Mapping[str, str]
User-defined labels for the metastore federation.
- name str
Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
- state str
The current state of the federation.
- state_
message str Additional information about the current state of the metastore federation, if available.
- uid str
The globally unique resource identifier of the metastore federation.
- update_
time str The time when the metastore federation was last updated.
- version str
Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.
- backend
Metastores Map<String> 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.
- create
Time String The time when the metastore federation was created.
- endpoint
Uri String The federation endpoint.
- labels Map<String>
User-defined labels for the metastore federation.
- name String
Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
- state String
The current state of the federation.
- state
Message String Additional information about the current state of the metastore federation, if available.
- uid String
The globally unique resource identifier of the metastore federation.
- update
Time String The time when the metastore federation was last updated.
- version String
Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0