import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Resource Anchor resource in Oracle Cloud Infrastructure Multicloud service.
 *
 * Gets details for the specified resource anchor. The subscription OCID and service name are required.
 * For more information, see
 * [Getting a Resource Anchor's Details (OCI)](https://docs.cloud.oracle.com/iaas/Content/multicloud-hub/get-resource-anchor.htm).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testResourceAnchor = oci.oci.getMulticloudResourceAnchor({
 *     resourceAnchorId: resourceAnchorId,
 *     subscriptionId: subscriptionId,
 *     subscriptionServiceName: subscriptionServiceName,
 *     shouldFetchCompartmentName: shouldFetchCompartmentName === "true",
 * });
 * ```
 */
export declare function getMulticloudResourceAnchor(args: GetMulticloudResourceAnchorArgs, opts?: pulumi.InvokeOptions): Promise<GetMulticloudResourceAnchorResult>;
/**
 * A collection of arguments for invoking getMulticloudResourceAnchor.
 */
export interface GetMulticloudResourceAnchorArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource anchor.
     */
    resourceAnchorId: string;
    /**
     * Whether to fetch and include the compartment name. Setting this field to `true` might introduce additional latency.
     */
    shouldFetchCompartmentName?: boolean;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources.
     */
    subscriptionId: string;
    /**
     * The cloud service provider.
     */
    subscriptionServiceName: string;
}
/**
 * A collection of values returned by getMulticloudResourceAnchor.
 */
export interface GetMulticloudResourceAnchorResult {
    /**
     * Cloud Service Provider metadata item. Warning - In future this object can change to generic object with future Cloud Service Provider based on  CloudServiceProvider field. This can be one of CSP provider type Azure, GCP and AWS.
     */
    readonly cloudServiceProviderMetadataItems: outputs.oci.GetMulticloudResourceAnchorCloudServiceProviderMetadataItem[];
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    readonly compartmentId: string;
    /**
     * The name assigned to the compartment during creation.
     */
    readonly compartmentName: string;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: {
        [key: string]: string;
    };
    /**
     * A user-friendly name. Does not have to be unique, and it's changeable.
     */
    readonly displayName: string;
    /**
     * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: {
        [key: string]: string;
    };
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource anchor.
     */
    readonly id: string;
    /**
     * A message that describes the current state of the resource anchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
     */
    readonly lifecycleDetails: string;
    /**
     * The current state of the resource anchor.
     */
    readonly lifecycleState: string;
    /**
     * Optional - Oracle Cloud Infrastructure compartment Id (OCID) which was created or linked by customer with resource anchor.  This compartmentId is different from where resource Anchor live.
     */
    readonly linkedCompartmentId: string;
    /**
     * The name assigned to the compartment which was created or linked by customer with resource anchor. This compartment is different from where resource Anchor live.
     */
    readonly linkedCompartmentName: string;
    /**
     * Oracle Cloud Infrastructure Region that resource is created.
     */
    readonly region: string;
    readonly resourceAnchorId: string;
    /**
     * Oracle Cloud Infrastructure Subscription Id
     */
    readonly resourceAnchorSubscriptionId: string;
    /**
     * AUTO_BIND - when passed compartment will be created on-behalf of customer and bind to this resource anchor NO_AUTO_BIND - compartment will not be created and later customer can bind existing compartment.  to this resource anchor. This is for future use only
     */
    readonly setupMode: string;
    readonly shouldFetchCompartmentName?: boolean;
    readonly subscriptionId: string;
    readonly subscriptionServiceName: string;
    /**
     * subscription type
     */
    readonly subscriptionType: string;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: {
        [key: string]: string;
    };
    /**
     * The date and time the resource anchor was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeCreated: string;
    /**
     * The date and time the resource anchor was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeUpdated: string;
}
/**
 * This data source provides details about a specific Resource Anchor resource in Oracle Cloud Infrastructure Multicloud service.
 *
 * Gets details for the specified resource anchor. The subscription OCID and service name are required.
 * For more information, see
 * [Getting a Resource Anchor's Details (OCI)](https://docs.cloud.oracle.com/iaas/Content/multicloud-hub/get-resource-anchor.htm).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testResourceAnchor = oci.oci.getMulticloudResourceAnchor({
 *     resourceAnchorId: resourceAnchorId,
 *     subscriptionId: subscriptionId,
 *     subscriptionServiceName: subscriptionServiceName,
 *     shouldFetchCompartmentName: shouldFetchCompartmentName === "true",
 * });
 * ```
 */
export declare function getMulticloudResourceAnchorOutput(args: GetMulticloudResourceAnchorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMulticloudResourceAnchorResult>;
/**
 * A collection of arguments for invoking getMulticloudResourceAnchor.
 */
export interface GetMulticloudResourceAnchorOutputArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource anchor.
     */
    resourceAnchorId: pulumi.Input<string>;
    /**
     * Whether to fetch and include the compartment name. Setting this field to `true` might introduce additional latency.
     */
    shouldFetchCompartmentName?: pulumi.Input<boolean | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources.
     */
    subscriptionId: pulumi.Input<string>;
    /**
     * The cloud service provider.
     */
    subscriptionServiceName: pulumi.Input<string>;
}
//# sourceMappingURL=getMulticloudResourceAnchor.d.ts.map