licensemanager

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	pulumi.CustomResourceState

	// (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) List of email IDs associated with the configuration.
	//
	// ** 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
	EmailIds pulumi.StringArrayOutput `pulumi:"emailIds"`
	// The time the configuration was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The time the configuration was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

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

Updates the configuration for the compartment.

## Example Usage

```go 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.NewConfiguration(ctx, "test_configuration", &LicenseManager.ConfigurationArgs{
			CompartmentId: pulumi.Any(compartmentId),
			EmailIds:      pulumi.Any(configurationEmailIds),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Configurations can be imported using the `id`, e.g.

```sh $ pulumi import oci:LicenseManager/configuration:Configuration test_configuration "configuration/compartmentId/{compartmentId}" ```

func GetConfiguration

func GetConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigurationState, opts ...pulumi.ResourceOption) (*Configuration, error)

GetConfiguration gets an existing Configuration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConfiguration

func NewConfiguration(ctx *pulumi.Context,
	name string, args *ConfigurationArgs, opts ...pulumi.ResourceOption) (*Configuration, error)

NewConfiguration registers a new resource with the given unique name, arguments, and options.

func (*Configuration) ElementType

func (*Configuration) ElementType() reflect.Type

func (*Configuration) ToConfigurationOutput

func (i *Configuration) ToConfigurationOutput() ConfigurationOutput

func (*Configuration) ToConfigurationOutputWithContext

func (i *Configuration) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput

type ConfigurationArgs

type ConfigurationArgs struct {
	// (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId pulumi.StringInput
	// (Updatable) List of email IDs associated with the configuration.
	//
	// ** 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
	EmailIds pulumi.StringArrayInput
}

The set of arguments for constructing a Configuration resource.

func (ConfigurationArgs) ElementType

func (ConfigurationArgs) ElementType() reflect.Type

type ConfigurationArray

type ConfigurationArray []ConfigurationInput

func (ConfigurationArray) ElementType

func (ConfigurationArray) ElementType() reflect.Type

func (ConfigurationArray) ToConfigurationArrayOutput

func (i ConfigurationArray) ToConfigurationArrayOutput() ConfigurationArrayOutput

func (ConfigurationArray) ToConfigurationArrayOutputWithContext

func (i ConfigurationArray) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput

type ConfigurationArrayInput

type ConfigurationArrayInput interface {
	pulumi.Input

	ToConfigurationArrayOutput() ConfigurationArrayOutput
	ToConfigurationArrayOutputWithContext(context.Context) ConfigurationArrayOutput
}

ConfigurationArrayInput is an input type that accepts ConfigurationArray and ConfigurationArrayOutput values. You can construct a concrete instance of `ConfigurationArrayInput` via:

ConfigurationArray{ ConfigurationArgs{...} }

type ConfigurationArrayOutput

type ConfigurationArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationArrayOutput) ElementType

func (ConfigurationArrayOutput) ElementType() reflect.Type

func (ConfigurationArrayOutput) Index

func (ConfigurationArrayOutput) ToConfigurationArrayOutput

func (o ConfigurationArrayOutput) ToConfigurationArrayOutput() ConfigurationArrayOutput

func (ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext

func (o ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput

type ConfigurationInput

type ConfigurationInput interface {
	pulumi.Input

	ToConfigurationOutput() ConfigurationOutput
	ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
}

type ConfigurationMap

type ConfigurationMap map[string]ConfigurationInput

func (ConfigurationMap) ElementType

func (ConfigurationMap) ElementType() reflect.Type

func (ConfigurationMap) ToConfigurationMapOutput

func (i ConfigurationMap) ToConfigurationMapOutput() ConfigurationMapOutput

func (ConfigurationMap) ToConfigurationMapOutputWithContext

func (i ConfigurationMap) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput

type ConfigurationMapInput

type ConfigurationMapInput interface {
	pulumi.Input

	ToConfigurationMapOutput() ConfigurationMapOutput
	ToConfigurationMapOutputWithContext(context.Context) ConfigurationMapOutput
}

ConfigurationMapInput is an input type that accepts ConfigurationMap and ConfigurationMapOutput values. You can construct a concrete instance of `ConfigurationMapInput` via:

ConfigurationMap{ "key": ConfigurationArgs{...} }

type ConfigurationMapOutput

type ConfigurationMapOutput struct{ *pulumi.OutputState }

func (ConfigurationMapOutput) ElementType

func (ConfigurationMapOutput) ElementType() reflect.Type

func (ConfigurationMapOutput) MapIndex

func (ConfigurationMapOutput) ToConfigurationMapOutput

func (o ConfigurationMapOutput) ToConfigurationMapOutput() ConfigurationMapOutput

func (ConfigurationMapOutput) ToConfigurationMapOutputWithContext

func (o ConfigurationMapOutput) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput

type ConfigurationOutput

type ConfigurationOutput struct{ *pulumi.OutputState }

func (ConfigurationOutput) CompartmentId added in v0.4.0

func (o ConfigurationOutput) CompartmentId() pulumi.StringOutput

(Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.

func (ConfigurationOutput) ElementType

func (ConfigurationOutput) ElementType() reflect.Type

func (ConfigurationOutput) EmailIds added in v0.4.0

(Updatable) List of email IDs associated with the configuration.

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

func (ConfigurationOutput) TimeCreated added in v0.4.0

func (o ConfigurationOutput) TimeCreated() pulumi.StringOutput

The time the configuration was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (ConfigurationOutput) TimeUpdated added in v0.4.0

func (o ConfigurationOutput) TimeUpdated() pulumi.StringOutput

The time the configuration was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (ConfigurationOutput) ToConfigurationOutput

func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput

func (ConfigurationOutput) ToConfigurationOutputWithContext

func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput

type ConfigurationState

type ConfigurationState struct {
	// (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) List of email IDs associated with the configuration.
	//
	// ** 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
	EmailIds pulumi.StringArrayInput
	// The time the configuration was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated pulumi.StringPtrInput
	// The time the configuration was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated pulumi.StringPtrInput
}

func (ConfigurationState) ElementType

func (ConfigurationState) ElementType() reflect.Type

type GetLicenseMetricArgs

type GetLicenseMetricArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId string `pulumi:"compartmentId"`
	// Indicates if the given compartment is the root compartment.
	IsCompartmentIdInSubtree *bool `pulumi:"isCompartmentIdInSubtree"`
}

A collection of arguments for invoking getLicenseMetric.

type GetLicenseMetricOutputArgs

type GetLicenseMetricOutputArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Indicates if the given compartment is the root compartment.
	IsCompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"isCompartmentIdInSubtree"`
}

A collection of arguments for invoking getLicenseMetric.

func (GetLicenseMetricOutputArgs) ElementType

func (GetLicenseMetricOutputArgs) ElementType() reflect.Type

type GetLicenseMetricResult

type GetLicenseMetricResult struct {
	CompartmentId string `pulumi:"compartmentId"`
	// The provider-assigned unique ID for this managed resource.
	Id                       string `pulumi:"id"`
	IsCompartmentIdInSubtree *bool  `pulumi:"isCompartmentIdInSubtree"`
	// Total number of license records that will expire within 90 days in a particular compartment.
	LicenseRecordExpiringSoonCount int `pulumi:"licenseRecordExpiringSoonCount"`
	// Total number of BYOL instances in a particular compartment.
	TotalByolInstanceCount int `pulumi:"totalByolInstanceCount"`
	// Total number of License Included (LI) instances in a particular compartment.
	TotalLicenseIncludedInstanceCount int `pulumi:"totalLicenseIncludedInstanceCount"`
	// Total number of product licenses in a particular compartment.
	TotalProductLicenseCount int `pulumi:"totalProductLicenseCount"`
}

A collection of values returned by getLicenseMetric.

func GetLicenseMetric

func GetLicenseMetric(ctx *pulumi.Context, args *GetLicenseMetricArgs, opts ...pulumi.InvokeOption) (*GetLicenseMetricResult, error)

This data source provides details about a specific License Metric resource in Oracle Cloud Infrastructure License Manager service.

Retrieves the license metrics for a given compartment.

## Example Usage

```go 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.GetLicenseMetric(ctx, &licensemanager.GetLicenseMetricArgs{
			CompartmentId:            compartmentId,
			IsCompartmentIdInSubtree: pulumi.BoolRef(licenseMetricIsCompartmentIdInSubtree),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetLicenseMetricResultOutput

type GetLicenseMetricResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLicenseMetric.

func (GetLicenseMetricResultOutput) CompartmentId

func (GetLicenseMetricResultOutput) ElementType

func (GetLicenseMetricResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetLicenseMetricResultOutput) IsCompartmentIdInSubtree

func (o GetLicenseMetricResultOutput) IsCompartmentIdInSubtree() pulumi.BoolPtrOutput

func (GetLicenseMetricResultOutput) LicenseRecordExpiringSoonCount

func (o GetLicenseMetricResultOutput) LicenseRecordExpiringSoonCount() pulumi.IntOutput

Total number of license records that will expire within 90 days in a particular compartment.

func (GetLicenseMetricResultOutput) ToGetLicenseMetricResultOutput

func (o GetLicenseMetricResultOutput) ToGetLicenseMetricResultOutput() GetLicenseMetricResultOutput

func (GetLicenseMetricResultOutput) ToGetLicenseMetricResultOutputWithContext

func (o GetLicenseMetricResultOutput) ToGetLicenseMetricResultOutputWithContext(ctx context.Context) GetLicenseMetricResultOutput

func (GetLicenseMetricResultOutput) TotalByolInstanceCount

func (o GetLicenseMetricResultOutput) TotalByolInstanceCount() pulumi.IntOutput

Total number of BYOL instances in a particular compartment.

func (GetLicenseMetricResultOutput) TotalLicenseIncludedInstanceCount

func (o GetLicenseMetricResultOutput) TotalLicenseIncludedInstanceCount() pulumi.IntOutput

Total number of License Included (LI) instances in a particular compartment.

func (GetLicenseMetricResultOutput) TotalProductLicenseCount

func (o GetLicenseMetricResultOutput) TotalProductLicenseCount() pulumi.IntOutput

Total number of product licenses in a particular compartment.

type GetLicenseRecordsArgs

type GetLicenseRecordsArgs struct {
	Filters []GetLicenseRecordsFilter `pulumi:"filters"`
	// Unique product license identifier.
	ProductLicenseId string `pulumi:"productLicenseId"`
}

A collection of arguments for invoking getLicenseRecords.

type GetLicenseRecordsFilter

type GetLicenseRecordsFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetLicenseRecordsFilterArgs

type GetLicenseRecordsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetLicenseRecordsFilterArgs) ElementType

func (GetLicenseRecordsFilterArgs) ToGetLicenseRecordsFilterOutput

func (i GetLicenseRecordsFilterArgs) ToGetLicenseRecordsFilterOutput() GetLicenseRecordsFilterOutput

func (GetLicenseRecordsFilterArgs) ToGetLicenseRecordsFilterOutputWithContext

func (i GetLicenseRecordsFilterArgs) ToGetLicenseRecordsFilterOutputWithContext(ctx context.Context) GetLicenseRecordsFilterOutput

type GetLicenseRecordsFilterArray

type GetLicenseRecordsFilterArray []GetLicenseRecordsFilterInput

func (GetLicenseRecordsFilterArray) ElementType

func (GetLicenseRecordsFilterArray) ToGetLicenseRecordsFilterArrayOutput

func (i GetLicenseRecordsFilterArray) ToGetLicenseRecordsFilterArrayOutput() GetLicenseRecordsFilterArrayOutput

func (GetLicenseRecordsFilterArray) ToGetLicenseRecordsFilterArrayOutputWithContext

func (i GetLicenseRecordsFilterArray) ToGetLicenseRecordsFilterArrayOutputWithContext(ctx context.Context) GetLicenseRecordsFilterArrayOutput

type GetLicenseRecordsFilterArrayInput

type GetLicenseRecordsFilterArrayInput interface {
	pulumi.Input

	ToGetLicenseRecordsFilterArrayOutput() GetLicenseRecordsFilterArrayOutput
	ToGetLicenseRecordsFilterArrayOutputWithContext(context.Context) GetLicenseRecordsFilterArrayOutput
}

GetLicenseRecordsFilterArrayInput is an input type that accepts GetLicenseRecordsFilterArray and GetLicenseRecordsFilterArrayOutput values. You can construct a concrete instance of `GetLicenseRecordsFilterArrayInput` via:

GetLicenseRecordsFilterArray{ GetLicenseRecordsFilterArgs{...} }

type GetLicenseRecordsFilterArrayOutput

type GetLicenseRecordsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetLicenseRecordsFilterArrayOutput) ElementType

func (GetLicenseRecordsFilterArrayOutput) Index

func (GetLicenseRecordsFilterArrayOutput) ToGetLicenseRecordsFilterArrayOutput

func (o GetLicenseRecordsFilterArrayOutput) ToGetLicenseRecordsFilterArrayOutput() GetLicenseRecordsFilterArrayOutput

func (GetLicenseRecordsFilterArrayOutput) ToGetLicenseRecordsFilterArrayOutputWithContext

func (o GetLicenseRecordsFilterArrayOutput) ToGetLicenseRecordsFilterArrayOutputWithContext(ctx context.Context) GetLicenseRecordsFilterArrayOutput

type GetLicenseRecordsFilterInput

type GetLicenseRecordsFilterInput interface {
	pulumi.Input

	ToGetLicenseRecordsFilterOutput() GetLicenseRecordsFilterOutput
	ToGetLicenseRecordsFilterOutputWithContext(context.Context) GetLicenseRecordsFilterOutput
}

GetLicenseRecordsFilterInput is an input type that accepts GetLicenseRecordsFilterArgs and GetLicenseRecordsFilterOutput values. You can construct a concrete instance of `GetLicenseRecordsFilterInput` via:

GetLicenseRecordsFilterArgs{...}

type GetLicenseRecordsFilterOutput

type GetLicenseRecordsFilterOutput struct{ *pulumi.OutputState }

func (GetLicenseRecordsFilterOutput) ElementType

func (GetLicenseRecordsFilterOutput) Name

func (GetLicenseRecordsFilterOutput) Regex

func (GetLicenseRecordsFilterOutput) ToGetLicenseRecordsFilterOutput

func (o GetLicenseRecordsFilterOutput) ToGetLicenseRecordsFilterOutput() GetLicenseRecordsFilterOutput

func (GetLicenseRecordsFilterOutput) ToGetLicenseRecordsFilterOutputWithContext

func (o GetLicenseRecordsFilterOutput) ToGetLicenseRecordsFilterOutputWithContext(ctx context.Context) GetLicenseRecordsFilterOutput

func (GetLicenseRecordsFilterOutput) Values

type GetLicenseRecordsLicenseRecordCollection

type GetLicenseRecordsLicenseRecordCollection struct {
	Items []GetLicenseRecordsLicenseRecordCollectionItem `pulumi:"items"`
}

type GetLicenseRecordsLicenseRecordCollectionArgs

type GetLicenseRecordsLicenseRecordCollectionArgs struct {
	Items GetLicenseRecordsLicenseRecordCollectionItemArrayInput `pulumi:"items"`
}

func (GetLicenseRecordsLicenseRecordCollectionArgs) ElementType

func (GetLicenseRecordsLicenseRecordCollectionArgs) ToGetLicenseRecordsLicenseRecordCollectionOutput

func (i GetLicenseRecordsLicenseRecordCollectionArgs) ToGetLicenseRecordsLicenseRecordCollectionOutput() GetLicenseRecordsLicenseRecordCollectionOutput

func (GetLicenseRecordsLicenseRecordCollectionArgs) ToGetLicenseRecordsLicenseRecordCollectionOutputWithContext

func (i GetLicenseRecordsLicenseRecordCollectionArgs) ToGetLicenseRecordsLicenseRecordCollectionOutputWithContext(ctx context.Context) GetLicenseRecordsLicenseRecordCollectionOutput

type GetLicenseRecordsLicenseRecordCollectionArray

type GetLicenseRecordsLicenseRecordCollectionArray []GetLicenseRecordsLicenseRecordCollectionInput

func (GetLicenseRecordsLicenseRecordCollectionArray) ElementType

func (GetLicenseRecordsLicenseRecordCollectionArray) ToGetLicenseRecordsLicenseRecordCollectionArrayOutput

func (i GetLicenseRecordsLicenseRecordCollectionArray) ToGetLicenseRecordsLicenseRecordCollectionArrayOutput() GetLicenseRecordsLicenseRecordCollectionArrayOutput

func (GetLicenseRecordsLicenseRecordCollectionArray) ToGetLicenseRecordsLicenseRecordCollectionArrayOutputWithContext

func (i GetLicenseRecordsLicenseRecordCollectionArray) ToGetLicenseRecordsLicenseRecordCollectionArrayOutputWithContext(ctx context.Context) GetLicenseRecordsLicenseRecordCollectionArrayOutput

type GetLicenseRecordsLicenseRecordCollectionArrayInput

type GetLicenseRecordsLicenseRecordCollectionArrayInput interface {
	pulumi.Input

	ToGetLicenseRecordsLicenseRecordCollectionArrayOutput() GetLicenseRecordsLicenseRecordCollectionArrayOutput
	ToGetLicenseRecordsLicenseRecordCollectionArrayOutputWithContext(context.Context) GetLicenseRecordsLicenseRecordCollectionArrayOutput
}

GetLicenseRecordsLicenseRecordCollectionArrayInput is an input type that accepts GetLicenseRecordsLicenseRecordCollectionArray and GetLicenseRecordsLicenseRecordCollectionArrayOutput values. You can construct a concrete instance of `GetLicenseRecordsLicenseRecordCollectionArrayInput` via:

GetLicenseRecordsLicenseRecordCollectionArray{ GetLicenseRecordsLicenseRecordCollectionArgs{...} }

type GetLicenseRecordsLicenseRecordCollectionArrayOutput

type GetLicenseRecordsLicenseRecordCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetLicenseRecordsLicenseRecordCollectionArrayOutput) ElementType

func (GetLicenseRecordsLicenseRecordCollectionArrayOutput) Index

func (GetLicenseRecordsLicenseRecordCollectionArrayOutput) ToGetLicenseRecordsLicenseRecordCollectionArrayOutput

func (o GetLicenseRecordsLicenseRecordCollectionArrayOutput) ToGetLicenseRecordsLicenseRecordCollectionArrayOutput() GetLicenseRecordsLicenseRecordCollectionArrayOutput

func (GetLicenseRecordsLicenseRecordCollectionArrayOutput) ToGetLicenseRecordsLicenseRecordCollectionArrayOutputWithContext

func (o GetLicenseRecordsLicenseRecordCollectionArrayOutput) ToGetLicenseRecordsLicenseRecordCollectionArrayOutputWithContext(ctx context.Context) GetLicenseRecordsLicenseRecordCollectionArrayOutput

type GetLicenseRecordsLicenseRecordCollectionInput

type GetLicenseRecordsLicenseRecordCollectionInput interface {
	pulumi.Input

	ToGetLicenseRecordsLicenseRecordCollectionOutput() GetLicenseRecordsLicenseRecordCollectionOutput
	ToGetLicenseRecordsLicenseRecordCollectionOutputWithContext(context.Context) GetLicenseRecordsLicenseRecordCollectionOutput
}

GetLicenseRecordsLicenseRecordCollectionInput is an input type that accepts GetLicenseRecordsLicenseRecordCollectionArgs and GetLicenseRecordsLicenseRecordCollectionOutput values. You can construct a concrete instance of `GetLicenseRecordsLicenseRecordCollectionInput` via:

GetLicenseRecordsLicenseRecordCollectionArgs{...}

type GetLicenseRecordsLicenseRecordCollectionItem

type GetLicenseRecordsLicenseRecordCollectionItem struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the license record is created.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// The license record display name. Avoid entering confidential information.
	DisplayName string `pulumi:"displayName"`
	// The license record end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`
	ExpirationDate string `pulumi:"expirationDate"`
	// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The license record [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	Id string `pulumi:"id"`
	// Specifies if the license record term is perpertual.
	IsPerpetual bool `pulumi:"isPerpetual"`
	// Specifies if the license count is unlimited.
	IsUnlimited bool `pulumi:"isUnlimited"`
	// The number of license units added by the user for the given license record. Default 1
	LicenseCount int `pulumi:"licenseCount"`
	// The product license unit.
	LicenseUnit string `pulumi:"licenseUnit"`
	// The license record product ID.
	ProductId string `pulumi:"productId"`
	// The product license name with which the license record is associated.
	ProductLicense string `pulumi:"productLicense"`
	// Unique product license identifier.
	ProductLicenseId string `pulumi:"productLicenseId"`
	// The current license record state.
	State string `pulumi:"state"`
	// The license record support end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`
	SupportEndDate string `pulumi:"supportEndDate"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// The time the license record was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated string `pulumi:"timeCreated"`
	// The time the license record was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetLicenseRecordsLicenseRecordCollectionItemArgs

type GetLicenseRecordsLicenseRecordCollectionItemArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the license record is created.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// The license record display name. Avoid entering confidential information.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// The license record end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`
	ExpirationDate pulumi.StringInput `pulumi:"expirationDate"`
	// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The license record [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	Id pulumi.StringInput `pulumi:"id"`
	// Specifies if the license record term is perpertual.
	IsPerpetual pulumi.BoolInput `pulumi:"isPerpetual"`
	// Specifies if the license count is unlimited.
	IsUnlimited pulumi.BoolInput `pulumi:"isUnlimited"`
	// The number of license units added by the user for the given license record. Default 1
	LicenseCount pulumi.IntInput `pulumi:"licenseCount"`
	// The product license unit.
	LicenseUnit pulumi.StringInput `pulumi:"licenseUnit"`
	// The license record product ID.
	ProductId pulumi.StringInput `pulumi:"productId"`
	// The product license name with which the license record is associated.
	ProductLicense pulumi.StringInput `pulumi:"productLicense"`
	// Unique product license identifier.
	ProductLicenseId pulumi.StringInput `pulumi:"productLicenseId"`
	// The current license record state.
	State pulumi.StringInput `pulumi:"state"`
	// The license record support end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`
	SupportEndDate pulumi.StringInput `pulumi:"supportEndDate"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapInput `pulumi:"systemTags"`
	// The time the license record was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The time the license record was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetLicenseRecordsLicenseRecordCollectionItemArgs) ElementType

func (GetLicenseRecordsLicenseRecordCollectionItemArgs) ToGetLicenseRecordsLicenseRecordCollectionItemOutput

func (i GetLicenseRecordsLicenseRecordCollectionItemArgs) ToGetLicenseRecordsLicenseRecordCollectionItemOutput() GetLicenseRecordsLicenseRecordCollectionItemOutput

func (GetLicenseRecordsLicenseRecordCollectionItemArgs) ToGetLicenseRecordsLicenseRecordCollectionItemOutputWithContext

func (i GetLicenseRecordsLicenseRecordCollectionItemArgs) ToGetLicenseRecordsLicenseRecordCollectionItemOutputWithContext(ctx context.Context) GetLicenseRecordsLicenseRecordCollectionItemOutput

type GetLicenseRecordsLicenseRecordCollectionItemArray

type GetLicenseRecordsLicenseRecordCollectionItemArray []GetLicenseRecordsLicenseRecordCollectionItemInput

func (GetLicenseRecordsLicenseRecordCollectionItemArray) ElementType

func (GetLicenseRecordsLicenseRecordCollectionItemArray) ToGetLicenseRecordsLicenseRecordCollectionItemArrayOutput

func (i GetLicenseRecordsLicenseRecordCollectionItemArray) ToGetLicenseRecordsLicenseRecordCollectionItemArrayOutput() GetLicenseRecordsLicenseRecordCollectionItemArrayOutput

func (GetLicenseRecordsLicenseRecordCollectionItemArray) ToGetLicenseRecordsLicenseRecordCollectionItemArrayOutputWithContext

func (i GetLicenseRecordsLicenseRecordCollectionItemArray) ToGetLicenseRecordsLicenseRecordCollectionItemArrayOutputWithContext(ctx context.Context) GetLicenseRecordsLicenseRecordCollectionItemArrayOutput

type GetLicenseRecordsLicenseRecordCollectionItemArrayInput

type GetLicenseRecordsLicenseRecordCollectionItemArrayInput interface {
	pulumi.Input

	ToGetLicenseRecordsLicenseRecordCollectionItemArrayOutput() GetLicenseRecordsLicenseRecordCollectionItemArrayOutput
	ToGetLicenseRecordsLicenseRecordCollectionItemArrayOutputWithContext(context.Context) GetLicenseRecordsLicenseRecordCollectionItemArrayOutput
}

GetLicenseRecordsLicenseRecordCollectionItemArrayInput is an input type that accepts GetLicenseRecordsLicenseRecordCollectionItemArray and GetLicenseRecordsLicenseRecordCollectionItemArrayOutput values. You can construct a concrete instance of `GetLicenseRecordsLicenseRecordCollectionItemArrayInput` via:

GetLicenseRecordsLicenseRecordCollectionItemArray{ GetLicenseRecordsLicenseRecordCollectionItemArgs{...} }

type GetLicenseRecordsLicenseRecordCollectionItemArrayOutput

type GetLicenseRecordsLicenseRecordCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetLicenseRecordsLicenseRecordCollectionItemArrayOutput) ElementType

func (GetLicenseRecordsLicenseRecordCollectionItemArrayOutput) Index

func (GetLicenseRecordsLicenseRecordCollectionItemArrayOutput) ToGetLicenseRecordsLicenseRecordCollectionItemArrayOutput

func (GetLicenseRecordsLicenseRecordCollectionItemArrayOutput) ToGetLicenseRecordsLicenseRecordCollectionItemArrayOutputWithContext

func (o GetLicenseRecordsLicenseRecordCollectionItemArrayOutput) ToGetLicenseRecordsLicenseRecordCollectionItemArrayOutputWithContext(ctx context.Context) GetLicenseRecordsLicenseRecordCollectionItemArrayOutput

type GetLicenseRecordsLicenseRecordCollectionItemInput

type GetLicenseRecordsLicenseRecordCollectionItemInput interface {
	pulumi.Input

	ToGetLicenseRecordsLicenseRecordCollectionItemOutput() GetLicenseRecordsLicenseRecordCollectionItemOutput
	ToGetLicenseRecordsLicenseRecordCollectionItemOutputWithContext(context.Context) GetLicenseRecordsLicenseRecordCollectionItemOutput
}

GetLicenseRecordsLicenseRecordCollectionItemInput is an input type that accepts GetLicenseRecordsLicenseRecordCollectionItemArgs and GetLicenseRecordsLicenseRecordCollectionItemOutput values. You can construct a concrete instance of `GetLicenseRecordsLicenseRecordCollectionItemInput` via:

GetLicenseRecordsLicenseRecordCollectionItemArgs{...}

type GetLicenseRecordsLicenseRecordCollectionItemOutput

type GetLicenseRecordsLicenseRecordCollectionItemOutput struct{ *pulumi.OutputState }

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) CompartmentId

The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the license record is created.

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) DisplayName

The license record display name. Avoid entering confidential information.

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) ElementType

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) ExpirationDate

The license record end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) FreeformTags

Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) Id

The license record [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) IsPerpetual

Specifies if the license record term is perpertual.

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) IsUnlimited

Specifies if the license count is unlimited.

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) LicenseCount

The number of license units added by the user for the given license record. Default 1

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) LicenseUnit

The product license unit.

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) ProductId

The license record product ID.

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) ProductLicense

The product license name with which the license record is associated.

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) ProductLicenseId

Unique product license identifier.

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) State

The current license record state.

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) SupportEndDate

The license record support end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) TimeCreated

The time the license record was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) TimeUpdated

The time the license record was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) ToGetLicenseRecordsLicenseRecordCollectionItemOutput

func (o GetLicenseRecordsLicenseRecordCollectionItemOutput) ToGetLicenseRecordsLicenseRecordCollectionItemOutput() GetLicenseRecordsLicenseRecordCollectionItemOutput

func (GetLicenseRecordsLicenseRecordCollectionItemOutput) ToGetLicenseRecordsLicenseRecordCollectionItemOutputWithContext

func (o GetLicenseRecordsLicenseRecordCollectionItemOutput) ToGetLicenseRecordsLicenseRecordCollectionItemOutputWithContext(ctx context.Context) GetLicenseRecordsLicenseRecordCollectionItemOutput

type GetLicenseRecordsLicenseRecordCollectionOutput

type GetLicenseRecordsLicenseRecordCollectionOutput struct{ *pulumi.OutputState }

func (GetLicenseRecordsLicenseRecordCollectionOutput) ElementType

func (GetLicenseRecordsLicenseRecordCollectionOutput) Items

func (GetLicenseRecordsLicenseRecordCollectionOutput) ToGetLicenseRecordsLicenseRecordCollectionOutput

func (o GetLicenseRecordsLicenseRecordCollectionOutput) ToGetLicenseRecordsLicenseRecordCollectionOutput() GetLicenseRecordsLicenseRecordCollectionOutput

func (GetLicenseRecordsLicenseRecordCollectionOutput) ToGetLicenseRecordsLicenseRecordCollectionOutputWithContext

func (o GetLicenseRecordsLicenseRecordCollectionOutput) ToGetLicenseRecordsLicenseRecordCollectionOutputWithContext(ctx context.Context) GetLicenseRecordsLicenseRecordCollectionOutput

type GetLicenseRecordsOutputArgs

type GetLicenseRecordsOutputArgs struct {
	Filters GetLicenseRecordsFilterArrayInput `pulumi:"filters"`
	// Unique product license identifier.
	ProductLicenseId pulumi.StringInput `pulumi:"productLicenseId"`
}

A collection of arguments for invoking getLicenseRecords.

func (GetLicenseRecordsOutputArgs) ElementType

type GetLicenseRecordsResult

type GetLicenseRecordsResult struct {
	Filters []GetLicenseRecordsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of license_record_collection.
	LicenseRecordCollections []GetLicenseRecordsLicenseRecordCollection `pulumi:"licenseRecordCollections"`
	// The product license [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with which the license record is associated.
	ProductLicenseId string `pulumi:"productLicenseId"`
}

A collection of values returned by getLicenseRecords.

func GetLicenseRecords

func GetLicenseRecords(ctx *pulumi.Context, args *GetLicenseRecordsArgs, opts ...pulumi.InvokeOption) (*GetLicenseRecordsResult, error)

This data source provides the list of License Records in Oracle Cloud Infrastructure License Manager service.

Retrieves all license records for a given product license ID.

## Example Usage

```go 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.GetLicenseRecords(ctx, &licensemanager.GetLicenseRecordsArgs{
			ProductLicenseId: testProductLicense.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetLicenseRecordsResultOutput

type GetLicenseRecordsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLicenseRecords.

func (GetLicenseRecordsResultOutput) ElementType

func (GetLicenseRecordsResultOutput) Filters

func (GetLicenseRecordsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetLicenseRecordsResultOutput) LicenseRecordCollections

The list of license_record_collection.

func (GetLicenseRecordsResultOutput) ProductLicenseId

func (o GetLicenseRecordsResultOutput) ProductLicenseId() pulumi.StringOutput

The product license [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with which the license record is associated.

func (GetLicenseRecordsResultOutput) ToGetLicenseRecordsResultOutput

func (o GetLicenseRecordsResultOutput) ToGetLicenseRecordsResultOutput() GetLicenseRecordsResultOutput

func (GetLicenseRecordsResultOutput) ToGetLicenseRecordsResultOutputWithContext

func (o GetLicenseRecordsResultOutput) ToGetLicenseRecordsResultOutputWithContext(ctx context.Context) GetLicenseRecordsResultOutput

type GetProductLicenseConsumersArgs

type GetProductLicenseConsumersArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId string `pulumi:"compartmentId"`
	// Indicates if the given compartment is the root compartment.
	IsCompartmentIdInSubtree *bool `pulumi:"isCompartmentIdInSubtree"`
	// Unique product license identifier.
	ProductLicenseId string `pulumi:"productLicenseId"`
}

A collection of arguments for invoking getProductLicenseConsumers.

type GetProductLicenseConsumersItem

type GetProductLicenseConsumersItem struct {
	// Specifies if all options are available.
	AreAllOptionsAvailable bool `pulumi:"areAllOptionsAvailable"`
	// Specifies if the base license is available.
	IsBaseLicenseAvailable bool `pulumi:"isBaseLicenseAvailable"`
	// The product license unit.
	LicenseUnitType string `pulumi:"licenseUnitType"`
	// Number of license units consumed by the resource.
	LicenseUnitsConsumed float64 `pulumi:"licenseUnitsConsumed"`
	// Collection of missing product licenses.
	MissingProducts []GetProductLicenseConsumersItemMissingProduct `pulumi:"missingProducts"`
	// The resource product name.
	ProductName string `pulumi:"productName"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the resource.
	ResourceCompartmentId string `pulumi:"resourceCompartmentId"`
	// The display name of the compartment that contains the resource.
	ResourceCompartmentName string `pulumi:"resourceCompartmentName"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
	ResourceId string `pulumi:"resourceId"`
	// The display name of the resource.
	ResourceName string `pulumi:"resourceName"`
	// Number of units of the resource
	ResourceUnitCount float64 `pulumi:"resourceUnitCount"`
	// The unit type for the resource.
	ResourceUnitType string `pulumi:"resourceUnitType"`
}

type GetProductLicenseConsumersItemArgs

type GetProductLicenseConsumersItemArgs struct {
	// Specifies if all options are available.
	AreAllOptionsAvailable pulumi.BoolInput `pulumi:"areAllOptionsAvailable"`
	// Specifies if the base license is available.
	IsBaseLicenseAvailable pulumi.BoolInput `pulumi:"isBaseLicenseAvailable"`
	// The product license unit.
	LicenseUnitType pulumi.StringInput `pulumi:"licenseUnitType"`
	// Number of license units consumed by the resource.
	LicenseUnitsConsumed pulumi.Float64Input `pulumi:"licenseUnitsConsumed"`
	// Collection of missing product licenses.
	MissingProducts GetProductLicenseConsumersItemMissingProductArrayInput `pulumi:"missingProducts"`
	// The resource product name.
	ProductName pulumi.StringInput `pulumi:"productName"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the resource.
	ResourceCompartmentId pulumi.StringInput `pulumi:"resourceCompartmentId"`
	// The display name of the compartment that contains the resource.
	ResourceCompartmentName pulumi.StringInput `pulumi:"resourceCompartmentName"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// The display name of the resource.
	ResourceName pulumi.StringInput `pulumi:"resourceName"`
	// Number of units of the resource
	ResourceUnitCount pulumi.Float64Input `pulumi:"resourceUnitCount"`
	// The unit type for the resource.
	ResourceUnitType pulumi.StringInput `pulumi:"resourceUnitType"`
}

func (GetProductLicenseConsumersItemArgs) ElementType

func (GetProductLicenseConsumersItemArgs) ToGetProductLicenseConsumersItemOutput

func (i GetProductLicenseConsumersItemArgs) ToGetProductLicenseConsumersItemOutput() GetProductLicenseConsumersItemOutput

func (GetProductLicenseConsumersItemArgs) ToGetProductLicenseConsumersItemOutputWithContext

func (i GetProductLicenseConsumersItemArgs) ToGetProductLicenseConsumersItemOutputWithContext(ctx context.Context) GetProductLicenseConsumersItemOutput

type GetProductLicenseConsumersItemArray

type GetProductLicenseConsumersItemArray []GetProductLicenseConsumersItemInput

func (GetProductLicenseConsumersItemArray) ElementType

func (GetProductLicenseConsumersItemArray) ToGetProductLicenseConsumersItemArrayOutput

func (i GetProductLicenseConsumersItemArray) ToGetProductLicenseConsumersItemArrayOutput() GetProductLicenseConsumersItemArrayOutput

func (GetProductLicenseConsumersItemArray) ToGetProductLicenseConsumersItemArrayOutputWithContext

func (i GetProductLicenseConsumersItemArray) ToGetProductLicenseConsumersItemArrayOutputWithContext(ctx context.Context) GetProductLicenseConsumersItemArrayOutput

type GetProductLicenseConsumersItemArrayInput

type GetProductLicenseConsumersItemArrayInput interface {
	pulumi.Input

	ToGetProductLicenseConsumersItemArrayOutput() GetProductLicenseConsumersItemArrayOutput
	ToGetProductLicenseConsumersItemArrayOutputWithContext(context.Context) GetProductLicenseConsumersItemArrayOutput
}

GetProductLicenseConsumersItemArrayInput is an input type that accepts GetProductLicenseConsumersItemArray and GetProductLicenseConsumersItemArrayOutput values. You can construct a concrete instance of `GetProductLicenseConsumersItemArrayInput` via:

GetProductLicenseConsumersItemArray{ GetProductLicenseConsumersItemArgs{...} }

type GetProductLicenseConsumersItemArrayOutput

type GetProductLicenseConsumersItemArrayOutput struct{ *pulumi.OutputState }

func (GetProductLicenseConsumersItemArrayOutput) ElementType

func (GetProductLicenseConsumersItemArrayOutput) Index

func (GetProductLicenseConsumersItemArrayOutput) ToGetProductLicenseConsumersItemArrayOutput

func (o GetProductLicenseConsumersItemArrayOutput) ToGetProductLicenseConsumersItemArrayOutput() GetProductLicenseConsumersItemArrayOutput

func (GetProductLicenseConsumersItemArrayOutput) ToGetProductLicenseConsumersItemArrayOutputWithContext

func (o GetProductLicenseConsumersItemArrayOutput) ToGetProductLicenseConsumersItemArrayOutputWithContext(ctx context.Context) GetProductLicenseConsumersItemArrayOutput

type GetProductLicenseConsumersItemInput

type GetProductLicenseConsumersItemInput interface {
	pulumi.Input

	ToGetProductLicenseConsumersItemOutput() GetProductLicenseConsumersItemOutput
	ToGetProductLicenseConsumersItemOutputWithContext(context.Context) GetProductLicenseConsumersItemOutput
}

GetProductLicenseConsumersItemInput is an input type that accepts GetProductLicenseConsumersItemArgs and GetProductLicenseConsumersItemOutput values. You can construct a concrete instance of `GetProductLicenseConsumersItemInput` via:

GetProductLicenseConsumersItemArgs{...}

type GetProductLicenseConsumersItemMissingProduct

type GetProductLicenseConsumersItemMissingProduct struct {
	// Product category base or option.
	Category string `pulumi:"category"`
	// Units required for the missing product.
	Count float64 `pulumi:"count"`
	// Name of the product.
	Name string `pulumi:"name"`
}

type GetProductLicenseConsumersItemMissingProductArgs

type GetProductLicenseConsumersItemMissingProductArgs struct {
	// Product category base or option.
	Category pulumi.StringInput `pulumi:"category"`
	// Units required for the missing product.
	Count pulumi.Float64Input `pulumi:"count"`
	// Name of the product.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetProductLicenseConsumersItemMissingProductArgs) ElementType

func (GetProductLicenseConsumersItemMissingProductArgs) ToGetProductLicenseConsumersItemMissingProductOutput

func (i GetProductLicenseConsumersItemMissingProductArgs) ToGetProductLicenseConsumersItemMissingProductOutput() GetProductLicenseConsumersItemMissingProductOutput

func (GetProductLicenseConsumersItemMissingProductArgs) ToGetProductLicenseConsumersItemMissingProductOutputWithContext

func (i GetProductLicenseConsumersItemMissingProductArgs) ToGetProductLicenseConsumersItemMissingProductOutputWithContext(ctx context.Context) GetProductLicenseConsumersItemMissingProductOutput

type GetProductLicenseConsumersItemMissingProductArray

type GetProductLicenseConsumersItemMissingProductArray []GetProductLicenseConsumersItemMissingProductInput

func (GetProductLicenseConsumersItemMissingProductArray) ElementType

func (GetProductLicenseConsumersItemMissingProductArray) ToGetProductLicenseConsumersItemMissingProductArrayOutput

func (i GetProductLicenseConsumersItemMissingProductArray) ToGetProductLicenseConsumersItemMissingProductArrayOutput() GetProductLicenseConsumersItemMissingProductArrayOutput

func (GetProductLicenseConsumersItemMissingProductArray) ToGetProductLicenseConsumersItemMissingProductArrayOutputWithContext

func (i GetProductLicenseConsumersItemMissingProductArray) ToGetProductLicenseConsumersItemMissingProductArrayOutputWithContext(ctx context.Context) GetProductLicenseConsumersItemMissingProductArrayOutput

type GetProductLicenseConsumersItemMissingProductArrayInput

type GetProductLicenseConsumersItemMissingProductArrayInput interface {
	pulumi.Input

	ToGetProductLicenseConsumersItemMissingProductArrayOutput() GetProductLicenseConsumersItemMissingProductArrayOutput
	ToGetProductLicenseConsumersItemMissingProductArrayOutputWithContext(context.Context) GetProductLicenseConsumersItemMissingProductArrayOutput
}

GetProductLicenseConsumersItemMissingProductArrayInput is an input type that accepts GetProductLicenseConsumersItemMissingProductArray and GetProductLicenseConsumersItemMissingProductArrayOutput values. You can construct a concrete instance of `GetProductLicenseConsumersItemMissingProductArrayInput` via:

GetProductLicenseConsumersItemMissingProductArray{ GetProductLicenseConsumersItemMissingProductArgs{...} }

type GetProductLicenseConsumersItemMissingProductArrayOutput

type GetProductLicenseConsumersItemMissingProductArrayOutput struct{ *pulumi.OutputState }

func (GetProductLicenseConsumersItemMissingProductArrayOutput) ElementType

func (GetProductLicenseConsumersItemMissingProductArrayOutput) Index

func (GetProductLicenseConsumersItemMissingProductArrayOutput) ToGetProductLicenseConsumersItemMissingProductArrayOutput

func (GetProductLicenseConsumersItemMissingProductArrayOutput) ToGetProductLicenseConsumersItemMissingProductArrayOutputWithContext

func (o GetProductLicenseConsumersItemMissingProductArrayOutput) ToGetProductLicenseConsumersItemMissingProductArrayOutputWithContext(ctx context.Context) GetProductLicenseConsumersItemMissingProductArrayOutput

type GetProductLicenseConsumersItemMissingProductInput

type GetProductLicenseConsumersItemMissingProductInput interface {
	pulumi.Input

	ToGetProductLicenseConsumersItemMissingProductOutput() GetProductLicenseConsumersItemMissingProductOutput
	ToGetProductLicenseConsumersItemMissingProductOutputWithContext(context.Context) GetProductLicenseConsumersItemMissingProductOutput
}

GetProductLicenseConsumersItemMissingProductInput is an input type that accepts GetProductLicenseConsumersItemMissingProductArgs and GetProductLicenseConsumersItemMissingProductOutput values. You can construct a concrete instance of `GetProductLicenseConsumersItemMissingProductInput` via:

GetProductLicenseConsumersItemMissingProductArgs{...}

type GetProductLicenseConsumersItemMissingProductOutput

type GetProductLicenseConsumersItemMissingProductOutput struct{ *pulumi.OutputState }

func (GetProductLicenseConsumersItemMissingProductOutput) Category

Product category base or option.

func (GetProductLicenseConsumersItemMissingProductOutput) Count

Units required for the missing product.

func (GetProductLicenseConsumersItemMissingProductOutput) ElementType

func (GetProductLicenseConsumersItemMissingProductOutput) Name

Name of the product.

func (GetProductLicenseConsumersItemMissingProductOutput) ToGetProductLicenseConsumersItemMissingProductOutput

func (o GetProductLicenseConsumersItemMissingProductOutput) ToGetProductLicenseConsumersItemMissingProductOutput() GetProductLicenseConsumersItemMissingProductOutput

func (GetProductLicenseConsumersItemMissingProductOutput) ToGetProductLicenseConsumersItemMissingProductOutputWithContext

func (o GetProductLicenseConsumersItemMissingProductOutput) ToGetProductLicenseConsumersItemMissingProductOutputWithContext(ctx context.Context) GetProductLicenseConsumersItemMissingProductOutput

type GetProductLicenseConsumersItemOutput

type GetProductLicenseConsumersItemOutput struct{ *pulumi.OutputState }

func (GetProductLicenseConsumersItemOutput) AreAllOptionsAvailable

func (o GetProductLicenseConsumersItemOutput) AreAllOptionsAvailable() pulumi.BoolOutput

Specifies if all options are available.

func (GetProductLicenseConsumersItemOutput) ElementType

func (GetProductLicenseConsumersItemOutput) IsBaseLicenseAvailable

func (o GetProductLicenseConsumersItemOutput) IsBaseLicenseAvailable() pulumi.BoolOutput

Specifies if the base license is available.

func (GetProductLicenseConsumersItemOutput) LicenseUnitType

The product license unit.

func (GetProductLicenseConsumersItemOutput) LicenseUnitsConsumed

Number of license units consumed by the resource.

func (GetProductLicenseConsumersItemOutput) MissingProducts

Collection of missing product licenses.

func (GetProductLicenseConsumersItemOutput) ProductName

The resource product name.

func (GetProductLicenseConsumersItemOutput) ResourceCompartmentId

func (o GetProductLicenseConsumersItemOutput) ResourceCompartmentId() pulumi.StringOutput

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the resource.

func (GetProductLicenseConsumersItemOutput) ResourceCompartmentName

func (o GetProductLicenseConsumersItemOutput) ResourceCompartmentName() pulumi.StringOutput

The display name of the compartment that contains the resource.

func (GetProductLicenseConsumersItemOutput) ResourceId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.

func (GetProductLicenseConsumersItemOutput) ResourceName

The display name of the resource.

func (GetProductLicenseConsumersItemOutput) ResourceUnitCount

Number of units of the resource

func (GetProductLicenseConsumersItemOutput) ResourceUnitType

The unit type for the resource.

func (GetProductLicenseConsumersItemOutput) ToGetProductLicenseConsumersItemOutput

func (o GetProductLicenseConsumersItemOutput) ToGetProductLicenseConsumersItemOutput() GetProductLicenseConsumersItemOutput

func (GetProductLicenseConsumersItemOutput) ToGetProductLicenseConsumersItemOutputWithContext

func (o GetProductLicenseConsumersItemOutput) ToGetProductLicenseConsumersItemOutputWithContext(ctx context.Context) GetProductLicenseConsumersItemOutput

type GetProductLicenseConsumersOutputArgs

type GetProductLicenseConsumersOutputArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Indicates if the given compartment is the root compartment.
	IsCompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"isCompartmentIdInSubtree"`
	// Unique product license identifier.
	ProductLicenseId pulumi.StringInput `pulumi:"productLicenseId"`
}

A collection of arguments for invoking getProductLicenseConsumers.

func (GetProductLicenseConsumersOutputArgs) ElementType

type GetProductLicenseConsumersResult

type GetProductLicenseConsumersResult struct {
	CompartmentId string `pulumi:"compartmentId"`
	// The provider-assigned unique ID for this managed resource.
	Id                       string `pulumi:"id"`
	IsCompartmentIdInSubtree *bool  `pulumi:"isCompartmentIdInSubtree"`
	// Collection of product license consumers.
	Items            []GetProductLicenseConsumersItem `pulumi:"items"`
	ProductLicenseId string                           `pulumi:"productLicenseId"`
}

A collection of values returned by getProductLicenseConsumers.

func GetProductLicenseConsumers

func GetProductLicenseConsumers(ctx *pulumi.Context, args *GetProductLicenseConsumersArgs, opts ...pulumi.InvokeOption) (*GetProductLicenseConsumersResult, error)

This data source provides the list of Product License Consumers in Oracle Cloud Infrastructure License Manager service.

Retrieves the product license consumers for a particular product license ID.

## Example Usage

```go 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.GetProductLicenseConsumers(ctx, &licensemanager.GetProductLicenseConsumersArgs{
			CompartmentId:            compartmentId,
			ProductLicenseId:         testProductLicense.Id,
			IsCompartmentIdInSubtree: pulumi.BoolRef(productLicenseConsumerIsCompartmentIdInSubtree),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProductLicenseConsumersResultOutput

type GetProductLicenseConsumersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProductLicenseConsumers.

func (GetProductLicenseConsumersResultOutput) CompartmentId

func (GetProductLicenseConsumersResultOutput) ElementType

func (GetProductLicenseConsumersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetProductLicenseConsumersResultOutput) IsCompartmentIdInSubtree

func (o GetProductLicenseConsumersResultOutput) IsCompartmentIdInSubtree() pulumi.BoolPtrOutput

func (GetProductLicenseConsumersResultOutput) Items

Collection of product license consumers.

func (GetProductLicenseConsumersResultOutput) ProductLicenseId

func (GetProductLicenseConsumersResultOutput) ToGetProductLicenseConsumersResultOutput

func (o GetProductLicenseConsumersResultOutput) ToGetProductLicenseConsumersResultOutput() GetProductLicenseConsumersResultOutput

func (GetProductLicenseConsumersResultOutput) ToGetProductLicenseConsumersResultOutputWithContext

func (o GetProductLicenseConsumersResultOutput) ToGetProductLicenseConsumersResultOutputWithContext(ctx context.Context) GetProductLicenseConsumersResultOutput

type GetProductLicenseImage

type GetProductLicenseImage struct {
	// The image ID associated with the product license.
	Id string `pulumi:"id"`
	// The image listing ID.
	ListingId string `pulumi:"listingId"`
	// The listing name associated with the product license.
	ListingName string `pulumi:"listingName"`
	// The image package version.
	PackageVersion string `pulumi:"packageVersion"`
	// The image publisher.
	Publisher string `pulumi:"publisher"`
}

type GetProductLicenseImageArgs

type GetProductLicenseImageArgs struct {
	// The image ID associated with the product license.
	Id pulumi.StringInput `pulumi:"id"`
	// The image listing ID.
	ListingId pulumi.StringInput `pulumi:"listingId"`
	// The listing name associated with the product license.
	ListingName pulumi.StringInput `pulumi:"listingName"`
	// The image package version.
	PackageVersion pulumi.StringInput `pulumi:"packageVersion"`
	// The image publisher.
	Publisher pulumi.StringInput `pulumi:"publisher"`
}

func (GetProductLicenseImageArgs) ElementType

func (GetProductLicenseImageArgs) ElementType() reflect.Type

func (GetProductLicenseImageArgs) ToGetProductLicenseImageOutput

func (i GetProductLicenseImageArgs) ToGetProductLicenseImageOutput() GetProductLicenseImageOutput

func (GetProductLicenseImageArgs) ToGetProductLicenseImageOutputWithContext

func (i GetProductLicenseImageArgs) ToGetProductLicenseImageOutputWithContext(ctx context.Context) GetProductLicenseImageOutput

type GetProductLicenseImageArray

type GetProductLicenseImageArray []GetProductLicenseImageInput

func (GetProductLicenseImageArray) ElementType

func (GetProductLicenseImageArray) ToGetProductLicenseImageArrayOutput

func (i GetProductLicenseImageArray) ToGetProductLicenseImageArrayOutput() GetProductLicenseImageArrayOutput

func (GetProductLicenseImageArray) ToGetProductLicenseImageArrayOutputWithContext

func (i GetProductLicenseImageArray) ToGetProductLicenseImageArrayOutputWithContext(ctx context.Context) GetProductLicenseImageArrayOutput

type GetProductLicenseImageArrayInput

type GetProductLicenseImageArrayInput interface {
	pulumi.Input

	ToGetProductLicenseImageArrayOutput() GetProductLicenseImageArrayOutput
	ToGetProductLicenseImageArrayOutputWithContext(context.Context) GetProductLicenseImageArrayOutput
}

GetProductLicenseImageArrayInput is an input type that accepts GetProductLicenseImageArray and GetProductLicenseImageArrayOutput values. You can construct a concrete instance of `GetProductLicenseImageArrayInput` via:

GetProductLicenseImageArray{ GetProductLicenseImageArgs{...} }

type GetProductLicenseImageArrayOutput

type GetProductLicenseImageArrayOutput struct{ *pulumi.OutputState }

func (GetProductLicenseImageArrayOutput) ElementType

func (GetProductLicenseImageArrayOutput) Index

func (GetProductLicenseImageArrayOutput) ToGetProductLicenseImageArrayOutput

func (o GetProductLicenseImageArrayOutput) ToGetProductLicenseImageArrayOutput() GetProductLicenseImageArrayOutput

func (GetProductLicenseImageArrayOutput) ToGetProductLicenseImageArrayOutputWithContext

func (o GetProductLicenseImageArrayOutput) ToGetProductLicenseImageArrayOutputWithContext(ctx context.Context) GetProductLicenseImageArrayOutput

type GetProductLicenseImageInput

type GetProductLicenseImageInput interface {
	pulumi.Input

	ToGetProductLicenseImageOutput() GetProductLicenseImageOutput
	ToGetProductLicenseImageOutputWithContext(context.Context) GetProductLicenseImageOutput
}

GetProductLicenseImageInput is an input type that accepts GetProductLicenseImageArgs and GetProductLicenseImageOutput values. You can construct a concrete instance of `GetProductLicenseImageInput` via:

GetProductLicenseImageArgs{...}

type GetProductLicenseImageOutput

type GetProductLicenseImageOutput struct{ *pulumi.OutputState }

func (GetProductLicenseImageOutput) ElementType

func (GetProductLicenseImageOutput) Id

The image ID associated with the product license.

func (GetProductLicenseImageOutput) ListingId

The image listing ID.

func (GetProductLicenseImageOutput) ListingName

The listing name associated with the product license.

func (GetProductLicenseImageOutput) PackageVersion

The image package version.

func (GetProductLicenseImageOutput) Publisher

The image publisher.

func (GetProductLicenseImageOutput) ToGetProductLicenseImageOutput

func (o GetProductLicenseImageOutput) ToGetProductLicenseImageOutput() GetProductLicenseImageOutput

func (GetProductLicenseImageOutput) ToGetProductLicenseImageOutputWithContext

func (o GetProductLicenseImageOutput) ToGetProductLicenseImageOutputWithContext(ctx context.Context) GetProductLicenseImageOutput

type GetProductLicensesArgs

type GetProductLicensesArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId string                     `pulumi:"compartmentId"`
	Filters       []GetProductLicensesFilter `pulumi:"filters"`
	// Indicates if the given compartment is the root compartment.
	IsCompartmentIdInSubtree *bool `pulumi:"isCompartmentIdInSubtree"`
}

A collection of arguments for invoking getProductLicenses.

type GetProductLicensesFilter

type GetProductLicensesFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetProductLicensesFilterArgs

type GetProductLicensesFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetProductLicensesFilterArgs) ElementType

func (GetProductLicensesFilterArgs) ToGetProductLicensesFilterOutput

func (i GetProductLicensesFilterArgs) ToGetProductLicensesFilterOutput() GetProductLicensesFilterOutput

func (GetProductLicensesFilterArgs) ToGetProductLicensesFilterOutputWithContext

func (i GetProductLicensesFilterArgs) ToGetProductLicensesFilterOutputWithContext(ctx context.Context) GetProductLicensesFilterOutput

type GetProductLicensesFilterArray

type GetProductLicensesFilterArray []GetProductLicensesFilterInput

func (GetProductLicensesFilterArray) ElementType

func (GetProductLicensesFilterArray) ToGetProductLicensesFilterArrayOutput

func (i GetProductLicensesFilterArray) ToGetProductLicensesFilterArrayOutput() GetProductLicensesFilterArrayOutput

func (GetProductLicensesFilterArray) ToGetProductLicensesFilterArrayOutputWithContext

func (i GetProductLicensesFilterArray) ToGetProductLicensesFilterArrayOutputWithContext(ctx context.Context) GetProductLicensesFilterArrayOutput

type GetProductLicensesFilterArrayInput

type GetProductLicensesFilterArrayInput interface {
	pulumi.Input

	ToGetProductLicensesFilterArrayOutput() GetProductLicensesFilterArrayOutput
	ToGetProductLicensesFilterArrayOutputWithContext(context.Context) GetProductLicensesFilterArrayOutput
}

GetProductLicensesFilterArrayInput is an input type that accepts GetProductLicensesFilterArray and GetProductLicensesFilterArrayOutput values. You can construct a concrete instance of `GetProductLicensesFilterArrayInput` via:

GetProductLicensesFilterArray{ GetProductLicensesFilterArgs{...} }

type GetProductLicensesFilterArrayOutput

type GetProductLicensesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetProductLicensesFilterArrayOutput) ElementType

func (GetProductLicensesFilterArrayOutput) Index

func (GetProductLicensesFilterArrayOutput) ToGetProductLicensesFilterArrayOutput

func (o GetProductLicensesFilterArrayOutput) ToGetProductLicensesFilterArrayOutput() GetProductLicensesFilterArrayOutput

func (GetProductLicensesFilterArrayOutput) ToGetProductLicensesFilterArrayOutputWithContext

func (o GetProductLicensesFilterArrayOutput) ToGetProductLicensesFilterArrayOutputWithContext(ctx context.Context) GetProductLicensesFilterArrayOutput

type GetProductLicensesFilterInput

type GetProductLicensesFilterInput interface {
	pulumi.Input

	ToGetProductLicensesFilterOutput() GetProductLicensesFilterOutput
	ToGetProductLicensesFilterOutputWithContext(context.Context) GetProductLicensesFilterOutput
}

GetProductLicensesFilterInput is an input type that accepts GetProductLicensesFilterArgs and GetProductLicensesFilterOutput values. You can construct a concrete instance of `GetProductLicensesFilterInput` via:

GetProductLicensesFilterArgs{...}

type GetProductLicensesFilterOutput

type GetProductLicensesFilterOutput struct{ *pulumi.OutputState }

func (GetProductLicensesFilterOutput) ElementType

func (GetProductLicensesFilterOutput) Name

func (GetProductLicensesFilterOutput) Regex

func (GetProductLicensesFilterOutput) ToGetProductLicensesFilterOutput

func (o GetProductLicensesFilterOutput) ToGetProductLicensesFilterOutput() GetProductLicensesFilterOutput

func (GetProductLicensesFilterOutput) ToGetProductLicensesFilterOutputWithContext

func (o GetProductLicensesFilterOutput) ToGetProductLicensesFilterOutputWithContext(ctx context.Context) GetProductLicensesFilterOutput

func (GetProductLicensesFilterOutput) Values

type GetProductLicensesOutputArgs

type GetProductLicensesOutputArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId pulumi.StringInput                 `pulumi:"compartmentId"`
	Filters       GetProductLicensesFilterArrayInput `pulumi:"filters"`
	// Indicates if the given compartment is the root compartment.
	IsCompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"isCompartmentIdInSubtree"`
}

A collection of arguments for invoking getProductLicenses.

func (GetProductLicensesOutputArgs) ElementType

type GetProductLicensesProductLicenseCollection

type GetProductLicensesProductLicenseCollection struct {
	Items []GetProductLicensesProductLicenseCollectionItem `pulumi:"items"`
}

type GetProductLicensesProductLicenseCollectionArgs

type GetProductLicensesProductLicenseCollectionArgs struct {
	Items GetProductLicensesProductLicenseCollectionItemArrayInput `pulumi:"items"`
}

func (GetProductLicensesProductLicenseCollectionArgs) ElementType

func (GetProductLicensesProductLicenseCollectionArgs) ToGetProductLicensesProductLicenseCollectionOutput

func (i GetProductLicensesProductLicenseCollectionArgs) ToGetProductLicensesProductLicenseCollectionOutput() GetProductLicensesProductLicenseCollectionOutput

func (GetProductLicensesProductLicenseCollectionArgs) ToGetProductLicensesProductLicenseCollectionOutputWithContext

func (i GetProductLicensesProductLicenseCollectionArgs) ToGetProductLicensesProductLicenseCollectionOutputWithContext(ctx context.Context) GetProductLicensesProductLicenseCollectionOutput

type GetProductLicensesProductLicenseCollectionArray

type GetProductLicensesProductLicenseCollectionArray []GetProductLicensesProductLicenseCollectionInput

func (GetProductLicensesProductLicenseCollectionArray) ElementType

func (GetProductLicensesProductLicenseCollectionArray) ToGetProductLicensesProductLicenseCollectionArrayOutput

func (i GetProductLicensesProductLicenseCollectionArray) ToGetProductLicensesProductLicenseCollectionArrayOutput() GetProductLicensesProductLicenseCollectionArrayOutput

func (GetProductLicensesProductLicenseCollectionArray) ToGetProductLicensesProductLicenseCollectionArrayOutputWithContext

func (i GetProductLicensesProductLicenseCollectionArray) ToGetProductLicensesProductLicenseCollectionArrayOutputWithContext(ctx context.Context) GetProductLicensesProductLicenseCollectionArrayOutput

type GetProductLicensesProductLicenseCollectionArrayInput

type GetProductLicensesProductLicenseCollectionArrayInput interface {
	pulumi.Input

	ToGetProductLicensesProductLicenseCollectionArrayOutput() GetProductLicensesProductLicenseCollectionArrayOutput
	ToGetProductLicensesProductLicenseCollectionArrayOutputWithContext(context.Context) GetProductLicensesProductLicenseCollectionArrayOutput
}

GetProductLicensesProductLicenseCollectionArrayInput is an input type that accepts GetProductLicensesProductLicenseCollectionArray and GetProductLicensesProductLicenseCollectionArrayOutput values. You can construct a concrete instance of `GetProductLicensesProductLicenseCollectionArrayInput` via:

GetProductLicensesProductLicenseCollectionArray{ GetProductLicensesProductLicenseCollectionArgs{...} }

type GetProductLicensesProductLicenseCollectionArrayOutput

type GetProductLicensesProductLicenseCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetProductLicensesProductLicenseCollectionArrayOutput) ElementType

func (GetProductLicensesProductLicenseCollectionArrayOutput) Index

func (GetProductLicensesProductLicenseCollectionArrayOutput) ToGetProductLicensesProductLicenseCollectionArrayOutput

func (GetProductLicensesProductLicenseCollectionArrayOutput) ToGetProductLicensesProductLicenseCollectionArrayOutputWithContext

func (o GetProductLicensesProductLicenseCollectionArrayOutput) ToGetProductLicensesProductLicenseCollectionArrayOutputWithContext(ctx context.Context) GetProductLicensesProductLicenseCollectionArrayOutput

type GetProductLicensesProductLicenseCollectionInput

type GetProductLicensesProductLicenseCollectionInput interface {
	pulumi.Input

	ToGetProductLicensesProductLicenseCollectionOutput() GetProductLicensesProductLicenseCollectionOutput
	ToGetProductLicensesProductLicenseCollectionOutputWithContext(context.Context) GetProductLicensesProductLicenseCollectionOutput
}

GetProductLicensesProductLicenseCollectionInput is an input type that accepts GetProductLicensesProductLicenseCollectionArgs and GetProductLicensesProductLicenseCollectionOutput values. You can construct a concrete instance of `GetProductLicensesProductLicenseCollectionInput` via:

GetProductLicensesProductLicenseCollectionArgs{...}

type GetProductLicensesProductLicenseCollectionItem

type GetProductLicensesProductLicenseCollectionItem struct {
	// The number of active license records associated with the product license.
	ActiveLicenseRecordCount int `pulumi:"activeLicenseRecordCount"`
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// License record name
	DisplayName string `pulumi:"displayName"`
	// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The image ID associated with the product license.
	Id string `pulumi:"id"`
	// The images associated with the product license.
	Images []GetProductLicensesProductLicenseCollectionItemImage `pulumi:"images"`
	// Specifies whether or not the product license is oversubscribed.
	IsOverSubscribed bool `pulumi:"isOverSubscribed"`
	// Specifies if the license unit count is unlimited.
	IsUnlimited bool `pulumi:"isUnlimited"`
	// Specifies whether the vendor is Oracle or a third party.
	IsVendorOracle bool `pulumi:"isVendorOracle"`
	// The product license unit.
	LicenseUnit string `pulumi:"licenseUnit"`
	// The current product license state.
	State string `pulumi:"state"`
	// The current product license status.
	Status string `pulumi:"status"`
	// Status description for the current product license status.
	StatusDescription string `pulumi:"statusDescription"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// The time the product license was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated string `pulumi:"timeCreated"`
	// The time the product license was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated string `pulumi:"timeUpdated"`
	// 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.
	TotalActiveLicenseUnitCount int `pulumi:"totalActiveLicenseUnitCount"`
	// The number of license records associated with the product license.
	TotalLicenseRecordCount int `pulumi:"totalLicenseRecordCount"`
	// The number of license units consumed. Updated after each allocation run.
	TotalLicenseUnitsConsumed float64 `pulumi:"totalLicenseUnitsConsumed"`
	// The vendor of the ProductLicense
	VendorName string `pulumi:"vendorName"`
}

type GetProductLicensesProductLicenseCollectionItemArgs

type GetProductLicensesProductLicenseCollectionItemArgs struct {
	// The number of active license records associated with the product license.
	ActiveLicenseRecordCount pulumi.IntInput `pulumi:"activeLicenseRecordCount"`
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// License record name
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The image ID associated with the product license.
	Id pulumi.StringInput `pulumi:"id"`
	// The images associated with the product license.
	Images GetProductLicensesProductLicenseCollectionItemImageArrayInput `pulumi:"images"`
	// Specifies whether or not the product license is oversubscribed.
	IsOverSubscribed pulumi.BoolInput `pulumi:"isOverSubscribed"`
	// Specifies if the license unit count is unlimited.
	IsUnlimited pulumi.BoolInput `pulumi:"isUnlimited"`
	// Specifies whether the vendor is Oracle or a third party.
	IsVendorOracle pulumi.BoolInput `pulumi:"isVendorOracle"`
	// The product license unit.
	LicenseUnit pulumi.StringInput `pulumi:"licenseUnit"`
	// The current product license state.
	State pulumi.StringInput `pulumi:"state"`
	// The current product license status.
	Status pulumi.StringInput `pulumi:"status"`
	// Status description for the current product license status.
	StatusDescription pulumi.StringInput `pulumi:"statusDescription"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapInput `pulumi:"systemTags"`
	// The time the product license was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The time the product license was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
	// 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.
	TotalActiveLicenseUnitCount pulumi.IntInput `pulumi:"totalActiveLicenseUnitCount"`
	// The number of license records associated with the product license.
	TotalLicenseRecordCount pulumi.IntInput `pulumi:"totalLicenseRecordCount"`
	// The number of license units consumed. Updated after each allocation run.
	TotalLicenseUnitsConsumed pulumi.Float64Input `pulumi:"totalLicenseUnitsConsumed"`
	// The vendor of the ProductLicense
	VendorName pulumi.StringInput `pulumi:"vendorName"`
}

func (GetProductLicensesProductLicenseCollectionItemArgs) ElementType

func (GetProductLicensesProductLicenseCollectionItemArgs) ToGetProductLicensesProductLicenseCollectionItemOutput

func (i GetProductLicensesProductLicenseCollectionItemArgs) ToGetProductLicensesProductLicenseCollectionItemOutput() GetProductLicensesProductLicenseCollectionItemOutput

func (GetProductLicensesProductLicenseCollectionItemArgs) ToGetProductLicensesProductLicenseCollectionItemOutputWithContext

func (i GetProductLicensesProductLicenseCollectionItemArgs) ToGetProductLicensesProductLicenseCollectionItemOutputWithContext(ctx context.Context) GetProductLicensesProductLicenseCollectionItemOutput

type GetProductLicensesProductLicenseCollectionItemArray

type GetProductLicensesProductLicenseCollectionItemArray []GetProductLicensesProductLicenseCollectionItemInput

func (GetProductLicensesProductLicenseCollectionItemArray) ElementType

func (GetProductLicensesProductLicenseCollectionItemArray) ToGetProductLicensesProductLicenseCollectionItemArrayOutput

func (i GetProductLicensesProductLicenseCollectionItemArray) ToGetProductLicensesProductLicenseCollectionItemArrayOutput() GetProductLicensesProductLicenseCollectionItemArrayOutput

func (GetProductLicensesProductLicenseCollectionItemArray) ToGetProductLicensesProductLicenseCollectionItemArrayOutputWithContext

func (i GetProductLicensesProductLicenseCollectionItemArray) ToGetProductLicensesProductLicenseCollectionItemArrayOutputWithContext(ctx context.Context) GetProductLicensesProductLicenseCollectionItemArrayOutput

type GetProductLicensesProductLicenseCollectionItemArrayInput

type GetProductLicensesProductLicenseCollectionItemArrayInput interface {
	pulumi.Input

	ToGetProductLicensesProductLicenseCollectionItemArrayOutput() GetProductLicensesProductLicenseCollectionItemArrayOutput
	ToGetProductLicensesProductLicenseCollectionItemArrayOutputWithContext(context.Context) GetProductLicensesProductLicenseCollectionItemArrayOutput
}

GetProductLicensesProductLicenseCollectionItemArrayInput is an input type that accepts GetProductLicensesProductLicenseCollectionItemArray and GetProductLicensesProductLicenseCollectionItemArrayOutput values. You can construct a concrete instance of `GetProductLicensesProductLicenseCollectionItemArrayInput` via:

GetProductLicensesProductLicenseCollectionItemArray{ GetProductLicensesProductLicenseCollectionItemArgs{...} }

type GetProductLicensesProductLicenseCollectionItemArrayOutput

type GetProductLicensesProductLicenseCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetProductLicensesProductLicenseCollectionItemArrayOutput) ElementType

func (GetProductLicensesProductLicenseCollectionItemArrayOutput) Index

func (GetProductLicensesProductLicenseCollectionItemArrayOutput) ToGetProductLicensesProductLicenseCollectionItemArrayOutput

func (GetProductLicensesProductLicenseCollectionItemArrayOutput) ToGetProductLicensesProductLicenseCollectionItemArrayOutputWithContext

func (o GetProductLicensesProductLicenseCollectionItemArrayOutput) ToGetProductLicensesProductLicenseCollectionItemArrayOutputWithContext(ctx context.Context) GetProductLicensesProductLicenseCollectionItemArrayOutput

type GetProductLicensesProductLicenseCollectionItemImage

type GetProductLicensesProductLicenseCollectionItemImage struct {
	// The image ID associated with the product license.
	Id string `pulumi:"id"`
	// The image listing ID.
	ListingId string `pulumi:"listingId"`
	// The listing name associated with the product license.
	ListingName string `pulumi:"listingName"`
	// The image package version.
	PackageVersion string `pulumi:"packageVersion"`
	// The image publisher.
	Publisher string `pulumi:"publisher"`
}

type GetProductLicensesProductLicenseCollectionItemImageArgs

type GetProductLicensesProductLicenseCollectionItemImageArgs struct {
	// The image ID associated with the product license.
	Id pulumi.StringInput `pulumi:"id"`
	// The image listing ID.
	ListingId pulumi.StringInput `pulumi:"listingId"`
	// The listing name associated with the product license.
	ListingName pulumi.StringInput `pulumi:"listingName"`
	// The image package version.
	PackageVersion pulumi.StringInput `pulumi:"packageVersion"`
	// The image publisher.
	Publisher pulumi.StringInput `pulumi:"publisher"`
}

func (GetProductLicensesProductLicenseCollectionItemImageArgs) ElementType

func (GetProductLicensesProductLicenseCollectionItemImageArgs) ToGetProductLicensesProductLicenseCollectionItemImageOutput

func (GetProductLicensesProductLicenseCollectionItemImageArgs) ToGetProductLicensesProductLicenseCollectionItemImageOutputWithContext

func (i GetProductLicensesProductLicenseCollectionItemImageArgs) ToGetProductLicensesProductLicenseCollectionItemImageOutputWithContext(ctx context.Context) GetProductLicensesProductLicenseCollectionItemImageOutput

type GetProductLicensesProductLicenseCollectionItemImageArray

type GetProductLicensesProductLicenseCollectionItemImageArray []GetProductLicensesProductLicenseCollectionItemImageInput

func (GetProductLicensesProductLicenseCollectionItemImageArray) ElementType

func (GetProductLicensesProductLicenseCollectionItemImageArray) ToGetProductLicensesProductLicenseCollectionItemImageArrayOutput

func (i GetProductLicensesProductLicenseCollectionItemImageArray) ToGetProductLicensesProductLicenseCollectionItemImageArrayOutput() GetProductLicensesProductLicenseCollectionItemImageArrayOutput

func (GetProductLicensesProductLicenseCollectionItemImageArray) ToGetProductLicensesProductLicenseCollectionItemImageArrayOutputWithContext

func (i GetProductLicensesProductLicenseCollectionItemImageArray) ToGetProductLicensesProductLicenseCollectionItemImageArrayOutputWithContext(ctx context.Context) GetProductLicensesProductLicenseCollectionItemImageArrayOutput

type GetProductLicensesProductLicenseCollectionItemImageArrayInput

type GetProductLicensesProductLicenseCollectionItemImageArrayInput interface {
	pulumi.Input

	ToGetProductLicensesProductLicenseCollectionItemImageArrayOutput() GetProductLicensesProductLicenseCollectionItemImageArrayOutput
	ToGetProductLicensesProductLicenseCollectionItemImageArrayOutputWithContext(context.Context) GetProductLicensesProductLicenseCollectionItemImageArrayOutput
}

GetProductLicensesProductLicenseCollectionItemImageArrayInput is an input type that accepts GetProductLicensesProductLicenseCollectionItemImageArray and GetProductLicensesProductLicenseCollectionItemImageArrayOutput values. You can construct a concrete instance of `GetProductLicensesProductLicenseCollectionItemImageArrayInput` via:

GetProductLicensesProductLicenseCollectionItemImageArray{ GetProductLicensesProductLicenseCollectionItemImageArgs{...} }

type GetProductLicensesProductLicenseCollectionItemImageArrayOutput

type GetProductLicensesProductLicenseCollectionItemImageArrayOutput struct{ *pulumi.OutputState }

func (GetProductLicensesProductLicenseCollectionItemImageArrayOutput) ElementType

func (GetProductLicensesProductLicenseCollectionItemImageArrayOutput) Index

func (GetProductLicensesProductLicenseCollectionItemImageArrayOutput) ToGetProductLicensesProductLicenseCollectionItemImageArrayOutput

func (GetProductLicensesProductLicenseCollectionItemImageArrayOutput) ToGetProductLicensesProductLicenseCollectionItemImageArrayOutputWithContext

func (o GetProductLicensesProductLicenseCollectionItemImageArrayOutput) ToGetProductLicensesProductLicenseCollectionItemImageArrayOutputWithContext(ctx context.Context) GetProductLicensesProductLicenseCollectionItemImageArrayOutput

type GetProductLicensesProductLicenseCollectionItemImageInput

type GetProductLicensesProductLicenseCollectionItemImageInput interface {
	pulumi.Input

	ToGetProductLicensesProductLicenseCollectionItemImageOutput() GetProductLicensesProductLicenseCollectionItemImageOutput
	ToGetProductLicensesProductLicenseCollectionItemImageOutputWithContext(context.Context) GetProductLicensesProductLicenseCollectionItemImageOutput
}

GetProductLicensesProductLicenseCollectionItemImageInput is an input type that accepts GetProductLicensesProductLicenseCollectionItemImageArgs and GetProductLicensesProductLicenseCollectionItemImageOutput values. You can construct a concrete instance of `GetProductLicensesProductLicenseCollectionItemImageInput` via:

GetProductLicensesProductLicenseCollectionItemImageArgs{...}

type GetProductLicensesProductLicenseCollectionItemImageOutput

type GetProductLicensesProductLicenseCollectionItemImageOutput struct{ *pulumi.OutputState }

func (GetProductLicensesProductLicenseCollectionItemImageOutput) ElementType

func (GetProductLicensesProductLicenseCollectionItemImageOutput) Id

The image ID associated with the product license.

func (GetProductLicensesProductLicenseCollectionItemImageOutput) ListingId

The image listing ID.

func (GetProductLicensesProductLicenseCollectionItemImageOutput) ListingName

The listing name associated with the product license.

func (GetProductLicensesProductLicenseCollectionItemImageOutput) PackageVersion

The image package version.

func (GetProductLicensesProductLicenseCollectionItemImageOutput) Publisher

The image publisher.

func (GetProductLicensesProductLicenseCollectionItemImageOutput) ToGetProductLicensesProductLicenseCollectionItemImageOutput

func (GetProductLicensesProductLicenseCollectionItemImageOutput) ToGetProductLicensesProductLicenseCollectionItemImageOutputWithContext

func (o GetProductLicensesProductLicenseCollectionItemImageOutput) ToGetProductLicensesProductLicenseCollectionItemImageOutputWithContext(ctx context.Context) GetProductLicensesProductLicenseCollectionItemImageOutput

type GetProductLicensesProductLicenseCollectionItemInput

type GetProductLicensesProductLicenseCollectionItemInput interface {
	pulumi.Input

	ToGetProductLicensesProductLicenseCollectionItemOutput() GetProductLicensesProductLicenseCollectionItemOutput
	ToGetProductLicensesProductLicenseCollectionItemOutputWithContext(context.Context) GetProductLicensesProductLicenseCollectionItemOutput
}

GetProductLicensesProductLicenseCollectionItemInput is an input type that accepts GetProductLicensesProductLicenseCollectionItemArgs and GetProductLicensesProductLicenseCollectionItemOutput values. You can construct a concrete instance of `GetProductLicensesProductLicenseCollectionItemInput` via:

GetProductLicensesProductLicenseCollectionItemArgs{...}

type GetProductLicensesProductLicenseCollectionItemOutput

type GetProductLicensesProductLicenseCollectionItemOutput struct{ *pulumi.OutputState }

func (GetProductLicensesProductLicenseCollectionItemOutput) ActiveLicenseRecordCount

The number of active license records associated with the product license.

func (GetProductLicensesProductLicenseCollectionItemOutput) CompartmentId

The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.

func (GetProductLicensesProductLicenseCollectionItemOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`

func (GetProductLicensesProductLicenseCollectionItemOutput) DisplayName

License record name

func (GetProductLicensesProductLicenseCollectionItemOutput) ElementType

func (GetProductLicensesProductLicenseCollectionItemOutput) FreeformTags

Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (GetProductLicensesProductLicenseCollectionItemOutput) Id

The image ID associated with the product license.

func (GetProductLicensesProductLicenseCollectionItemOutput) Images

The images associated with the product license.

func (GetProductLicensesProductLicenseCollectionItemOutput) IsOverSubscribed

Specifies whether or not the product license is oversubscribed.

func (GetProductLicensesProductLicenseCollectionItemOutput) IsUnlimited

Specifies if the license unit count is unlimited.

func (GetProductLicensesProductLicenseCollectionItemOutput) IsVendorOracle

Specifies whether the vendor is Oracle or a third party.

func (GetProductLicensesProductLicenseCollectionItemOutput) LicenseUnit

The product license unit.

func (GetProductLicensesProductLicenseCollectionItemOutput) State

The current product license state.

func (GetProductLicensesProductLicenseCollectionItemOutput) Status

The current product license status.

func (GetProductLicensesProductLicenseCollectionItemOutput) StatusDescription

Status description for the current product license status.

func (GetProductLicensesProductLicenseCollectionItemOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (GetProductLicensesProductLicenseCollectionItemOutput) TimeCreated

The time the product license was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (GetProductLicensesProductLicenseCollectionItemOutput) TimeUpdated

The time the product license was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (GetProductLicensesProductLicenseCollectionItemOutput) ToGetProductLicensesProductLicenseCollectionItemOutput

func (GetProductLicensesProductLicenseCollectionItemOutput) ToGetProductLicensesProductLicenseCollectionItemOutputWithContext

func (o GetProductLicensesProductLicenseCollectionItemOutput) ToGetProductLicensesProductLicenseCollectionItemOutputWithContext(ctx context.Context) GetProductLicensesProductLicenseCollectionItemOutput

func (GetProductLicensesProductLicenseCollectionItemOutput) TotalActiveLicenseUnitCount

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.

func (GetProductLicensesProductLicenseCollectionItemOutput) TotalLicenseRecordCount

The number of license records associated with the product license.

func (GetProductLicensesProductLicenseCollectionItemOutput) TotalLicenseUnitsConsumed

The number of license units consumed. Updated after each allocation run.

func (GetProductLicensesProductLicenseCollectionItemOutput) VendorName

The vendor of the ProductLicense

type GetProductLicensesProductLicenseCollectionOutput

type GetProductLicensesProductLicenseCollectionOutput struct{ *pulumi.OutputState }

func (GetProductLicensesProductLicenseCollectionOutput) ElementType

func (GetProductLicensesProductLicenseCollectionOutput) Items

func (GetProductLicensesProductLicenseCollectionOutput) ToGetProductLicensesProductLicenseCollectionOutput

func (o GetProductLicensesProductLicenseCollectionOutput) ToGetProductLicensesProductLicenseCollectionOutput() GetProductLicensesProductLicenseCollectionOutput

func (GetProductLicensesProductLicenseCollectionOutput) ToGetProductLicensesProductLicenseCollectionOutputWithContext

func (o GetProductLicensesProductLicenseCollectionOutput) ToGetProductLicensesProductLicenseCollectionOutputWithContext(ctx context.Context) GetProductLicensesProductLicenseCollectionOutput

type GetProductLicensesResult

type GetProductLicensesResult struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the product license is created.
	CompartmentId string                     `pulumi:"compartmentId"`
	Filters       []GetProductLicensesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id                       string `pulumi:"id"`
	IsCompartmentIdInSubtree *bool  `pulumi:"isCompartmentIdInSubtree"`
	// The list of product_license_collection.
	ProductLicenseCollections []GetProductLicensesProductLicenseCollection `pulumi:"productLicenseCollections"`
}

A collection of values returned by getProductLicenses.

func GetProductLicenses

func GetProductLicenses(ctx *pulumi.Context, args *GetProductLicensesArgs, opts ...pulumi.InvokeOption) (*GetProductLicensesResult, error)

This data source provides the list of Product Licenses in Oracle Cloud Infrastructure License Manager service.

Retrieves all the product licenses from a given compartment.

## Example Usage

```go 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.GetProductLicenses(ctx, &licensemanager.GetProductLicensesArgs{
			CompartmentId:            compartmentId,
			IsCompartmentIdInSubtree: pulumi.BoolRef(productLicenseIsCompartmentIdInSubtree),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProductLicensesResultOutput

type GetProductLicensesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProductLicenses.

func (GetProductLicensesResultOutput) CompartmentId

The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the product license is created.

func (GetProductLicensesResultOutput) ElementType

func (GetProductLicensesResultOutput) Filters

func (GetProductLicensesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetProductLicensesResultOutput) IsCompartmentIdInSubtree

func (o GetProductLicensesResultOutput) IsCompartmentIdInSubtree() pulumi.BoolPtrOutput

func (GetProductLicensesResultOutput) ProductLicenseCollections

The list of product_license_collection.

func (GetProductLicensesResultOutput) ToGetProductLicensesResultOutput

func (o GetProductLicensesResultOutput) ToGetProductLicensesResultOutput() GetProductLicensesResultOutput

func (GetProductLicensesResultOutput) ToGetProductLicensesResultOutputWithContext

func (o GetProductLicensesResultOutput) ToGetProductLicensesResultOutputWithContext(ctx context.Context) GetProductLicensesResultOutput

type GetTopUtilizedProductLicensesArgs

type GetTopUtilizedProductLicensesArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId string `pulumi:"compartmentId"`
	// Indicates if the given compartment is the root compartment.
	IsCompartmentIdInSubtree *bool `pulumi:"isCompartmentIdInSubtree"`
}

A collection of arguments for invoking getTopUtilizedProductLicenses.

type GetTopUtilizedProductLicensesItem

type GetTopUtilizedProductLicensesItem struct {
	// Specifies if the license unit count is unlimited.
	IsUnlimited bool `pulumi:"isUnlimited"`
	// The product license [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ProductLicenseId string `pulumi:"productLicenseId"`
	// The product type.
	ProductType string `pulumi:"productType"`
	// The current product license status.
	Status string `pulumi:"status"`
	// Total number of license units in the product license provided by the user.
	TotalLicenseUnitCount int `pulumi:"totalLicenseUnitCount"`
	// Number of license units consumed.
	TotalUnitsConsumed float64 `pulumi:"totalUnitsConsumed"`
	// The product license unit.
	UnitType string `pulumi:"unitType"`
}

type GetTopUtilizedProductLicensesItemArgs

type GetTopUtilizedProductLicensesItemArgs struct {
	// Specifies if the license unit count is unlimited.
	IsUnlimited pulumi.BoolInput `pulumi:"isUnlimited"`
	// The product license [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ProductLicenseId pulumi.StringInput `pulumi:"productLicenseId"`
	// The product type.
	ProductType pulumi.StringInput `pulumi:"productType"`
	// The current product license status.
	Status pulumi.StringInput `pulumi:"status"`
	// Total number of license units in the product license provided by the user.
	TotalLicenseUnitCount pulumi.IntInput `pulumi:"totalLicenseUnitCount"`
	// Number of license units consumed.
	TotalUnitsConsumed pulumi.Float64Input `pulumi:"totalUnitsConsumed"`
	// The product license unit.
	UnitType pulumi.StringInput `pulumi:"unitType"`
}

func (GetTopUtilizedProductLicensesItemArgs) ElementType

func (GetTopUtilizedProductLicensesItemArgs) ToGetTopUtilizedProductLicensesItemOutput

func (i GetTopUtilizedProductLicensesItemArgs) ToGetTopUtilizedProductLicensesItemOutput() GetTopUtilizedProductLicensesItemOutput

func (GetTopUtilizedProductLicensesItemArgs) ToGetTopUtilizedProductLicensesItemOutputWithContext

func (i GetTopUtilizedProductLicensesItemArgs) ToGetTopUtilizedProductLicensesItemOutputWithContext(ctx context.Context) GetTopUtilizedProductLicensesItemOutput

type GetTopUtilizedProductLicensesItemArray

type GetTopUtilizedProductLicensesItemArray []GetTopUtilizedProductLicensesItemInput

func (GetTopUtilizedProductLicensesItemArray) ElementType

func (GetTopUtilizedProductLicensesItemArray) ToGetTopUtilizedProductLicensesItemArrayOutput

func (i GetTopUtilizedProductLicensesItemArray) ToGetTopUtilizedProductLicensesItemArrayOutput() GetTopUtilizedProductLicensesItemArrayOutput

func (GetTopUtilizedProductLicensesItemArray) ToGetTopUtilizedProductLicensesItemArrayOutputWithContext

func (i GetTopUtilizedProductLicensesItemArray) ToGetTopUtilizedProductLicensesItemArrayOutputWithContext(ctx context.Context) GetTopUtilizedProductLicensesItemArrayOutput

type GetTopUtilizedProductLicensesItemArrayInput

type GetTopUtilizedProductLicensesItemArrayInput interface {
	pulumi.Input

	ToGetTopUtilizedProductLicensesItemArrayOutput() GetTopUtilizedProductLicensesItemArrayOutput
	ToGetTopUtilizedProductLicensesItemArrayOutputWithContext(context.Context) GetTopUtilizedProductLicensesItemArrayOutput
}

GetTopUtilizedProductLicensesItemArrayInput is an input type that accepts GetTopUtilizedProductLicensesItemArray and GetTopUtilizedProductLicensesItemArrayOutput values. You can construct a concrete instance of `GetTopUtilizedProductLicensesItemArrayInput` via:

GetTopUtilizedProductLicensesItemArray{ GetTopUtilizedProductLicensesItemArgs{...} }

type GetTopUtilizedProductLicensesItemArrayOutput

type GetTopUtilizedProductLicensesItemArrayOutput struct{ *pulumi.OutputState }

func (GetTopUtilizedProductLicensesItemArrayOutput) ElementType

func (GetTopUtilizedProductLicensesItemArrayOutput) Index

func (GetTopUtilizedProductLicensesItemArrayOutput) ToGetTopUtilizedProductLicensesItemArrayOutput

func (o GetTopUtilizedProductLicensesItemArrayOutput) ToGetTopUtilizedProductLicensesItemArrayOutput() GetTopUtilizedProductLicensesItemArrayOutput

func (GetTopUtilizedProductLicensesItemArrayOutput) ToGetTopUtilizedProductLicensesItemArrayOutputWithContext

func (o GetTopUtilizedProductLicensesItemArrayOutput) ToGetTopUtilizedProductLicensesItemArrayOutputWithContext(ctx context.Context) GetTopUtilizedProductLicensesItemArrayOutput

type GetTopUtilizedProductLicensesItemInput

type GetTopUtilizedProductLicensesItemInput interface {
	pulumi.Input

	ToGetTopUtilizedProductLicensesItemOutput() GetTopUtilizedProductLicensesItemOutput
	ToGetTopUtilizedProductLicensesItemOutputWithContext(context.Context) GetTopUtilizedProductLicensesItemOutput
}

GetTopUtilizedProductLicensesItemInput is an input type that accepts GetTopUtilizedProductLicensesItemArgs and GetTopUtilizedProductLicensesItemOutput values. You can construct a concrete instance of `GetTopUtilizedProductLicensesItemInput` via:

GetTopUtilizedProductLicensesItemArgs{...}

type GetTopUtilizedProductLicensesItemOutput

type GetTopUtilizedProductLicensesItemOutput struct{ *pulumi.OutputState }

func (GetTopUtilizedProductLicensesItemOutput) ElementType

func (GetTopUtilizedProductLicensesItemOutput) IsUnlimited

Specifies if the license unit count is unlimited.

func (GetTopUtilizedProductLicensesItemOutput) ProductLicenseId

The product license [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

func (GetTopUtilizedProductLicensesItemOutput) ProductType

The product type.

func (GetTopUtilizedProductLicensesItemOutput) Status

The current product license status.

func (GetTopUtilizedProductLicensesItemOutput) ToGetTopUtilizedProductLicensesItemOutput

func (o GetTopUtilizedProductLicensesItemOutput) ToGetTopUtilizedProductLicensesItemOutput() GetTopUtilizedProductLicensesItemOutput

func (GetTopUtilizedProductLicensesItemOutput) ToGetTopUtilizedProductLicensesItemOutputWithContext

func (o GetTopUtilizedProductLicensesItemOutput) ToGetTopUtilizedProductLicensesItemOutputWithContext(ctx context.Context) GetTopUtilizedProductLicensesItemOutput

func (GetTopUtilizedProductLicensesItemOutput) TotalLicenseUnitCount

func (o GetTopUtilizedProductLicensesItemOutput) TotalLicenseUnitCount() pulumi.IntOutput

Total number of license units in the product license provided by the user.

func (GetTopUtilizedProductLicensesItemOutput) TotalUnitsConsumed

Number of license units consumed.

func (GetTopUtilizedProductLicensesItemOutput) UnitType

The product license unit.

type GetTopUtilizedProductLicensesOutputArgs

type GetTopUtilizedProductLicensesOutputArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Indicates if the given compartment is the root compartment.
	IsCompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"isCompartmentIdInSubtree"`
}

A collection of arguments for invoking getTopUtilizedProductLicenses.

func (GetTopUtilizedProductLicensesOutputArgs) ElementType

type GetTopUtilizedProductLicensesResult

type GetTopUtilizedProductLicensesResult struct {
	CompartmentId string `pulumi:"compartmentId"`
	// The provider-assigned unique ID for this managed resource.
	Id                       string `pulumi:"id"`
	IsCompartmentIdInSubtree *bool  `pulumi:"isCompartmentIdInSubtree"`
	// Collection of top utilized product licenses.
	Items []GetTopUtilizedProductLicensesItem `pulumi:"items"`
}

A collection of values returned by getTopUtilizedProductLicenses.

func GetTopUtilizedProductLicenses

This data source provides the list of Top Utilized Product Licenses in Oracle Cloud Infrastructure License Manager service.

Retrieves the top utilized product licenses for a given compartment.

## Example Usage

```go 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.GetTopUtilizedProductLicenses(ctx, &licensemanager.GetTopUtilizedProductLicensesArgs{
			CompartmentId:            compartmentId,
			IsCompartmentIdInSubtree: pulumi.BoolRef(topUtilizedProductLicenseIsCompartmentIdInSubtree),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetTopUtilizedProductLicensesResultOutput

type GetTopUtilizedProductLicensesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTopUtilizedProductLicenses.

func (GetTopUtilizedProductLicensesResultOutput) CompartmentId

func (GetTopUtilizedProductLicensesResultOutput) ElementType

func (GetTopUtilizedProductLicensesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetTopUtilizedProductLicensesResultOutput) IsCompartmentIdInSubtree

func (o GetTopUtilizedProductLicensesResultOutput) IsCompartmentIdInSubtree() pulumi.BoolPtrOutput

func (GetTopUtilizedProductLicensesResultOutput) Items

Collection of top utilized product licenses.

func (GetTopUtilizedProductLicensesResultOutput) ToGetTopUtilizedProductLicensesResultOutput

func (o GetTopUtilizedProductLicensesResultOutput) ToGetTopUtilizedProductLicensesResultOutput() GetTopUtilizedProductLicensesResultOutput

func (GetTopUtilizedProductLicensesResultOutput) ToGetTopUtilizedProductLicensesResultOutputWithContext

func (o GetTopUtilizedProductLicensesResultOutput) ToGetTopUtilizedProductLicensesResultOutputWithContext(ctx context.Context) GetTopUtilizedProductLicensesResultOutput

type GetTopUtilizedResourcesArgs

type GetTopUtilizedResourcesArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId string `pulumi:"compartmentId"`
	// Indicates if the given compartment is the root compartment.
	IsCompartmentIdInSubtree *bool `pulumi:"isCompartmentIdInSubtree"`
	// A filter to return only resources whose unit matches the given resource unit.
	ResourceUnitType *string `pulumi:"resourceUnitType"`
}

A collection of arguments for invoking getTopUtilizedResources.

type GetTopUtilizedResourcesItem

type GetTopUtilizedResourcesItem struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that contains the resource.
	ResourceCompartmentId string `pulumi:"resourceCompartmentId"`
	// The display name of the compartment that contains the resource.
	ResourceCompartmentName string `pulumi:"resourceCompartmentName"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
	ResourceId string `pulumi:"resourceId"`
	// Resource canonical name.
	ResourceName string `pulumi:"resourceName"`
	// Number of license units consumed by the resource.
	TotalUnits float64 `pulumi:"totalUnits"`
	// The resource unit.
	UnitType string `pulumi:"unitType"`
}

type GetTopUtilizedResourcesItemArgs

type GetTopUtilizedResourcesItemArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that contains the resource.
	ResourceCompartmentId pulumi.StringInput `pulumi:"resourceCompartmentId"`
	// The display name of the compartment that contains the resource.
	ResourceCompartmentName pulumi.StringInput `pulumi:"resourceCompartmentName"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// Resource canonical name.
	ResourceName pulumi.StringInput `pulumi:"resourceName"`
	// Number of license units consumed by the resource.
	TotalUnits pulumi.Float64Input `pulumi:"totalUnits"`
	// The resource unit.
	UnitType pulumi.StringInput `pulumi:"unitType"`
}

func (GetTopUtilizedResourcesItemArgs) ElementType

func (GetTopUtilizedResourcesItemArgs) ToGetTopUtilizedResourcesItemOutput

func (i GetTopUtilizedResourcesItemArgs) ToGetTopUtilizedResourcesItemOutput() GetTopUtilizedResourcesItemOutput

func (GetTopUtilizedResourcesItemArgs) ToGetTopUtilizedResourcesItemOutputWithContext

func (i GetTopUtilizedResourcesItemArgs) ToGetTopUtilizedResourcesItemOutputWithContext(ctx context.Context) GetTopUtilizedResourcesItemOutput

type GetTopUtilizedResourcesItemArray

type GetTopUtilizedResourcesItemArray []GetTopUtilizedResourcesItemInput

func (GetTopUtilizedResourcesItemArray) ElementType

func (GetTopUtilizedResourcesItemArray) ToGetTopUtilizedResourcesItemArrayOutput

func (i GetTopUtilizedResourcesItemArray) ToGetTopUtilizedResourcesItemArrayOutput() GetTopUtilizedResourcesItemArrayOutput

func (GetTopUtilizedResourcesItemArray) ToGetTopUtilizedResourcesItemArrayOutputWithContext

func (i GetTopUtilizedResourcesItemArray) ToGetTopUtilizedResourcesItemArrayOutputWithContext(ctx context.Context) GetTopUtilizedResourcesItemArrayOutput

type GetTopUtilizedResourcesItemArrayInput

type GetTopUtilizedResourcesItemArrayInput interface {
	pulumi.Input

	ToGetTopUtilizedResourcesItemArrayOutput() GetTopUtilizedResourcesItemArrayOutput
	ToGetTopUtilizedResourcesItemArrayOutputWithContext(context.Context) GetTopUtilizedResourcesItemArrayOutput
}

GetTopUtilizedResourcesItemArrayInput is an input type that accepts GetTopUtilizedResourcesItemArray and GetTopUtilizedResourcesItemArrayOutput values. You can construct a concrete instance of `GetTopUtilizedResourcesItemArrayInput` via:

GetTopUtilizedResourcesItemArray{ GetTopUtilizedResourcesItemArgs{...} }

type GetTopUtilizedResourcesItemArrayOutput

type GetTopUtilizedResourcesItemArrayOutput struct{ *pulumi.OutputState }

func (GetTopUtilizedResourcesItemArrayOutput) ElementType

func (GetTopUtilizedResourcesItemArrayOutput) Index

func (GetTopUtilizedResourcesItemArrayOutput) ToGetTopUtilizedResourcesItemArrayOutput

func (o GetTopUtilizedResourcesItemArrayOutput) ToGetTopUtilizedResourcesItemArrayOutput() GetTopUtilizedResourcesItemArrayOutput

func (GetTopUtilizedResourcesItemArrayOutput) ToGetTopUtilizedResourcesItemArrayOutputWithContext

func (o GetTopUtilizedResourcesItemArrayOutput) ToGetTopUtilizedResourcesItemArrayOutputWithContext(ctx context.Context) GetTopUtilizedResourcesItemArrayOutput

type GetTopUtilizedResourcesItemInput

type GetTopUtilizedResourcesItemInput interface {
	pulumi.Input

	ToGetTopUtilizedResourcesItemOutput() GetTopUtilizedResourcesItemOutput
	ToGetTopUtilizedResourcesItemOutputWithContext(context.Context) GetTopUtilizedResourcesItemOutput
}

GetTopUtilizedResourcesItemInput is an input type that accepts GetTopUtilizedResourcesItemArgs and GetTopUtilizedResourcesItemOutput values. You can construct a concrete instance of `GetTopUtilizedResourcesItemInput` via:

GetTopUtilizedResourcesItemArgs{...}

type GetTopUtilizedResourcesItemOutput

type GetTopUtilizedResourcesItemOutput struct{ *pulumi.OutputState }

func (GetTopUtilizedResourcesItemOutput) ElementType

func (GetTopUtilizedResourcesItemOutput) ResourceCompartmentId

func (o GetTopUtilizedResourcesItemOutput) ResourceCompartmentId() pulumi.StringOutput

The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that contains the resource.

func (GetTopUtilizedResourcesItemOutput) ResourceCompartmentName

func (o GetTopUtilizedResourcesItemOutput) ResourceCompartmentName() pulumi.StringOutput

The display name of the compartment that contains the resource.

func (GetTopUtilizedResourcesItemOutput) ResourceId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.

func (GetTopUtilizedResourcesItemOutput) ResourceName

Resource canonical name.

func (GetTopUtilizedResourcesItemOutput) ToGetTopUtilizedResourcesItemOutput

func (o GetTopUtilizedResourcesItemOutput) ToGetTopUtilizedResourcesItemOutput() GetTopUtilizedResourcesItemOutput

func (GetTopUtilizedResourcesItemOutput) ToGetTopUtilizedResourcesItemOutputWithContext

func (o GetTopUtilizedResourcesItemOutput) ToGetTopUtilizedResourcesItemOutputWithContext(ctx context.Context) GetTopUtilizedResourcesItemOutput

func (GetTopUtilizedResourcesItemOutput) TotalUnits

Number of license units consumed by the resource.

func (GetTopUtilizedResourcesItemOutput) UnitType

The resource unit.

type GetTopUtilizedResourcesOutputArgs

type GetTopUtilizedResourcesOutputArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Indicates if the given compartment is the root compartment.
	IsCompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"isCompartmentIdInSubtree"`
	// A filter to return only resources whose unit matches the given resource unit.
	ResourceUnitType pulumi.StringPtrInput `pulumi:"resourceUnitType"`
}

A collection of arguments for invoking getTopUtilizedResources.

func (GetTopUtilizedResourcesOutputArgs) ElementType

type GetTopUtilizedResourcesResult

type GetTopUtilizedResourcesResult struct {
	CompartmentId string `pulumi:"compartmentId"`
	// The provider-assigned unique ID for this managed resource.
	Id                       string `pulumi:"id"`
	IsCompartmentIdInSubtree *bool  `pulumi:"isCompartmentIdInSubtree"`
	// The top utilized resource summary collection.
	Items            []GetTopUtilizedResourcesItem `pulumi:"items"`
	ResourceUnitType *string                       `pulumi:"resourceUnitType"`
}

A collection of values returned by getTopUtilizedResources.

func GetTopUtilizedResources

func GetTopUtilizedResources(ctx *pulumi.Context, args *GetTopUtilizedResourcesArgs, opts ...pulumi.InvokeOption) (*GetTopUtilizedResourcesResult, error)

This data source provides the list of Top Utilized Resources in Oracle Cloud Infrastructure License Manager service.

Retrieves the top utilized resources for a given compartment.

## Example Usage

```go 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.GetTopUtilizedResources(ctx, &licensemanager.GetTopUtilizedResourcesArgs{
			CompartmentId:            compartmentId,
			IsCompartmentIdInSubtree: pulumi.BoolRef(topUtilizedResourceIsCompartmentIdInSubtree),
			ResourceUnitType:         pulumi.StringRef(topUtilizedResourceResourceUnitType),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetTopUtilizedResourcesResultOutput

type GetTopUtilizedResourcesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTopUtilizedResources.

func (GetTopUtilizedResourcesResultOutput) CompartmentId

func (GetTopUtilizedResourcesResultOutput) ElementType

func (GetTopUtilizedResourcesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetTopUtilizedResourcesResultOutput) IsCompartmentIdInSubtree

func (o GetTopUtilizedResourcesResultOutput) IsCompartmentIdInSubtree() pulumi.BoolPtrOutput

func (GetTopUtilizedResourcesResultOutput) Items

The top utilized resource summary collection.

func (GetTopUtilizedResourcesResultOutput) ResourceUnitType

func (GetTopUtilizedResourcesResultOutput) ToGetTopUtilizedResourcesResultOutput

func (o GetTopUtilizedResourcesResultOutput) ToGetTopUtilizedResourcesResultOutput() GetTopUtilizedResourcesResultOutput

func (GetTopUtilizedResourcesResultOutput) ToGetTopUtilizedResourcesResultOutputWithContext

func (o GetTopUtilizedResourcesResultOutput) ToGetTopUtilizedResourcesResultOutputWithContext(ctx context.Context) GetTopUtilizedResourcesResultOutput

type LicenseRecord

type LicenseRecord struct {
	pulumi.CustomResourceState

	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the license record is created.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) License record name.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// (Updatable) The license record end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`
	ExpirationDate pulumi.StringOutput `pulumi:"expirationDate"`
	// (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// (Updatable) Specifies if the license record term is perpertual.
	IsPerpetual pulumi.BoolOutput `pulumi:"isPerpetual"`
	// (Updatable) Specifies if the license count is unlimited.
	IsUnlimited pulumi.BoolOutput `pulumi:"isUnlimited"`
	// (Updatable) The number of license units added by a user in a license record. Default 1
	LicenseCount pulumi.IntOutput `pulumi:"licenseCount"`
	// The product license unit.
	LicenseUnit pulumi.StringOutput `pulumi:"licenseUnit"`
	// (Updatable) The license record product ID.
	ProductId pulumi.StringOutput `pulumi:"productId"`
	// The product license name with which the license record is associated.
	ProductLicense pulumi.StringOutput `pulumi:"productLicense"`
	// Unique product license identifier.
	ProductLicenseId pulumi.StringOutput `pulumi:"productLicenseId"`
	// The current license record state.
	State pulumi.StringOutput `pulumi:"state"`
	// (Updatable) The license record support end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) 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
	SupportEndDate pulumi.StringOutput `pulumi:"supportEndDate"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapOutput `pulumi:"systemTags"`
	// The time the license record was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The time the license record was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

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

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/LicenseManager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := LicenseManager.NewLicenseRecord(ctx, "test_license_record", &LicenseManager.LicenseRecordArgs{
			DisplayName:      pulumi.Any(licenseRecordDisplayName),
			IsPerpetual:      pulumi.Any(licenseRecordIsPerpetual),
			IsUnlimited:      pulumi.Any(licenseRecordIsUnlimited),
			ProductLicenseId: pulumi.Any(testProductLicense.Id),
			DefinedTags: pulumi.Map{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			ExpirationDate: pulumi.Any(licenseRecordExpirationDate),
			FreeformTags: pulumi.Map{
				"bar-key": pulumi.Any("value"),
			},
			LicenseCount:   pulumi.Any(licenseRecordLicenseCount),
			ProductId:      pulumi.Any(testProduct.Id),
			SupportEndDate: pulumi.Any(licenseRecordSupportEndDate),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import oci:LicenseManager/licenseRecord:LicenseRecord test_license_record "id" ```

func GetLicenseRecord

func GetLicenseRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LicenseRecordState, opts ...pulumi.ResourceOption) (*LicenseRecord, error)

GetLicenseRecord gets an existing LicenseRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLicenseRecord

func NewLicenseRecord(ctx *pulumi.Context,
	name string, args *LicenseRecordArgs, opts ...pulumi.ResourceOption) (*LicenseRecord, error)

NewLicenseRecord registers a new resource with the given unique name, arguments, and options.

func (*LicenseRecord) ElementType

func (*LicenseRecord) ElementType() reflect.Type

func (*LicenseRecord) ToLicenseRecordOutput

func (i *LicenseRecord) ToLicenseRecordOutput() LicenseRecordOutput

func (*LicenseRecord) ToLicenseRecordOutputWithContext

func (i *LicenseRecord) ToLicenseRecordOutputWithContext(ctx context.Context) LicenseRecordOutput

type LicenseRecordArgs

type LicenseRecordArgs struct {
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags pulumi.MapInput
	// (Updatable) License record name.
	DisplayName pulumi.StringInput
	// (Updatable) The license record end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`
	ExpirationDate pulumi.StringPtrInput
	// (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput
	// (Updatable) Specifies if the license record term is perpertual.
	IsPerpetual pulumi.BoolInput
	// (Updatable) Specifies if the license count is unlimited.
	IsUnlimited pulumi.BoolInput
	// (Updatable) The number of license units added by a user in a license record. Default 1
	LicenseCount pulumi.IntPtrInput
	// (Updatable) The license record product ID.
	ProductId pulumi.StringPtrInput
	// Unique product license identifier.
	ProductLicenseId pulumi.StringInput
	// (Updatable) The license record support end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) 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
	SupportEndDate pulumi.StringPtrInput
}

The set of arguments for constructing a LicenseRecord resource.

func (LicenseRecordArgs) ElementType

func (LicenseRecordArgs) ElementType() reflect.Type

type LicenseRecordArray

type LicenseRecordArray []LicenseRecordInput

func (LicenseRecordArray) ElementType

func (LicenseRecordArray) ElementType() reflect.Type

func (LicenseRecordArray) ToLicenseRecordArrayOutput

func (i LicenseRecordArray) ToLicenseRecordArrayOutput() LicenseRecordArrayOutput

func (LicenseRecordArray) ToLicenseRecordArrayOutputWithContext

func (i LicenseRecordArray) ToLicenseRecordArrayOutputWithContext(ctx context.Context) LicenseRecordArrayOutput

type LicenseRecordArrayInput

type LicenseRecordArrayInput interface {
	pulumi.Input

	ToLicenseRecordArrayOutput() LicenseRecordArrayOutput
	ToLicenseRecordArrayOutputWithContext(context.Context) LicenseRecordArrayOutput
}

LicenseRecordArrayInput is an input type that accepts LicenseRecordArray and LicenseRecordArrayOutput values. You can construct a concrete instance of `LicenseRecordArrayInput` via:

LicenseRecordArray{ LicenseRecordArgs{...} }

type LicenseRecordArrayOutput

type LicenseRecordArrayOutput struct{ *pulumi.OutputState }

func (LicenseRecordArrayOutput) ElementType

func (LicenseRecordArrayOutput) ElementType() reflect.Type

func (LicenseRecordArrayOutput) Index

func (LicenseRecordArrayOutput) ToLicenseRecordArrayOutput

func (o LicenseRecordArrayOutput) ToLicenseRecordArrayOutput() LicenseRecordArrayOutput

func (LicenseRecordArrayOutput) ToLicenseRecordArrayOutputWithContext

func (o LicenseRecordArrayOutput) ToLicenseRecordArrayOutputWithContext(ctx context.Context) LicenseRecordArrayOutput

type LicenseRecordInput

type LicenseRecordInput interface {
	pulumi.Input

	ToLicenseRecordOutput() LicenseRecordOutput
	ToLicenseRecordOutputWithContext(ctx context.Context) LicenseRecordOutput
}

type LicenseRecordMap

type LicenseRecordMap map[string]LicenseRecordInput

func (LicenseRecordMap) ElementType

func (LicenseRecordMap) ElementType() reflect.Type

func (LicenseRecordMap) ToLicenseRecordMapOutput

func (i LicenseRecordMap) ToLicenseRecordMapOutput() LicenseRecordMapOutput

func (LicenseRecordMap) ToLicenseRecordMapOutputWithContext

func (i LicenseRecordMap) ToLicenseRecordMapOutputWithContext(ctx context.Context) LicenseRecordMapOutput

type LicenseRecordMapInput

type LicenseRecordMapInput interface {
	pulumi.Input

	ToLicenseRecordMapOutput() LicenseRecordMapOutput
	ToLicenseRecordMapOutputWithContext(context.Context) LicenseRecordMapOutput
}

LicenseRecordMapInput is an input type that accepts LicenseRecordMap and LicenseRecordMapOutput values. You can construct a concrete instance of `LicenseRecordMapInput` via:

LicenseRecordMap{ "key": LicenseRecordArgs{...} }

type LicenseRecordMapOutput

type LicenseRecordMapOutput struct{ *pulumi.OutputState }

func (LicenseRecordMapOutput) ElementType

func (LicenseRecordMapOutput) ElementType() reflect.Type

func (LicenseRecordMapOutput) MapIndex

func (LicenseRecordMapOutput) ToLicenseRecordMapOutput

func (o LicenseRecordMapOutput) ToLicenseRecordMapOutput() LicenseRecordMapOutput

func (LicenseRecordMapOutput) ToLicenseRecordMapOutputWithContext

func (o LicenseRecordMapOutput) ToLicenseRecordMapOutputWithContext(ctx context.Context) LicenseRecordMapOutput

type LicenseRecordOutput

type LicenseRecordOutput struct{ *pulumi.OutputState }

func (LicenseRecordOutput) CompartmentId added in v0.4.0

func (o LicenseRecordOutput) CompartmentId() pulumi.StringOutput

The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the license record is created.

func (LicenseRecordOutput) DefinedTags added in v0.4.0

func (o LicenseRecordOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`

func (LicenseRecordOutput) DisplayName added in v0.4.0

func (o LicenseRecordOutput) DisplayName() pulumi.StringOutput

(Updatable) License record name.

func (LicenseRecordOutput) ElementType

func (LicenseRecordOutput) ElementType() reflect.Type

func (LicenseRecordOutput) ExpirationDate added in v0.4.0

func (o LicenseRecordOutput) ExpirationDate() pulumi.StringOutput

(Updatable) The license record end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`

func (LicenseRecordOutput) FreeformTags added in v0.4.0

func (o LicenseRecordOutput) FreeformTags() pulumi.MapOutput

(Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (LicenseRecordOutput) IsPerpetual added in v0.4.0

func (o LicenseRecordOutput) IsPerpetual() pulumi.BoolOutput

(Updatable) Specifies if the license record term is perpertual.

func (LicenseRecordOutput) IsUnlimited added in v0.4.0

func (o LicenseRecordOutput) IsUnlimited() pulumi.BoolOutput

(Updatable) Specifies if the license count is unlimited.

func (LicenseRecordOutput) LicenseCount added in v0.4.0

func (o LicenseRecordOutput) LicenseCount() pulumi.IntOutput

(Updatable) The number of license units added by a user in a license record. Default 1

func (LicenseRecordOutput) LicenseUnit added in v0.4.0

func (o LicenseRecordOutput) LicenseUnit() pulumi.StringOutput

The product license unit.

func (LicenseRecordOutput) ProductId added in v0.4.0

func (o LicenseRecordOutput) ProductId() pulumi.StringOutput

(Updatable) The license record product ID.

func (LicenseRecordOutput) ProductLicense added in v0.4.0

func (o LicenseRecordOutput) ProductLicense() pulumi.StringOutput

The product license name with which the license record is associated.

func (LicenseRecordOutput) ProductLicenseId added in v0.4.0

func (o LicenseRecordOutput) ProductLicenseId() pulumi.StringOutput

Unique product license identifier.

func (LicenseRecordOutput) State added in v0.4.0

The current license record state.

func (LicenseRecordOutput) SupportEndDate added in v0.4.0

func (o LicenseRecordOutput) SupportEndDate() pulumi.StringOutput

(Updatable) The license record support end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) 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

func (LicenseRecordOutput) SystemTags added in v0.4.0

func (o LicenseRecordOutput) SystemTags() pulumi.MapOutput

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (LicenseRecordOutput) TimeCreated added in v0.4.0

func (o LicenseRecordOutput) TimeCreated() pulumi.StringOutput

The time the license record was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (LicenseRecordOutput) TimeUpdated added in v0.4.0

func (o LicenseRecordOutput) TimeUpdated() pulumi.StringOutput

The time the license record was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (LicenseRecordOutput) ToLicenseRecordOutput

func (o LicenseRecordOutput) ToLicenseRecordOutput() LicenseRecordOutput

func (LicenseRecordOutput) ToLicenseRecordOutputWithContext

func (o LicenseRecordOutput) ToLicenseRecordOutputWithContext(ctx context.Context) LicenseRecordOutput

type LicenseRecordState

type LicenseRecordState struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the license record is created.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags pulumi.MapInput
	// (Updatable) License record name.
	DisplayName pulumi.StringPtrInput
	// (Updatable) The license record end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`
	ExpirationDate pulumi.StringPtrInput
	// (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput
	// (Updatable) Specifies if the license record term is perpertual.
	IsPerpetual pulumi.BoolPtrInput
	// (Updatable) Specifies if the license count is unlimited.
	IsUnlimited pulumi.BoolPtrInput
	// (Updatable) The number of license units added by a user in a license record. Default 1
	LicenseCount pulumi.IntPtrInput
	// The product license unit.
	LicenseUnit pulumi.StringPtrInput
	// (Updatable) The license record product ID.
	ProductId pulumi.StringPtrInput
	// The product license name with which the license record is associated.
	ProductLicense pulumi.StringPtrInput
	// Unique product license identifier.
	ProductLicenseId pulumi.StringPtrInput
	// The current license record state.
	State pulumi.StringPtrInput
	// (Updatable) The license record support end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) 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
	SupportEndDate pulumi.StringPtrInput
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapInput
	// The time the license record was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated pulumi.StringPtrInput
	// The time the license record was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated pulumi.StringPtrInput
}

func (LicenseRecordState) ElementType

func (LicenseRecordState) ElementType() reflect.Type

type LookupConfigurationArgs

type LookupConfigurationArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId string `pulumi:"compartmentId"`
}

A collection of arguments for invoking getConfiguration.

type LookupConfigurationOutputArgs

type LookupConfigurationOutputArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
}

A collection of arguments for invoking getConfiguration.

func (LookupConfigurationOutputArgs) ElementType

type LookupConfigurationResult

type LookupConfigurationResult struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to which the configuration is specified.
	CompartmentId string `pulumi:"compartmentId"`
	// The list of associated configuration email IDs.
	EmailIds []string `pulumi:"emailIds"`
	Id       string   `pulumi:"id"`
	// The time the configuration was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated string `pulumi:"timeCreated"`
	// The time the configuration was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated string `pulumi:"timeUpdated"`
}

A collection of values returned by getConfiguration.

func LookupConfiguration

func LookupConfiguration(ctx *pulumi.Context, args *LookupConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupConfigurationResult, error)

This data source provides details about a specific Configuration resource in Oracle Cloud Infrastructure License Manager service.

Retrieves configuration for a compartment.

## Example Usage

```go 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.GetConfiguration(ctx, &licensemanager.GetConfigurationArgs{
			CompartmentId: compartmentId,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupConfigurationResultOutput

type LookupConfigurationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConfiguration.

func (LookupConfigurationResultOutput) CompartmentId

The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to which the configuration is specified.

func (LookupConfigurationResultOutput) ElementType

func (LookupConfigurationResultOutput) EmailIds

The list of associated configuration email IDs.

func (LookupConfigurationResultOutput) Id

func (LookupConfigurationResultOutput) TimeCreated

The time the configuration was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (LookupConfigurationResultOutput) TimeUpdated

The time the configuration was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (LookupConfigurationResultOutput) ToLookupConfigurationResultOutput

func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutput() LookupConfigurationResultOutput

func (LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext

func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext(ctx context.Context) LookupConfigurationResultOutput

type LookupLicenseRecordArgs

type LookupLicenseRecordArgs struct {
	// Unique license record identifier.
	LicenseRecordId string `pulumi:"licenseRecordId"`
}

A collection of arguments for invoking getLicenseRecord.

type LookupLicenseRecordOutputArgs

type LookupLicenseRecordOutputArgs struct {
	// Unique license record identifier.
	LicenseRecordId pulumi.StringInput `pulumi:"licenseRecordId"`
}

A collection of arguments for invoking getLicenseRecord.

func (LookupLicenseRecordOutputArgs) ElementType

type LookupLicenseRecordResult

type LookupLicenseRecordResult struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the license record is created.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// The license record display name. Avoid entering confidential information.
	DisplayName string `pulumi:"displayName"`
	// The license record end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`
	ExpirationDate string `pulumi:"expirationDate"`
	// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The license record [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	Id string `pulumi:"id"`
	// Specifies if the license record term is perpertual.
	IsPerpetual bool `pulumi:"isPerpetual"`
	// Specifies if the license count is unlimited.
	IsUnlimited bool `pulumi:"isUnlimited"`
	// The number of license units added by the user for the given license record. Default 1
	LicenseCount    int    `pulumi:"licenseCount"`
	LicenseRecordId string `pulumi:"licenseRecordId"`
	// The product license unit.
	LicenseUnit string `pulumi:"licenseUnit"`
	// The license record product ID.
	ProductId string `pulumi:"productId"`
	// The product license name with which the license record is associated.
	ProductLicense string `pulumi:"productLicense"`
	// The product license [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with which the license record is associated.
	ProductLicenseId string `pulumi:"productLicenseId"`
	// The current license record state.
	State string `pulumi:"state"`
	// The license record support end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`
	SupportEndDate string `pulumi:"supportEndDate"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// The time the license record was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated string `pulumi:"timeCreated"`
	// The time the license record was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated string `pulumi:"timeUpdated"`
}

A collection of values returned by getLicenseRecord.

func LookupLicenseRecord

func LookupLicenseRecord(ctx *pulumi.Context, args *LookupLicenseRecordArgs, opts ...pulumi.InvokeOption) (*LookupLicenseRecordResult, error)

This data source provides details about a specific License Record resource in Oracle Cloud Infrastructure License Manager service.

Retrieves license record details by the license record ID in a given compartment.

## Example Usage

```go 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.GetLicenseRecord(ctx, &licensemanager.GetLicenseRecordArgs{
			LicenseRecordId: testLicenseRecordOciLicenseManagerLicenseRecord.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupLicenseRecordResultOutput

type LookupLicenseRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLicenseRecord.

func (LookupLicenseRecordResultOutput) CompartmentId

The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the license record is created.

func (LookupLicenseRecordResultOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`

func (LookupLicenseRecordResultOutput) DisplayName

The license record display name. Avoid entering confidential information.

func (LookupLicenseRecordResultOutput) ElementType

func (LookupLicenseRecordResultOutput) ExpirationDate

The license record end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`

func (LookupLicenseRecordResultOutput) FreeformTags

Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (LookupLicenseRecordResultOutput) Id

The license record [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

func (LookupLicenseRecordResultOutput) IsPerpetual

Specifies if the license record term is perpertual.

func (LookupLicenseRecordResultOutput) IsUnlimited

Specifies if the license count is unlimited.

func (LookupLicenseRecordResultOutput) LicenseCount

The number of license units added by the user for the given license record. Default 1

func (LookupLicenseRecordResultOutput) LicenseRecordId

func (LookupLicenseRecordResultOutput) LicenseUnit

The product license unit.

func (LookupLicenseRecordResultOutput) ProductId

The license record product ID.

func (LookupLicenseRecordResultOutput) ProductLicense

The product license name with which the license record is associated.

func (LookupLicenseRecordResultOutput) ProductLicenseId

The product license [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with which the license record is associated.

func (LookupLicenseRecordResultOutput) State

The current license record state.

func (LookupLicenseRecordResultOutput) SupportEndDate

The license record support end date in [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. Example: `2018-09-12`

func (LookupLicenseRecordResultOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (LookupLicenseRecordResultOutput) TimeCreated

The time the license record was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (LookupLicenseRecordResultOutput) TimeUpdated

The time the license record was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (LookupLicenseRecordResultOutput) ToLookupLicenseRecordResultOutput

func (o LookupLicenseRecordResultOutput) ToLookupLicenseRecordResultOutput() LookupLicenseRecordResultOutput

func (LookupLicenseRecordResultOutput) ToLookupLicenseRecordResultOutputWithContext

func (o LookupLicenseRecordResultOutput) ToLookupLicenseRecordResultOutputWithContext(ctx context.Context) LookupLicenseRecordResultOutput

type LookupProductLicenseArgs

type LookupProductLicenseArgs struct {
	// Unique product license identifier.
	ProductLicenseId string `pulumi:"productLicenseId"`
}

A collection of arguments for invoking getProductLicense.

type LookupProductLicenseOutputArgs

type LookupProductLicenseOutputArgs struct {
	// Unique product license identifier.
	ProductLicenseId pulumi.StringInput `pulumi:"productLicenseId"`
}

A collection of arguments for invoking getProductLicense.

func (LookupProductLicenseOutputArgs) ElementType

type LookupProductLicenseResult

type LookupProductLicenseResult struct {
	// The number of active license records associated with the product license.
	ActiveLicenseRecordCount int `pulumi:"activeLicenseRecordCount"`
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the product license is created.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// License record name
	DisplayName string `pulumi:"displayName"`
	// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The image ID associated with the product license.
	Id string `pulumi:"id"`
	// The images associated with the product license.
	Images []GetProductLicenseImage `pulumi:"images"`
	// Specifies whether or not the product license is oversubscribed.
	IsOverSubscribed bool `pulumi:"isOverSubscribed"`
	// Specifies if the license unit count is unlimited.
	IsUnlimited bool `pulumi:"isUnlimited"`
	// Specifies whether the vendor is Oracle or a third party.
	IsVendorOracle bool `pulumi:"isVendorOracle"`
	// The product license unit.
	LicenseUnit      string `pulumi:"licenseUnit"`
	ProductLicenseId string `pulumi:"productLicenseId"`
	// The current product license state.
	State string `pulumi:"state"`
	// The current product license status.
	Status string `pulumi:"status"`
	// Status description for the current product license status.
	StatusDescription string `pulumi:"statusDescription"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// The time the product license was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated string `pulumi:"timeCreated"`
	// The time the product license was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated string `pulumi:"timeUpdated"`
	// 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.
	TotalActiveLicenseUnitCount int `pulumi:"totalActiveLicenseUnitCount"`
	// The number of license records associated with the product license.
	TotalLicenseRecordCount int `pulumi:"totalLicenseRecordCount"`
	// The number of license units consumed. Updated after each allocation run.
	TotalLicenseUnitsConsumed float64 `pulumi:"totalLicenseUnitsConsumed"`
	// The vendor of the ProductLicense
	VendorName string `pulumi:"vendorName"`
}

A collection of values returned by getProductLicense.

func LookupProductLicense

func LookupProductLicense(ctx *pulumi.Context, args *LookupProductLicenseArgs, opts ...pulumi.InvokeOption) (*LookupProductLicenseResult, error)

This data source provides details about a specific Product License resource in Oracle Cloud Infrastructure License Manager service.

Retrieves product license details by product license ID in a given compartment.

## Example Usage

```go 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.GetProductLicense(ctx, &licensemanager.GetProductLicenseArgs{
			ProductLicenseId: testProductLicenseOciLicenseManagerProductLicense.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProductLicenseResultOutput

type LookupProductLicenseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProductLicense.

func (LookupProductLicenseResultOutput) ActiveLicenseRecordCount

func (o LookupProductLicenseResultOutput) ActiveLicenseRecordCount() pulumi.IntOutput

The number of active license records associated with the product license.

func (LookupProductLicenseResultOutput) CompartmentId

The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the product license is created.

func (LookupProductLicenseResultOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`

func (LookupProductLicenseResultOutput) DisplayName

License record name

func (LookupProductLicenseResultOutput) ElementType

func (LookupProductLicenseResultOutput) FreeformTags

Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (LookupProductLicenseResultOutput) Id

The image ID associated with the product license.

func (LookupProductLicenseResultOutput) Images

The images associated with the product license.

func (LookupProductLicenseResultOutput) IsOverSubscribed

func (o LookupProductLicenseResultOutput) IsOverSubscribed() pulumi.BoolOutput

Specifies whether or not the product license is oversubscribed.

func (LookupProductLicenseResultOutput) IsUnlimited

Specifies if the license unit count is unlimited.

func (LookupProductLicenseResultOutput) IsVendorOracle

Specifies whether the vendor is Oracle or a third party.

func (LookupProductLicenseResultOutput) LicenseUnit

The product license unit.

func (LookupProductLicenseResultOutput) ProductLicenseId

func (LookupProductLicenseResultOutput) State

The current product license state.

func (LookupProductLicenseResultOutput) Status

The current product license status.

func (LookupProductLicenseResultOutput) StatusDescription

Status description for the current product license status.

func (LookupProductLicenseResultOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (LookupProductLicenseResultOutput) TimeCreated

The time the product license was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (LookupProductLicenseResultOutput) TimeUpdated

The time the product license was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (LookupProductLicenseResultOutput) ToLookupProductLicenseResultOutput

func (o LookupProductLicenseResultOutput) ToLookupProductLicenseResultOutput() LookupProductLicenseResultOutput

func (LookupProductLicenseResultOutput) ToLookupProductLicenseResultOutputWithContext

func (o LookupProductLicenseResultOutput) ToLookupProductLicenseResultOutputWithContext(ctx context.Context) LookupProductLicenseResultOutput

func (LookupProductLicenseResultOutput) TotalActiveLicenseUnitCount

func (o LookupProductLicenseResultOutput) TotalActiveLicenseUnitCount() pulumi.IntOutput

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.

func (LookupProductLicenseResultOutput) TotalLicenseRecordCount

func (o LookupProductLicenseResultOutput) TotalLicenseRecordCount() pulumi.IntOutput

The number of license records associated with the product license.

func (LookupProductLicenseResultOutput) TotalLicenseUnitsConsumed

func (o LookupProductLicenseResultOutput) TotalLicenseUnitsConsumed() pulumi.Float64Output

The number of license units consumed. Updated after each allocation run.

func (LookupProductLicenseResultOutput) VendorName

The vendor of the ProductLicense

type ProductLicense

type ProductLicense struct {
	pulumi.CustomResourceState

	// The number of active license records associated with the product license.
	ActiveLicenseRecordCount pulumi.IntOutput `pulumi:"activeLicenseRecordCount"`
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where product licenses are created.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// Name of the product license.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// (Updatable) The image details associated with the product license.
	Images ProductLicenseImageArrayOutput `pulumi:"images"`
	// Specifies whether or not the product license is oversubscribed.
	IsOverSubscribed pulumi.BoolOutput `pulumi:"isOverSubscribed"`
	// Specifies if the license unit count is unlimited.
	IsUnlimited pulumi.BoolOutput `pulumi:"isUnlimited"`
	// Specifies if the product license vendor is Oracle or a third party.
	IsVendorOracle pulumi.BoolOutput `pulumi:"isVendorOracle"`
	// The product license unit.
	LicenseUnit pulumi.StringOutput `pulumi:"licenseUnit"`
	// The current product license state.
	State pulumi.StringOutput `pulumi:"state"`
	// The current product license status.
	Status pulumi.StringOutput `pulumi:"status"`
	// Status description for the current product license status.
	StatusDescription pulumi.StringOutput `pulumi:"statusDescription"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapOutput `pulumi:"systemTags"`
	// The time the product license was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The time the product license was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
	// 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.
	TotalActiveLicenseUnitCount pulumi.IntOutput `pulumi:"totalActiveLicenseUnitCount"`
	// The number of license records associated with the product license.
	TotalLicenseRecordCount pulumi.IntOutput `pulumi:"totalLicenseRecordCount"`
	// The number of license units consumed. Updated after each allocation run.
	TotalLicenseUnitsConsumed pulumi.Float64Output `pulumi:"totalLicenseUnitsConsumed"`
	// 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
	VendorName pulumi.StringOutput `pulumi:"vendorName"`
}

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

Creates a new product license.

## Example Usage

```go 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.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.Map{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			FreeformTags: pulumi.Map{
				"bar-key": pulumi.Any("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
	})
}

```

## Import

ProductLicenses can be imported using the `id`, e.g.

```sh $ pulumi import oci:LicenseManager/productLicense:ProductLicense test_product_license "id" ```

func GetProductLicense

func GetProductLicense(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProductLicenseState, opts ...pulumi.ResourceOption) (*ProductLicense, error)

GetProductLicense gets an existing ProductLicense resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProductLicense

func NewProductLicense(ctx *pulumi.Context,
	name string, args *ProductLicenseArgs, opts ...pulumi.ResourceOption) (*ProductLicense, error)

NewProductLicense registers a new resource with the given unique name, arguments, and options.

func (*ProductLicense) ElementType

func (*ProductLicense) ElementType() reflect.Type

func (*ProductLicense) ToProductLicenseOutput

func (i *ProductLicense) ToProductLicenseOutput() ProductLicenseOutput

func (*ProductLicense) ToProductLicenseOutputWithContext

func (i *ProductLicense) ToProductLicenseOutputWithContext(ctx context.Context) ProductLicenseOutput

type ProductLicenseArgs

type ProductLicenseArgs struct {
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where product licenses are created.
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags pulumi.MapInput
	// Name of the product license.
	DisplayName pulumi.StringInput
	// (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput
	// (Updatable) The image details associated with the product license.
	Images ProductLicenseImageArrayInput
	// Specifies if the product license vendor is Oracle or a third party.
	IsVendorOracle pulumi.BoolInput
	// The product license unit.
	LicenseUnit pulumi.StringInput
	// 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
	VendorName pulumi.StringPtrInput
}

The set of arguments for constructing a ProductLicense resource.

func (ProductLicenseArgs) ElementType

func (ProductLicenseArgs) ElementType() reflect.Type

type ProductLicenseArray

type ProductLicenseArray []ProductLicenseInput

func (ProductLicenseArray) ElementType

func (ProductLicenseArray) ElementType() reflect.Type

func (ProductLicenseArray) ToProductLicenseArrayOutput

func (i ProductLicenseArray) ToProductLicenseArrayOutput() ProductLicenseArrayOutput

func (ProductLicenseArray) ToProductLicenseArrayOutputWithContext

func (i ProductLicenseArray) ToProductLicenseArrayOutputWithContext(ctx context.Context) ProductLicenseArrayOutput

type ProductLicenseArrayInput

type ProductLicenseArrayInput interface {
	pulumi.Input

	ToProductLicenseArrayOutput() ProductLicenseArrayOutput
	ToProductLicenseArrayOutputWithContext(context.Context) ProductLicenseArrayOutput
}

ProductLicenseArrayInput is an input type that accepts ProductLicenseArray and ProductLicenseArrayOutput values. You can construct a concrete instance of `ProductLicenseArrayInput` via:

ProductLicenseArray{ ProductLicenseArgs{...} }

type ProductLicenseArrayOutput

type ProductLicenseArrayOutput struct{ *pulumi.OutputState }

func (ProductLicenseArrayOutput) ElementType

func (ProductLicenseArrayOutput) ElementType() reflect.Type

func (ProductLicenseArrayOutput) Index

func (ProductLicenseArrayOutput) ToProductLicenseArrayOutput

func (o ProductLicenseArrayOutput) ToProductLicenseArrayOutput() ProductLicenseArrayOutput

func (ProductLicenseArrayOutput) ToProductLicenseArrayOutputWithContext

func (o ProductLicenseArrayOutput) ToProductLicenseArrayOutputWithContext(ctx context.Context) ProductLicenseArrayOutput

type ProductLicenseImage

type ProductLicenseImage struct {
	// The image ID associated with the product license.
	Id *string `pulumi:"id"`
	// (Updatable) Marketplace image listing ID.
	ListingId string `pulumi:"listingId"`
	// The listing name associated with the product license.
	ListingName *string `pulumi:"listingName"`
	// (Updatable) Image package version.
	PackageVersion string `pulumi:"packageVersion"`
	// The image publisher.
	Publisher *string `pulumi:"publisher"`
}

type ProductLicenseImageArgs

type ProductLicenseImageArgs struct {
	// The image ID associated with the product license.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// (Updatable) Marketplace image listing ID.
	ListingId pulumi.StringInput `pulumi:"listingId"`
	// The listing name associated with the product license.
	ListingName pulumi.StringPtrInput `pulumi:"listingName"`
	// (Updatable) Image package version.
	PackageVersion pulumi.StringInput `pulumi:"packageVersion"`
	// The image publisher.
	Publisher pulumi.StringPtrInput `pulumi:"publisher"`
}

func (ProductLicenseImageArgs) ElementType

func (ProductLicenseImageArgs) ElementType() reflect.Type

func (ProductLicenseImageArgs) ToProductLicenseImageOutput

func (i ProductLicenseImageArgs) ToProductLicenseImageOutput() ProductLicenseImageOutput

func (ProductLicenseImageArgs) ToProductLicenseImageOutputWithContext

func (i ProductLicenseImageArgs) ToProductLicenseImageOutputWithContext(ctx context.Context) ProductLicenseImageOutput

type ProductLicenseImageArray

type ProductLicenseImageArray []ProductLicenseImageInput

func (ProductLicenseImageArray) ElementType

func (ProductLicenseImageArray) ElementType() reflect.Type

func (ProductLicenseImageArray) ToProductLicenseImageArrayOutput

func (i ProductLicenseImageArray) ToProductLicenseImageArrayOutput() ProductLicenseImageArrayOutput

func (ProductLicenseImageArray) ToProductLicenseImageArrayOutputWithContext

func (i ProductLicenseImageArray) ToProductLicenseImageArrayOutputWithContext(ctx context.Context) ProductLicenseImageArrayOutput

type ProductLicenseImageArrayInput

type ProductLicenseImageArrayInput interface {
	pulumi.Input

	ToProductLicenseImageArrayOutput() ProductLicenseImageArrayOutput
	ToProductLicenseImageArrayOutputWithContext(context.Context) ProductLicenseImageArrayOutput
}

ProductLicenseImageArrayInput is an input type that accepts ProductLicenseImageArray and ProductLicenseImageArrayOutput values. You can construct a concrete instance of `ProductLicenseImageArrayInput` via:

ProductLicenseImageArray{ ProductLicenseImageArgs{...} }

type ProductLicenseImageArrayOutput

type ProductLicenseImageArrayOutput struct{ *pulumi.OutputState }

func (ProductLicenseImageArrayOutput) ElementType

func (ProductLicenseImageArrayOutput) Index

func (ProductLicenseImageArrayOutput) ToProductLicenseImageArrayOutput

func (o ProductLicenseImageArrayOutput) ToProductLicenseImageArrayOutput() ProductLicenseImageArrayOutput

func (ProductLicenseImageArrayOutput) ToProductLicenseImageArrayOutputWithContext

func (o ProductLicenseImageArrayOutput) ToProductLicenseImageArrayOutputWithContext(ctx context.Context) ProductLicenseImageArrayOutput

type ProductLicenseImageInput

type ProductLicenseImageInput interface {
	pulumi.Input

	ToProductLicenseImageOutput() ProductLicenseImageOutput
	ToProductLicenseImageOutputWithContext(context.Context) ProductLicenseImageOutput
}

ProductLicenseImageInput is an input type that accepts ProductLicenseImageArgs and ProductLicenseImageOutput values. You can construct a concrete instance of `ProductLicenseImageInput` via:

ProductLicenseImageArgs{...}

type ProductLicenseImageOutput

type ProductLicenseImageOutput struct{ *pulumi.OutputState }

func (ProductLicenseImageOutput) ElementType

func (ProductLicenseImageOutput) ElementType() reflect.Type

func (ProductLicenseImageOutput) Id

The image ID associated with the product license.

func (ProductLicenseImageOutput) ListingId

(Updatable) Marketplace image listing ID.

func (ProductLicenseImageOutput) ListingName

The listing name associated with the product license.

func (ProductLicenseImageOutput) PackageVersion

func (o ProductLicenseImageOutput) PackageVersion() pulumi.StringOutput

(Updatable) Image package version.

func (ProductLicenseImageOutput) Publisher

The image publisher.

func (ProductLicenseImageOutput) ToProductLicenseImageOutput

func (o ProductLicenseImageOutput) ToProductLicenseImageOutput() ProductLicenseImageOutput

func (ProductLicenseImageOutput) ToProductLicenseImageOutputWithContext

func (o ProductLicenseImageOutput) ToProductLicenseImageOutputWithContext(ctx context.Context) ProductLicenseImageOutput

type ProductLicenseInput

type ProductLicenseInput interface {
	pulumi.Input

	ToProductLicenseOutput() ProductLicenseOutput
	ToProductLicenseOutputWithContext(ctx context.Context) ProductLicenseOutput
}

type ProductLicenseMap

type ProductLicenseMap map[string]ProductLicenseInput

func (ProductLicenseMap) ElementType

func (ProductLicenseMap) ElementType() reflect.Type

func (ProductLicenseMap) ToProductLicenseMapOutput

func (i ProductLicenseMap) ToProductLicenseMapOutput() ProductLicenseMapOutput

func (ProductLicenseMap) ToProductLicenseMapOutputWithContext

func (i ProductLicenseMap) ToProductLicenseMapOutputWithContext(ctx context.Context) ProductLicenseMapOutput

type ProductLicenseMapInput

type ProductLicenseMapInput interface {
	pulumi.Input

	ToProductLicenseMapOutput() ProductLicenseMapOutput
	ToProductLicenseMapOutputWithContext(context.Context) ProductLicenseMapOutput
}

ProductLicenseMapInput is an input type that accepts ProductLicenseMap and ProductLicenseMapOutput values. You can construct a concrete instance of `ProductLicenseMapInput` via:

ProductLicenseMap{ "key": ProductLicenseArgs{...} }

type ProductLicenseMapOutput

type ProductLicenseMapOutput struct{ *pulumi.OutputState }

func (ProductLicenseMapOutput) ElementType

func (ProductLicenseMapOutput) ElementType() reflect.Type

func (ProductLicenseMapOutput) MapIndex

func (ProductLicenseMapOutput) ToProductLicenseMapOutput

func (o ProductLicenseMapOutput) ToProductLicenseMapOutput() ProductLicenseMapOutput

func (ProductLicenseMapOutput) ToProductLicenseMapOutputWithContext

func (o ProductLicenseMapOutput) ToProductLicenseMapOutputWithContext(ctx context.Context) ProductLicenseMapOutput

type ProductLicenseOutput

type ProductLicenseOutput struct{ *pulumi.OutputState }

func (ProductLicenseOutput) ActiveLicenseRecordCount added in v0.4.0

func (o ProductLicenseOutput) ActiveLicenseRecordCount() pulumi.IntOutput

The number of active license records associated with the product license.

func (ProductLicenseOutput) CompartmentId added in v0.4.0

func (o ProductLicenseOutput) CompartmentId() pulumi.StringOutput

The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where product licenses are created.

func (ProductLicenseOutput) DefinedTags added in v0.4.0

func (o ProductLicenseOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`

func (ProductLicenseOutput) DisplayName added in v0.4.0

func (o ProductLicenseOutput) DisplayName() pulumi.StringOutput

Name of the product license.

func (ProductLicenseOutput) ElementType

func (ProductLicenseOutput) ElementType() reflect.Type

func (ProductLicenseOutput) FreeformTags added in v0.4.0

func (o ProductLicenseOutput) FreeformTags() pulumi.MapOutput

(Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (ProductLicenseOutput) Images added in v0.4.0

(Updatable) The image details associated with the product license.

func (ProductLicenseOutput) IsOverSubscribed added in v0.4.0

func (o ProductLicenseOutput) IsOverSubscribed() pulumi.BoolOutput

Specifies whether or not the product license is oversubscribed.

func (ProductLicenseOutput) IsUnlimited added in v0.4.0

func (o ProductLicenseOutput) IsUnlimited() pulumi.BoolOutput

Specifies if the license unit count is unlimited.

func (ProductLicenseOutput) IsVendorOracle added in v0.4.0

func (o ProductLicenseOutput) IsVendorOracle() pulumi.BoolOutput

Specifies if the product license vendor is Oracle or a third party.

func (ProductLicenseOutput) LicenseUnit added in v0.4.0

func (o ProductLicenseOutput) LicenseUnit() pulumi.StringOutput

The product license unit.

func (ProductLicenseOutput) State added in v0.4.0

The current product license state.

func (ProductLicenseOutput) Status added in v0.4.0

The current product license status.

func (ProductLicenseOutput) StatusDescription added in v0.4.0

func (o ProductLicenseOutput) StatusDescription() pulumi.StringOutput

Status description for the current product license status.

func (ProductLicenseOutput) SystemTags added in v0.4.0

func (o ProductLicenseOutput) SystemTags() pulumi.MapOutput

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (ProductLicenseOutput) TimeCreated added in v0.4.0

func (o ProductLicenseOutput) TimeCreated() pulumi.StringOutput

The time the product license was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (ProductLicenseOutput) TimeUpdated added in v0.4.0

func (o ProductLicenseOutput) TimeUpdated() pulumi.StringOutput

The time the product license was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.

func (ProductLicenseOutput) ToProductLicenseOutput

func (o ProductLicenseOutput) ToProductLicenseOutput() ProductLicenseOutput

func (ProductLicenseOutput) ToProductLicenseOutputWithContext

func (o ProductLicenseOutput) ToProductLicenseOutputWithContext(ctx context.Context) ProductLicenseOutput

func (ProductLicenseOutput) TotalActiveLicenseUnitCount added in v0.4.0

func (o ProductLicenseOutput) TotalActiveLicenseUnitCount() pulumi.IntOutput

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.

func (ProductLicenseOutput) TotalLicenseRecordCount added in v0.4.0

func (o ProductLicenseOutput) TotalLicenseRecordCount() pulumi.IntOutput

The number of license records associated with the product license.

func (ProductLicenseOutput) TotalLicenseUnitsConsumed added in v0.4.0

func (o ProductLicenseOutput) TotalLicenseUnitsConsumed() pulumi.Float64Output

The number of license units consumed. Updated after each allocation run.

func (ProductLicenseOutput) VendorName added in v0.4.0

func (o ProductLicenseOutput) VendorName() pulumi.StringOutput

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

type ProductLicenseState

type ProductLicenseState struct {
	// The number of active license records associated with the product license.
	ActiveLicenseRecordCount pulumi.IntPtrInput
	// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where product licenses are created.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
	DefinedTags pulumi.MapInput
	// Name of the product license.
	DisplayName pulumi.StringPtrInput
	// (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput
	// (Updatable) The image details associated with the product license.
	Images ProductLicenseImageArrayInput
	// Specifies whether or not the product license is oversubscribed.
	IsOverSubscribed pulumi.BoolPtrInput
	// Specifies if the license unit count is unlimited.
	IsUnlimited pulumi.BoolPtrInput
	// Specifies if the product license vendor is Oracle or a third party.
	IsVendorOracle pulumi.BoolPtrInput
	// The product license unit.
	LicenseUnit pulumi.StringPtrInput
	// The current product license state.
	State pulumi.StringPtrInput
	// The current product license status.
	Status pulumi.StringPtrInput
	// Status description for the current product license status.
	StatusDescription pulumi.StringPtrInput
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapInput
	// The time the product license was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeCreated pulumi.StringPtrInput
	// The time the product license was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string.
	TimeUpdated pulumi.StringPtrInput
	// 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.
	TotalActiveLicenseUnitCount pulumi.IntPtrInput
	// The number of license records associated with the product license.
	TotalLicenseRecordCount pulumi.IntPtrInput
	// The number of license units consumed. Updated after each allocation run.
	TotalLicenseUnitsConsumed pulumi.Float64PtrInput
	// 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
	VendorName pulumi.StringPtrInput
}

func (ProductLicenseState) ElementType

func (ProductLicenseState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL