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
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testLicenseRecord = new Oci.LicenseManager.LicenseRecord("testLicenseRecord", new()
{
DisplayName = @var.License_record_display_name,
IsPerpetual = @var.License_record_is_perpetual,
IsUnlimited = @var.License_record_is_unlimited,
ProductLicenseId = oci_license_manager_product_license.Test_product_license.Id,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
ExpirationDate = @var.License_record_expiration_date,
FreeformTags =
{
{ "bar-key", "value" },
},
LicenseCount = @var.License_record_license_count,
ProductId = oci_license_manager_product.Test_product.Id,
SupportEndDate = @var.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, "testLicenseRecord", &LicenseManager.LicenseRecordArgs{
DisplayName: pulumi.Any(_var.License_record_display_name),
IsPerpetual: pulumi.Any(_var.License_record_is_perpetual),
IsUnlimited: pulumi.Any(_var.License_record_is_unlimited),
ProductLicenseId: pulumi.Any(oci_license_manager_product_license.Test_product_license.Id),
DefinedTags: pulumi.AnyMap{
"foo-namespace.bar-key": pulumi.Any("value"),
},
ExpirationDate: pulumi.Any(_var.License_record_expiration_date),
FreeformTags: pulumi.AnyMap{
"bar-key": pulumi.Any("value"),
},
LicenseCount: pulumi.Any(_var.License_record_license_count),
ProductId: pulumi.Any(oci_license_manager_product.Test_product.Id),
SupportEndDate: pulumi.Any(_var.License_record_support_end_date),
})
if err != nil {
return err
}
return nil
})
}
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(var_.license_record_display_name())
.isPerpetual(var_.license_record_is_perpetual())
.isUnlimited(var_.license_record_is_unlimited())
.productLicenseId(oci_license_manager_product_license.test_product_license().id())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.expirationDate(var_.license_record_expiration_date())
.freeformTags(Map.of("bar-key", "value"))
.licenseCount(var_.license_record_license_count())
.productId(oci_license_manager_product.test_product().id())
.supportEndDate(var_.license_record_support_end_date())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_license_record = oci.license_manager.LicenseRecord("testLicenseRecord",
display_name=var["license_record_display_name"],
is_perpetual=var["license_record_is_perpetual"],
is_unlimited=var["license_record_is_unlimited"],
product_license_id=oci_license_manager_product_license["test_product_license"]["id"],
defined_tags={
"foo-namespace.bar-key": "value",
},
expiration_date=var["license_record_expiration_date"],
freeform_tags={
"bar-key": "value",
},
license_count=var["license_record_license_count"],
product_id=oci_license_manager_product["test_product"]["id"],
support_end_date=var["license_record_support_end_date"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testLicenseRecord = new oci.licensemanager.LicenseRecord("testLicenseRecord", {
displayName: _var.license_record_display_name,
isPerpetual: _var.license_record_is_perpetual,
isUnlimited: _var.license_record_is_unlimited,
productLicenseId: oci_license_manager_product_license.test_product_license.id,
definedTags: {
"foo-namespace.bar-key": "value",
},
expirationDate: _var.license_record_expiration_date,
freeformTags: {
"bar-key": "value",
},
licenseCount: _var.license_record_license_count,
productId: oci_license_manager_product.test_product.id,
supportEndDate: _var.license_record_support_end_date,
});
resources:
testLicenseRecord:
type: oci:LicenseManager:LicenseRecord
properties:
#Required
displayName: ${var.license_record_display_name}
isPerpetual: ${var.license_record_is_perpetual}
isUnlimited: ${var.license_record_is_unlimited}
productLicenseId: ${oci_license_manager_product_license.test_product_license.id}
#Optional
definedTags:
foo-namespace.bar-key: value
expirationDate: ${var.license_record_expiration_date}
freeformTags:
bar-key: value
licenseCount: ${var.license_record_license_count}
productId: ${oci_license_manager_product.test_product.id}
supportEndDate: ${var.license_record_support_end_date}
Create LicenseRecord Resource
new LicenseRecord(name: string, args: LicenseRecordArgs, opts?: CustomResourceOptions);
@overload
def LicenseRecord(resource_name: str,
opts: Optional[ResourceOptions] = 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,
product_id: Optional[str] = None,
product_license_id: Optional[str] = None,
support_end_date: Optional[str] = None)
@overload
def LicenseRecord(resource_name: str,
args: LicenseRecordArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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:
- 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, object>
(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, 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"}
- 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]interface{}
(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]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"}
- 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,Object>
(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,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"}
- 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]: any}
(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]: 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 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, 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
- 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_ 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<Any>
(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<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 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, object>
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]interface{}
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,Object>
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]: any}
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, 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.
- 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<Any>
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, 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.
- Compartment
Id string The compartment OCID where the license record is created.
- Dictionary<string, object>
(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, 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"}
- 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, object>
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]interface{}
(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]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"}
- 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]interface{}
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,Object>
(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,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"}
- 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,Object>
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]: any}
(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]: 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 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]: any}
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, 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
- 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_ 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, 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.
- compartment
Id String The compartment OCID where the license record is created.
- Map<Any>
(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<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 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<Any>
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"
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.