1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getJavaDownloadsJavaLicenseAcceptanceRecord
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Jms.getJavaDownloadsJavaLicenseAcceptanceRecord

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    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 GetJavaDownloadsJavaLicenseAcceptanceRecord(ctx *Context, args *GetJavaDownloadsJavaLicenseAcceptanceRecordArgs, opts ...InvokeOption) (*GetJavaDownloadsJavaLicenseAcceptanceRecordResult, error)
    func GetJavaDownloadsJavaLicenseAcceptanceRecordOutput(ctx *Context, args *GetJavaDownloadsJavaLicenseAcceptanceRecordOutputArgs, opts ...InvokeOption) GetJavaDownloadsJavaLicenseAcceptanceRecordResultOutput

    > Note: This function is named GetJavaDownloadsJavaLicenseAcceptanceRecord 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecord:getJavaDownloadsJavaLicenseAcceptanceRecord
      arguments:
        # arguments dictionary

    The following arguments are supported:

    JavaLicenseAcceptanceRecordId string
    Unique Java license acceptance record identifier.
    JavaLicenseAcceptanceRecordId string
    Unique Java license acceptance record identifier.
    javaLicenseAcceptanceRecordId String
    Unique Java license acceptance record identifier.
    javaLicenseAcceptanceRecordId string
    Unique Java license acceptance record identifier.
    java_license_acceptance_record_id str
    Unique Java license acceptance record identifier.
    javaLicenseAcceptanceRecordId String
    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<GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy>
    An authorized principal.
    DefinedTags 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).
    FreeformTags 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.
    JavaLicenseAcceptanceRecordId string
    LastUpdatedBies List<GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy>
    An authorized principal.
    LicenseAcceptanceStatus string
    Status of license acceptance.
    LicenseType string
    License type associated with the acceptance.
    State string
    The current state of the JavaLicenseAcceptanceRecord.
    SystemTags 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).
    TimeLastUpdated string
    The date and time of last update (formatted according to RFC3339).
    CompartmentId string
    The tenancy OCID of the user accepting the license.
    CreatedBies []GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy
    An authorized principal.
    DefinedTags 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).
    FreeformTags 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.
    JavaLicenseAcceptanceRecordId string
    LastUpdatedBies []GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy
    An authorized principal.
    LicenseAcceptanceStatus string
    Status of license acceptance.
    LicenseType string
    License type associated with the acceptance.
    State string
    The current state of the JavaLicenseAcceptanceRecord.
    SystemTags 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).
    TimeLastUpdated string
    The date and time of last update (formatted according to RFC3339).
    compartmentId String
    The tenancy OCID of the user accepting the license.
    createdBies List<GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy>
    An authorized principal.
    definedTags 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).
    freeformTags 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.
    javaLicenseAcceptanceRecordId String
    lastUpdatedBies List<GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy>
    An authorized principal.
    licenseAcceptanceStatus String
    Status of license acceptance.
    licenseType String
    License type associated with the acceptance.
    state String
    The current state of the JavaLicenseAcceptanceRecord.
    systemTags 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).
    timeLastUpdated String
    The date and time of last update (formatted according to RFC3339).
    compartmentId string
    The tenancy OCID of the user accepting the license.
    createdBies GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy[]
    An authorized principal.
    definedTags {[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).
    freeformTags {[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.
    javaLicenseAcceptanceRecordId string
    lastUpdatedBies GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy[]
    An authorized principal.
    licenseAcceptanceStatus string
    Status of license acceptance.
    licenseType string
    License type associated with the acceptance.
    state string
    The current state of the JavaLicenseAcceptanceRecord.
    systemTags {[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).
    timeLastUpdated string
    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[jms.GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy]
    An authorized principal.
    defined_tags 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).
    freeform_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_acceptance_record_id str
    last_updated_bies Sequence[jms.GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy]
    An authorized principal.
    license_acceptance_status str
    Status of license acceptance.
    license_type str
    License type associated with the acceptance.
    state str
    The current state of the JavaLicenseAcceptanceRecord.
    system_tags 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_updated str
    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.
    definedTags 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).
    freeformTags 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.
    javaLicenseAcceptanceRecordId String
    lastUpdatedBies List<Property Map>
    An authorized principal.
    licenseAcceptanceStatus String
    Status of license acceptance.
    licenseType String
    License type associated with the acceptance.
    state String
    The current state of the JavaLicenseAcceptanceRecord.
    systemTags 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).
    timeLastUpdated String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi