Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Jms.getJavaDownloadsJavaLicenseAcceptanceRecords
Explore with Pulumi AI
This data source provides the list of Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service.
Returns a list of all the Java license acceptance records in a tenancy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJavaLicenseAcceptanceRecords = oci.Jms.getJavaDownloadsJavaLicenseAcceptanceRecords({
compartmentId: tenancyOcid,
id: javaLicenseAcceptanceRecordId,
licenseType: javaLicenseAcceptanceRecordLicenseType,
searchByUser: javaLicenseAcceptanceRecordSearchByUser,
status: javaLicenseAcceptanceRecordStatus,
});
import pulumi
import pulumi_oci as oci
test_java_license_acceptance_records = oci.Jms.get_java_downloads_java_license_acceptance_records(compartment_id=tenancy_ocid,
id=java_license_acceptance_record_id,
license_type=java_license_acceptance_record_license_type,
search_by_user=java_license_acceptance_record_search_by_user,
status=java_license_acceptance_record_status)
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.GetJavaDownloadsJavaLicenseAcceptanceRecords(ctx, &jms.GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs{
CompartmentId: tenancyOcid,
Id: pulumi.StringRef(javaLicenseAcceptanceRecordId),
LicenseType: pulumi.StringRef(javaLicenseAcceptanceRecordLicenseType),
SearchByUser: pulumi.StringRef(javaLicenseAcceptanceRecordSearchByUser),
Status: pulumi.StringRef(javaLicenseAcceptanceRecordStatus),
}, 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 testJavaLicenseAcceptanceRecords = Oci.Jms.GetJavaDownloadsJavaLicenseAcceptanceRecords.Invoke(new()
{
CompartmentId = tenancyOcid,
Id = javaLicenseAcceptanceRecordId,
LicenseType = javaLicenseAcceptanceRecordLicenseType,
SearchByUser = javaLicenseAcceptanceRecordSearchByUser,
Status = javaLicenseAcceptanceRecordStatus,
});
});
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.GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs;
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 testJavaLicenseAcceptanceRecords = JmsFunctions.getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs.builder()
.compartmentId(tenancyOcid)
.id(javaLicenseAcceptanceRecordId)
.licenseType(javaLicenseAcceptanceRecordLicenseType)
.searchByUser(javaLicenseAcceptanceRecordSearchByUser)
.status(javaLicenseAcceptanceRecordStatus)
.build());
}
}
variables:
testJavaLicenseAcceptanceRecords:
fn::invoke:
Function: oci:Jms:getJavaDownloadsJavaLicenseAcceptanceRecords
Arguments:
compartmentId: ${tenancyOcid}
id: ${javaLicenseAcceptanceRecordId}
licenseType: ${javaLicenseAcceptanceRecordLicenseType}
searchByUser: ${javaLicenseAcceptanceRecordSearchByUser}
status: ${javaLicenseAcceptanceRecordStatus}
Using getJavaDownloadsJavaLicenseAcceptanceRecords
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 getJavaDownloadsJavaLicenseAcceptanceRecords(args: GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs, opts?: InvokeOptions): Promise<GetJavaDownloadsJavaLicenseAcceptanceRecordsResult>
function getJavaDownloadsJavaLicenseAcceptanceRecordsOutput(args: GetJavaDownloadsJavaLicenseAcceptanceRecordsOutputArgs, opts?: InvokeOptions): Output<GetJavaDownloadsJavaLicenseAcceptanceRecordsResult>
def get_java_downloads_java_license_acceptance_records(compartment_id: Optional[str] = None,
filters: Optional[Sequence[_jms.GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter]] = None,
id: Optional[str] = None,
license_type: Optional[str] = None,
search_by_user: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetJavaDownloadsJavaLicenseAcceptanceRecordsResult
def get_java_downloads_java_license_acceptance_records_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_jms.GetJavaDownloadsJavaLicenseAcceptanceRecordsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
license_type: Optional[pulumi.Input[str]] = None,
search_by_user: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetJavaDownloadsJavaLicenseAcceptanceRecordsResult]
func GetJavaDownloadsJavaLicenseAcceptanceRecords(ctx *Context, args *GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs, opts ...InvokeOption) (*GetJavaDownloadsJavaLicenseAcceptanceRecordsResult, error)
func GetJavaDownloadsJavaLicenseAcceptanceRecordsOutput(ctx *Context, args *GetJavaDownloadsJavaLicenseAcceptanceRecordsOutputArgs, opts ...InvokeOption) GetJavaDownloadsJavaLicenseAcceptanceRecordsResultOutput
> Note: This function is named GetJavaDownloadsJavaLicenseAcceptanceRecords
in the Go SDK.
public static class GetJavaDownloadsJavaLicenseAcceptanceRecords
{
public static Task<GetJavaDownloadsJavaLicenseAcceptanceRecordsResult> InvokeAsync(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs args, InvokeOptions? opts = null)
public static Output<GetJavaDownloadsJavaLicenseAcceptanceRecordsResult> Invoke(GetJavaDownloadsJavaLicenseAcceptanceRecordsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJavaDownloadsJavaLicenseAcceptanceRecordsResult> getJavaDownloadsJavaLicenseAcceptanceRecords(GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Jms/getJavaDownloadsJavaLicenseAcceptanceRecords:getJavaDownloadsJavaLicenseAcceptanceRecords
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the tenancy.
- Filters
List<Get
Java Downloads Java License Acceptance Records Filter> - Id string
- Unique Java license acceptance record identifier.
- License
Type string - Unique Java license type.
- Search
By stringUser - A filter to return only resources that match the user principal detail. The search string can be any of the property values from the Principal object. This object is used as a response datatype for the
createdBy
andlastUpdatedBy
fields in applicable resource. - Status string
- The status of license acceptance.
- Compartment
Id string - The OCID of the tenancy.
- Filters
[]Get
Java Downloads Java License Acceptance Records Filter - Id string
- Unique Java license acceptance record identifier.
- License
Type string - Unique Java license type.
- Search
By stringUser - A filter to return only resources that match the user principal detail. The search string can be any of the property values from the Principal object. This object is used as a response datatype for the
createdBy
andlastUpdatedBy
fields in applicable resource. - Status string
- The status of license acceptance.
- compartment
Id String - The OCID of the tenancy.
- filters
List<Get
Java Downloads Java License Acceptance Records Filter> - id String
- Unique Java license acceptance record identifier.
- license
Type String - Unique Java license type.
- search
By StringUser - A filter to return only resources that match the user principal detail. The search string can be any of the property values from the Principal object. This object is used as a response datatype for the
createdBy
andlastUpdatedBy
fields in applicable resource. - status String
- The status of license acceptance.
- compartment
Id string - The OCID of the tenancy.
- filters
Get
Java Downloads Java License Acceptance Records Filter[] - id string
- Unique Java license acceptance record identifier.
- license
Type string - Unique Java license type.
- search
By stringUser - A filter to return only resources that match the user principal detail. The search string can be any of the property values from the Principal object. This object is used as a response datatype for the
createdBy
andlastUpdatedBy
fields in applicable resource. - status string
- The status of license acceptance.
- compartment_
id str - The OCID of the tenancy.
- filters
Sequence[jms.
Get Java Downloads Java License Acceptance Records Filter] - id str
- Unique Java license acceptance record identifier.
- license_
type str - Unique Java license type.
- search_
by_ struser - A filter to return only resources that match the user principal detail. The search string can be any of the property values from the Principal object. This object is used as a response datatype for the
createdBy
andlastUpdatedBy
fields in applicable resource. - status str
- The status of license acceptance.
- compartment
Id String - The OCID of the tenancy.
- filters List<Property Map>
- id String
- Unique Java license acceptance record identifier.
- license
Type String - Unique Java license type.
- search
By StringUser - A filter to return only resources that match the user principal detail. The search string can be any of the property values from the Principal object. This object is used as a response datatype for the
createdBy
andlastUpdatedBy
fields in applicable resource. - status String
- The status of license acceptance.
getJavaDownloadsJavaLicenseAcceptanceRecords Result
The following output properties are available:
- Compartment
Id string - The tenancy OCID of the user accepting the license.
- Java
License List<GetAcceptance Record Collections Java Downloads Java License Acceptance Records Java License Acceptance Record Collection> - The list of java_license_acceptance_record_collection.
- Filters
List<Get
Java Downloads Java License Acceptance Records Filter> - Id string
- The OCID of the principal.
- License
Type string - License type associated with the acceptance.
- Search
By stringUser - Status string
- Compartment
Id string - The tenancy OCID of the user accepting the license.
- Java
License []GetAcceptance Record Collections Java Downloads Java License Acceptance Records Java License Acceptance Record Collection - The list of java_license_acceptance_record_collection.
- Filters
[]Get
Java Downloads Java License Acceptance Records Filter - Id string
- The OCID of the principal.
- License
Type string - License type associated with the acceptance.
- Search
By stringUser - Status string
- compartment
Id String - The tenancy OCID of the user accepting the license.
- java
License List<GetAcceptance Record Collections Java Downloads Java License Acceptance Records Java License Acceptance Record Collection> - The list of java_license_acceptance_record_collection.
- filters
List<Get
Java Downloads Java License Acceptance Records Filter> - id String
- The OCID of the principal.
- license
Type String - License type associated with the acceptance.
- search
By StringUser - status String
- compartment
Id string - The tenancy OCID of the user accepting the license.
- java
License GetAcceptance Record Collections Java Downloads Java License Acceptance Records Java License Acceptance Record Collection[] - The list of java_license_acceptance_record_collection.
- filters
Get
Java Downloads Java License Acceptance Records Filter[] - id string
- The OCID of the principal.
- license
Type string - License type associated with the acceptance.
- search
By stringUser - status string
- compartment_
id str - The tenancy OCID of the user accepting the license.
- java_
license_ Sequence[jms.acceptance_ record_ collections Get Java Downloads Java License Acceptance Records Java License Acceptance Record Collection] - The list of java_license_acceptance_record_collection.
- filters
Sequence[jms.
Get Java Downloads Java License Acceptance Records Filter] - id str
- The OCID of the principal.
- license_
type str - License type associated with the acceptance.
- search_
by_ struser - status str
- compartment
Id String - The tenancy OCID of the user accepting the license.
- java
License List<Property Map>Acceptance Record Collections - The list of java_license_acceptance_record_collection.
- filters List<Property Map>
- id String
- The OCID of the principal.
- license
Type String - License type associated with the acceptance.
- search
By StringUser - status String
Supporting Types
GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter
GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection
GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItem
- Compartment
Id string - The OCID of the tenancy.
- Created
Bies List<GetJava Downloads Java License Acceptance Records Java License Acceptance Record Collection Item 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
- Unique Java license acceptance record identifier.
- Last
Updated List<GetBies Java Downloads Java License Acceptance Records Java License Acceptance Record Collection Item Last Updated By> - An authorized principal.
- License
Acceptance stringStatus - Status of license acceptance.
- License
Type string - Unique Java license type.
- 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 OCID of the tenancy.
- Created
Bies []GetJava Downloads Java License Acceptance Records Java License Acceptance Record Collection Item 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
- Unique Java license acceptance record identifier.
- Last
Updated []GetBies Java Downloads Java License Acceptance Records Java License Acceptance Record Collection Item Last Updated By - An authorized principal.
- License
Acceptance stringStatus - Status of license acceptance.
- License
Type string - Unique Java license type.
- 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 OCID of the tenancy.
- created
Bies List<GetJava Downloads Java License Acceptance Records Java License Acceptance Record Collection Item 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
- Unique Java license acceptance record identifier.
- last
Updated List<GetBies Java Downloads Java License Acceptance Records Java License Acceptance Record Collection Item Last Updated By> - An authorized principal.
- license
Acceptance StringStatus - Status of license acceptance.
- license
Type String - Unique Java license type.
- 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 OCID of the tenancy.
- created
Bies GetJava Downloads Java License Acceptance Records Java License Acceptance Record Collection Item 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
- Unique Java license acceptance record identifier.
- last
Updated GetBies Java Downloads Java License Acceptance Records Java License Acceptance Record Collection Item Last Updated By[] - An authorized principal.
- license
Acceptance stringStatus - Status of license acceptance.
- license
Type string - Unique Java license type.
- 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 OCID of the tenancy.
- created_
bies Sequence[jms.Get Java Downloads Java License Acceptance Records Java License Acceptance Record Collection Item 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
- Unique Java license acceptance record identifier.
- last_
updated_ Sequence[jms.bies Get Java Downloads Java License Acceptance Records Java License Acceptance Record Collection Item Last Updated By] - An authorized principal.
- license_
acceptance_ strstatus - Status of license acceptance.
- license_
type str - Unique Java license type.
- 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 OCID of the tenancy.
- 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
- Unique Java license acceptance record identifier.
- last
Updated List<Property Map>Bies - An authorized principal.
- license
Acceptance StringStatus - Status of license acceptance.
- license
Type String - Unique Java license type.
- 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).
GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemCreatedBy
- Display
Name string - The name of the principal.
- Email string
- The email of the principal.
- Id string
- Unique Java license acceptance record identifier.
- Display
Name string - The name of the principal.
- Email string
- The email of the principal.
- Id string
- Unique Java license acceptance record identifier.
- display
Name String - The name of the principal.
- email String
- The email of the principal.
- id String
- Unique Java license acceptance record identifier.
- display
Name string - The name of the principal.
- email string
- The email of the principal.
- id string
- Unique Java license acceptance record identifier.
- display_
name str - The name of the principal.
- email str
- The email of the principal.
- id str
- Unique Java license acceptance record identifier.
- display
Name String - The name of the principal.
- email String
- The email of the principal.
- id String
- Unique Java license acceptance record identifier.
GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollectionItemLastUpdatedBy
- Display
Name string - The name of the principal.
- Email string
- The email of the principal.
- Id string
- Unique Java license acceptance record identifier.
- Display
Name string - The name of the principal.
- Email string
- The email of the principal.
- Id string
- Unique Java license acceptance record identifier.
- display
Name String - The name of the principal.
- email String
- The email of the principal.
- id String
- Unique Java license acceptance record identifier.
- display
Name string - The name of the principal.
- email string
- The email of the principal.
- id string
- Unique Java license acceptance record identifier.
- display_
name str - The name of the principal.
- email str
- The email of the principal.
- id str
- Unique Java license acceptance record identifier.
- display
Name String - The name of the principal.
- email String
- The email of the principal.
- id String
- Unique Java license acceptance record identifier.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.