Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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 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:
- Java
License stringAcceptance Record Id - Unique Java license acceptance record identifier.
- Java
License stringAcceptance Record Id - Unique Java license acceptance record identifier.
- java
License StringAcceptance Record Id - Unique Java license acceptance record identifier.
- java
License stringAcceptance Record Id - Unique Java license acceptance record identifier.
- java_
license_ stracceptance_ record_ id - Unique Java license acceptance record identifier.
- java
License StringAcceptance Record Id - Unique Java license acceptance record identifier.
getJavaDownloadsJavaLicenseAcceptanceRecord Result
The following output properties are available:
- Compartment
Id string - The tenancy OCID of the user accepting the license.
- Created
Bies 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.
- Java
License stringAcceptance Record Id - Last
Updated List<GetBies Java Downloads Java License Acceptance Record Last Updated By> - An authorized principal.
- License
Acceptance stringStatus - Status of license acceptance.
- License
Type 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"}
- Time
Accepted string - The date and time of license acceptance (formatted according to RFC3339).
- Time
Last stringUpdated - The date and time of last update (formatted according to RFC3339).
- Compartment
Id string - The tenancy OCID of the user accepting the license.
- Created
Bies []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.
- Java
License stringAcceptance Record Id - Last
Updated []GetBies Java Downloads Java License Acceptance Record Last Updated By - An authorized principal.
- License
Acceptance stringStatus - Status of license acceptance.
- License
Type 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"}
- Time
Accepted string - The date and time of license acceptance (formatted according to RFC3339).
- Time
Last stringUpdated - The date and time of last update (formatted according to RFC3339).
- compartment
Id String - The tenancy OCID of the user accepting the license.
- created
Bies 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.
- java
License StringAcceptance Record Id - last
Updated List<GetBies Java Downloads Java License Acceptance Record Last Updated By> - An authorized principal.
- license
Acceptance StringStatus - Status of license acceptance.
- license
Type 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"}
- time
Accepted String - The date and time of license acceptance (formatted according to RFC3339).
- time
Last StringUpdated - The date and time of last update (formatted according to RFC3339).
- compartment
Id string - The tenancy OCID of the user accepting the license.
- created
Bies 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.
- java
License stringAcceptance Record Id - last
Updated GetBies Java Downloads Java License Acceptance Record Last Updated By[] - An authorized principal.
- license
Acceptance stringStatus - Status of license acceptance.
- license
Type 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"}
- time
Accepted string - The date and time of license acceptance (formatted according to RFC3339).
- time
Last 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[jms.Get Java 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[jms.bies Get 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).
- compartment
Id String - The tenancy OCID of the user accepting the license.
- created
Bies 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.
- java
License StringAcceptance Record Id - last
Updated List<Property Map>Bies - An authorized principal.
- license
Acceptance StringStatus - Status of license acceptance.
- license
Type 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"}
- time
Accepted String - The date and time of license acceptance (formatted according to RFC3339).
- time
Last StringUpdated - The date and time of last update (formatted according to RFC3339).
Supporting Types
GetJavaDownloadsJavaLicenseAcceptanceRecordCreatedBy
- Display
Name string - The name of the principal.
- Email string
- The email of the principal.
- Id string
- The OCID of the principal.
- Display
Name string - The name of the principal.
- Email string
- The email of the principal.
- Id string
- The OCID of the principal.
- display
Name String - The name of the principal.
- email String
- The email of the principal.
- id String
- The OCID of the principal.
- display
Name 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.
- display
Name String - The name of the principal.
- email String
- The email of the principal.
- id String
- The OCID of the principal.
GetJavaDownloadsJavaLicenseAcceptanceRecordLastUpdatedBy
- Display
Name string - The name of the principal.
- Email string
- The email of the principal.
- Id string
- The OCID of the principal.
- Display
Name string - The name of the principal.
- Email string
- The email of the principal.
- Id string
- The OCID of the principal.
- display
Name String - The name of the principal.
- email String
- The email of the principal.
- id String
- The OCID of the principal.
- display
Name 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.
- display
Name 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.