Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Jms.getJavaDownloadsJavaLicenseAcceptanceRecord
Explore with Pulumi AI
This data source provides details about a specific Java License Acceptance Record resource in Oracle Cloud Infrastructure Jms Java Downloads service.
Returns a specific Java license acceptance record in a tenancy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJavaLicenseAcceptanceRecord = oci.Jms.getJavaDownloadsJavaLicenseAcceptanceRecord({
    javaLicenseAcceptanceRecordId: testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.id,
});
import pulumi
import pulumi_oci as oci
test_java_license_acceptance_record = oci.Jms.get_java_downloads_java_license_acceptance_record(java_license_acceptance_record_id=test_java_license_acceptance_record_oci_jms_java_downloads_java_license_acceptance_record["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := jms.GetJavaDownloadsJavaLicenseAcceptanceRecord(ctx, &jms.GetJavaDownloadsJavaLicenseAcceptanceRecordArgs{
			JavaLicenseAcceptanceRecordId: testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testJavaLicenseAcceptanceRecord = Oci.Jms.GetJavaDownloadsJavaLicenseAcceptanceRecord.Invoke(new()
    {
        JavaLicenseAcceptanceRecordId = testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Jms.JmsFunctions;
import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaLicenseAcceptanceRecordArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testJavaLicenseAcceptanceRecord = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs.builder()
            .javaLicenseAcceptanceRecordId(testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.id())
            .build());
    }
}
variables:
  testJavaLicenseAcceptanceRecord:
    fn::invoke:
      function: oci:Jms:getJavaDownloadsJavaLicenseAcceptanceRecord
      arguments:
        javaLicenseAcceptanceRecordId: ${testJavaLicenseAcceptanceRecordOciJmsJavaDownloadsJavaLicenseAcceptanceRecord.id}
Using getJavaDownloadsJavaLicenseAcceptanceRecord
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getJavaDownloadsJavaLicenseAcceptanceRecord(args: GetJavaDownloadsJavaLicenseAcceptanceRecordArgs, opts?: InvokeOptions): Promise<GetJavaDownloadsJavaLicenseAcceptanceRecordResult>
function getJavaDownloadsJavaLicenseAcceptanceRecordOutput(args: GetJavaDownloadsJavaLicenseAcceptanceRecordOutputArgs, opts?: InvokeOptions): Output<GetJavaDownloadsJavaLicenseAcceptanceRecordResult>def get_java_downloads_java_license_acceptance_record(java_license_acceptance_record_id: Optional[str] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetJavaDownloadsJavaLicenseAcceptanceRecordResult
def get_java_downloads_java_license_acceptance_record_output(java_license_acceptance_record_id: Optional[pulumi.Input[str]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetJavaDownloadsJavaLicenseAcceptanceRecordResult]func LookupJavaDownloadsJavaLicenseAcceptanceRecord(ctx *Context, args *LookupJavaDownloadsJavaLicenseAcceptanceRecordArgs, opts ...InvokeOption) (*LookupJavaDownloadsJavaLicenseAcceptanceRecordResult, error)
func LookupJavaDownloadsJavaLicenseAcceptanceRecordOutput(ctx *Context, args *LookupJavaDownloadsJavaLicenseAcceptanceRecordOutputArgs, opts ...InvokeOption) LookupJavaDownloadsJavaLicenseAcceptanceRecordResultOutput> Note: This function is named LookupJavaDownloadsJavaLicenseAcceptanceRecord in the Go SDK.
public static class GetJavaDownloadsJavaLicenseAcceptanceRecord 
{
    public static Task<GetJavaDownloadsJavaLicenseAcceptanceRecordResult> InvokeAsync(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs args, InvokeOptions? opts = null)
    public static Output<GetJavaDownloadsJavaLicenseAcceptanceRecordResult> Invoke(GetJavaDownloadsJavaLicenseAcceptanceRecordInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetJavaDownloadsJavaLicenseAcceptanceRecordResult> getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs args, InvokeOptions options)
public static Output<GetJavaDownloadsJavaLicenseAcceptanceRecordResult> getJavaDownloadsJavaLicenseAcceptanceRecord(GetJavaDownloadsJavaLicenseAcceptanceRecordArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecord:getJavaDownloadsJavaLicenseAcceptanceRecord
  arguments:
    # arguments dictionaryThe following arguments are supported:
- JavaLicense stringAcceptance Record Id 
- Unique Java license acceptance record identifier.
- JavaLicense stringAcceptance Record Id 
- Unique Java license acceptance record identifier.
- javaLicense StringAcceptance Record Id 
- Unique Java license acceptance record identifier.
- javaLicense stringAcceptance Record Id 
- Unique Java license acceptance record identifier.
- java_license_ stracceptance_ record_ id 
- Unique Java license acceptance record identifier.
- javaLicense StringAcceptance Record Id 
- Unique Java license acceptance record identifier.
getJavaDownloadsJavaLicenseAcceptanceRecord Result
The following output properties are available:
- CompartmentId string
- The tenancy OCID of the user accepting the license.
- CreatedBies List<GetJava Downloads Java License Acceptance Record Created By> 
- An authorized principal.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- Id string
- The OCID of the principal.
- JavaLicense stringAcceptance Record Id 
- LastUpdated List<GetBies Java Downloads Java License Acceptance Record Last Updated By> 
- An authorized principal.
- LicenseAcceptance stringStatus 
- Status of license acceptance.
- LicenseType string
- License type associated with the acceptance.
- State string
- The current state of the JavaLicenseAcceptanceRecord.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeAccepted string
- The date and time of license acceptance (formatted according to RFC3339).
- TimeLast stringUpdated 
- The date and time of last update (formatted according to RFC3339).
- CompartmentId string
- The tenancy OCID of the user accepting the license.
- CreatedBies []GetJava Downloads Java License Acceptance Record Created By 
- An authorized principal.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- map[string]string
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- Id string
- The OCID of the principal.
- JavaLicense stringAcceptance Record Id 
- LastUpdated []GetBies Java Downloads Java License Acceptance Record Last Updated By 
- An authorized principal.
- LicenseAcceptance stringStatus 
- Status of license acceptance.
- LicenseType string
- License type associated with the acceptance.
- State string
- The current state of the JavaLicenseAcceptanceRecord.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeAccepted string
- The date and time of license acceptance (formatted according to RFC3339).
- TimeLast stringUpdated 
- The date and time of last update (formatted according to RFC3339).
- compartmentId String
- The tenancy OCID of the user accepting the license.
- createdBies List<GetJava Downloads Java License Acceptance Record Created By> 
- An authorized principal.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- id String
- The OCID of the principal.
- javaLicense StringAcceptance Record Id 
- lastUpdated List<GetBies Java Downloads Java License Acceptance Record Last Updated By> 
- An authorized principal.
- licenseAcceptance StringStatus 
- Status of license acceptance.
- licenseType String
- License type associated with the acceptance.
- state String
- The current state of the JavaLicenseAcceptanceRecord.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeAccepted String
- The date and time of license acceptance (formatted according to RFC3339).
- timeLast StringUpdated 
- The date and time of last update (formatted according to RFC3339).
- compartmentId string
- The tenancy OCID of the user accepting the license.
- createdBies GetJava Downloads Java License Acceptance Record Created By[] 
- An authorized principal.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- id string
- The OCID of the principal.
- javaLicense stringAcceptance Record Id 
- lastUpdated GetBies Java Downloads Java License Acceptance Record Last Updated By[] 
- An authorized principal.
- licenseAcceptance stringStatus 
- Status of license acceptance.
- licenseType string
- License type associated with the acceptance.
- state string
- The current state of the JavaLicenseAcceptanceRecord.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeAccepted string
- The date and time of license acceptance (formatted according to RFC3339).
- timeLast stringUpdated 
- The date and time of last update (formatted according to RFC3339).
- compartment_id str
- The tenancy OCID of the user accepting the license.
- created_bies Sequence[GetJava Downloads Java License Acceptance Record Created By] 
- An authorized principal.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- id str
- The OCID of the principal.
- java_license_ stracceptance_ record_ id 
- last_updated_ Sequence[Getbies Java Downloads Java License Acceptance Record Last Updated By] 
- An authorized principal.
- license_acceptance_ strstatus 
- Status of license acceptance.
- license_type str
- License type associated with the acceptance.
- state str
- The current state of the JavaLicenseAcceptanceRecord.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_accepted str
- The date and time of license acceptance (formatted according to RFC3339).
- time_last_ strupdated 
- The date and time of last update (formatted according to RFC3339).
- compartmentId String
- The tenancy OCID of the user accepting the license.
- createdBies List<Property Map>
- An authorized principal.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- Map<String>
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- id String
- The OCID of the principal.
- javaLicense StringAcceptance Record Id 
- lastUpdated List<Property Map>Bies 
- An authorized principal.
- licenseAcceptance StringStatus 
- Status of license acceptance.
- licenseType String
- License type associated with the acceptance.
- state String
- The current state of the JavaLicenseAcceptanceRecord.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeAccepted String
- The date and time of license acceptance (formatted according to RFC3339).
- timeLast StringUpdated 
- The date and time of last update (formatted according to RFC3339).
Supporting Types
GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy        
- DisplayName string
- The name of the principal.
- Email string
- The email of the principal.
- Id string
- The OCID of the principal.
- DisplayName string
- The name of the principal.
- Email string
- The email of the principal.
- Id string
- The OCID of the principal.
- displayName String
- The name of the principal.
- email String
- The email of the principal.
- id String
- The OCID of the principal.
- displayName string
- The name of the principal.
- email string
- The email of the principal.
- id string
- The OCID of the principal.
- display_name str
- The name of the principal.
- email str
- The email of the principal.
- id str
- The OCID of the principal.
- displayName String
- The name of the principal.
- email String
- The email of the principal.
- id String
- The OCID of the principal.
GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy         
- DisplayName string
- The name of the principal.
- Email string
- The email of the principal.
- Id string
- The OCID of the principal.
- DisplayName string
- The name of the principal.
- Email string
- The email of the principal.
- Id string
- The OCID of the principal.
- displayName String
- The name of the principal.
- email String
- The email of the principal.
- id String
- The OCID of the principal.
- displayName string
- The name of the principal.
- email string
- The email of the principal.
- id string
- The OCID of the principal.
- display_name str
- The name of the principal.
- email str
- The email of the principal.
- id str
- The OCID of the principal.
- displayName String
- The name of the principal.
- email String
- The email of the principal.
- id String
- The OCID of the principal.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.