oci.LicenseManager.ProductLicense
Explore with Pulumi AI
This resource provides the Product License resource in Oracle Cloud Infrastructure License Manager service.
Creates a new product license.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testProductLicense = new oci.licensemanager.ProductLicense("test_product_license", {
compartmentId: compartmentId,
displayName: productLicenseDisplayName,
isVendorOracle: productLicenseIsVendorOracle,
licenseUnit: productLicenseLicenseUnit,
definedTags: {
"foo-namespace.bar-key": "value",
},
freeformTags: {
"bar-key": "value",
},
images: [{
listingId: testListing.id,
packageVersion: productLicenseImagesPackageVersion,
}],
vendorName: productLicenseVendorName,
});
import pulumi
import pulumi_oci as oci
test_product_license = oci.license_manager.ProductLicense("test_product_license",
compartment_id=compartment_id,
display_name=product_license_display_name,
is_vendor_oracle=product_license_is_vendor_oracle,
license_unit=product_license_license_unit,
defined_tags={
"foo-namespace.bar-key": "value",
},
freeform_tags={
"bar-key": "value",
},
images=[{
"listing_id": test_listing["id"],
"package_version": product_license_images_package_version,
}],
vendor_name=product_license_vendor_name)
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.NewProductLicense(ctx, "test_product_license", &LicenseManager.ProductLicenseArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(productLicenseDisplayName),
IsVendorOracle: pulumi.Any(productLicenseIsVendorOracle),
LicenseUnit: pulumi.Any(productLicenseLicenseUnit),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
Images: licensemanager.ProductLicenseImageArray{
&licensemanager.ProductLicenseImageArgs{
ListingId: pulumi.Any(testListing.Id),
PackageVersion: pulumi.Any(productLicenseImagesPackageVersion),
},
},
VendorName: pulumi.Any(productLicenseVendorName),
})
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 testProductLicense = new Oci.LicenseManager.ProductLicense("test_product_license", new()
{
CompartmentId = compartmentId,
DisplayName = productLicenseDisplayName,
IsVendorOracle = productLicenseIsVendorOracle,
LicenseUnit = productLicenseLicenseUnit,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
FreeformTags =
{
{ "bar-key", "value" },
},
Images = new[]
{
new Oci.LicenseManager.Inputs.ProductLicenseImageArgs
{
ListingId = testListing.Id,
PackageVersion = productLicenseImagesPackageVersion,
},
},
VendorName = productLicenseVendorName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.LicenseManager.ProductLicense;
import com.pulumi.oci.LicenseManager.ProductLicenseArgs;
import com.pulumi.oci.LicenseManager.inputs.ProductLicenseImageArgs;
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 testProductLicense = new ProductLicense("testProductLicense", ProductLicenseArgs.builder()
.compartmentId(compartmentId)
.displayName(productLicenseDisplayName)
.isVendorOracle(productLicenseIsVendorOracle)
.licenseUnit(productLicenseLicenseUnit)
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.freeformTags(Map.of("bar-key", "value"))
.images(ProductLicenseImageArgs.builder()
.listingId(testListing.id())
.packageVersion(productLicenseImagesPackageVersion)
.build())
.vendorName(productLicenseVendorName)
.build());
}
}
resources:
testProductLicense:
type: oci:LicenseManager:ProductLicense
name: test_product_license
properties:
compartmentId: ${compartmentId}
displayName: ${productLicenseDisplayName}
isVendorOracle: ${productLicenseIsVendorOracle}
licenseUnit: ${productLicenseLicenseUnit}
definedTags:
foo-namespace.bar-key: value
freeformTags:
bar-key: value
images:
- listingId: ${testListing.id}
packageVersion: ${productLicenseImagesPackageVersion}
vendorName: ${productLicenseVendorName}
Create ProductLicense Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProductLicense(name: string, args: ProductLicenseArgs, opts?: CustomResourceOptions);
@overload
def ProductLicense(resource_name: str,
args: ProductLicenseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProductLicense(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
is_vendor_oracle: Optional[bool] = None,
license_unit: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
images: Optional[Sequence[_licensemanager.ProductLicenseImageArgs]] = None,
vendor_name: Optional[str] = None)
func NewProductLicense(ctx *Context, name string, args ProductLicenseArgs, opts ...ResourceOption) (*ProductLicense, error)
public ProductLicense(string name, ProductLicenseArgs args, CustomResourceOptions? opts = null)
public ProductLicense(String name, ProductLicenseArgs args)
public ProductLicense(String name, ProductLicenseArgs args, CustomResourceOptions options)
type: oci:LicenseManager:ProductLicense
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 ProductLicenseArgs
- 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 ProductLicenseArgs
- 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 ProductLicenseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProductLicenseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProductLicenseArgs
- 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 productLicenseResource = new Oci.LicenseManager.ProductLicense("productLicenseResource", new()
{
CompartmentId = "string",
DisplayName = "string",
IsVendorOracle = false,
LicenseUnit = "string",
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
Images = new[]
{
new Oci.LicenseManager.Inputs.ProductLicenseImageArgs
{
ListingId = "string",
PackageVersion = "string",
Id = "string",
ListingName = "string",
Publisher = "string",
},
},
VendorName = "string",
});
example, err := LicenseManager.NewProductLicense(ctx, "productLicenseResource", &LicenseManager.ProductLicenseArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
IsVendorOracle: pulumi.Bool(false),
LicenseUnit: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Images: licensemanager.ProductLicenseImageArray{
&licensemanager.ProductLicenseImageArgs{
ListingId: pulumi.String("string"),
PackageVersion: pulumi.String("string"),
Id: pulumi.String("string"),
ListingName: pulumi.String("string"),
Publisher: pulumi.String("string"),
},
},
VendorName: pulumi.String("string"),
})
var productLicenseResource = new ProductLicense("productLicenseResource", ProductLicenseArgs.builder()
.compartmentId("string")
.displayName("string")
.isVendorOracle(false)
.licenseUnit("string")
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.images(ProductLicenseImageArgs.builder()
.listingId("string")
.packageVersion("string")
.id("string")
.listingName("string")
.publisher("string")
.build())
.vendorName("string")
.build());
product_license_resource = oci.license_manager.ProductLicense("productLicenseResource",
compartment_id="string",
display_name="string",
is_vendor_oracle=False,
license_unit="string",
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
images=[oci.license_manager.ProductLicenseImageArgs(
listing_id="string",
package_version="string",
id="string",
listing_name="string",
publisher="string",
)],
vendor_name="string")
const productLicenseResource = new oci.licensemanager.ProductLicense("productLicenseResource", {
compartmentId: "string",
displayName: "string",
isVendorOracle: false,
licenseUnit: "string",
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
images: [{
listingId: "string",
packageVersion: "string",
id: "string",
listingName: "string",
publisher: "string",
}],
vendorName: "string",
});
type: oci:LicenseManager:ProductLicense
properties:
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
images:
- id: string
listingId: string
listingName: string
packageVersion: string
publisher: string
isVendorOracle: false
licenseUnit: string
vendorName: string
ProductLicense 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 ProductLicense resource accepts the following input properties:
- Compartment
Id string - The compartment OCID where product licenses are created.
- Display
Name string - Name of the product license.
- Is
Vendor boolOracle - Specifies if the product license vendor is Oracle or a third party.
- License
Unit string - The product license unit.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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"}
- Images
List<Product
License Image> - (Updatable) The image details associated with the product license.
- Vendor
Name string The product license vendor name, for example: Microsoft, RHEL, and so on.
** 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
- Compartment
Id string - The compartment OCID where product licenses are created.
- Display
Name string - Name of the product license.
- Is
Vendor boolOracle - Specifies if the product license vendor is Oracle or a third party.
- License
Unit string - The product license unit.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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"}
- Images
[]Product
License Image Args - (Updatable) The image details associated with the product license.
- Vendor
Name string The product license vendor name, for example: Microsoft, RHEL, and so on.
** 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
- compartment
Id String - The compartment OCID where product licenses are created.
- display
Name String - Name of the product license.
- is
Vendor BooleanOracle - Specifies if the product license vendor is Oracle or a third party.
- license
Unit String - The product license unit.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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"}
- images
List<Product
License Image> - (Updatable) The image details associated with the product license.
- vendor
Name String The product license vendor name, for example: Microsoft, RHEL, and so on.
** 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
- compartment
Id string - The compartment OCID where product licenses are created.
- display
Name string - Name of the product license.
- is
Vendor booleanOracle - Specifies if the product license vendor is Oracle or a third party.
- license
Unit string - The product license unit.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[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"}
- images
Product
License Image[] - (Updatable) The image details associated with the product license.
- vendor
Name string The product license vendor name, for example: Microsoft, RHEL, and so on.
** 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
- compartment_
id str - The compartment OCID where product licenses are created.
- display_
name str - Name of the product license.
- is_
vendor_ booloracle - Specifies if the product license vendor is Oracle or a third party.
- license_
unit str - The product license unit.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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"}
- images
Sequence[licensemanager.
Product License Image Args] - (Updatable) The image details associated with the product license.
- vendor_
name str The product license vendor name, for example: Microsoft, RHEL, and so on.
** 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
- compartment
Id String - The compartment OCID where product licenses are created.
- display
Name String - Name of the product license.
- is
Vendor BooleanOracle - Specifies if the product license vendor is Oracle or a third party.
- license
Unit String - The product license unit.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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"}
- images List<Property Map>
- (Updatable) The image details associated with the product license.
- vendor
Name String The product license vendor name, for example: Microsoft, RHEL, and so on.
** 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 ProductLicense resource produces the following output properties:
- Active
License intRecord Count - The number of active license records associated with the product license.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Over boolSubscribed - Specifies whether or not the product license is oversubscribed.
- Is
Unlimited bool - Specifies if the license unit count is unlimited.
- State string
- The current product license state.
- Status string
- The current product license status.
- Status
Description string - Status description for the current product license status.
- 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 product license was created. An RFC 3339-formatted datetime string.
- Time
Updated string - The time the product license was updated. An RFC 3339-formatted datetime string.
- Total
Active intLicense Unit Count - The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
- Total
License intRecord Count - The number of license records associated with the product license.
- Total
License doubleUnits Consumed - The number of license units consumed. Updated after each allocation run.
- Active
License intRecord Count - The number of active license records associated with the product license.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Over boolSubscribed - Specifies whether or not the product license is oversubscribed.
- Is
Unlimited bool - Specifies if the license unit count is unlimited.
- State string
- The current product license state.
- Status string
- The current product license status.
- Status
Description string - Status description for the current product license status.
- 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 product license was created. An RFC 3339-formatted datetime string.
- Time
Updated string - The time the product license was updated. An RFC 3339-formatted datetime string.
- Total
Active intLicense Unit Count - The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
- Total
License intRecord Count - The number of license records associated with the product license.
- Total
License float64Units Consumed - The number of license units consumed. Updated after each allocation run.
- active
License IntegerRecord Count - The number of active license records associated with the product license.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Over BooleanSubscribed - Specifies whether or not the product license is oversubscribed.
- is
Unlimited Boolean - Specifies if the license unit count is unlimited.
- state String
- The current product license state.
- status String
- The current product license status.
- status
Description String - Status description for the current product license status.
- 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 product license was created. An RFC 3339-formatted datetime string.
- time
Updated String - The time the product license was updated. An RFC 3339-formatted datetime string.
- total
Active IntegerLicense Unit Count - The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
- total
License IntegerRecord Count - The number of license records associated with the product license.
- total
License DoubleUnits Consumed - The number of license units consumed. Updated after each allocation run.
- active
License numberRecord Count - The number of active license records associated with the product license.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Over booleanSubscribed - Specifies whether or not the product license is oversubscribed.
- is
Unlimited boolean - Specifies if the license unit count is unlimited.
- state string
- The current product license state.
- status string
- The current product license status.
- status
Description string - Status description for the current product license status.
- {[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 product license was created. An RFC 3339-formatted datetime string.
- time
Updated string - The time the product license was updated. An RFC 3339-formatted datetime string.
- total
Active numberLicense Unit Count - The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
- total
License numberRecord Count - The number of license records associated with the product license.
- total
License numberUnits Consumed - The number of license units consumed. Updated after each allocation run.
- active_
license_ intrecord_ count - The number of active license records associated with the product license.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
over_ boolsubscribed - Specifies whether or not the product license is oversubscribed.
- is_
unlimited bool - Specifies if the license unit count is unlimited.
- state str
- The current product license state.
- status str
- The current product license status.
- status_
description str - Status description for the current product license status.
- 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 product license was created. An RFC 3339-formatted datetime string.
- time_
updated str - The time the product license was updated. An RFC 3339-formatted datetime string.
- total_
active_ intlicense_ unit_ count - The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
- total_
license_ intrecord_ count - The number of license records associated with the product license.
- total_
license_ floatunits_ consumed - The number of license units consumed. Updated after each allocation run.
- active
License NumberRecord Count - The number of active license records associated with the product license.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Over BooleanSubscribed - Specifies whether or not the product license is oversubscribed.
- is
Unlimited Boolean - Specifies if the license unit count is unlimited.
- state String
- The current product license state.
- status String
- The current product license status.
- status
Description String - Status description for the current product license status.
- 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 product license was created. An RFC 3339-formatted datetime string.
- time
Updated String - The time the product license was updated. An RFC 3339-formatted datetime string.
- total
Active NumberLicense Unit Count - The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
- total
License NumberRecord Count - The number of license records associated with the product license.
- total
License NumberUnits Consumed - The number of license units consumed. Updated after each allocation run.
Look up Existing ProductLicense Resource
Get an existing ProductLicense 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?: ProductLicenseState, opts?: CustomResourceOptions): ProductLicense
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active_license_record_count: Optional[int] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
images: Optional[Sequence[_licensemanager.ProductLicenseImageArgs]] = None,
is_over_subscribed: Optional[bool] = None,
is_unlimited: Optional[bool] = None,
is_vendor_oracle: Optional[bool] = None,
license_unit: Optional[str] = None,
state: Optional[str] = None,
status: Optional[str] = None,
status_description: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
total_active_license_unit_count: Optional[int] = None,
total_license_record_count: Optional[int] = None,
total_license_units_consumed: Optional[float] = None,
vendor_name: Optional[str] = None) -> ProductLicense
func GetProductLicense(ctx *Context, name string, id IDInput, state *ProductLicenseState, opts ...ResourceOption) (*ProductLicense, error)
public static ProductLicense Get(string name, Input<string> id, ProductLicenseState? state, CustomResourceOptions? opts = null)
public static ProductLicense get(String name, Output<String> id, ProductLicenseState 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.
- Active
License intRecord Count - The number of active license records associated with the product license.
- Compartment
Id string - The compartment OCID where product licenses are 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 - Name of the product license.
- 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"}
- Images
List<Product
License Image> - (Updatable) The image details associated with the product license.
- Is
Over boolSubscribed - Specifies whether or not the product license is oversubscribed.
- Is
Unlimited bool - Specifies if the license unit count is unlimited.
- Is
Vendor boolOracle - Specifies if the product license vendor is Oracle or a third party.
- License
Unit string - The product license unit.
- State string
- The current product license state.
- Status string
- The current product license status.
- Status
Description string - Status description for the current product license status.
- 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 product license was created. An RFC 3339-formatted datetime string.
- Time
Updated string - The time the product license was updated. An RFC 3339-formatted datetime string.
- Total
Active intLicense Unit Count - The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
- Total
License intRecord Count - The number of license records associated with the product license.
- Total
License doubleUnits Consumed - The number of license units consumed. Updated after each allocation run.
- Vendor
Name string The product license vendor name, for example: Microsoft, RHEL, and so on.
** 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
- Active
License intRecord Count - The number of active license records associated with the product license.
- Compartment
Id string - The compartment OCID where product licenses are 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 - Name of the product license.
- 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"}
- Images
[]Product
License Image Args - (Updatable) The image details associated with the product license.
- Is
Over boolSubscribed - Specifies whether or not the product license is oversubscribed.
- Is
Unlimited bool - Specifies if the license unit count is unlimited.
- Is
Vendor boolOracle - Specifies if the product license vendor is Oracle or a third party.
- License
Unit string - The product license unit.
- State string
- The current product license state.
- Status string
- The current product license status.
- Status
Description string - Status description for the current product license status.
- 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 product license was created. An RFC 3339-formatted datetime string.
- Time
Updated string - The time the product license was updated. An RFC 3339-formatted datetime string.
- Total
Active intLicense Unit Count - The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
- Total
License intRecord Count - The number of license records associated with the product license.
- Total
License float64Units Consumed - The number of license units consumed. Updated after each allocation run.
- Vendor
Name string The product license vendor name, for example: Microsoft, RHEL, and so on.
** 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
- active
License IntegerRecord Count - The number of active license records associated with the product license.
- compartment
Id String - The compartment OCID where product licenses are 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 - Name of the product license.
- 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"}
- images
List<Product
License Image> - (Updatable) The image details associated with the product license.
- is
Over BooleanSubscribed - Specifies whether or not the product license is oversubscribed.
- is
Unlimited Boolean - Specifies if the license unit count is unlimited.
- is
Vendor BooleanOracle - Specifies if the product license vendor is Oracle or a third party.
- license
Unit String - The product license unit.
- state String
- The current product license state.
- status String
- The current product license status.
- status
Description String - Status description for the current product license status.
- 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 product license was created. An RFC 3339-formatted datetime string.
- time
Updated String - The time the product license was updated. An RFC 3339-formatted datetime string.
- total
Active IntegerLicense Unit Count - The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
- total
License IntegerRecord Count - The number of license records associated with the product license.
- total
License DoubleUnits Consumed - The number of license units consumed. Updated after each allocation run.
- vendor
Name String The product license vendor name, for example: Microsoft, RHEL, and so on.
** 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
- active
License numberRecord Count - The number of active license records associated with the product license.
- compartment
Id string - The compartment OCID where product licenses are 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 - Name of the product license.
- {[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"}
- images
Product
License Image[] - (Updatable) The image details associated with the product license.
- is
Over booleanSubscribed - Specifies whether or not the product license is oversubscribed.
- is
Unlimited boolean - Specifies if the license unit count is unlimited.
- is
Vendor booleanOracle - Specifies if the product license vendor is Oracle or a third party.
- license
Unit string - The product license unit.
- state string
- The current product license state.
- status string
- The current product license status.
- status
Description string - Status description for the current product license status.
- {[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 product license was created. An RFC 3339-formatted datetime string.
- time
Updated string - The time the product license was updated. An RFC 3339-formatted datetime string.
- total
Active numberLicense Unit Count - The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
- total
License numberRecord Count - The number of license records associated with the product license.
- total
License numberUnits Consumed - The number of license units consumed. Updated after each allocation run.
- vendor
Name string The product license vendor name, for example: Microsoft, RHEL, and so on.
** 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
- active_
license_ intrecord_ count - The number of active license records associated with the product license.
- compartment_
id str - The compartment OCID where product licenses are 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 - Name of the product license.
- 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"}
- images
Sequence[licensemanager.
Product License Image Args] - (Updatable) The image details associated with the product license.
- is_
over_ boolsubscribed - Specifies whether or not the product license is oversubscribed.
- is_
unlimited bool - Specifies if the license unit count is unlimited.
- is_
vendor_ booloracle - Specifies if the product license vendor is Oracle or a third party.
- license_
unit str - The product license unit.
- state str
- The current product license state.
- status str
- The current product license status.
- status_
description str - Status description for the current product license status.
- 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 product license was created. An RFC 3339-formatted datetime string.
- time_
updated str - The time the product license was updated. An RFC 3339-formatted datetime string.
- total_
active_ intlicense_ unit_ count - The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
- total_
license_ intrecord_ count - The number of license records associated with the product license.
- total_
license_ floatunits_ consumed - The number of license units consumed. Updated after each allocation run.
- vendor_
name str The product license vendor name, for example: Microsoft, RHEL, and so on.
** 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
- active
License NumberRecord Count - The number of active license records associated with the product license.
- compartment
Id String - The compartment OCID where product licenses are 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 - Name of the product license.
- 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"}
- images List<Property Map>
- (Updatable) The image details associated with the product license.
- is
Over BooleanSubscribed - Specifies whether or not the product license is oversubscribed.
- is
Unlimited Boolean - Specifies if the license unit count is unlimited.
- is
Vendor BooleanOracle - Specifies if the product license vendor is Oracle or a third party.
- license
Unit String - The product license unit.
- state String
- The current product license state.
- status String
- The current product license status.
- status
Description String - Status description for the current product license status.
- 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 product license was created. An RFC 3339-formatted datetime string.
- time
Updated String - The time the product license was updated. An RFC 3339-formatted datetime string.
- total
Active NumberLicense Unit Count - The total number of licenses available for the product license, calculated by adding up all the license counts for active license records associated with the product license.
- total
License NumberRecord Count - The number of license records associated with the product license.
- total
License NumberUnits Consumed - The number of license units consumed. Updated after each allocation run.
- vendor
Name String The product license vendor name, for example: Microsoft, RHEL, and so on.
** 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
Supporting Types
ProductLicenseImage, ProductLicenseImageArgs
- Listing
Id string - (Updatable) Marketplace image listing ID.
- Package
Version string - (Updatable) Image package version.
- Id string
- The image ID associated with the product license.
- Listing
Name string - The listing name associated with the product license.
- Publisher string
- The image publisher.
- Listing
Id string - (Updatable) Marketplace image listing ID.
- Package
Version string - (Updatable) Image package version.
- Id string
- The image ID associated with the product license.
- Listing
Name string - The listing name associated with the product license.
- Publisher string
- The image publisher.
- listing
Id String - (Updatable) Marketplace image listing ID.
- package
Version String - (Updatable) Image package version.
- id String
- The image ID associated with the product license.
- listing
Name String - The listing name associated with the product license.
- publisher String
- The image publisher.
- listing
Id string - (Updatable) Marketplace image listing ID.
- package
Version string - (Updatable) Image package version.
- id string
- The image ID associated with the product license.
- listing
Name string - The listing name associated with the product license.
- publisher string
- The image publisher.
- listing_
id str - (Updatable) Marketplace image listing ID.
- package_
version str - (Updatable) Image package version.
- id str
- The image ID associated with the product license.
- listing_
name str - The listing name associated with the product license.
- publisher str
- The image publisher.
- listing
Id String - (Updatable) Marketplace image listing ID.
- package
Version String - (Updatable) Image package version.
- id String
- The image ID associated with the product license.
- listing
Name String - The listing name associated with the product license.
- publisher String
- The image publisher.
Import
ProductLicenses can be imported using the id
, e.g.
$ pulumi import oci:LicenseManager/productLicense:ProductLicense test_product_license "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.