oci.LicenseManager.LicenseRecord
Explore with Pulumi AI
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/v2/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.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
ExpirationDate: pulumi.Any(licenseRecordExpirationDate),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("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, str]] = None,
expiration_date: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = 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", "string" },
},
ExpirationDate = "string",
FreeformTags =
{
{ "string", "string" },
},
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.StringMap{
"string": pulumi.String("string"),
},
ExpirationDate: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
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", "string"))
.expirationDate("string")
.freeformTags(Map.of("string", "string"))
.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": "string",
},
expiration_date="string",
freeform_tags={
"string": "string",
},
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: "string",
},
expirationDate: "string",
freeformTags: {
string: "string",
},
licenseCount: 0,
productId: "string",
supportEndDate: "string",
});
type: oci:LicenseManager:LicenseRecord
properties:
definedTags:
string: string
displayName: string
expirationDate: string
freeformTags:
string: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LicenseRecord resource accepts the following input properties:
- Display
Name string - (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 stringId - Unique product license identifier.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Expiration
Date string - (Updatable) The license record end date in RFC 3339 date format. Example:
2018-09-12
- Dictionary<string, string>
- (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 string - (Updatable) The license record product ID.
- Support
End stringDate (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 string - (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 stringId - Unique product license identifier.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Expiration
Date string - (Updatable) The license record end date in RFC 3339 date format. Example:
2018-09-12
- map[string]string
- (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 string - (Updatable) The license record product ID.
- Support
End stringDate (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 String - (Updatable) License record name.
- is
Perpetual Boolean - (Updatable) Specifies if the license record term is perpertual.
- is
Unlimited Boolean - (Updatable) Specifies if the license count is unlimited.
- product
License StringId - Unique product license identifier.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- expiration
Date String - (Updatable) The license record end date in RFC 3339 date format. Example:
2018-09-12
- Map<String,String>
- (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 Integer - (Updatable) The number of license units added by a user in a license record. Default 1
- product
Id String - (Updatable) The license record product ID.
- support
End StringDate (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 string - (Updatable) License record name.
- is
Perpetual boolean - (Updatable) Specifies if the license record term is perpertual.
- is
Unlimited boolean - (Updatable) Specifies if the license count is unlimited.
- product
License stringId - Unique product license identifier.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- expiration
Date string - (Updatable) The license record end date in RFC 3339 date format. Example:
2018-09-12
- {[key: string]: string}
- (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 number - (Updatable) The number of license units added by a user in a license record. Default 1
- product
Id string - (Updatable) The license record product ID.
- support
End stringDate (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_ strid - Unique product license identifier.
- Mapping[str, str]
- (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
- Mapping[str, str]
- (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_ strdate (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 String - (Updatable) License record name.
- is
Perpetual Boolean - (Updatable) Specifies if the license record term is perpertual.
- is
Unlimited Boolean - (Updatable) Specifies if the license count is unlimited.
- product
License StringId - Unique product license identifier.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- expiration
Date String - (Updatable) The license record end date in RFC 3339 date format. Example:
2018-09-12
- Map<String>
- (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 Number - (Updatable) The number of license units added by a user in a license record. Default 1
- product
Id String - (Updatable) The license record product ID.
- support
End StringDate (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:
- Compartment
Id string - The compartment OCID where the license record is created.
- Id string
- The provider-assigned unique ID for this managed resource.
- License
Unit string - The product license unit.
- Product
License string - The product license name with which the license record is associated.
- State string
- The current license record state.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the license record was created. An RFC 3339-formatted datetime string.
- Time
Updated string - The time the license record was updated. An RFC 3339-formatted datetime string.
- Compartment
Id string - The compartment OCID where the license record is created.
- Id string
- The provider-assigned unique ID for this managed resource.
- License
Unit string - The product license unit.
- Product
License string - The product license name with which the license record is associated.
- State string
- The current license record state.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the license record was created. An RFC 3339-formatted datetime string.
- Time
Updated string - The time the license record was updated. An RFC 3339-formatted datetime string.
- compartment
Id String - The compartment OCID where the license record is created.
- id String
- The provider-assigned unique ID for this managed resource.
- license
Unit String - The product license unit.
- product
License String - The product license name with which the license record is associated.
- state String
- The current license record state.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the license record was created. An RFC 3339-formatted datetime string.
- time
Updated String - The time the license record was updated. An RFC 3339-formatted datetime string.
- compartment
Id string - The compartment OCID where the license record is created.
- id string
- The provider-assigned unique ID for this managed resource.
- license
Unit string - The product license unit.
- product
License string - The product license name with which the license record is associated.
- state string
- The current license record state.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the license record was created. An RFC 3339-formatted datetime string.
- time
Updated 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.
- Mapping[str, str]
- 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.
- compartment
Id String - The compartment OCID where the license record is created.
- id String
- The provider-assigned unique ID for this managed resource.
- license
Unit String - The product license unit.
- product
License String - The product license name with which the license record is associated.
- state String
- The current license record state.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the license record was created. An RFC 3339-formatted datetime string.
- time
Updated 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, str]] = None,
display_name: Optional[str] = None,
expiration_date: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = 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, str]] = 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.
- Compartment
Id string - The compartment OCID where the license record is created.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) License record name.
- Expiration
Date string - (Updatable) The license record end date in RFC 3339 date format. Example:
2018-09-12
- Dictionary<string, string>
- (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 string - The product license unit.
- Product
Id string - (Updatable) The license record product ID.
- Product
License string - The product license name with which the license record is associated.
- Product
License stringId - Unique product license identifier.
- State string
- The current license record state.
- Support
End stringDate (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
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the license record was created. An RFC 3339-formatted datetime string.
- Time
Updated string - The time the license record was updated. An RFC 3339-formatted datetime string.
- Compartment
Id string - The compartment OCID where the license record is created.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) License record name.
- Expiration
Date string - (Updatable) The license record end date in RFC 3339 date format. Example:
2018-09-12
- map[string]string
- (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 string - The product license unit.
- Product
Id string - (Updatable) The license record product ID.
- Product
License string - The product license name with which the license record is associated.
- Product
License stringId - Unique product license identifier.
- State string
- The current license record state.
- Support
End stringDate (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
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the license record was created. An RFC 3339-formatted datetime string.
- Time
Updated string - The time the license record was updated. An RFC 3339-formatted datetime string.
- compartment
Id String - The compartment OCID where the license record is created.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) License record name.
- expiration
Date String - (Updatable) The license record end date in RFC 3339 date format. Example:
2018-09-12
- Map<String,String>
- (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 Boolean - (Updatable) Specifies if the license record term is perpertual.
- is
Unlimited Boolean - (Updatable) Specifies if the license count is unlimited.
- license
Count Integer - (Updatable) The number of license units added by a user in a license record. Default 1
- license
Unit String - The product license unit.
- product
Id String - (Updatable) The license record product ID.
- product
License String - The product license name with which the license record is associated.
- product
License StringId - Unique product license identifier.
- state String
- The current license record state.
- support
End StringDate (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
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the license record was created. An RFC 3339-formatted datetime string.
- time
Updated String - The time the license record was updated. An RFC 3339-formatted datetime string.
- compartment
Id string - The compartment OCID where the license record is created.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) License record name.
- expiration
Date string - (Updatable) The license record end date in RFC 3339 date format. Example:
2018-09-12
- {[key: string]: string}
- (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 boolean - (Updatable) Specifies if the license record term is perpertual.
- is
Unlimited boolean - (Updatable) Specifies if the license count is unlimited.
- license
Count number - (Updatable) The number of license units added by a user in a license record. Default 1
- license
Unit string - The product license unit.
- product
Id string - (Updatable) The license record product ID.
- product
License string - The product license name with which the license record is associated.
- product
License stringId - Unique product license identifier.
- state string
- The current license record state.
- support
End stringDate (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
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the license record was created. An RFC 3339-formatted datetime string.
- time
Updated 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.
- Mapping[str, str]
- (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
- Mapping[str, str]
- (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_ strid - Unique product license identifier.
- state str
- The current license record state.
- support_
end_ strdate (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
- Mapping[str, str]
- 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.
- compartment
Id String - The compartment OCID where the license record is created.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) License record name.
- expiration
Date String - (Updatable) The license record end date in RFC 3339 date format. Example:
2018-09-12
- Map<String>
- (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 Boolean - (Updatable) Specifies if the license record term is perpertual.
- is
Unlimited Boolean - (Updatable) Specifies if the license count is unlimited.
- license
Count Number - (Updatable) The number of license units added by a user in a license record. Default 1
- license
Unit String - The product license unit.
- product
Id String - (Updatable) The license record product ID.
- product
License String - The product license name with which the license record is associated.
- product
License StringId - Unique product license identifier.
- state String
- The current license record state.
- support
End StringDate (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
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the license record was created. An RFC 3339-formatted datetime string.
- time
Updated 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.