import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Network Anchor resource in Oracle Cloud Infrastructure Multicloud service. * * Gets details for the specified network anchor. The subscription OCID and service name are required. * For more information, see * [Getting a Network Anchor's Details](https://docs.cloud.oracle.com/iaas/Content/multicloud-hub/get-network-anchor.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkAnchor = oci.oci.getMulticloudNetworkAnchor({ * networkAnchorId: networkAnchorId, * subscriptionId: subscriptionId, * subscriptionServiceName: subscriptionServiceName, * externalLocation: networkAnchorExternalLocation, * shouldFetchVcnName: shouldFetchVcnName === "true", * }); * ``` */ export declare function getMulticloudNetworkAnchor(args: GetMulticloudNetworkAnchorArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMulticloudNetworkAnchor. */ export interface GetMulticloudNetworkAnchorArgs { /** * The cloud service provider region. */ externalLocation?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the NetworkAnchor. */ networkAnchorId: string; /** * Whether to fetch and include the vcn display name, which may introduce additional latency. */ shouldFetchVcnName?: 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 getMulticloudNetworkAnchor. */ export interface GetMulticloudNetworkAnchorResult { /** * 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.GetMulticloudNetworkAnchorCloudServiceProviderMetadataItem[]; /** * The CPG ID in which Network Anchor will be created. */ readonly clusterPlacementGroupId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: 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; readonly externalLocation?: 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 NetworkAnchor. */ readonly id: string; /** * A message that describes the current state of the NetworkAnchor in more detail. For example, can be used to provide actionable information for a resource in the Failed state. */ readonly lifecycleDetails: string; readonly networkAnchorId: string; /** * The current state of the NetworkAnchor. */ readonly networkAnchorLifecycleState: string; /** * Oracle Cloud Infrastructure network anchor related meta data items */ readonly ociMetadataItems: outputs.oci.GetMulticloudNetworkAnchorOciMetadataItem[]; /** * Oracle Cloud Infrastructure resource anchor Id (OCID). */ readonly resourceAnchorId: 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 shouldFetchVcnName?: boolean; readonly subscriptionId: string; readonly subscriptionServiceName: string; /** * Oracle Cloud Infrastructure 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 NetworkAnchor 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 NetworkAnchor 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 Network Anchor resource in Oracle Cloud Infrastructure Multicloud service. * * Gets details for the specified network anchor. The subscription OCID and service name are required. * For more information, see * [Getting a Network Anchor's Details](https://docs.cloud.oracle.com/iaas/Content/multicloud-hub/get-network-anchor.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkAnchor = oci.oci.getMulticloudNetworkAnchor({ * networkAnchorId: networkAnchorId, * subscriptionId: subscriptionId, * subscriptionServiceName: subscriptionServiceName, * externalLocation: networkAnchorExternalLocation, * shouldFetchVcnName: shouldFetchVcnName === "true", * }); * ``` */ export declare function getMulticloudNetworkAnchorOutput(args: GetMulticloudNetworkAnchorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMulticloudNetworkAnchor. */ export interface GetMulticloudNetworkAnchorOutputArgs { /** * The cloud service provider region. */ externalLocation?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the NetworkAnchor. */ networkAnchorId: pulumi.Input; /** * Whether to fetch and include the vcn display name, which may introduce additional latency. */ shouldFetchVcnName?: pulumi.Input; /** * 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; /** * The cloud service provider. */ subscriptionServiceName: pulumi.Input; } //# sourceMappingURL=getMulticloudNetworkAnchor.d.ts.map