1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. getMulticloudMulticloudsubscriptions
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi

    This data source provides the list of Multicloud subscriptions in Oracle Cloud Infrastructure Multicloud service.

    Gets a list of Multicloud subscriptions.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMulticloudsubscriptions = oci.oci.getMulticloudMulticloudsubscriptions({
        compartmentId: compartmentId,
        displayName: displayName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_multicloudsubscriptions = oci.oci.get_multicloud_multicloudsubscriptions(compartment_id=compartment_id,
        display_name=display_name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.GetMulticloudMulticloudsubscriptions(ctx, &oci.GetMulticloudMulticloudsubscriptionsArgs{
    			CompartmentId: compartmentId,
    			DisplayName:   pulumi.StringRef(displayName),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testMulticloudsubscriptions = Oci.Oci.GetMulticloudMulticloudsubscriptions.Invoke(new()
        {
            CompartmentId = compartmentId,
            DisplayName = displayName,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.OciFunctions;
    import com.pulumi.oci.oci.inputs.GetMulticloudMulticloudsubscriptionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testMulticloudsubscriptions = OciFunctions.getMulticloudMulticloudsubscriptions(GetMulticloudMulticloudsubscriptionsArgs.builder()
                .compartmentId(compartmentId)
                .displayName(displayName)
                .build());
    
        }
    }
    
    variables:
      testMulticloudsubscriptions:
        fn::invoke:
          function: oci:oci:getMulticloudMulticloudsubscriptions
          arguments:
            compartmentId: ${compartmentId}
            displayName: ${displayName}
    

    Using getMulticloudMulticloudsubscriptions

    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 getMulticloudMulticloudsubscriptions(args: GetMulticloudMulticloudsubscriptionsArgs, opts?: InvokeOptions): Promise<GetMulticloudMulticloudsubscriptionsResult>
    function getMulticloudMulticloudsubscriptionsOutput(args: GetMulticloudMulticloudsubscriptionsOutputArgs, opts?: InvokeOptions): Output<GetMulticloudMulticloudsubscriptionsResult>
    def get_multicloud_multicloudsubscriptions(compartment_id: Optional[str] = None,
                                               display_name: Optional[str] = None,
                                               filters: Optional[Sequence[GetMulticloudMulticloudsubscriptionsFilter]] = None,
                                               limit: Optional[int] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetMulticloudMulticloudsubscriptionsResult
    def get_multicloud_multicloudsubscriptions_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                               display_name: Optional[pulumi.Input[str]] = None,
                                               filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetMulticloudMulticloudsubscriptionsFilterArgs]]]] = None,
                                               limit: Optional[pulumi.Input[int]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetMulticloudMulticloudsubscriptionsResult]
    func GetMulticloudMulticloudsubscriptions(ctx *Context, args *GetMulticloudMulticloudsubscriptionsArgs, opts ...InvokeOption) (*GetMulticloudMulticloudsubscriptionsResult, error)
    func GetMulticloudMulticloudsubscriptionsOutput(ctx *Context, args *GetMulticloudMulticloudsubscriptionsOutputArgs, opts ...InvokeOption) GetMulticloudMulticloudsubscriptionsResultOutput

    > Note: This function is named GetMulticloudMulticloudsubscriptions in the Go SDK.

    public static class GetMulticloudMulticloudsubscriptions 
    {
        public static Task<GetMulticloudMulticloudsubscriptionsResult> InvokeAsync(GetMulticloudMulticloudsubscriptionsArgs args, InvokeOptions? opts = null)
        public static Output<GetMulticloudMulticloudsubscriptionsResult> Invoke(GetMulticloudMulticloudsubscriptionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMulticloudMulticloudsubscriptionsResult> getMulticloudMulticloudsubscriptions(GetMulticloudMulticloudsubscriptionsArgs args, InvokeOptions options)
    public static Output<GetMulticloudMulticloudsubscriptionsResult> getMulticloudMulticloudsubscriptions(GetMulticloudMulticloudsubscriptionsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getMulticloudMulticloudsubscriptions:getMulticloudMulticloudsubscriptions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment in which to list resources.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters List<GetMulticloudMulticloudsubscriptionsFilter>
    Limit int
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters []GetMulticloudMulticloudsubscriptionsFilter
    Limit int
    compartmentId String
    The OCID of the compartment in which to list resources.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<GetMulticloudMulticloudsubscriptionsFilter>
    limit Integer
    compartmentId string
    The OCID of the compartment in which to list resources.
    displayName string
    A filter to return only resources that match the given display name exactly.
    filters GetMulticloudMulticloudsubscriptionsFilter[]
    limit number
    compartment_id str
    The OCID of the compartment in which to list resources.
    display_name str
    A filter to return only resources that match the given display name exactly.
    filters Sequence[GetMulticloudMulticloudsubscriptionsFilter]
    limit int
    compartmentId String
    The OCID of the compartment in which to list resources.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<Property Map>
    limit Number

    getMulticloudMulticloudsubscriptions Result

    The following output properties are available:

    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    multicloudSubscriptionCollections List<Property Map>
    The list of Multicloudsubscription.
    displayName String
    filters List<Property Map>
    limit Number

    Supporting Types

    GetMulticloudMulticloudsubscriptionsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetMulticloudMulticloudsubscriptionsMulticloudSubscriptionCollection

    items List<Property Map>
    List of MulticloudSubscriptionSummary.

    GetMulticloudMulticloudsubscriptionsMulticloudSubscriptionCollectionItem

    ActiveCommitment string
    Total value for the subscription.
    ClassicSubscriptionId string
    Subscription ID for Oracle Cloud Infrastructure and Partner cloud in classic format.
    CspAdditionalProperties Dictionary<string, string>
    CSP Specific Additional Properties, AzureSubnetId for Azure
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, 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. Example: {"Department": "Finance"}
    LifecycleState string
    The current state of the subscription.
    PartnerCloudAccountIdentifier string
    The partner cloud account ID.
    PaymentPlan string
    Payment plan for the subscription.
    ServiceName string
    The serviceName that externalLocation map object belongs to.
    SubscriptionId string
    URL to the subscription page https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.amaaaaaapf266qyaqohz27zvh45jzaielgwojo53bh24s7cy5q5g7fiknpxa?region=us-ashburn-1.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the subscription was created, in the format defined by RFC 3339.
    TimeEndDate string
    The date and time when the subscription is finishing, in the format defined by RFC 3339.
    TimeLinkedDate string
    The date and time when the multicloud link was created, in the format defined by RFC 3339.
    TimeUpdated string
    The date and time the subscription was updated, in the format defined by RFC 3339.
    ActiveCommitment string
    Total value for the subscription.
    ClassicSubscriptionId string
    Subscription ID for Oracle Cloud Infrastructure and Partner cloud in classic format.
    CspAdditionalProperties map[string]string
    CSP Specific Additional Properties, AzureSubnetId for Azure
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]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. Example: {"Department": "Finance"}
    LifecycleState string
    The current state of the subscription.
    PartnerCloudAccountIdentifier string
    The partner cloud account ID.
    PaymentPlan string
    Payment plan for the subscription.
    ServiceName string
    The serviceName that externalLocation map object belongs to.
    SubscriptionId string
    URL to the subscription page https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.amaaaaaapf266qyaqohz27zvh45jzaielgwojo53bh24s7cy5q5g7fiknpxa?region=us-ashburn-1.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the subscription was created, in the format defined by RFC 3339.
    TimeEndDate string
    The date and time when the subscription is finishing, in the format defined by RFC 3339.
    TimeLinkedDate string
    The date and time when the multicloud link was created, in the format defined by RFC 3339.
    TimeUpdated string
    The date and time the subscription was updated, in the format defined by RFC 3339.
    activeCommitment String
    Total value for the subscription.
    classicSubscriptionId String
    Subscription ID for Oracle Cloud Infrastructure and Partner cloud in classic format.
    cspAdditionalProperties Map<String,String>
    CSP Specific Additional Properties, AzureSubnetId for Azure
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,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. Example: {"Department": "Finance"}
    lifecycleState String
    The current state of the subscription.
    partnerCloudAccountIdentifier String
    The partner cloud account ID.
    paymentPlan String
    Payment plan for the subscription.
    serviceName String
    The serviceName that externalLocation map object belongs to.
    subscriptionId String
    URL to the subscription page https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.amaaaaaapf266qyaqohz27zvh45jzaielgwojo53bh24s7cy5q5g7fiknpxa?region=us-ashburn-1.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the subscription was created, in the format defined by RFC 3339.
    timeEndDate String
    The date and time when the subscription is finishing, in the format defined by RFC 3339.
    timeLinkedDate String
    The date and time when the multicloud link was created, in the format defined by RFC 3339.
    timeUpdated String
    The date and time the subscription was updated, in the format defined by RFC 3339.
    activeCommitment string
    Total value for the subscription.
    classicSubscriptionId string
    Subscription ID for Oracle Cloud Infrastructure and Partner cloud in classic format.
    cspAdditionalProperties {[key: string]: string}
    CSP Specific Additional Properties, AzureSubnetId for Azure
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: 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. Example: {"Department": "Finance"}
    lifecycleState string
    The current state of the subscription.
    partnerCloudAccountIdentifier string
    The partner cloud account ID.
    paymentPlan string
    Payment plan for the subscription.
    serviceName string
    The serviceName that externalLocation map object belongs to.
    subscriptionId string
    URL to the subscription page https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.amaaaaaapf266qyaqohz27zvh45jzaielgwojo53bh24s7cy5q5g7fiknpxa?region=us-ashburn-1.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the subscription was created, in the format defined by RFC 3339.
    timeEndDate string
    The date and time when the subscription is finishing, in the format defined by RFC 3339.
    timeLinkedDate string
    The date and time when the multicloud link was created, in the format defined by RFC 3339.
    timeUpdated string
    The date and time the subscription was updated, in the format defined by RFC 3339.
    active_commitment str
    Total value for the subscription.
    classic_subscription_id str
    Subscription ID for Oracle Cloud Infrastructure and Partner cloud in classic format.
    csp_additional_properties Mapping[str, str]
    CSP Specific Additional Properties, AzureSubnetId for Azure
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, str]
    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. Example: {"Department": "Finance"}
    lifecycle_state str
    The current state of the subscription.
    partner_cloud_account_identifier str
    The partner cloud account ID.
    payment_plan str
    Payment plan for the subscription.
    service_name str
    The serviceName that externalLocation map object belongs to.
    subscription_id str
    URL to the subscription page https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.amaaaaaapf266qyaqohz27zvh45jzaielgwojo53bh24s7cy5q5g7fiknpxa?region=us-ashburn-1.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the subscription was created, in the format defined by RFC 3339.
    time_end_date str
    The date and time when the subscription is finishing, in the format defined by RFC 3339.
    time_linked_date str
    The date and time when the multicloud link was created, in the format defined by RFC 3339.
    time_updated str
    The date and time the subscription was updated, in the format defined by RFC 3339.
    activeCommitment String
    Total value for the subscription.
    classicSubscriptionId String
    Subscription ID for Oracle Cloud Infrastructure and Partner cloud in classic format.
    cspAdditionalProperties Map<String>
    CSP Specific Additional Properties, AzureSubnetId for Azure
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<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. Example: {"Department": "Finance"}
    lifecycleState String
    The current state of the subscription.
    partnerCloudAccountIdentifier String
    The partner cloud account ID.
    paymentPlan String
    Payment plan for the subscription.
    serviceName String
    The serviceName that externalLocation map object belongs to.
    subscriptionId String
    URL to the subscription page https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.amaaaaaapf266qyaqohz27zvh45jzaielgwojo53bh24s7cy5q5g7fiknpxa?region=us-ashburn-1.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the subscription was created, in the format defined by RFC 3339.
    timeEndDate String
    The date and time when the subscription is finishing, in the format defined by RFC 3339.
    timeLinkedDate String
    The date and time when the multicloud link was created, in the format defined by RFC 3339.
    timeUpdated String
    The date and time the subscription was updated, in the format defined by RFC 3339.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.16.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate