published on Thursday, Jun 11, 2026 by Pulumi
published on Thursday, Jun 11, 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: {
meters: [{
name: subscriptionSubscriptionDetailsBillingDetailsMetersName,
rateAllocation: subscriptionSubscriptionDetailsBillingDetailsMetersRateAllocation,
extendedMetadatas: [{
key: subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataKey,
value: subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataValue,
}],
}],
metricType: subscriptionSubscriptionDetailsBillingDetailsMetricType,
rateAllocation: subscriptionSubscriptionDetailsBillingDetailsRateAllocation,
sku: subscriptionSubscriptionDetailsBillingDetailsSku,
hasGovSku: subscriptionSubscriptionDetailsBillingDetailsHasGovSku === "true",
},
partnerRegistrationUrl: subscriptionSubscriptionDetailsPartnerRegistrationUrl,
pricingPlan: {
billingFrequency: subscriptionSubscriptionDetailsPricingPlanBillingFrequency,
planName: subscriptionSubscriptionDetailsPricingPlanPlanName,
planType: subscriptionSubscriptionDetailsPricingPlanPlanType,
rates: [{
currency: subscriptionSubscriptionDetailsPricingPlanRatesCurrency,
rate: subscriptionSubscriptionDetailsPricingPlanRatesRate,
}],
planDescription: subscriptionSubscriptionDetailsPricingPlanPlanDescription,
planDuration: subscriptionSubscriptionDetailsPricingPlanPlanDuration,
},
amount: subscriptionSubscriptionDetailsAmount,
currency: subscriptionSubscriptionDetailsCurrency,
isAutoRenew: subscriptionSubscriptionDetailsIsAutoRenew === "true",
},
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": {
"meters": [{
"name": subscription_subscription_details_billing_details_meters_name,
"rate_allocation": subscription_subscription_details_billing_details_meters_rate_allocation,
"extended_metadatas": [{
"key": subscription_subscription_details_billing_details_meters_extended_metadata_key,
"value": subscription_subscription_details_billing_details_meters_extended_metadata_value,
}],
}],
"metric_type": subscription_subscription_details_billing_details_metric_type,
"rate_allocation": subscription_subscription_details_billing_details_rate_allocation,
"sku": subscription_subscription_details_billing_details_sku,
"has_gov_sku": subscription_subscription_details_billing_details_has_gov_sku == "true",
},
"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,
}],
"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 == "true",
},
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/v4/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{
Meters: oci.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArray{
&oci.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArgs{
Name: pulumi.Any(subscriptionSubscriptionDetailsBillingDetailsMetersName),
RateAllocation: pulumi.Any(subscriptionSubscriptionDetailsBillingDetailsMetersRateAllocation),
ExtendedMetadatas: oci.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArray{
&oci.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArgs{
Key: pulumi.Any(subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataKey),
Value: pulumi.Any(subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataValue),
},
},
},
},
MetricType: pulumi.Any(subscriptionSubscriptionDetailsBillingDetailsMetricType),
RateAllocation: pulumi.Any(subscriptionSubscriptionDetailsBillingDetailsRateAllocation),
Sku: pulumi.Any(subscriptionSubscriptionDetailsBillingDetailsSku),
HasGovSku: pulumi.Any(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),
},
},
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 Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsArgs
{
Meters = new[]
{
new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArgs
{
Name = subscriptionSubscriptionDetailsBillingDetailsMetersName,
RateAllocation = subscriptionSubscriptionDetailsBillingDetailsMetersRateAllocation,
ExtendedMetadatas = new[]
{
new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArgs
{
Key = subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataKey,
Value = subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataValue,
},
},
},
},
MetricType = subscriptionSubscriptionDetailsBillingDetailsMetricType,
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,
},
},
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.SelfSubscriptionSubscriptionDetailsBillingDetailsArgs;
import com.pulumi.oci.oci.inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArgs;
import com.pulumi.oci.oci.inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArgs;
import com.pulumi.oci.oci.inputs.SelfSubscriptionSubscriptionDetailsPricingPlanArgs;
import com.pulumi.oci.oci.inputs.SelfSubscriptionSubscriptionDetailsPricingPlanRateArgs;
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.id())
.sellerId(testSeller.id())
.subscriptionDetails(SelfSubscriptionSubscriptionDetailsArgs.builder()
.billingDetails(SelfSubscriptionSubscriptionDetailsBillingDetailsArgs.builder()
.meters(SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArgs.builder()
.name(subscriptionSubscriptionDetailsBillingDetailsMetersName)
.rateAllocation(subscriptionSubscriptionDetailsBillingDetailsMetersRateAllocation)
.extendedMetadatas(SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArgs.builder()
.key(subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataKey)
.value(subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataValue)
.build())
.build())
.metricType(subscriptionSubscriptionDetailsBillingDetailsMetricType)
.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())
.planDescription(subscriptionSubscriptionDetailsPricingPlanPlanDescription)
.planDuration(subscriptionSubscriptionDetailsPricingPlanPlanDuration)
.build())
.amount(subscriptionSubscriptionDetailsAmount)
.currency(subscriptionSubscriptionDetailsCurrency)
.isAutoRenew(subscriptionSubscriptionDetailsIsAutoRenew)
.build())
.tenantId(testTenant.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:
meters:
- name: ${subscriptionSubscriptionDetailsBillingDetailsMetersName}
rateAllocation: ${subscriptionSubscriptionDetailsBillingDetailsMetersRateAllocation}
extendedMetadatas:
- key: ${subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataKey}
value: ${subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataValue}
metricType: ${subscriptionSubscriptionDetailsBillingDetailsMetricType}
rateAllocation: ${subscriptionSubscriptionDetailsBillingDetailsRateAllocation}
sku: ${subscriptionSubscriptionDetailsBillingDetailsSku}
hasGovSku: ${subscriptionSubscriptionDetailsBillingDetailsHasGovSku}
partnerRegistrationUrl: ${subscriptionSubscriptionDetailsPartnerRegistrationUrl}
pricingPlan:
billingFrequency: ${subscriptionSubscriptionDetailsPricingPlanBillingFrequency}
planName: ${subscriptionSubscriptionDetailsPricingPlanPlanName}
planType: ${subscriptionSubscriptionDetailsPricingPlanPlanType}
rates:
- currency: ${subscriptionSubscriptionDetailsPricingPlanRatesCurrency}
rate: ${subscriptionSubscriptionDetailsPricingPlanRatesRate}
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}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_oci_selfsubscription" "test_subscription" {
compartment_id = compartmentId
product_id = testProduct.id
seller_id = testSeller.id
subscription_details = {
billing_details = {
meters = [{
"name" = subscriptionSubscriptionDetailsBillingDetailsMetersName
"rateAllocation" = subscriptionSubscriptionDetailsBillingDetailsMetersRateAllocation
"extendedMetadatas" = [{
"key" = subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataKey
"value" = subscriptionSubscriptionDetailsBillingDetailsMetersExtendedMetadataValue
}]
}]
metric_type = subscriptionSubscriptionDetailsBillingDetailsMetricType
rate_allocation = subscriptionSubscriptionDetailsBillingDetailsRateAllocation
sku = subscriptionSubscriptionDetailsBillingDetailsSku
has_gov_sku = subscriptionSubscriptionDetailsBillingDetailsHasGovSku
}
partner_registration_url = subscriptionSubscriptionDetailsPartnerRegistrationUrl
pricing_plan = {
billing_frequency = subscriptionSubscriptionDetailsPricingPlanBillingFrequency
plan_name = subscriptionSubscriptionDetailsPricingPlanPlanName
plan_type = subscriptionSubscriptionDetailsPricingPlanPlanType
rates = [{
"currency" = subscriptionSubscriptionDetailsPricingPlanRatesCurrency
"rate" = subscriptionSubscriptionDetailsPricingPlanRatesRate
}]
plan_description = subscriptionSubscriptionDetailsPricingPlanPlanDescription
plan_duration = subscriptionSubscriptionDetailsPricingPlanPlanDuration
}
amount = subscriptionSubscriptionDetailsAmount
currency = subscriptionSubscriptionDetailsCurrency
is_auto_renew = subscriptionSubscriptionDetailsIsAutoRenew
}
#Required
#Required
#Optional
#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_selfsubscription" "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
{
Meters = new[]
{
new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArgs
{
Name = "string",
RateAllocation = 0,
ExtendedMetadatas = new[]
{
new Oci.Oci.Inputs.SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArgs
{
Key = "string",
Value = "string",
},
},
},
},
MetricType = "string",
RateAllocation = 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,
},
},
PlanDescription = "string",
PlanDuration = "string",
},
Amount = 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{
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"),
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),
},
},
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_selfsubscription" "selfSubscriptionResource" {
compartment_id = "string"
product_id = "string"
seller_id = "string"
subscription_details = {
billing_details = {
meters = [{
"name" = "string"
"rateAllocation" = 0
"extendedMetadatas" = [{
"key" = "string"
"value" = "string"
}]
}]
metric_type = "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
}]
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()
.meters(SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArgs.builder()
.name("string")
.rateAllocation(0.0)
.extendedMetadatas(SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArgs.builder()
.key("string")
.value("string")
.build())
.build())
.metricType("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())
.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": {
"meters": [{
"name": "string",
"rate_allocation": float(0),
"extended_metadatas": [{
"key": "string",
"value": "string",
}],
}],
"metric_type": "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),
}],
"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: {
meters: [{
name: "string",
rateAllocation: 0,
extendedMetadatas: [{
key: "string",
value: "string",
}],
}],
metricType: "string",
rateAllocation: 0,
sku: "string",
hasGovSku: false,
},
partnerRegistrationUrl: "string",
pricingPlan: {
billingFrequency: "string",
planName: "string",
planType: "string",
rates: [{
currency: "string",
rate: 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:
hasGovSku: false
meters:
- extendedMetadatas:
- key: string
value: string
name: string
rateAllocation: 0
metricType: string
rateAllocation: 0
sku: string
currency: string
isAutoRenew: false
partnerRegistrationUrl: string
pricingPlan:
billingFrequency: string
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:
- 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 SelfSubscription Subscription Details - 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<SelfSubscription Additional Detail> - Additional details that are specific for this subscription such as activation details.
- 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"} - Display
Name string - (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
- 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.
- Source
Type 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 SelfSubscription Subscription Details Args - 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 []SelfSubscription Additional Detail Args - Additional details that are specific for this subscription such as activation details.
- 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"} - Display
Name string - (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
- 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.
- Source
Type 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.
- 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.
- 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.
- 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 SelfSubscription Subscription Details - 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<SelfSubscription Additional Detail> - Additional details that are specific for this subscription such as activation details.
- 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"} - display
Name String - (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
- 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.
- source
Type 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 SelfSubscription Subscription Details - 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 SelfSubscription Additional Detail[] - Additional details that are specific for this subscription such as activation details.
- {[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"} - display
Name string - (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
- {[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.
- source
Type 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 SelfSubscription Subscription Details Args - 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[SelfSubscription Additional Detail Args] - Additional details that are specific for this subscription such as activation details.
- 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.
- 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.
- 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 Property Map - 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<Property Map> - Additional details that are specific for this subscription such as activation details.
- 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.
- 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.
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.
- 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.
- Dictionary<string, 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.
- 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.
- map[string]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.
- 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.
- 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.
- 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.
- Map<String,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.
- 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.
- {[key: string]: 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 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.
- 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.
- 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.
- 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
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) -> SelfSubscriptionfunc 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_selfsubscription.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.
- Additional
Details List<SelfSubscription Additional Detail> - 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.
- 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"} - Display
Name string - (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
- 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"} - 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 SelfSubscription Subscription Details - The details of a subscription
- Dictionary<string, 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
- Additional
Details []SelfSubscription Additional Detail Args - 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.
- 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"} - Display
Name string - (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
- 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"} - 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 SelfSubscription Subscription Details Args - The details of a subscription
- map[string]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
- 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.
- 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.
- 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
- 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
- additional
Details List<SelfSubscription Additional Detail> - 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.
- 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"} - display
Name String - (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
- 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"} - 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 SelfSubscription Subscription Details - The details of a subscription
- Map<String,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
- additional
Details SelfSubscription Additional Detail[] - 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.
- {[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"} - display
Name string - (Updatable) The subscription name. Must be unique within the compartment. This value can be updated.
- {[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"} - 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 SelfSubscription Subscription Details - The details of a subscription
- {[key: string]: 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
- additional_
details Sequence[SelfSubscription Additional Detail Args] - 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.
- 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.
- 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 SelfSubscription Subscription Details Args - The details of a subscription
- 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
- additional
Details List<Property Map> - 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.
- 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.
- 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 Property Map - The details of a subscription
- 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
Supporting Types
SelfSubscriptionAdditionalDetail, SelfSubscriptionAdditionalDetailArgs
SelfSubscriptionSubscriptionDetails, SelfSubscriptionSubscriptionDetailsArgs
- Billing
Details SelfSubscription Subscription Details Billing Details - Sku details for billing subscription.
- Partner
Registration stringUrl - The activation link given by the partner.
- Pricing
Plan SelfSubscription Subscription Details Pricing Plan - 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
- Is
Auto boolRenew - Whether subscription should be auto-renewed at the end of cycle.
- Billing
Details SelfSubscription Subscription Details Billing Details - Sku details for billing subscription.
- Partner
Registration stringUrl - The activation link given by the partner.
- Pricing
Plan SelfSubscription Subscription Details Pricing Plan - 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
- Is
Auto boolRenew - Whether subscription should be auto-renewed at the end of cycle.
- billing_
details object - Sku details for billing subscription.
- partner_
registration_ stringurl - 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_ boolrenew - Whether subscription should be auto-renewed at the end of cycle.
- billing
Details SelfSubscription Subscription Details Billing Details - Sku details for billing subscription.
- partner
Registration StringUrl - The activation link given by the partner.
- pricing
Plan SelfSubscription Subscription Details Pricing Plan - 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
- is
Auto BooleanRenew - Whether subscription should be auto-renewed at the end of cycle.
- billing
Details SelfSubscription Subscription Details Billing Details - Sku details for billing subscription.
- partner
Registration stringUrl - The activation link given by the partner.
- pricing
Plan SelfSubscription Subscription Details Pricing Plan - 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 booleanRenew - Whether subscription should be auto-renewed at the end of cycle.
- billing_
details SelfSubscription Subscription Details Billing Details - Sku details for billing subscription.
- partner_
registration_ strurl - The activation link given by the partner.
- pricing_
plan SelfSubscription Subscription Details Pricing Plan - 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_ boolrenew - Whether subscription should be auto-renewed at the end of cycle.
- billing
Details Property Map - Sku details for billing subscription.
- partner
Registration StringUrl - The activation link given by the partner.
- pricing
Plan 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
- is
Auto BooleanRenew - Whether subscription should be auto-renewed at the end of cycle.
SelfSubscriptionSubscriptionDetailsBillingDetails, SelfSubscriptionSubscriptionDetailsBillingDetailsArgs
- Meters
List<Self
Subscription Subscription Details Billing Details Meter> - The meters associated with sku.
- Metric
Type string - The part's metric.
- Rate
Allocation double - Tha rate of this sku meter.
- Sku string
- Sku for service.
- Has
Gov boolSku - Whether this sku is assign to gov product.
- Meters
[]Self
Subscription Subscription Details Billing Details Meter - The meters associated with sku.
- Metric
Type string - The part's metric.
- Rate
Allocation float64 - Tha rate of this sku meter.
- Sku string
- Sku for service.
- Has
Gov boolSku - Whether this sku is assign to gov product.
- meters list(object)
- The meters associated with sku.
- metric_
type string - The part's metric.
- rate_
allocation number - Tha rate of this sku meter.
- sku string
- Sku for service.
- has_
gov_ boolsku - Whether this sku is assign to gov product.
- meters
List<Self
Subscription Subscription Details Billing Details Meter> - The meters associated with sku.
- metric
Type String - The part's metric.
- rate
Allocation Double - Tha rate of this sku meter.
- sku String
- Sku for service.
- has
Gov BooleanSku - Whether this sku is assign to gov product.
- meters
Self
Subscription Subscription Details Billing Details Meter[] - The meters associated with sku.
- metric
Type string - The part's metric.
- rate
Allocation number - Tha rate of this sku meter.
- sku string
- Sku for service.
- has
Gov booleanSku - Whether this sku is assign to gov product.
- meters
Sequence[Self
Subscription Subscription Details Billing Details Meter] - The meters associated with sku.
- metric_
type str - The part's metric.
- rate_
allocation float - Tha rate of this sku meter.
- sku str
- Sku for service.
- has_
gov_ boolsku - Whether this sku is assign to gov product.
- meters List<Property Map>
- The meters associated with sku.
- metric
Type String - The part's metric.
- rate
Allocation Number - Tha rate of this sku meter.
- sku String
- Sku for service.
- has
Gov BooleanSku - Whether this sku is assign to gov product.
SelfSubscriptionSubscriptionDetailsBillingDetailsMeter, SelfSubscriptionSubscriptionDetailsBillingDetailsMeterArgs
- Name string
- Name of meter.
- Rate
Allocation double - Tha rate of this sku meter.
- Extended
Metadatas List<SelfSubscription Subscription Details Billing Details Meter Extended Metadata> - Additional data give by sku.
- Name string
- Name of meter.
- Rate
Allocation float64 - Tha rate of this sku meter.
- Extended
Metadatas []SelfSubscription Subscription Details Billing Details Meter Extended Metadata - 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.
- rate
Allocation Double - Tha rate of this sku meter.
- extended
Metadatas List<SelfSubscription Subscription Details Billing Details Meter Extended Metadata> - Additional data give by sku.
- name string
- Name of meter.
- rate
Allocation number - Tha rate of this sku meter.
- extended
Metadatas SelfSubscription Subscription Details Billing Details Meter Extended Metadata[] - Additional data give by sku.
- name str
- Name of meter.
- rate_
allocation float - Tha rate of this sku meter.
- extended_
metadatas Sequence[SelfSubscription Subscription Details Billing Details Meter Extended Metadata] - Additional data give by sku.
- name String
- Name of meter.
- rate
Allocation Number - Tha rate of this sku meter.
- extended
Metadatas List<Property Map> - Additional data give by sku.
SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadata, SelfSubscriptionSubscriptionDetailsBillingDetailsMeterExtendedMetadataArgs
SelfSubscriptionSubscriptionDetailsPricingPlan, SelfSubscriptionSubscriptionDetailsPricingPlanArgs
- Billing
Frequency string - Specifies the interval at which billing occurs for the subscription plan.
- 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<Self
Subscription Subscription Details Pricing Plan Rate> - The pricing details of the subscription plan in various supported currencies.
- Plan
Description string - A detailed explanation of the subscription plan.
- Plan
Duration string - Specifies the interval at which billing occurs for the subscription plan.
- Billing
Frequency string - Specifies the interval at which billing occurs for the subscription plan.
- Plan
Name string - The name of the subscription plan used to identify the plan.
- Plan
Type string - The type of the subscription plan.
- Rates
[]Self
Subscription Subscription Details Pricing Plan Rate - The pricing details of the subscription plan in various supported currencies.
- Plan
Description string - A detailed explanation of the subscription plan.
- Plan
Duration string - Specifies the interval at which billing occurs for the subscription plan.
- billing_
frequency string - Specifies the interval at which billing occurs for the subscription plan.
- 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.
- plan_
description string - A detailed explanation of the subscription plan.
- plan_
duration string - Specifies the interval at which billing occurs for the subscription plan.
- billing
Frequency String - Specifies the interval at which billing occurs for the subscription plan.
- 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<Self
Subscription Subscription Details Pricing Plan Rate> - The pricing details of the subscription plan in various supported currencies.
- plan
Description String - A detailed explanation of the subscription plan.
- plan
Duration String - Specifies the interval at which billing occurs for the subscription plan.
- billing
Frequency string - Specifies the interval at which billing occurs for the subscription plan.
- plan
Name string - The name of the subscription plan used to identify the plan.
- plan
Type string - The type of the subscription plan.
- rates
Self
Subscription Subscription Details Pricing Plan Rate[] - The pricing details of the subscription plan in various supported currencies.
- plan
Description string - A detailed explanation of the subscription plan.
- plan
Duration string - Specifies the interval at which billing occurs for the subscription plan.
- billing_
frequency str - Specifies the interval at which billing occurs for the subscription plan.
- 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[Self
Subscription Subscription Details Pricing Plan Rate] - The pricing details of the subscription plan in various supported currencies.
- plan_
description str - A detailed explanation of the subscription plan.
- plan_
duration str - Specifies the interval at which billing occurs for the subscription plan.
- billing
Frequency String - Specifies the interval at which billing occurs for the subscription plan.
- 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<Property Map>
- The pricing details of the subscription plan in various supported currencies.
- plan
Description String - A detailed explanation of the subscription plan.
- plan
Duration String - Specifies the interval at which billing occurs for the subscription plan.
SelfSubscriptionSubscriptionDetailsPricingPlanRate, SelfSubscriptionSubscriptionDetailsPricingPlanRateArgs
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
ociTerraform Provider.
published on Thursday, Jun 11, 2026 by Pulumi