1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LicenseManager
  5. LicenseRecord
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.LicenseManager.LicenseRecord

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This resource provides the License Record resource in Oracle Cloud Infrastructure License Manager service.

    Creates a new license record for the given product license ID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testLicenseRecord = new oci.licensemanager.LicenseRecord("test_license_record", {
        displayName: licenseRecordDisplayName,
        isPerpetual: licenseRecordIsPerpetual,
        isUnlimited: licenseRecordIsUnlimited,
        productLicenseId: testProductLicense.id,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        expirationDate: licenseRecordExpirationDate,
        freeformTags: {
            "bar-key": "value",
        },
        licenseCount: licenseRecordLicenseCount,
        productId: testProduct.id,
        supportEndDate: licenseRecordSupportEndDate,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_license_record = oci.license_manager.LicenseRecord("test_license_record",
        display_name=license_record_display_name,
        is_perpetual=license_record_is_perpetual,
        is_unlimited=license_record_is_unlimited,
        product_license_id=test_product_license["id"],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        expiration_date=license_record_expiration_date,
        freeform_tags={
            "bar-key": "value",
        },
        license_count=license_record_license_count,
        product_id=test_product["id"],
        support_end_date=license_record_support_end_date)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/LicenseManager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := LicenseManager.NewLicenseRecord(ctx, "test_license_record", &LicenseManager.LicenseRecordArgs{
    			DisplayName:      pulumi.Any(licenseRecordDisplayName),
    			IsPerpetual:      pulumi.Any(licenseRecordIsPerpetual),
    			IsUnlimited:      pulumi.Any(licenseRecordIsUnlimited),
    			ProductLicenseId: pulumi.Any(testProductLicense.Id),
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			ExpirationDate: pulumi.Any(licenseRecordExpirationDate),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    			LicenseCount:   pulumi.Any(licenseRecordLicenseCount),
    			ProductId:      pulumi.Any(testProduct.Id),
    			SupportEndDate: pulumi.Any(licenseRecordSupportEndDate),
    		})
    		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 testLicenseRecord = new Oci.LicenseManager.LicenseRecord("test_license_record", new()
        {
            DisplayName = licenseRecordDisplayName,
            IsPerpetual = licenseRecordIsPerpetual,
            IsUnlimited = licenseRecordIsUnlimited,
            ProductLicenseId = testProductLicense.Id,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            ExpirationDate = licenseRecordExpirationDate,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            LicenseCount = licenseRecordLicenseCount,
            ProductId = testProduct.Id,
            SupportEndDate = licenseRecordSupportEndDate,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.LicenseManager.LicenseRecord;
    import com.pulumi.oci.LicenseManager.LicenseRecordArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testLicenseRecord = new LicenseRecord("testLicenseRecord", LicenseRecordArgs.builder()
                .displayName(licenseRecordDisplayName)
                .isPerpetual(licenseRecordIsPerpetual)
                .isUnlimited(licenseRecordIsUnlimited)
                .productLicenseId(testProductLicense.id())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .expirationDate(licenseRecordExpirationDate)
                .freeformTags(Map.of("bar-key", "value"))
                .licenseCount(licenseRecordLicenseCount)
                .productId(testProduct.id())
                .supportEndDate(licenseRecordSupportEndDate)
                .build());
    
        }
    }
    
    resources:
      testLicenseRecord:
        type: oci:LicenseManager:LicenseRecord
        name: test_license_record
        properties:
          displayName: ${licenseRecordDisplayName}
          isPerpetual: ${licenseRecordIsPerpetual}
          isUnlimited: ${licenseRecordIsUnlimited}
          productLicenseId: ${testProductLicense.id}
          definedTags:
            foo-namespace.bar-key: value
          expirationDate: ${licenseRecordExpirationDate}
          freeformTags:
            bar-key: value
          licenseCount: ${licenseRecordLicenseCount}
          productId: ${testProduct.id}
          supportEndDate: ${licenseRecordSupportEndDate}
    

    Create LicenseRecord Resource

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

    Constructor syntax

    new LicenseRecord(name: string, args: LicenseRecordArgs, opts?: CustomResourceOptions);
    @overload
    def LicenseRecord(resource_name: str,
                      args: LicenseRecordArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def LicenseRecord(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      display_name: Optional[str] = None,
                      is_perpetual: Optional[bool] = None,
                      is_unlimited: Optional[bool] = None,
                      product_license_id: Optional[str] = None,
                      defined_tags: Optional[Mapping[str, Any]] = None,
                      expiration_date: Optional[str] = None,
                      freeform_tags: Optional[Mapping[str, Any]] = None,
                      license_count: Optional[int] = None,
                      product_id: Optional[str] = None,
                      support_end_date: Optional[str] = None)
    func NewLicenseRecord(ctx *Context, name string, args LicenseRecordArgs, opts ...ResourceOption) (*LicenseRecord, error)
    public LicenseRecord(string name, LicenseRecordArgs args, CustomResourceOptions? opts = null)
    public LicenseRecord(String name, LicenseRecordArgs args)
    public LicenseRecord(String name, LicenseRecordArgs args, CustomResourceOptions options)
    
    type: oci:LicenseManager:LicenseRecord
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LicenseRecordArgs
    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 LicenseRecordArgs
    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 LicenseRecordArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LicenseRecordArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LicenseRecordArgs
    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 licenseRecordResource = new Oci.LicenseManager.LicenseRecord("licenseRecordResource", new()
    {
        DisplayName = "string",
        IsPerpetual = false,
        IsUnlimited = false,
        ProductLicenseId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        ExpirationDate = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        LicenseCount = 0,
        ProductId = "string",
        SupportEndDate = "string",
    });
    
    example, err := LicenseManager.NewLicenseRecord(ctx, "licenseRecordResource", &LicenseManager.LicenseRecordArgs{
    	DisplayName:      pulumi.String("string"),
    	IsPerpetual:      pulumi.Bool(false),
    	IsUnlimited:      pulumi.Bool(false),
    	ProductLicenseId: pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	ExpirationDate: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	LicenseCount:   pulumi.Int(0),
    	ProductId:      pulumi.String("string"),
    	SupportEndDate: pulumi.String("string"),
    })
    
    var licenseRecordResource = new LicenseRecord("licenseRecordResource", LicenseRecordArgs.builder()
        .displayName("string")
        .isPerpetual(false)
        .isUnlimited(false)
        .productLicenseId("string")
        .definedTags(Map.of("string", "any"))
        .expirationDate("string")
        .freeformTags(Map.of("string", "any"))
        .licenseCount(0)
        .productId("string")
        .supportEndDate("string")
        .build());
    
    license_record_resource = oci.license_manager.LicenseRecord("licenseRecordResource",
        display_name="string",
        is_perpetual=False,
        is_unlimited=False,
        product_license_id="string",
        defined_tags={
            "string": "any",
        },
        expiration_date="string",
        freeform_tags={
            "string": "any",
        },
        license_count=0,
        product_id="string",
        support_end_date="string")
    
    const licenseRecordResource = new oci.licensemanager.LicenseRecord("licenseRecordResource", {
        displayName: "string",
        isPerpetual: false,
        isUnlimited: false,
        productLicenseId: "string",
        definedTags: {
            string: "any",
        },
        expirationDate: "string",
        freeformTags: {
            string: "any",
        },
        licenseCount: 0,
        productId: "string",
        supportEndDate: "string",
    });
    
    type: oci:LicenseManager:LicenseRecord
    properties:
        definedTags:
            string: any
        displayName: string
        expirationDate: string
        freeformTags:
            string: any
        isPerpetual: false
        isUnlimited: false
        licenseCount: 0
        productId: string
        productLicenseId: string
        supportEndDate: string
    

    LicenseRecord Resource Properties

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

    Inputs

    The LicenseRecord resource accepts the following input properties:

    DisplayName string
    (Updatable) License record name.
    IsPerpetual bool
    (Updatable) Specifies if the license record term is perpertual.
    IsUnlimited bool
    (Updatable) Specifies if the license count is unlimited.
    ProductLicenseId string
    Unique product license identifier.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    ExpirationDate string
    (Updatable) The license record end date in RFC 3339 date format. Example: 2018-09-12
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LicenseCount int
    (Updatable) The number of license units added by a user in a license record. Default 1
    ProductId string
    (Updatable) The license record product ID.
    SupportEndDate string

    (Updatable) The license record support end date in RFC 3339 date format. Example: 2018-09-12

    ** 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

    DisplayName string
    (Updatable) License record name.
    IsPerpetual bool
    (Updatable) Specifies if the license record term is perpertual.
    IsUnlimited bool
    (Updatable) Specifies if the license count is unlimited.
    ProductLicenseId string
    Unique product license identifier.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    ExpirationDate string
    (Updatable) The license record end date in RFC 3339 date format. Example: 2018-09-12
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LicenseCount int
    (Updatable) The number of license units added by a user in a license record. Default 1
    ProductId string
    (Updatable) The license record product ID.
    SupportEndDate string

    (Updatable) The license record support end date in RFC 3339 date format. Example: 2018-09-12

    ** 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

    displayName String
    (Updatable) License record name.
    isPerpetual Boolean
    (Updatable) Specifies if the license record term is perpertual.
    isUnlimited Boolean
    (Updatable) Specifies if the license count is unlimited.
    productLicenseId String
    Unique product license identifier.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    expirationDate String
    (Updatable) The license record end date in RFC 3339 date format. Example: 2018-09-12
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    licenseCount Integer
    (Updatable) The number of license units added by a user in a license record. Default 1
    productId String
    (Updatable) The license record product ID.
    supportEndDate String

    (Updatable) The license record support end date in RFC 3339 date format. Example: 2018-09-12

    ** 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

    displayName string
    (Updatable) License record name.
    isPerpetual boolean
    (Updatable) Specifies if the license record term is perpertual.
    isUnlimited boolean
    (Updatable) Specifies if the license count is unlimited.
    productLicenseId string
    Unique product license identifier.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    expirationDate string
    (Updatable) The license record end date in RFC 3339 date format. Example: 2018-09-12
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    licenseCount number
    (Updatable) The number of license units added by a user in a license record. Default 1
    productId string
    (Updatable) The license record product ID.
    supportEndDate string

    (Updatable) The license record support end date in RFC 3339 date format. Example: 2018-09-12

    ** 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

    display_name str
    (Updatable) License record name.
    is_perpetual bool
    (Updatable) Specifies if the license record term is perpertual.
    is_unlimited bool
    (Updatable) Specifies if the license count is unlimited.
    product_license_id str
    Unique product license identifier.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    expiration_date str
    (Updatable) The license record end date in RFC 3339 date format. Example: 2018-09-12
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    license_count int
    (Updatable) The number of license units added by a user in a license record. Default 1
    product_id str
    (Updatable) The license record product ID.
    support_end_date str

    (Updatable) The license record support end date in RFC 3339 date format. Example: 2018-09-12

    ** 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

    displayName String
    (Updatable) License record name.
    isPerpetual Boolean
    (Updatable) Specifies if the license record term is perpertual.
    isUnlimited Boolean
    (Updatable) Specifies if the license count is unlimited.
    productLicenseId String
    Unique product license identifier.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    expirationDate String
    (Updatable) The license record end date in RFC 3339 date format. Example: 2018-09-12
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    licenseCount Number
    (Updatable) The number of license units added by a user in a license record. Default 1
    productId String
    (Updatable) The license record product ID.
    supportEndDate String

    (Updatable) The license record support end date in RFC 3339 date format. Example: 2018-09-12

    ** 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

    Outputs

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

    CompartmentId string
    The compartment OCID where the license record is created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LicenseUnit string
    The product license unit.
    ProductLicense string
    The product license name with which the license record is associated.
    State string
    The current license record state.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the license record was created. An RFC 3339-formatted datetime string.
    TimeUpdated string
    The time the license record was updated. An RFC 3339-formatted datetime string.
    CompartmentId string
    The compartment OCID where the license record is created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LicenseUnit string
    The product license unit.
    ProductLicense string
    The product license name with which the license record is associated.
    State string
    The current license record state.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the license record was created. An RFC 3339-formatted datetime string.
    TimeUpdated string
    The time the license record was updated. An RFC 3339-formatted datetime string.
    compartmentId String
    The compartment OCID where the license record is created.
    id String
    The provider-assigned unique ID for this managed resource.
    licenseUnit String
    The product license unit.
    productLicense String
    The product license name with which the license record is associated.
    state String
    The current license record state.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the license record was created. An RFC 3339-formatted datetime string.
    timeUpdated String
    The time the license record was updated. An RFC 3339-formatted datetime string.
    compartmentId string
    The compartment OCID where the license record is created.
    id string
    The provider-assigned unique ID for this managed resource.
    licenseUnit string
    The product license unit.
    productLicense string
    The product license name with which the license record is associated.
    state string
    The current license record state.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the license record was created. An RFC 3339-formatted datetime string.
    timeUpdated string
    The time the license record was updated. An RFC 3339-formatted datetime string.
    compartment_id str
    The compartment OCID where the license record is created.
    id str
    The provider-assigned unique ID for this managed resource.
    license_unit str
    The product license unit.
    product_license str
    The product license name with which the license record is associated.
    state str
    The current license record state.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the license record was created. An RFC 3339-formatted datetime string.
    time_updated str
    The time the license record was updated. An RFC 3339-formatted datetime string.
    compartmentId String
    The compartment OCID where the license record is created.
    id String
    The provider-assigned unique ID for this managed resource.
    licenseUnit String
    The product license unit.
    productLicense String
    The product license name with which the license record is associated.
    state String
    The current license record state.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the license record was created. An RFC 3339-formatted datetime string.
    timeUpdated String
    The time the license record was updated. An RFC 3339-formatted datetime string.

    Look up Existing LicenseRecord Resource

    Get an existing LicenseRecord 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?: LicenseRecordState, opts?: CustomResourceOptions): LicenseRecord
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            expiration_date: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            is_perpetual: Optional[bool] = None,
            is_unlimited: Optional[bool] = None,
            license_count: Optional[int] = None,
            license_unit: Optional[str] = None,
            product_id: Optional[str] = None,
            product_license: Optional[str] = None,
            product_license_id: Optional[str] = None,
            state: Optional[str] = None,
            support_end_date: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> LicenseRecord
    func GetLicenseRecord(ctx *Context, name string, id IDInput, state *LicenseRecordState, opts ...ResourceOption) (*LicenseRecord, error)
    public static LicenseRecord Get(string name, Input<string> id, LicenseRecordState? state, CustomResourceOptions? opts = null)
    public static LicenseRecord get(String name, Output<String> id, LicenseRecordState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    CompartmentId string
    The compartment OCID where the license record is created.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) License record name.
    ExpirationDate string
    (Updatable) The license record end date in RFC 3339 date format. Example: 2018-09-12
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsPerpetual bool
    (Updatable) Specifies if the license record term is perpertual.
    IsUnlimited bool
    (Updatable) Specifies if the license count is unlimited.
    LicenseCount int
    (Updatable) The number of license units added by a user in a license record. Default 1
    LicenseUnit string
    The product license unit.
    ProductId string
    (Updatable) The license record product ID.
    ProductLicense string
    The product license name with which the license record is associated.
    ProductLicenseId string
    Unique product license identifier.
    State string
    The current license record state.
    SupportEndDate string

    (Updatable) The license record support end date in RFC 3339 date format. Example: 2018-09-12

    ** 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

    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the license record was created. An RFC 3339-formatted datetime string.
    TimeUpdated string
    The time the license record was updated. An RFC 3339-formatted datetime string.
    CompartmentId string
    The compartment OCID where the license record is created.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) License record name.
    ExpirationDate string
    (Updatable) The license record end date in RFC 3339 date format. Example: 2018-09-12
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsPerpetual bool
    (Updatable) Specifies if the license record term is perpertual.
    IsUnlimited bool
    (Updatable) Specifies if the license count is unlimited.
    LicenseCount int
    (Updatable) The number of license units added by a user in a license record. Default 1
    LicenseUnit string
    The product license unit.
    ProductId string
    (Updatable) The license record product ID.
    ProductLicense string
    The product license name with which the license record is associated.
    ProductLicenseId string
    Unique product license identifier.
    State string
    The current license record state.
    SupportEndDate string

    (Updatable) The license record support end date in RFC 3339 date format. Example: 2018-09-12

    ** 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

    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the license record was created. An RFC 3339-formatted datetime string.
    TimeUpdated string
    The time the license record was updated. An RFC 3339-formatted datetime string.
    compartmentId String
    The compartment OCID where the license record is created.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) License record name.
    expirationDate String
    (Updatable) The license record end date in RFC 3339 date format. Example: 2018-09-12
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isPerpetual Boolean
    (Updatable) Specifies if the license record term is perpertual.
    isUnlimited Boolean
    (Updatable) Specifies if the license count is unlimited.
    licenseCount Integer
    (Updatable) The number of license units added by a user in a license record. Default 1
    licenseUnit String
    The product license unit.
    productId String
    (Updatable) The license record product ID.
    productLicense String
    The product license name with which the license record is associated.
    productLicenseId String
    Unique product license identifier.
    state String
    The current license record state.
    supportEndDate String

    (Updatable) The license record support end date in RFC 3339 date format. Example: 2018-09-12

    ** 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

    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the license record was created. An RFC 3339-formatted datetime string.
    timeUpdated String
    The time the license record was updated. An RFC 3339-formatted datetime string.
    compartmentId string
    The compartment OCID where the license record is created.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) License record name.
    expirationDate string
    (Updatable) The license record end date in RFC 3339 date format. Example: 2018-09-12
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isPerpetual boolean
    (Updatable) Specifies if the license record term is perpertual.
    isUnlimited boolean
    (Updatable) Specifies if the license count is unlimited.
    licenseCount number
    (Updatable) The number of license units added by a user in a license record. Default 1
    licenseUnit string
    The product license unit.
    productId string
    (Updatable) The license record product ID.
    productLicense string
    The product license name with which the license record is associated.
    productLicenseId string
    Unique product license identifier.
    state string
    The current license record state.
    supportEndDate string

    (Updatable) The license record support end date in RFC 3339 date format. Example: 2018-09-12

    ** 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

    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the license record was created. An RFC 3339-formatted datetime string.
    timeUpdated string
    The time the license record was updated. An RFC 3339-formatted datetime string.
    compartment_id str
    The compartment OCID where the license record is created.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) License record name.
    expiration_date str
    (Updatable) The license record end date in RFC 3339 date format. Example: 2018-09-12
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    is_perpetual bool
    (Updatable) Specifies if the license record term is perpertual.
    is_unlimited bool
    (Updatable) Specifies if the license count is unlimited.
    license_count int
    (Updatable) The number of license units added by a user in a license record. Default 1
    license_unit str
    The product license unit.
    product_id str
    (Updatable) The license record product ID.
    product_license str
    The product license name with which the license record is associated.
    product_license_id str
    Unique product license identifier.
    state str
    The current license record state.
    support_end_date str

    (Updatable) The license record support end date in RFC 3339 date format. Example: 2018-09-12

    ** 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

    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the license record was created. An RFC 3339-formatted datetime string.
    time_updated str
    The time the license record was updated. An RFC 3339-formatted datetime string.
    compartmentId String
    The compartment OCID where the license record is created.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) License record name.
    expirationDate String
    (Updatable) The license record end date in RFC 3339 date format. Example: 2018-09-12
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isPerpetual Boolean
    (Updatable) Specifies if the license record term is perpertual.
    isUnlimited Boolean
    (Updatable) Specifies if the license count is unlimited.
    licenseCount Number
    (Updatable) The number of license units added by a user in a license record. Default 1
    licenseUnit String
    The product license unit.
    productId String
    (Updatable) The license record product ID.
    productLicense String
    The product license name with which the license record is associated.
    productLicenseId String
    Unique product license identifier.
    state String
    The current license record state.
    supportEndDate String

    (Updatable) The license record support end date in RFC 3339 date format. Example: 2018-09-12

    ** 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

    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the license record was created. An RFC 3339-formatted datetime string.
    timeUpdated String
    The time the license record was updated. An RFC 3339-formatted datetime string.

    Import

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

    $ pulumi import oci:LicenseManager/licenseRecord:LicenseRecord test_license_record "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
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi