1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. getMulticloudMulticloudsubscriptions
Viewing docs for Oracle Cloud Infrastructure v4.15.0
published on Thursday, Jun 11, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.15.0
published on Thursday, Jun 11, 2026 by Pulumi

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

    Lists activated Multicloud subscriptions in the specified compartment. For more information, see Listing 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/v4/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.ArrayList;
    import java.util.Arrays;
    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}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_oci_getmulticloudmulticloudsubscriptions" "testMulticloudsubscriptions" {
      compartment_id = compartmentId
      display_name   = 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: pulumi.Input[Optional[str]] = None,
                                               display_name: pulumi.Input[Optional[str]] = None,
                                               filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetMulticloudMulticloudsubscriptionsFilterArgs]]]] = None,
                                               limit: pulumi.Input[Optional[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
    data "oci_oci_getmulticloudmulticloudsubscriptions" "name" {
        # arguments
    }

    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
    compartment_id string
    The OCID of the compartment in which to list resources.
    display_name string
    A filter to return only resources that match the given display name exactly.
    filters list(object)
    limit number
    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:

    compartment_id string
    id string
    The provider-assigned unique ID for this managed resource.
    multicloud_subscription_collections list(object)
    The list of Multicloudsubscription.
    display_name string
    filters list(object)
    limit number
    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 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(object)
    List of MulticloudSubscriptionSummary.
    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>
    Properties specific to the cloud service provider. For example, 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.
    PartnerCloudTenantIdentifier string
    The partner cloud tenant ID.
    PaymentPlan string
    Payment plan for the subscription.
    ServiceName string
    The cloud service provider.
    SubscriptionId string
    URL to the subscription details page. Example: https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.exampleuniqueid?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 that the subscription was created, in the format defined by RFC 3339.
    TimeEndDate string
    The end date and time for the subscription, in the format defined by RFC 3339.
    TimeLinkedDate string
    The date and time that the Multicloud base compartment was created, in the format defined by RFC 3339.
    TimeUpdated string
    The date and time that 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
    Properties specific to the cloud service provider. For example, 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.
    PartnerCloudTenantIdentifier string
    The partner cloud tenant ID.
    PaymentPlan string
    Payment plan for the subscription.
    ServiceName string
    The cloud service provider.
    SubscriptionId string
    URL to the subscription details page. Example: https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.exampleuniqueid?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 that the subscription was created, in the format defined by RFC 3339.
    TimeEndDate string
    The end date and time for the subscription, in the format defined by RFC 3339.
    TimeLinkedDate string
    The date and time that the Multicloud base compartment was created, in the format defined by RFC 3339.
    TimeUpdated string
    The date and time that the subscription was updated, in the format defined by RFC 3339.
    active_commitment string
    Total value for the subscription.
    classic_subscription_id string
    Subscription ID for Oracle Cloud Infrastructure and partner cloud in classic format.
    csp_additional_properties map(string)
    Properties specific to the cloud service provider. For example, AzureSubnetId for Azure.
    defined_tags 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"}
    freeform_tags 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"}
    lifecycle_state string
    The current state of the subscription.
    partner_cloud_account_identifier string
    The partner cloud account ID.
    partner_cloud_tenant_identifier string
    The partner cloud tenant ID.
    payment_plan string
    Payment plan for the subscription.
    service_name string
    The cloud service provider.
    subscription_id string
    URL to the subscription details page. Example: https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.exampleuniqueid?region=us-ashburn-1.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The date and time that the subscription was created, in the format defined by RFC 3339.
    time_end_date string
    The end date and time for the subscription, in the format defined by RFC 3339.
    time_linked_date string
    The date and time that the Multicloud base compartment was created, in the format defined by RFC 3339.
    time_updated string
    The date and time that 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>
    Properties specific to the cloud service provider. For example, 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.
    partnerCloudTenantIdentifier String
    The partner cloud tenant ID.
    paymentPlan String
    Payment plan for the subscription.
    serviceName String
    The cloud service provider.
    subscriptionId String
    URL to the subscription details page. Example: https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.exampleuniqueid?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 that the subscription was created, in the format defined by RFC 3339.
    timeEndDate String
    The end date and time for the subscription, in the format defined by RFC 3339.
    timeLinkedDate String
    The date and time that the Multicloud base compartment was created, in the format defined by RFC 3339.
    timeUpdated String
    The date and time that 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}
    Properties specific to the cloud service provider. For example, 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.
    partnerCloudTenantIdentifier string
    The partner cloud tenant ID.
    paymentPlan string
    Payment plan for the subscription.
    serviceName string
    The cloud service provider.
    subscriptionId string
    URL to the subscription details page. Example: https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.exampleuniqueid?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 that the subscription was created, in the format defined by RFC 3339.
    timeEndDate string
    The end date and time for the subscription, in the format defined by RFC 3339.
    timeLinkedDate string
    The date and time that the Multicloud base compartment was created, in the format defined by RFC 3339.
    timeUpdated string
    The date and time that 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]
    Properties specific to the cloud service provider. For example, 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.
    partner_cloud_tenant_identifier str
    The partner cloud tenant ID.
    payment_plan str
    Payment plan for the subscription.
    service_name str
    The cloud service provider.
    subscription_id str
    URL to the subscription details page. Example: https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.exampleuniqueid?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 that the subscription was created, in the format defined by RFC 3339.
    time_end_date str
    The end date and time for the subscription, in the format defined by RFC 3339.
    time_linked_date str
    The date and time that the Multicloud base compartment was created, in the format defined by RFC 3339.
    time_updated str
    The date and time that 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>
    Properties specific to the cloud service provider. For example, 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.
    partnerCloudTenantIdentifier String
    The partner cloud tenant ID.
    paymentPlan String
    Payment plan for the subscription.
    serviceName String
    The cloud service provider.
    subscriptionId String
    URL to the subscription details page. Example: https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.exampleuniqueid?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 that the subscription was created, in the format defined by RFC 3339.
    timeEndDate String
    The end date and time for the subscription, in the format defined by RFC 3339.
    timeLinkedDate String
    The date and time that the Multicloud base compartment was created, in the format defined by RFC 3339.
    timeUpdated String
    The date and time that 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
    Viewing docs for Oracle Cloud Infrastructure v4.15.0
    published on Thursday, Jun 11, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial