import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides the list of Network Anchors in Oracle Cloud Infrastructure Multicloud service. * * Lists network anchors in the specified Multicloud subscription, Multicloud compartment, and partner cloud region. * Details listed for each resource include name, state, VCN, and ODB network ID. * For more information, see * [Listing Network Anchors](https://docs.cloud.oracle.com/iaas/Content/multicloud-hub/list-network-anchors.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkAnchors = oci.oci.getMulticloudNetworkAnchors({ * compartmentId: compartmentId, * subscriptionId: subscriptionId, * subscriptionServiceName: subscriptionServiceName, * networkAnchorLifecycleState: networkAnchorLifecycleState, * displayName: displayName, * externalLocation: externalLocation, * networkAnchorOciSubnetId: networkAnchorOciSubnetId, * networkAnchorOciVcnId: networkAnchorOciVcnId, * id: id, * shouldFetchVcnName: shouldFetchVcnName === "true", * }); * ``` */ export declare function getMulticloudNetworkAnchors(args?: GetMulticloudNetworkAnchorsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMulticloudNetworkAnchors. */ export interface GetMulticloudNetworkAnchorsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a cloud service provider (such as Azure or AWS). */ compartmentId?: string; compartmentIdInSubtree?: boolean; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; /** * The cloud service provider region. */ externalLocation?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the NetworkAnchor. */ id?: string; limit?: number; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ networkAnchorLifecycleState?: string; /** * A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure subnet Id. */ networkAnchorOciSubnetId?: string; /** * A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure Vcn Id. */ networkAnchorOciVcnId?: 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. * * Note: one of the arguments `compartmentId` or `id` must be specified. */ subscriptionServiceName?: string; } /** * A collection of values returned by getMulticloudNetworkAnchors. */ export interface GetMulticloudNetworkAnchorsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId?: string; readonly compartmentIdInSubtree?: boolean; /** * A user-friendly name. Does not have to be unique, and it's changeable. */ readonly displayName?: string; readonly externalLocation?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the NetworkAnchor. */ readonly id?: string; readonly limit?: number; /** * The list of NetworkAnchor. */ readonly networkAnchorCollections: outputs.oci.GetMulticloudNetworkAnchorsNetworkAnchorCollection[]; /** * The current state of the NetworkAnchor. */ readonly networkAnchorLifecycleState?: string; readonly networkAnchorOciSubnetId?: string; readonly networkAnchorOciVcnId?: string; readonly shouldFetchVcnName?: boolean; readonly subscriptionId?: string; readonly subscriptionServiceName?: string; } /** * This data source provides the list of Network Anchors in Oracle Cloud Infrastructure Multicloud service. * * Lists network anchors in the specified Multicloud subscription, Multicloud compartment, and partner cloud region. * Details listed for each resource include name, state, VCN, and ODB network ID. * For more information, see * [Listing Network Anchors](https://docs.cloud.oracle.com/iaas/Content/multicloud-hub/list-network-anchors.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkAnchors = oci.oci.getMulticloudNetworkAnchors({ * compartmentId: compartmentId, * subscriptionId: subscriptionId, * subscriptionServiceName: subscriptionServiceName, * networkAnchorLifecycleState: networkAnchorLifecycleState, * displayName: displayName, * externalLocation: externalLocation, * networkAnchorOciSubnetId: networkAnchorOciSubnetId, * networkAnchorOciVcnId: networkAnchorOciVcnId, * id: id, * shouldFetchVcnName: shouldFetchVcnName === "true", * }); * ``` */ export declare function getMulticloudNetworkAnchorsOutput(args?: GetMulticloudNetworkAnchorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMulticloudNetworkAnchors. */ export interface GetMulticloudNetworkAnchorsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud base compartment or sub-compartment in which to list resources. A Multicloud base compartment is an Oracle Cloud Infrastructure compartment that maps to a subscription in a cloud service provider (such as Azure or AWS). */ compartmentId?: pulumi.Input; compartmentIdInSubtree?: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; /** * The cloud service provider region. */ externalLocation?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the NetworkAnchor. */ id?: pulumi.Input; limit?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ networkAnchorLifecycleState?: pulumi.Input; /** * A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure subnet Id. */ networkAnchorOciSubnetId?: pulumi.Input; /** * A filter to return only NetworkAnchor resources that match the given Oracle Cloud Infrastructure Vcn Id. */ networkAnchorOciVcnId?: 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. * * Note: one of the arguments `compartmentId` or `id` must be specified. */ subscriptionServiceName?: pulumi.Input; } //# sourceMappingURL=getMulticloudNetworkAnchors.d.ts.map