1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. SelfSubscription
Viewing docs for Oracle Cloud Infrastructure v5.7.0
published on Thursday, Nov 12, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.7.0
published on Thursday, Nov 12, 2026 by Pulumi

    This resource provides the Subscription resource in Oracle Cloud Infrastructure Self service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/self

    Creates a Subscription.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSubscription = new oci.oci.SelfSubscription("test_subscription", {
        compartmentId: compartmentId,
        productId: testProduct.id,
        sellerId: testSeller.id,
        subscriptionDetails: {
            billingDetails: [{
                billingModel: subscriptionSubscriptionDetailsBillingDetailsBillingModel,
                meters: [{
                    name: subscriptionSubscriptionDetailsBillingDetailsMetersName,
                    rateAllocation: subscriptionSubscriptionDetailsBillingDetailsMetersRateAllocation,
                    extendedMetadatas: [{
                        key: subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataKey,
                        value: subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataValue,
                    }],
                }],
                metricType: subscriptionSubscriptionDetailsBillingDetailsMetricType,
                pricingPlanKey: subscriptionSubscriptionDetailsBillingDetailsPricingPlanKey,
                rateAllocation: subscriptionSubscriptionDetailsBillingDetailsRateAllocation,
                sku: subscriptionSubscriptionDetailsBillingDetailsSku,
                hasGovSku: subscriptionSubscriptionDetailsBillingDetailsHasGovSku,
            }],
            partnerRegistrationUrl: subscriptionSubscriptionDetailsPartnerRegistrationUrl,
            pricingPlan: {
                billingFrequency: subscriptionSubscriptionDetailsPricingPlanBillingFrequency,
                planName: subscriptionSubscriptionDetailsPricingPlanPlanName,
                planType: subscriptionSubscriptionDetailsPricingPlanPlanType,
                rates: [{
                    currency: subscriptionSubscriptionDetailsPricingPlanRatesCurrency,
                    rate: subscriptionSubscriptionDetailsPricingPlanRatesRate,
                }],
                dimensions: [{
                    dimensionBillingFrequency: subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionBillingFrequency,
                    dimensionDescription: subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionDescription,
                    dimensionKey: subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionKey,
                    dimensionName: subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionName,
                    metricType: subscriptionSubscriptionDetailsPricingPlanDimensionsMetricType,
                    rates: [{
                        currency: subscriptionSubscriptionDetailsPricingPlanDimensionsRatesCurrency,
                        rate: subscriptionSubscriptionDetailsPricingPlanDimensionsRatesRate,
                    }],
                    includedQuantity: subscriptionSubscriptionDetailsPricingPlanDimensionsIncludedQuantity,
                }],
                planDescription: subscriptionSubscriptionDetailsPricingPlanPlanDescription,
                planDuration: subscriptionSubscriptionDetailsPricingPlanPlanDuration,
            },
            amount: subscriptionSubscriptionDetailsAmount,
            currency: subscriptionSubscriptionDetailsCurrency,
            isAutoRenew: subscriptionSubscriptionDetailsIsAutoRenew,
        },
        tenantId: testTenant.id,
        additionalDetails: [{
            key: subscriptionAdditionalDetailsKey,
            value: subscriptionAdditionalDetailsValue,
        }],
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: subscriptionDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        realm: subscriptionRealm,
        region: subscriptionRegion,
        sourceType: subscriptionSourceType,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_subscription = oci.oci.SelfSubscription("test_subscription",
        compartment_id=compartment_id,
        product_id=test_product["id"],
        seller_id=test_seller["id"],
        subscription_details={
            "billing_details": [{
                "billingModel": subscription_subscription_details_billing_details_billing_model,
                "meters": [{
                    "name": subscription_subscription_details_billing_details_meters_name,
                    "rateAllocation": subscription_subscription_details_billing_details_meters_rate_allocation,
                    "extendedMetadatas": [{
                        "key": subscription_subscription_details_billing_details_meters_extended_metadata_key,
                        "value": subscription_subscription_details_billing_details_meters_extended_metadata_value,
                    }],
                }],
                "metricType": subscription_subscription_details_billing_details_metric_type,
                "pricingPlanKey": subscription_subscription_details_billing_details_pricing_plan_key,
                "rateAllocation": subscription_subscription_details_billing_details_rate_allocation,
                "sku": subscription_subscription_details_billing_details_sku,
                "hasGovSku": subscription_subscription_details_billing_details_has_gov_sku,
            }],
            "partner_registration_url": subscription_subscription_details_partner_registration_url,
            "pricing_plan": {
                "billing_frequency": subscription_subscription_details_pricing_plan_billing_frequency,
                "plan_name": subscription_subscription_details_pricing_plan_plan_name,
                "plan_type": subscription_subscription_details_pricing_plan_plan_type,
                "rates": [{
                    "currency": subscription_subscription_details_pricing_plan_rates_currency,
                    "rate": subscription_subscription_details_pricing_plan_rates_rate,
                }],
                "dimensions": [{
                    "dimension_billing_frequency": subscription_subscription_details_pricing_plan_dimensions_dimension_billing_frequency,
                    "dimension_description": subscription_subscription_details_pricing_plan_dimensions_dimension_description,
                    "dimension_key": subscription_subscription_details_pricing_plan_dimensions_dimension_key,
                    "dimension_name": subscription_subscription_details_pricing_plan_dimensions_dimension_name,
                    "metric_type": subscription_subscription_details_pricing_plan_dimensions_metric_type,
                    "rates": [{
                        "currency": subscription_subscription_details_pricing_plan_dimensions_rates_currency,
                        "rate": subscription_subscription_details_pricing_plan_dimensions_rates_rate,
                    }],
                    "included_quantity": subscription_subscription_details_pricing_plan_dimensions_included_quantity,
                }],
                "plan_description": subscription_subscription_details_pricing_plan_plan_description,
                "plan_duration": subscription_subscription_details_pricing_plan_plan_duration,
            },
            "amount": subscription_subscription_details_amount,
            "currency": subscription_subscription_details_currency,
            "is_auto_renew": subscription_subscription_details_is_auto_renew,
        },
        tenant_id=test_tenant["id"],
        additional_details=[{
            "key": subscription_additional_details_key,
            "value": subscription_additional_details_value,
        }],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=subscription_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        realm=subscription_realm,
        region=subscription_region,
        source_type=subscription_source_type)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.NewSelfSubscription(ctx, "test_subscription", &oci.SelfSubscriptionArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			ProductId:     pulumi.Any(testProduct.Id),
    			SellerId:      pulumi.Any(testSeller.Id),
    			SubscriptionDetails: &oci.SelfSubscriptionSubscriptionDetailsArgs{
    				BillingDetails: oci.SelfSubscriptionSubscriptionDetailsBillingDetailsArgs{
    					map[string]interface{}{
    						"billingModel": subscriptionSubscriptionDetailsBillingDetailsBillingModel,
    						"meters": []map[string]interface{}{
    							map[string]interface{}{
    								"name":           subscriptionSubscriptionDetailsBillingDetailsMetersName,
    								"rateAllocation": subscriptionSubscriptionDetailsBillingDetailsMetersRateAllocation,
    								"extendedMetadatas": []map[string]interface{}{
    									map[string]interface{}{
    										"key":   subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataKey,
    										"value": subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataValue,
    									},
    								},
    							},
    						},
    						"metricType":     subscriptionSubscriptionDetailsBillingDetailsMetricType,
    						"pricingPlanKey": subscriptionSubscriptionDetailsBillingDetailsPricingPlanKey,
    						"rateAllocation": subscriptionSubscriptionDetailsBillingDetailsRateAllocation,
    						"sku":            subscriptionSubscriptionDetailsBillingDetailsSku,
    						"hasGovSku":      subscriptionSubscriptionDetailsBillingDetailsHasGovSku,
    					},
    				},
    				PartnerRegistrationUrl: pulumi.Any(subscriptionSubscriptionDetailsPartnerRegistrationUrl),
    				PricingPlan: &oci.SelfSubscriptionSubscriptionDetailsPricingPlanArgs{
    					BillingFrequency: pulumi.Any(subscriptionSubscriptionDetailsPricingPlanBillingFrequency),
    					PlanName:         pulumi.Any(subscriptionSubscriptionDetailsPricingPlanPlanName),
    					PlanType:         pulumi.Any(subscriptionSubscriptionDetailsPricingPlanPlanType),
    					Rates: oci.SelfSubscriptionSubscriptionDetailsPricingPlanRateArray{
    						&oci.SelfSubscriptionSubscriptionDetailsPricingPlanRateArgs{
    							Currency: pulumi.Any(subscriptionSubscriptionDetailsPricingPlanRatesCurrency),
    							Rate:     pulumi.Any(subscriptionSubscriptionDetailsPricingPlanRatesRate),
    						},
    					},
    					Dimensions: oci.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionArray{
    						&oci.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionArgs{
    							DimensionBillingFrequency: pulumi.Any(subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionBillingFrequency),
    							DimensionDescription:      pulumi.Any(subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionDescription),
    							DimensionKey:              pulumi.Any(subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionKey),
    							DimensionName:             pulumi.Any(subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionName),
    							MetricType:                pulumi.Any(subscriptionSubscriptionDetailsPricingPlanDimensionsMetricType),
    							Rates: oci.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRateArray{
    								&oci.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRateArgs{
    									Currency: pulumi.Any(subscriptionSubscriptionDetailsPricingPlanDimensionsRatesCurrency),
    									Rate:     pulumi.Any(subscriptionSubscriptionDetailsPricingPlanDimensionsRatesRate),
    								},
    							},
    							IncludedQuantity: pulumi.Any(subscriptionSubscriptionDetailsPricingPlanDimensionsIncludedQuantity),
    						},
    					},
    					PlanDescription: pulumi.Any(subscriptionSubscriptionDetailsPricingPlanPlanDescription),
    					PlanDuration:    pulumi.Any(subscriptionSubscriptionDetailsPricingPlanPlanDuration),
    				},
    				Amount:      pulumi.Any(subscriptionSubscriptionDetailsAmount),
    				Currency:    pulumi.Any(subscriptionSubscriptionDetailsCurrency),
    				IsAutoRenew: pulumi.Any(subscriptionSubscriptionDetailsIsAutoRenew),
    			},
    			TenantId: pulumi.Any(testTenant.Id),
    			AdditionalDetails: oci.SelfSubscriptionAdditionalDetailArray{
    				&oci.SelfSubscriptionAdditionalDetailArgs{
    					Key:   pulumi.Any(subscriptionAdditionalDetailsKey),
    					Value: pulumi.Any(subscriptionAdditionalDetailsValue),
    				},
    			},
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DisplayName: pulumi.Any(subscriptionDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			Realm:      pulumi.Any(subscriptionRealm),
    			Region:     pulumi.Any(subscriptionRegion),
    			SourceType: pulumi.Any(subscriptionSourceType),
    		})
    		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 testSubscription = new Oci.Oci.SelfSubscription("test_subscription", new()
        {
            CompartmentId = compartmentId,
            ProductId = testProduct.Id,
            SellerId = testSeller.Id,
            SubscriptionDetails = new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsArgs
            {
                BillingDetails = new[]
                {
                    
                    {
                        { "billingModel", subscriptionSubscriptionDetailsBillingDetailsBillingModel },
                        { "meters", new[]
                        {
                            
                            {
                                { "name", subscriptionSubscriptionDetailsBillingDetailsMetersName },
                                { "rateAllocation", subscriptionSubscriptionDetailsBillingDetailsMetersRateAllocation },
                                { "extendedMetadatas", new[]
                                {
                                    
                                    {
                                        { "key", subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataKey },
                                        { "value", subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataValue },
                                    },
                                } },
                            },
                        } },
                        { "metricType", subscriptionSubscriptionDetailsBillingDetailsMetricType },
                        { "pricingPlanKey", subscriptionSubscriptionDetailsBillingDetailsPricingPlanKey },
                        { "rateAllocation", subscriptionSubscriptionDetailsBillingDetailsRateAllocation },
                        { "sku", subscriptionSubscriptionDetailsBillingDetailsSku },
                        { "hasGovSku", subscriptionSubscriptionDetailsBillingDetailsHasGovSku },
                    },
                },
                PartnerRegistrationUrl = subscriptionSubscriptionDetailsPartnerRegistrationUrl,
                PricingPlan = new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsPricingPlanArgs
                {
                    BillingFrequency = subscriptionSubscriptionDetailsPricingPlanBillingFrequency,
                    PlanName = subscriptionSubscriptionDetailsPricingPlanPlanName,
                    PlanType = subscriptionSubscriptionDetailsPricingPlanPlanType,
                    Rates = new[]
                    {
                        new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsPricingPlanRateArgs
                        {
                            Currency = subscriptionSubscriptionDetailsPricingPlanRatesCurrency,
                            Rate = subscriptionSubscriptionDetailsPricingPlanRatesRate,
                        },
                    },
                    Dimensions = new[]
                    {
                        new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionArgs
                        {
                            DimensionBillingFrequency = subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionBillingFrequency,
                            DimensionDescription = subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionDescription,
                            DimensionKey = subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionKey,
                            DimensionName = subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionName,
                            MetricType = subscriptionSubscriptionDetailsPricingPlanDimensionsMetricType,
                            Rates = new[]
                            {
                                new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRateArgs
                                {
                                    Currency = subscriptionSubscriptionDetailsPricingPlanDimensionsRatesCurrency,
                                    Rate = subscriptionSubscriptionDetailsPricingPlanDimensionsRatesRate,
                                },
                            },
                            IncludedQuantity = subscriptionSubscriptionDetailsPricingPlanDimensionsIncludedQuantity,
                        },
                    },
                    PlanDescription = subscriptionSubscriptionDetailsPricingPlanPlanDescription,
                    PlanDuration = subscriptionSubscriptionDetailsPricingPlanPlanDuration,
                },
                Amount = subscriptionSubscriptionDetailsAmount,
                Currency = subscriptionSubscriptionDetailsCurrency,
                IsAutoRenew = subscriptionSubscriptionDetailsIsAutoRenew,
            },
            TenantId = testTenant.Id,
            AdditionalDetails = new[]
            {
                new Oci.Oci.Inputs.SelfSubscriptionAdditionalDetailArgs
                {
                    Key = subscriptionAdditionalDetailsKey,
                    Value = subscriptionAdditionalDetailsValue,
                },
            },
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = subscriptionDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            Realm = subscriptionRealm,
            Region = subscriptionRegion,
            SourceType = subscriptionSourceType,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.SelfSubscription;
    import com.pulumi.oci.oci.SelfSubscriptionArgs;
    import com.pulumi.oci.oci.inputs.SelfSubscriptionSubscriptionDetailsArgs;
    import com.pulumi.oci.oci.inputs.SelfSubscriptionSubscriptionDetailsPricingPlanArgs;
    import com.pulumi.oci.oci.inputs.SelfSubscriptionSubscriptionDetailsPricingPlanRateArgs;
    import com.pulumi.oci.oci.inputs.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionArgs;
    import com.pulumi.oci.oci.inputs.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRateArgs;
    import com.pulumi.oci.oci.inputs.SelfSubscriptionAdditionalDetailArgs;
    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) {
            var testSubscription = new SelfSubscription("testSubscription", SelfSubscriptionArgs.builder()
                .compartmentId(compartmentId)
                .productId(testProduct.get("id"))
                .sellerId(testSeller.get("id"))
                .subscriptionDetails(SelfSubscriptionSubscriptionDetailsArgs.builder()
                    .billingDetails(com.pulumi.oci.oci.inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsArgs.builder()
                        .billingModel(subscriptionSubscriptionDetailsBillingDetailsBillingModel)
                        .meters(com.pulumi.oci.oci.inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArgs.builder()
                            .name(subscriptionSubscriptionDetailsBillingDetailsMetersName)
                            .rateAllocation(subscriptionSubscriptionDetailsBillingDetailsMetersRateAllocation)
                            .extendedMetadatas(com.pulumi.oci.oci.inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArgs.builder()
                                .key(subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataKey)
                                .value(subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataValue)
                                .build())
                            .build())
                        .metricType(subscriptionSubscriptionDetailsBillingDetailsMetricType)
                        .pricingPlanKey(subscriptionSubscriptionDetailsBillingDetailsPricingPlanKey)
                        .rateAllocation(subscriptionSubscriptionDetailsBillingDetailsRateAllocation)
                        .sku(subscriptionSubscriptionDetailsBillingDetailsSku)
                        .hasGovSku(subscriptionSubscriptionDetailsBillingDetailsHasGovSku)
                        .build())
                    .partnerRegistrationUrl(subscriptionSubscriptionDetailsPartnerRegistrationUrl)
                    .pricingPlan(SelfSubscriptionSubscriptionDetailsPricingPlanArgs.builder()
                        .billingFrequency(subscriptionSubscriptionDetailsPricingPlanBillingFrequency)
                        .planName(subscriptionSubscriptionDetailsPricingPlanPlanName)
                        .planType(subscriptionSubscriptionDetailsPricingPlanPlanType)
                        .rates(SelfSubscriptionSubscriptionDetailsPricingPlanRateArgs.builder()
                            .currency(subscriptionSubscriptionDetailsPricingPlanRatesCurrency)
                            .rate(subscriptionSubscriptionDetailsPricingPlanRatesRate)
                            .build())
                        .dimensions(SelfSubscriptionSubscriptionDetailsPricingPlanDimensionArgs.builder()
                            .dimensionBillingFrequency(subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionBillingFrequency)
                            .dimensionDescription(subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionDescription)
                            .dimensionKey(subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionKey)
                            .dimensionName(subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionName)
                            .metricType(subscriptionSubscriptionDetailsPricingPlanDimensionsMetricType)
                            .rates(SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRateArgs.builder()
                                .currency(subscriptionSubscriptionDetailsPricingPlanDimensionsRatesCurrency)
                                .rate(subscriptionSubscriptionDetailsPricingPlanDimensionsRatesRate)
                                .build())
                            .includedQuantity(subscriptionSubscriptionDetailsPricingPlanDimensionsIncludedQuantity)
                            .build())
                        .planDescription(subscriptionSubscriptionDetailsPricingPlanPlanDescription)
                        .planDuration(subscriptionSubscriptionDetailsPricingPlanPlanDuration)
                        .build())
                    .amount(subscriptionSubscriptionDetailsAmount)
                    .currency(subscriptionSubscriptionDetailsCurrency)
                    .isAutoRenew(subscriptionSubscriptionDetailsIsAutoRenew)
                    .build())
                .tenantId(testTenant.get("id"))
                .additionalDetails(SelfSubscriptionAdditionalDetailArgs.builder()
                    .key(subscriptionAdditionalDetailsKey)
                    .value(subscriptionAdditionalDetailsValue)
                    .build())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(subscriptionDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .realm(subscriptionRealm)
                .region(subscriptionRegion)
                .sourceType(subscriptionSourceType)
                .build());
    
        }
    }
    
    resources:
      testSubscription:
        type: oci:oci:SelfSubscription
        name: test_subscription
        properties:
          compartmentId: ${compartmentId}
          productId: ${testProduct.id}
          sellerId: ${testSeller.id}
          subscriptionDetails:
            billingDetails:
              - billingModel: ${subscriptionSubscriptionDetailsBillingDetailsBillingModel}
                meters:
                  - name: ${subscriptionSubscriptionDetailsBillingDetailsMetersName}
                    rateAllocation: ${subscriptionSubscriptionDetailsBillingDetailsMetersRateAllocation}
                    extendedMetadatas:
                      - key: ${subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataKey}
                        value: ${subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataValue}
                metricType: ${subscriptionSubscriptionDetailsBillingDetailsMetricType}
                pricingPlanKey: ${subscriptionSubscriptionDetailsBillingDetailsPricingPlanKey}
                rateAllocation: ${subscriptionSubscriptionDetailsBillingDetailsRateAllocation}
                sku: ${subscriptionSubscriptionDetailsBillingDetailsSku}
                hasGovSku: ${subscriptionSubscriptionDetailsBillingDetailsHasGovSku}
            partnerRegistrationUrl: ${subscriptionSubscriptionDetailsPartnerRegistrationUrl}
            pricingPlan:
              billingFrequency: ${subscriptionSubscriptionDetailsPricingPlanBillingFrequency}
              planName: ${subscriptionSubscriptionDetailsPricingPlanPlanName}
              planType: ${subscriptionSubscriptionDetailsPricingPlanPlanType}
              rates:
                - currency: ${subscriptionSubscriptionDetailsPricingPlanRatesCurrency}
                  rate: ${subscriptionSubscriptionDetailsPricingPlanRatesRate}
              dimensions:
                - dimensionBillingFrequency: ${subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionBillingFrequency}
                  dimensionDescription: ${subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionDescription}
                  dimensionKey: ${subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionKey}
                  dimensionName: ${subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionName}
                  metricType: ${subscriptionSubscriptionDetailsPricingPlanDimensionsMetricType}
                  rates:
                    - currency: ${subscriptionSubscriptionDetailsPricingPlanDimensionsRatesCurrency}
                      rate: ${subscriptionSubscriptionDetailsPricingPlanDimensionsRatesRate}
                  includedQuantity: ${subscriptionSubscriptionDetailsPricingPlanDimensionsIncludedQuantity}
              planDescription: ${subscriptionSubscriptionDetailsPricingPlanPlanDescription}
              planDuration: ${subscriptionSubscriptionDetailsPricingPlanPlanDuration}
            amount: ${subscriptionSubscriptionDetailsAmount}
            currency: ${subscriptionSubscriptionDetailsCurrency}
            isAutoRenew: ${subscriptionSubscriptionDetailsIsAutoRenew}
          tenantId: ${testTenant.id}
          additionalDetails:
            - key: ${subscriptionAdditionalDetailsKey}
              value: ${subscriptionAdditionalDetailsValue}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${subscriptionDisplayName}
          freeformTags:
            Department: Finance
          realm: ${subscriptionRealm}
          region: ${subscriptionRegion}
          sourceType: ${subscriptionSourceType}
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_oci_self_subscription" "test_subscription" {
      lifecycle {
        create_before_destroy = true
      }
      compartment_id = compartmentId
      product_id     = testProduct.id
      seller_id      = testSeller.id
      subscription_details = {
        billing_details = [{
          "billingModel" = subscriptionSubscriptionDetailsBillingDetailsBillingModel
          "meters" = [{
            "name"           = subscriptionSubscriptionDetailsBillingDetailsMetersName
            "rateAllocation" = subscriptionSubscriptionDetailsBillingDetailsMetersRateAllocation
            "extendedMetadatas" = [{
              "key"   = subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataKey
              "value" = subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataValue
            }]
          }]
          "metricType"     = subscriptionSubscriptionDetailsBillingDetailsMetricType
          "pricingPlanKey" = subscriptionSubscriptionDetailsBillingDetailsPricingPlanKey
          "rateAllocation" = subscriptionSubscriptionDetailsBillingDetailsRateAllocation
          "sku"            = subscriptionSubscriptionDetailsBillingDetailsSku
          "hasGovSku"      = subscriptionSubscriptionDetailsBillingDetailsHasGovSku
        }]
        partner_registration_url = subscriptionSubscriptionDetailsPartnerRegistrationUrl
        pricing_plan = {
          billing_frequency = subscriptionSubscriptionDetailsPricingPlanBillingFrequency
          plan_name         = subscriptionSubscriptionDetailsPricingPlanPlanName
          plan_type         = subscriptionSubscriptionDetailsPricingPlanPlanType
          rates = [{
            currency = subscriptionSubscriptionDetailsPricingPlanRatesCurrency
            rate     = subscriptionSubscriptionDetailsPricingPlanRatesRate
          }]
          dimensions = [{
            dimension_billing_frequency = subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionBillingFrequency
            dimension_description       = subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionDescription
            dimension_key               = subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionKey
            dimension_name              = subscriptionSubscriptionDetailsPricingPlanDimensionsDimensionName
            metric_type                 = subscriptionSubscriptionDetailsPricingPlanDimensionsMetricType
            rates = [{
              currency = subscriptionSubscriptionDetailsPricingPlanDimensionsRatesCurrency
              rate     = subscriptionSubscriptionDetailsPricingPlanDimensionsRatesRate
            }]
            included_quantity = subscriptionSubscriptionDetailsPricingPlanDimensionsIncludedQuantity
          }]
          plan_description = subscriptionSubscriptionDetailsPricingPlanPlanDescription
          plan_duration    = subscriptionSubscriptionDetailsPricingPlanPlanDuration
        }
        amount        = subscriptionSubscriptionDetailsAmount
        currency      = subscriptionSubscriptionDetailsCurrency
        is_auto_renew = subscriptionSubscriptionDetailsIsAutoRenew
      }
      #Required
      #Required
      #Required
      #Optional
      #Required
      #Required
      #Required
      #Required
      #Optional
      #Optional
      tenant_id = testTenant.id
      additional_details {
        key   = subscriptionAdditionalDetailsKey
        value = subscriptionAdditionalDetailsValue
      }
      #Required
      defined_tags = {
        "Operations.CostCenter" = "42"
      }
      display_name = subscriptionDisplayName
      freeform_tags = {
        "Department" = "Finance"
      }
      realm       = subscriptionRealm
      region      = subscriptionRegion
      source_type = subscriptionSourceType
    }
    

    Create SelfSubscription Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SelfSubscription(name: string, args: SelfSubscriptionArgs, opts?: CustomResourceOptions);
    @overload
    def SelfSubscription(resource_name: str,
                         args: SelfSubscriptionArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def SelfSubscription(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         compartment_id: Optional[str] = None,
                         product_id: Optional[str] = None,
                         seller_id: Optional[str] = None,
                         subscription_details: Optional[SelfSubscriptionSubscriptionDetailsArgs] = None,
                         tenant_id: Optional[str] = None,
                         additional_details: Optional[Sequence[SelfSubscriptionAdditionalDetailArgs]] = None,
                         defined_tags: Optional[Mapping[str, str]] = None,
                         display_name: Optional[str] = None,
                         freeform_tags: Optional[Mapping[str, str]] = None,
                         realm: Optional[str] = None,
                         region: Optional[str] = None,
                         source_type: Optional[str] = None)
    func NewSelfSubscription(ctx *Context, name string, args SelfSubscriptionArgs, opts ...ResourceOption) (*SelfSubscription, error)
    public SelfSubscription(string name, SelfSubscriptionArgs args, CustomResourceOptions? opts = null)
    public SelfSubscription(String name, SelfSubscriptionArgs args)
    public SelfSubscription(String name, SelfSubscriptionArgs args, CustomResourceOptions options)
    
    type: oci:oci:SelfSubscription
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_oci_self_subscription" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args SelfSubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SelfSubscriptionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SelfSubscriptionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SelfSubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SelfSubscriptionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var selfSubscriptionResource = new Oci.Oci.SelfSubscription("selfSubscriptionResource", new()
    {
        CompartmentId = "string",
        ProductId = "string",
        SellerId = "string",
        SubscriptionDetails = new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsArgs
        {
            BillingDetails = new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsArgs
            {
                BillingModel = "string",
                Meters = new[]
                {
                    new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArgs
                    {
                        Name = "string",
                        RateAllocation = 0.0,
                        ExtendedMetadatas = new[]
                        {
                            new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArgs
                            {
                                Key = "string",
                                Value = "string",
                            },
                        },
                    },
                },
                MetricType = "string",
                PricingPlanKey = "string",
                RateAllocation = 0.0,
                Sku = "string",
                HasGovSku = false,
            },
            PartnerRegistrationUrl = "string",
            PricingPlan = new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsPricingPlanArgs
            {
                BillingFrequency = "string",
                PlanName = "string",
                PlanType = "string",
                Rates = new[]
                {
                    new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsPricingPlanRateArgs
                    {
                        Currency = "string",
                        Rate = 0.0,
                    },
                },
                Dimensions = new[]
                {
                    new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionArgs
                    {
                        DimensionBillingFrequency = "string",
                        DimensionDescription = "string",
                        DimensionKey = "string",
                        DimensionName = "string",
                        MetricType = "string",
                        Rates = new[]
                        {
                            new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRateArgs
                            {
                                Currency = "string",
                                Rate = 0.0,
                            },
                        },
                        IncludedQuantity = 0.0,
                    },
                },
                PlanDescription = "string",
                PlanDuration = "string",
            },
            Amount = 0.0,
            Currency = "string",
            IsAutoRenew = false,
        },
        TenantId = "string",
        AdditionalDetails = new[]
        {
            new Oci.Oci.Inputs.SelfSubscriptionAdditionalDetailArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        Realm = "string",
        Region = "string",
        SourceType = "string",
    });
    
    example, err := oci.NewSelfSubscription(ctx, "selfSubscriptionResource", &oci.SelfSubscriptionArgs{
    	CompartmentId: pulumi.String("string"),
    	ProductId:     pulumi.String("string"),
    	SellerId:      pulumi.String("string"),
    	SubscriptionDetails: &oci.SelfSubscriptionSubscriptionDetailsArgs{
    		BillingDetails: &oci.SelfSubscriptionSubscriptionDetailsBillingDetailsArgs{
    			BillingModel: pulumi.String("string"),
    			Meters: oci.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArray{
    				&oci.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArgs{
    					Name:           pulumi.String("string"),
    					RateAllocation: pulumi.Float64(0),
    					ExtendedMetadatas: oci.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArray{
    						&oci.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArgs{
    							Key:   pulumi.String("string"),
    							Value: pulumi.String("string"),
    						},
    					},
    				},
    			},
    			MetricType:     pulumi.String("string"),
    			PricingPlanKey: pulumi.String("string"),
    			RateAllocation: pulumi.Float64(0),
    			Sku:            pulumi.String("string"),
    			HasGovSku:      pulumi.Bool(false),
    		},
    		PartnerRegistrationUrl: pulumi.String("string"),
    		PricingPlan: &oci.SelfSubscriptionSubscriptionDetailsPricingPlanArgs{
    			BillingFrequency: pulumi.String("string"),
    			PlanName:         pulumi.String("string"),
    			PlanType:         pulumi.String("string"),
    			Rates: oci.SelfSubscriptionSubscriptionDetailsPricingPlanRateArray{
    				&oci.SelfSubscriptionSubscriptionDetailsPricingPlanRateArgs{
    					Currency: pulumi.String("string"),
    					Rate:     pulumi.Float64(0),
    				},
    			},
    			Dimensions: oci.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionArray{
    				&oci.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionArgs{
    					DimensionBillingFrequency: pulumi.String("string"),
    					DimensionDescription:      pulumi.String("string"),
    					DimensionKey:              pulumi.String("string"),
    					DimensionName:             pulumi.String("string"),
    					MetricType:                pulumi.String("string"),
    					Rates: oci.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRateArray{
    						&oci.SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRateArgs{
    							Currency: pulumi.String("string"),
    							Rate:     pulumi.Float64(0),
    						},
    					},
    					IncludedQuantity: pulumi.Float64(0),
    				},
    			},
    			PlanDescription: pulumi.String("string"),
    			PlanDuration:    pulumi.String("string"),
    		},
    		Amount:      pulumi.Float64(0),
    		Currency:    pulumi.String("string"),
    		IsAutoRenew: pulumi.Bool(false),
    	},
    	TenantId: pulumi.String("string"),
    	AdditionalDetails: oci.SelfSubscriptionAdditionalDetailArray{
    		&oci.SelfSubscriptionAdditionalDetailArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Realm:      pulumi.String("string"),
    	Region:     pulumi.String("string"),
    	SourceType: pulumi.String("string"),
    })
    
    resource "oci_oci_self_subscription" "selfSubscriptionResource" {
      lifecycle {
        create_before_destroy = true
      }
      compartment_id = "string"
      product_id     = "string"
      seller_id      = "string"
      subscription_details = {
        billing_details = {
          billing_model = "string"
          meters = [{
            name            = "string"
            rate_allocation = 0
            extended_metadatas = [{
              key   = "string"
              value = "string"
            }]
          }]
          metric_type      = "string"
          pricing_plan_key = "string"
          rate_allocation  = 0
          sku              = "string"
          has_gov_sku      = false
        }
        partner_registration_url = "string"
        pricing_plan = {
          billing_frequency = "string"
          plan_name         = "string"
          plan_type         = "string"
          rates = [{
            currency = "string"
            rate     = 0
          }]
          dimensions = [{
            dimension_billing_frequency = "string"
            dimension_description       = "string"
            dimension_key               = "string"
            dimension_name              = "string"
            metric_type                 = "string"
            rates = [{
              currency = "string"
              rate     = 0
            }]
            included_quantity = 0
          }]
          plan_description = "string"
          plan_duration    = "string"
        }
        amount        = 0
        currency      = "string"
        is_auto_renew = false
      }
      tenant_id = "string"
      additional_details {
        key   = "string"
        value = "string"
      }
      defined_tags = {
        "string" = "string"
      }
      display_name = "string"
      freeform_tags = {
        "string" = "string"
      }
      realm       = "string"
      region      = "string"
      source_type = "string"
    }
    
    var selfSubscriptionResource = new SelfSubscription("selfSubscriptionResource", SelfSubscriptionArgs.builder()
        .compartmentId("string")
        .productId("string")
        .sellerId("string")
        .subscriptionDetails(SelfSubscriptionSubscriptionDetailsArgs.builder()
            .billingDetails(SelfSubscriptionSubscriptionDetailsBillingDetailsArgs.builder()
                .billingModel("string")
                .meters(SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArgs.builder()
                    .name("string")
                    .rateAllocation(0.0)
                    .extendedMetadatas(SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArgs.builder()
                        .key("string")
                        .value("string")
                        .build())
                    .build())
                .metricType("string")
                .pricingPlanKey("string")
                .rateAllocation(0.0)
                .sku("string")
                .hasGovSku(false)
                .build())
            .partnerRegistrationUrl("string")
            .pricingPlan(SelfSubscriptionSubscriptionDetailsPricingPlanArgs.builder()
                .billingFrequency("string")
                .planName("string")
                .planType("string")
                .rates(SelfSubscriptionSubscriptionDetailsPricingPlanRateArgs.builder()
                    .currency("string")
                    .rate(0.0)
                    .build())
                .dimensions(SelfSubscriptionSubscriptionDetailsPricingPlanDimensionArgs.builder()
                    .dimensionBillingFrequency("string")
                    .dimensionDescription("string")
                    .dimensionKey("string")
                    .dimensionName("string")
                    .metricType("string")
                    .rates(SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRateArgs.builder()
                        .currency("string")
                        .rate(0.0)
                        .build())
                    .includedQuantity(0.0)
                    .build())
                .planDescription("string")
                .planDuration("string")
                .build())
            .amount(0.0)
            .currency("string")
            .isAutoRenew(false)
            .build())
        .tenantId("string")
        .additionalDetails(SelfSubscriptionAdditionalDetailArgs.builder()
            .key("string")
            .value("string")
            .build())
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .realm("string")
        .region("string")
        .sourceType("string")
        .build());
    
    self_subscription_resource = oci.oci.SelfSubscription("selfSubscriptionResource",
        compartment_id="string",
        product_id="string",
        seller_id="string",
        subscription_details={
            "billing_details": {
                "billing_model": "string",
                "meters": [{
                    "name": "string",
                    "rate_allocation": float(0),
                    "extended_metadatas": [{
                        "key": "string",
                        "value": "string",
                    }],
                }],
                "metric_type": "string",
                "pricing_plan_key": "string",
                "rate_allocation": float(0),
                "sku": "string",
                "has_gov_sku": False,
            },
            "partner_registration_url": "string",
            "pricing_plan": {
                "billing_frequency": "string",
                "plan_name": "string",
                "plan_type": "string",
                "rates": [{
                    "currency": "string",
                    "rate": float(0),
                }],
                "dimensions": [{
                    "dimension_billing_frequency": "string",
                    "dimension_description": "string",
                    "dimension_key": "string",
                    "dimension_name": "string",
                    "metric_type": "string",
                    "rates": [{
                        "currency": "string",
                        "rate": float(0),
                    }],
                    "included_quantity": float(0),
                }],
                "plan_description": "string",
                "plan_duration": "string",
            },
            "amount": float(0),
            "currency": "string",
            "is_auto_renew": False,
        },
        tenant_id="string",
        additional_details=[{
            "key": "string",
            "value": "string",
        }],
        defined_tags={
            "string": "string",
        },
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        realm="string",
        region="string",
        source_type="string")
    
    const selfSubscriptionResource = new oci.oci.SelfSubscription("selfSubscriptionResource", {
        compartmentId: "string",
        productId: "string",
        sellerId: "string",
        subscriptionDetails: {
            billingDetails: {
                billingModel: "string",
                meters: [{
                    name: "string",
                    rateAllocation: 0,
                    extendedMetadatas: [{
                        key: "string",
                        value: "string",
                    }],
                }],
                metricType: "string",
                pricingPlanKey: "string",
                rateAllocation: 0,
                sku: "string",
                hasGovSku: false,
            },
            partnerRegistrationUrl: "string",
            pricingPlan: {
                billingFrequency: "string",
                planName: "string",
                planType: "string",
                rates: [{
                    currency: "string",
                    rate: 0,
                }],
                dimensions: [{
                    dimensionBillingFrequency: "string",
                    dimensionDescription: "string",
                    dimensionKey: "string",
                    dimensionName: "string",
                    metricType: "string",
                    rates: [{
                        currency: "string",
                        rate: 0,
                    }],
                    includedQuantity: 0,
                }],
                planDescription: "string",
                planDuration: "string",
            },
            amount: 0,
            currency: "string",
            isAutoRenew: false,
        },
        tenantId: "string",
        additionalDetails: [{
            key: "string",
            value: "string",
        }],
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        realm: "string",
        region: "string",
        sourceType: "string",
    });
    
    type: oci:oci:SelfSubscription
    properties:
        additionalDetails:
            - key: string
              value: string
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        productId: string
        realm: string
        region: string
        sellerId: string
        sourceType: string
        subscriptionDetails:
            amount: 0
            billingDetails:
                billingModel: string
                hasGovSku: false
                meters:
                    - extendedMetadatas:
                        - key: string
                          value: string
                      name: string
                      rateAllocation: 0
                metricType: string
                pricingPlanKey: string
                rateAllocation: 0
                sku: string
            currency: string
            isAutoRenew: false
            partnerRegistrationUrl: string
            pricingPlan:
                billingFrequency: string
                dimensions:
                    - dimensionBillingFrequency: string
                      dimensionDescription: string
                      dimensionKey: string
                      dimensionName: string
                      includedQuantity: 0
                      metricType: string
                      rates:
                        - currency: string
                          rate: 0
                planDescription: string
                planDuration: string
                planName: string
                planType: string
                rates:
                    - currency: string
                      rate: 0
        tenantId: string
    

    SelfSubscription Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SelfSubscription resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment to create the subscription in.
    ProductId string
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    SellerId string
    The OCID for the seller in SELF Service.
    SubscriptionDetails SelfSubscriptionSubscriptionDetails
    The details of a subscription
    TenantId string

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AdditionalDetails List<SelfSubscriptionAdditionalDetail>
    Additional details that are specific for this subscription such as activation details.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    Realm string
    The realm from where customer is buying the subscription.
    Region string
    The region from where customer is buying the subscription.
    SourceType string
    The type of seller in SELF Service.
    CompartmentId string
    (Updatable) The OCID of the compartment to create the subscription in.
    ProductId string
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    SellerId string
    The OCID for the seller in SELF Service.
    SubscriptionDetails SelfSubscriptionSubscriptionDetailsArgs
    The details of a subscription
    TenantId string

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AdditionalDetails []SelfSubscriptionAdditionalDetailArgs
    Additional details that are specific for this subscription such as activation details.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    FreeformTags map[string]string
    (Updatable) 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"}
    Realm string
    The realm from where customer is buying the subscription.
    Region string
    The region from where customer is buying the subscription.
    SourceType string
    The type of seller in SELF Service.
    compartment_id string
    (Updatable) The OCID of the compartment to create the subscription in.
    product_id string
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    seller_id string
    The OCID for the seller in SELF Service.
    subscription_details object
    The details of a subscription
    tenant_id string

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    additional_details list(object)
    Additional details that are specific for this subscription such as activation details.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name string
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    freeform_tags map(string)
    (Updatable) 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"}
    realm string
    The realm from where customer is buying the subscription.
    region string
    The region from where customer is buying the subscription.
    source_type string
    The type of seller in SELF Service.
    compartmentId String
    (Updatable) The OCID of the compartment to create the subscription in.
    productId String
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    sellerId String
    The OCID for the seller in SELF Service.
    subscriptionDetails SelfSubscriptionSubscriptionDetails
    The details of a subscription
    tenantId String

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    additionalDetails List<SelfSubscriptionAdditionalDetail>
    Additional details that are specific for this subscription such as activation details.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    freeformTags Map<String,String>
    (Updatable) 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"}
    realm String
    The realm from where customer is buying the subscription.
    region String
    The region from where customer is buying the subscription.
    sourceType String
    The type of seller in SELF Service.
    compartmentId string
    (Updatable) The OCID of the compartment to create the subscription in.
    productId string
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    sellerId string
    The OCID for the seller in SELF Service.
    subscriptionDetails SelfSubscriptionSubscriptionDetails
    The details of a subscription
    tenantId string

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    additionalDetails SelfSubscriptionAdditionalDetail[]
    Additional details that are specific for this subscription such as activation details.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    realm string
    The realm from where customer is buying the subscription.
    region string
    The region from where customer is buying the subscription.
    sourceType string
    The type of seller in SELF Service.
    compartment_id str
    (Updatable) The OCID of the compartment to create the subscription in.
    product_id str
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    seller_id str
    The OCID for the seller in SELF Service.
    subscription_details SelfSubscriptionSubscriptionDetailsArgs
    The details of a subscription
    tenant_id str

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    additional_details Sequence[SelfSubscriptionAdditionalDetailArgs]
    Additional details that are specific for this subscription such as activation details.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    realm str
    The realm from where customer is buying the subscription.
    region str
    The region from where customer is buying the subscription.
    source_type str
    The type of seller in SELF Service.
    compartmentId String
    (Updatable) The OCID of the compartment to create the subscription in.
    productId String
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    sellerId String
    The OCID for the seller in SELF Service.
    subscriptionDetails Property Map
    The details of a subscription
    tenantId String

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    additionalDetails List<Property Map>
    Additional details that are specific for this subscription such as activation details.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    freeformTags Map<String>
    (Updatable) 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"}
    realm String
    The realm from where customer is buying the subscription.
    region String
    The region from where customer is buying the subscription.
    sourceType String
    The type of seller in SELF Service.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SelfSubscription resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    State string
    The current lifecycle state of the Subscription.
    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. Example: 2016-08-25T21:10:29.600Z
    TimeEnded string
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeStarted string
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    State string
    The current lifecycle state of the Subscription.
    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. Example: 2016-08-25T21:10:29.600Z
    TimeEnded string
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeStarted string
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycle_details string
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    state string
    The current lifecycle state of the Subscription.
    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 the Subscription was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_ended string
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_started string
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated string
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    state String
    The current lifecycle state of the Subscription.
    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. Example: 2016-08-25T21:10:29.600Z
    timeEnded String
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeStarted String
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    state string
    The current lifecycle state of the Subscription.
    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. Example: 2016-08-25T21:10:29.600Z
    timeEnded string
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeStarted string
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    state str
    The current lifecycle state of the Subscription.
    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. Example: 2016-08-25T21:10:29.600Z
    time_ended str
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_started str
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    state String
    The current lifecycle state of the Subscription.
    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. Example: 2016-08-25T21:10:29.600Z
    timeEnded String
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeStarted String
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing SelfSubscription Resource

    Get an existing SelfSubscription resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SelfSubscriptionState, opts?: CustomResourceOptions): SelfSubscription
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            additional_details: Optional[Sequence[SelfSubscriptionAdditionalDetailArgs]] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            lifecycle_details: Optional[str] = None,
            product_id: Optional[str] = None,
            realm: Optional[str] = None,
            region: Optional[str] = None,
            seller_id: Optional[str] = None,
            source_type: Optional[str] = None,
            state: Optional[str] = None,
            subscription_details: Optional[SelfSubscriptionSubscriptionDetailsArgs] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            tenant_id: Optional[str] = None,
            time_created: Optional[str] = None,
            time_ended: Optional[str] = None,
            time_started: Optional[str] = None,
            time_updated: Optional[str] = None) -> SelfSubscription
    func GetSelfSubscription(ctx *Context, name string, id IDInput, state *SelfSubscriptionState, opts ...ResourceOption) (*SelfSubscription, error)
    public static SelfSubscription Get(string name, Input<string> id, SelfSubscriptionState? state, CustomResourceOptions? opts = null)
    public static SelfSubscription get(String name, Output<String> id, SelfSubscriptionState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:SelfSubscription    get:      id: ${id}
    import {
      to = oci_oci_self_subscription.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdditionalDetails List<SelfSubscriptionAdditionalDetail>
    Additional details that are specific for this subscription such as activation details.
    CompartmentId string
    (Updatable) The OCID of the compartment to create the subscription in.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    LifecycleDetails string
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    ProductId string
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    Realm string
    The realm from where customer is buying the subscription.
    Region string
    The region from where customer is buying the subscription.
    SellerId string
    The OCID for the seller in SELF Service.
    SourceType string
    The type of seller in SELF Service.
    State string
    The current lifecycle state of the Subscription.
    SubscriptionDetails SelfSubscriptionSubscriptionDetails
    The details of a subscription
    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"}
    TenantId string

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    TimeCreated string
    The date and time the Subscription was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeEnded string
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeStarted string
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    AdditionalDetails []SelfSubscriptionAdditionalDetailArgs
    Additional details that are specific for this subscription such as activation details.
    CompartmentId string
    (Updatable) The OCID of the compartment to create the subscription in.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    FreeformTags map[string]string
    (Updatable) 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"}
    LifecycleDetails string
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    ProductId string
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    Realm string
    The realm from where customer is buying the subscription.
    Region string
    The region from where customer is buying the subscription.
    SellerId string
    The OCID for the seller in SELF Service.
    SourceType string
    The type of seller in SELF Service.
    State string
    The current lifecycle state of the Subscription.
    SubscriptionDetails SelfSubscriptionSubscriptionDetailsArgs
    The details of a subscription
    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"}
    TenantId string

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    TimeCreated string
    The date and time the Subscription was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeEnded string
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeStarted string
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    additional_details list(object)
    Additional details that are specific for this subscription such as activation details.
    compartment_id string
    (Updatable) The OCID of the compartment to create the subscription in.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name string
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    freeform_tags map(string)
    (Updatable) 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_details string
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    product_id string
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    realm string
    The realm from where customer is buying the subscription.
    region string
    The region from where customer is buying the subscription.
    seller_id string
    The OCID for the seller in SELF Service.
    source_type string
    The type of seller in SELF Service.
    state string
    The current lifecycle state of the Subscription.
    subscription_details object
    The details of a subscription
    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"}
    tenant_id string

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    time_created string
    The date and time the Subscription was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_ended string
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_started string
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated string
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    additionalDetails List<SelfSubscriptionAdditionalDetail>
    Additional details that are specific for this subscription such as activation details.
    compartmentId String
    (Updatable) The OCID of the compartment to create the subscription in.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    freeformTags Map<String,String>
    (Updatable) 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"}
    lifecycleDetails String
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    productId String
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    realm String
    The realm from where customer is buying the subscription.
    region String
    The region from where customer is buying the subscription.
    sellerId String
    The OCID for the seller in SELF Service.
    sourceType String
    The type of seller in SELF Service.
    state String
    The current lifecycle state of the Subscription.
    subscriptionDetails SelfSubscriptionSubscriptionDetails
    The details of a subscription
    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"}
    tenantId String

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeCreated String
    The date and time the Subscription was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeEnded String
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeStarted String
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    additionalDetails SelfSubscriptionAdditionalDetail[]
    Additional details that are specific for this subscription such as activation details.
    compartmentId string
    (Updatable) The OCID of the compartment to create the subscription in.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    lifecycleDetails string
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    productId string
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    realm string
    The realm from where customer is buying the subscription.
    region string
    The region from where customer is buying the subscription.
    sellerId string
    The OCID for the seller in SELF Service.
    sourceType string
    The type of seller in SELF Service.
    state string
    The current lifecycle state of the Subscription.
    subscriptionDetails SelfSubscriptionSubscriptionDetails
    The details of a subscription
    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"}
    tenantId string

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeCreated string
    The date and time the Subscription was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeEnded string
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeStarted string
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    additional_details Sequence[SelfSubscriptionAdditionalDetailArgs]
    Additional details that are specific for this subscription such as activation details.
    compartment_id str
    (Updatable) The OCID of the compartment to create the subscription in.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    freeform_tags Mapping[str, str]
    (Updatable) 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_details str
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    product_id str
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    realm str
    The realm from where customer is buying the subscription.
    region str
    The region from where customer is buying the subscription.
    seller_id str
    The OCID for the seller in SELF Service.
    source_type str
    The type of seller in SELF Service.
    state str
    The current lifecycle state of the Subscription.
    subscription_details SelfSubscriptionSubscriptionDetailsArgs
    The details of a subscription
    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"}
    tenant_id str

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    time_created str
    The date and time the Subscription was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_ended str
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_started str
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    additionalDetails List<Property Map>
    Additional details that are specific for this subscription such as activation details.
    compartmentId String
    (Updatable) The OCID of the compartment to create the subscription in.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
    freeformTags Map<String>
    (Updatable) 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"}
    lifecycleDetails String
    A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    productId String
    The unique identifier of the marketplace listing in Oracle Cloud Infrastructure.
    realm String
    The realm from where customer is buying the subscription.
    region String
    The region from where customer is buying the subscription.
    sellerId String
    The OCID for the seller in SELF Service.
    sourceType String
    The type of seller in SELF Service.
    state String
    The current lifecycle state of the Subscription.
    subscriptionDetails Property Map
    The details of a subscription
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenantId String

    The OCID of the tenant to create the subscription in.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeCreated String
    The date and time the Subscription was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeEnded String
    The date and time the Subscription was ended, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeStarted String
    The date and time the Subscription was started, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Subscription was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    SelfSubscriptionAdditionalDetail, SelfSubscriptionAdditionalDetailArgs

    Key string
    Additional attribute for extendedMetadata.
    Value string
    It contains the value of above key.
    Key string
    Additional attribute for extendedMetadata.
    Value string
    It contains the value of above key.
    key string
    Additional attribute for extendedMetadata.
    value string
    It contains the value of above key.
    key String
    Additional attribute for extendedMetadata.
    value String
    It contains the value of above key.
    key string
    Additional attribute for extendedMetadata.
    value string
    It contains the value of above key.
    key str
    Additional attribute for extendedMetadata.
    value str
    It contains the value of above key.
    key String
    Additional attribute for extendedMetadata.
    value String
    It contains the value of above key.

    SelfSubscriptionSubscriptionDetails, SelfSubscriptionSubscriptionDetailsArgs

    BillingDetails SelfSubscriptionSubscriptionDetailsBillingDetails
    Billing details associated with the subscription plan and its usage dimensions.
    PartnerRegistrationUrl string
    The activation link given by the partner.
    PricingPlan SelfSubscriptionSubscriptionDetailsPricingPlan
    A pricing plan details provided by the Publisher.
    Amount double
    Tha amount for the currency type.
    Currency string
    The currency supported, in the format specified by ISO-4217
    IsAutoRenew bool
    Whether subscription should be auto-renewed at the end of cycle.
    BillingDetails SelfSubscriptionSubscriptionDetailsBillingDetails
    Billing details associated with the subscription plan and its usage dimensions.
    PartnerRegistrationUrl string
    The activation link given by the partner.
    PricingPlan SelfSubscriptionSubscriptionDetailsPricingPlan
    A pricing plan details provided by the Publisher.
    Amount float64
    Tha amount for the currency type.
    Currency string
    The currency supported, in the format specified by ISO-4217
    IsAutoRenew bool
    Whether subscription should be auto-renewed at the end of cycle.
    billing_details object
    Billing details associated with the subscription plan and its usage dimensions.
    partner_registration_url string
    The activation link given by the partner.
    pricing_plan object
    A pricing plan details provided by the Publisher.
    amount number
    Tha amount for the currency type.
    currency string
    The currency supported, in the format specified by ISO-4217
    is_auto_renew bool
    Whether subscription should be auto-renewed at the end of cycle.
    billingDetails SelfSubscriptionSubscriptionDetailsBillingDetails
    Billing details associated with the subscription plan and its usage dimensions.
    partnerRegistrationUrl String
    The activation link given by the partner.
    pricingPlan SelfSubscriptionSubscriptionDetailsPricingPlan
    A pricing plan details provided by the Publisher.
    amount Double
    Tha amount for the currency type.
    currency String
    The currency supported, in the format specified by ISO-4217
    isAutoRenew Boolean
    Whether subscription should be auto-renewed at the end of cycle.
    billingDetails SelfSubscriptionSubscriptionDetailsBillingDetails
    Billing details associated with the subscription plan and its usage dimensions.
    partnerRegistrationUrl string
    The activation link given by the partner.
    pricingPlan SelfSubscriptionSubscriptionDetailsPricingPlan
    A pricing plan details provided by the Publisher.
    amount number
    Tha amount for the currency type.
    currency string
    The currency supported, in the format specified by ISO-4217
    isAutoRenew boolean
    Whether subscription should be auto-renewed at the end of cycle.
    billing_details SelfSubscriptionSubscriptionDetailsBillingDetails
    Billing details associated with the subscription plan and its usage dimensions.
    partner_registration_url str
    The activation link given by the partner.
    pricing_plan SelfSubscriptionSubscriptionDetailsPricingPlan
    A pricing plan details provided by the Publisher.
    amount float
    Tha amount for the currency type.
    currency str
    The currency supported, in the format specified by ISO-4217
    is_auto_renew bool
    Whether subscription should be auto-renewed at the end of cycle.
    billingDetails Property Map
    Billing details associated with the subscription plan and its usage dimensions.
    partnerRegistrationUrl String
    The activation link given by the partner.
    pricingPlan Property Map
    A pricing plan details provided by the Publisher.
    amount Number
    Tha amount for the currency type.
    currency String
    The currency supported, in the format specified by ISO-4217
    isAutoRenew Boolean
    Whether subscription should be auto-renewed at the end of cycle.

    SelfSubscriptionSubscriptionDetailsBillingDetails, SelfSubscriptionSubscriptionDetailsBillingDetailsArgs

    BillingModel string
    The billing model this billing detail applies to.
    Meters List<SelfSubscriptionSubscriptionDetailsBillingDetailsMeter>
    The meters associated with sku.
    MetricType string
    The part's metric.
    PricingPlanKey string
    Unique key used to map this SKU to the pricing plan.
    RateAllocation double
    Tha rate of this sku meter.
    Sku string
    Sku for service.
    HasGovSku bool
    Whether this sku is assign to gov product.
    BillingModel string
    The billing model this billing detail applies to.
    Meters []SelfSubscriptionSubscriptionDetailsBillingDetailsMeter
    The meters associated with sku.
    MetricType string
    The part's metric.
    PricingPlanKey string
    Unique key used to map this SKU to the pricing plan.
    RateAllocation float64
    Tha rate of this sku meter.
    Sku string
    Sku for service.
    HasGovSku bool
    Whether this sku is assign to gov product.
    billing_model string
    The billing model this billing detail applies to.
    meters list(object)
    The meters associated with sku.
    metric_type string
    The part's metric.
    pricing_plan_key string
    Unique key used to map this SKU to the pricing plan.
    rate_allocation number
    Tha rate of this sku meter.
    sku string
    Sku for service.
    has_gov_sku bool
    Whether this sku is assign to gov product.
    billingModel String
    The billing model this billing detail applies to.
    meters List<SelfSubscriptionSubscriptionDetailsBillingDetailsMeter>
    The meters associated with sku.
    metricType String
    The part's metric.
    pricingPlanKey String
    Unique key used to map this SKU to the pricing plan.
    rateAllocation Double
    Tha rate of this sku meter.
    sku String
    Sku for service.
    hasGovSku Boolean
    Whether this sku is assign to gov product.
    billingModel string
    The billing model this billing detail applies to.
    meters SelfSubscriptionSubscriptionDetailsBillingDetailsMeter[]
    The meters associated with sku.
    metricType string
    The part's metric.
    pricingPlanKey string
    Unique key used to map this SKU to the pricing plan.
    rateAllocation number
    Tha rate of this sku meter.
    sku string
    Sku for service.
    hasGovSku boolean
    Whether this sku is assign to gov product.
    billing_model str
    The billing model this billing detail applies to.
    meters Sequence[SelfSubscriptionSubscriptionDetailsBillingDetailsMeter]
    The meters associated with sku.
    metric_type str
    The part's metric.
    pricing_plan_key str
    Unique key used to map this SKU to the pricing plan.
    rate_allocation float
    Tha rate of this sku meter.
    sku str
    Sku for service.
    has_gov_sku bool
    Whether this sku is assign to gov product.
    billingModel String
    The billing model this billing detail applies to.
    meters List<Property Map>
    The meters associated with sku.
    metricType String
    The part's metric.
    pricingPlanKey String
    Unique key used to map this SKU to the pricing plan.
    rateAllocation Number
    Tha rate of this sku meter.
    sku String
    Sku for service.
    hasGovSku Boolean
    Whether this sku is assign to gov product.

    SelfSubscriptionSubscriptionDetailsBillingDetailsMeter, SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArgs

    Name string
    Name of meter.
    RateAllocation double
    Tha rate of this sku meter.
    ExtendedMetadatas List<SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadata>
    Additional data give by sku.
    Name string
    Name of meter.
    RateAllocation float64
    Tha rate of this sku meter.
    ExtendedMetadatas []SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadata
    Additional data give by sku.
    name string
    Name of meter.
    rate_allocation number
    Tha rate of this sku meter.
    extended_metadatas list(object)
    Additional data give by sku.
    name String
    Name of meter.
    rateAllocation Double
    Tha rate of this sku meter.
    extendedMetadatas List<SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadata>
    Additional data give by sku.
    name string
    Name of meter.
    rateAllocation number
    Tha rate of this sku meter.
    extendedMetadatas SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadata[]
    Additional data give by sku.
    name str
    Name of meter.
    rate_allocation float
    Tha rate of this sku meter.
    extended_metadatas Sequence[SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadata]
    Additional data give by sku.
    name String
    Name of meter.
    rateAllocation Number
    Tha rate of this sku meter.
    extendedMetadatas List<Property Map>
    Additional data give by sku.

    SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadata, SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArgs

    Key string
    Additional attribute for extendedMetadata.
    Value string
    It contains the value of above key.
    Key string
    Additional attribute for extendedMetadata.
    Value string
    It contains the value of above key.
    key string
    Additional attribute for extendedMetadata.
    value string
    It contains the value of above key.
    key String
    Additional attribute for extendedMetadata.
    value String
    It contains the value of above key.
    key string
    Additional attribute for extendedMetadata.
    value string
    It contains the value of above key.
    key str
    Additional attribute for extendedMetadata.
    value str
    It contains the value of above key.
    key String
    Additional attribute for extendedMetadata.
    value String
    It contains the value of above key.

    SelfSubscriptionSubscriptionDetailsPricingPlan, SelfSubscriptionSubscriptionDetailsPricingPlanArgs

    BillingFrequency string
    Specifies the interval at which billing occurs for the subscription plan or usage dimension.
    PlanName string
    The name of the subscription plan used to identify the plan.
    PlanType string
    The type of the subscription plan.
    Rates List<SelfSubscriptionSubscriptionDetailsPricingPlanRate>
    The pricing details of the subscription plan in various supported currencies.
    Dimensions List<SelfSubscriptionSubscriptionDetailsPricingPlanDimension>
    Metered usage dimensions associated with the pricing plan.
    PlanDescription string
    A detailed explanation of the subscription plan.
    PlanDuration string
    Specifies the duration of the subscription plan.
    BillingFrequency string
    Specifies the interval at which billing occurs for the subscription plan or usage dimension.
    PlanName string
    The name of the subscription plan used to identify the plan.
    PlanType string
    The type of the subscription plan.
    Rates []SelfSubscriptionSubscriptionDetailsPricingPlanRate
    The pricing details of the subscription plan in various supported currencies.
    Dimensions []SelfSubscriptionSubscriptionDetailsPricingPlanDimension
    Metered usage dimensions associated with the pricing plan.
    PlanDescription string
    A detailed explanation of the subscription plan.
    PlanDuration string
    Specifies the duration of the subscription plan.
    billing_frequency string
    Specifies the interval at which billing occurs for the subscription plan or usage dimension.
    plan_name string
    The name of the subscription plan used to identify the plan.
    plan_type string
    The type of the subscription plan.
    rates list(object)
    The pricing details of the subscription plan in various supported currencies.
    dimensions list(object)
    Metered usage dimensions associated with the pricing plan.
    plan_description string
    A detailed explanation of the subscription plan.
    plan_duration string
    Specifies the duration of the subscription plan.
    billingFrequency String
    Specifies the interval at which billing occurs for the subscription plan or usage dimension.
    planName String
    The name of the subscription plan used to identify the plan.
    planType String
    The type of the subscription plan.
    rates List<SelfSubscriptionSubscriptionDetailsPricingPlanRate>
    The pricing details of the subscription plan in various supported currencies.
    dimensions List<SelfSubscriptionSubscriptionDetailsPricingPlanDimension>
    Metered usage dimensions associated with the pricing plan.
    planDescription String
    A detailed explanation of the subscription plan.
    planDuration String
    Specifies the duration of the subscription plan.
    billingFrequency string
    Specifies the interval at which billing occurs for the subscription plan or usage dimension.
    planName string
    The name of the subscription plan used to identify the plan.
    planType string
    The type of the subscription plan.
    rates SelfSubscriptionSubscriptionDetailsPricingPlanRate[]
    The pricing details of the subscription plan in various supported currencies.
    dimensions SelfSubscriptionSubscriptionDetailsPricingPlanDimension[]
    Metered usage dimensions associated with the pricing plan.
    planDescription string
    A detailed explanation of the subscription plan.
    planDuration string
    Specifies the duration of the subscription plan.
    billing_frequency str
    Specifies the interval at which billing occurs for the subscription plan or usage dimension.
    plan_name str
    The name of the subscription plan used to identify the plan.
    plan_type str
    The type of the subscription plan.
    rates Sequence[SelfSubscriptionSubscriptionDetailsPricingPlanRate]
    The pricing details of the subscription plan in various supported currencies.
    dimensions Sequence[SelfSubscriptionSubscriptionDetailsPricingPlanDimension]
    Metered usage dimensions associated with the pricing plan.
    plan_description str
    A detailed explanation of the subscription plan.
    plan_duration str
    Specifies the duration of the subscription plan.
    billingFrequency String
    Specifies the interval at which billing occurs for the subscription plan or usage dimension.
    planName String
    The name of the subscription plan used to identify the plan.
    planType String
    The type of the subscription plan.
    rates List<Property Map>
    The pricing details of the subscription plan in various supported currencies.
    dimensions List<Property Map>
    Metered usage dimensions associated with the pricing plan.
    planDescription String
    A detailed explanation of the subscription plan.
    planDuration String
    Specifies the duration of the subscription plan.

    SelfSubscriptionSubscriptionDetailsPricingPlanDimension, SelfSubscriptionSubscriptionDetailsPricingPlanDimensionArgs

    DimensionBillingFrequency string
    Specifies the interval at which the usage dimension is billed.
    DimensionDescription string
    A detailed explanation of the usage dimension.
    DimensionKey string
    The stable key used internally to map this usage dimension to billing details.
    DimensionName string
    The name of the usage dimension.
    MetricType string
    The metric type in which usage is measured.
    Rates List<SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRate>
    Dimension-level rates in various supported currencies.
    IncludedQuantity double
    Quantity included in the base fee for hybrid plans.
    DimensionBillingFrequency string
    Specifies the interval at which the usage dimension is billed.
    DimensionDescription string
    A detailed explanation of the usage dimension.
    DimensionKey string
    The stable key used internally to map this usage dimension to billing details.
    DimensionName string
    The name of the usage dimension.
    MetricType string
    The metric type in which usage is measured.
    Rates []SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRate
    Dimension-level rates in various supported currencies.
    IncludedQuantity float64
    Quantity included in the base fee for hybrid plans.
    dimension_billing_frequency string
    Specifies the interval at which the usage dimension is billed.
    dimension_description string
    A detailed explanation of the usage dimension.
    dimension_key string
    The stable key used internally to map this usage dimension to billing details.
    dimension_name string
    The name of the usage dimension.
    metric_type string
    The metric type in which usage is measured.
    rates list(object)
    Dimension-level rates in various supported currencies.
    included_quantity number
    Quantity included in the base fee for hybrid plans.
    dimensionBillingFrequency String
    Specifies the interval at which the usage dimension is billed.
    dimensionDescription String
    A detailed explanation of the usage dimension.
    dimensionKey String
    The stable key used internally to map this usage dimension to billing details.
    dimensionName String
    The name of the usage dimension.
    metricType String
    The metric type in which usage is measured.
    rates List<SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRate>
    Dimension-level rates in various supported currencies.
    includedQuantity Double
    Quantity included in the base fee for hybrid plans.
    dimensionBillingFrequency string
    Specifies the interval at which the usage dimension is billed.
    dimensionDescription string
    A detailed explanation of the usage dimension.
    dimensionKey string
    The stable key used internally to map this usage dimension to billing details.
    dimensionName string
    The name of the usage dimension.
    metricType string
    The metric type in which usage is measured.
    rates SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRate[]
    Dimension-level rates in various supported currencies.
    includedQuantity number
    Quantity included in the base fee for hybrid plans.
    dimension_billing_frequency str
    Specifies the interval at which the usage dimension is billed.
    dimension_description str
    A detailed explanation of the usage dimension.
    dimension_key str
    The stable key used internally to map this usage dimension to billing details.
    dimension_name str
    The name of the usage dimension.
    metric_type str
    The metric type in which usage is measured.
    rates Sequence[SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRate]
    Dimension-level rates in various supported currencies.
    included_quantity float
    Quantity included in the base fee for hybrid plans.
    dimensionBillingFrequency String
    Specifies the interval at which the usage dimension is billed.
    dimensionDescription String
    A detailed explanation of the usage dimension.
    dimensionKey String
    The stable key used internally to map this usage dimension to billing details.
    dimensionName String
    The name of the usage dimension.
    metricType String
    The metric type in which usage is measured.
    rates List<Property Map>
    Dimension-level rates in various supported currencies.
    includedQuantity Number
    Quantity included in the base fee for hybrid plans.

    SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRate, SelfSubscriptionSubscriptionDetailsPricingPlanDimensionRateArgs

    Currency string
    The currency supported, in the format specified by ISO-4217
    Rate double
    The amount charged for the plan in the specified currency.
    Currency string
    The currency supported, in the format specified by ISO-4217
    Rate float64
    The amount charged for the plan in the specified currency.
    currency string
    The currency supported, in the format specified by ISO-4217
    rate number
    The amount charged for the plan in the specified currency.
    currency String
    The currency supported, in the format specified by ISO-4217
    rate Double
    The amount charged for the plan in the specified currency.
    currency string
    The currency supported, in the format specified by ISO-4217
    rate number
    The amount charged for the plan in the specified currency.
    currency str
    The currency supported, in the format specified by ISO-4217
    rate float
    The amount charged for the plan in the specified currency.
    currency String
    The currency supported, in the format specified by ISO-4217
    rate Number
    The amount charged for the plan in the specified currency.

    SelfSubscriptionSubscriptionDetailsPricingPlanRate, SelfSubscriptionSubscriptionDetailsPricingPlanRateArgs

    Currency string
    The currency supported, in the format specified by ISO-4217
    Rate double
    The amount charged for the plan in the specified currency.
    Currency string
    The currency supported, in the format specified by ISO-4217
    Rate float64
    The amount charged for the plan in the specified currency.
    currency string
    The currency supported, in the format specified by ISO-4217
    rate number
    The amount charged for the plan in the specified currency.
    currency String
    The currency supported, in the format specified by ISO-4217
    rate Double
    The amount charged for the plan in the specified currency.
    currency string
    The currency supported, in the format specified by ISO-4217
    rate number
    The amount charged for the plan in the specified currency.
    currency str
    The currency supported, in the format specified by ISO-4217
    rate float
    The amount charged for the plan in the specified currency.
    currency String
    The currency supported, in the format specified by ISO-4217
    rate Number
    The amount charged for the plan in the specified currency.

    Import

    Subscriptions can be imported using the id, e.g.

    $ pulumi import oci:oci/selfSubscription:SelfSubscription test_subscription "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.7.0
    published on Thursday, Nov 12, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial