Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Jms.getJavaDownloadsJavaLicenses
Explore with Pulumi AI
This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
Return a list with details of all Java licenses.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJavaLicenses = oci.Jms.getJavaDownloadsJavaLicenses({
displayName: javaLicenseDisplayName,
licenseType: javaLicenseLicenseType,
});
import pulumi
import pulumi_oci as oci
test_java_licenses = oci.Jms.get_java_downloads_java_licenses(display_name=java_license_display_name,
license_type=java_license_license_type)
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.GetJavaDownloadsJavaLicenses(ctx, &jms.GetJavaDownloadsJavaLicensesArgs{
DisplayName: pulumi.StringRef(javaLicenseDisplayName),
LicenseType: pulumi.StringRef(javaLicenseLicenseType),
}, 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 testJavaLicenses = Oci.Jms.GetJavaDownloadsJavaLicenses.Invoke(new()
{
DisplayName = javaLicenseDisplayName,
LicenseType = javaLicenseLicenseType,
});
});
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.GetJavaDownloadsJavaLicensesArgs;
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 testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
.displayName(javaLicenseDisplayName)
.licenseType(javaLicenseLicenseType)
.build());
}
}
variables:
testJavaLicenses:
fn::invoke:
Function: oci:Jms:getJavaDownloadsJavaLicenses
Arguments:
displayName: ${javaLicenseDisplayName}
licenseType: ${javaLicenseLicenseType}
Using getJavaDownloadsJavaLicenses
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 getJavaDownloadsJavaLicenses(args: GetJavaDownloadsJavaLicensesArgs, opts?: InvokeOptions): Promise<GetJavaDownloadsJavaLicensesResult>
function getJavaDownloadsJavaLicensesOutput(args: GetJavaDownloadsJavaLicensesOutputArgs, opts?: InvokeOptions): Output<GetJavaDownloadsJavaLicensesResult>
def get_java_downloads_java_licenses(display_name: Optional[str] = None,
filters: Optional[Sequence[_jms.GetJavaDownloadsJavaLicensesFilter]] = None,
license_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetJavaDownloadsJavaLicensesResult
def get_java_downloads_java_licenses_output(display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_jms.GetJavaDownloadsJavaLicensesFilterArgs]]]] = None,
license_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetJavaDownloadsJavaLicensesResult]
func GetJavaDownloadsJavaLicenses(ctx *Context, args *GetJavaDownloadsJavaLicensesArgs, opts ...InvokeOption) (*GetJavaDownloadsJavaLicensesResult, error)
func GetJavaDownloadsJavaLicensesOutput(ctx *Context, args *GetJavaDownloadsJavaLicensesOutputArgs, opts ...InvokeOption) GetJavaDownloadsJavaLicensesResultOutput
> Note: This function is named GetJavaDownloadsJavaLicenses
in the Go SDK.
public static class GetJavaDownloadsJavaLicenses
{
public static Task<GetJavaDownloadsJavaLicensesResult> InvokeAsync(GetJavaDownloadsJavaLicensesArgs args, InvokeOptions? opts = null)
public static Output<GetJavaDownloadsJavaLicensesResult> Invoke(GetJavaDownloadsJavaLicensesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJavaDownloadsJavaLicensesResult> getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Jms/getJavaDownloadsJavaLicenses:getJavaDownloadsJavaLicenses
arguments:
# arguments dictionary
The following arguments are supported:
- Display
Name string - A filter to return only resources that match the display name.
- Filters
List<Get
Java Downloads Java Licenses Filter> - License
Type string - Unique Java license type.
- Display
Name string - A filter to return only resources that match the display name.
- Filters
[]Get
Java Downloads Java Licenses Filter - License
Type string - Unique Java license type.
- display
Name String - A filter to return only resources that match the display name.
- filters
List<Get
Java Downloads Java Licenses Filter> - license
Type String - Unique Java license type.
- display
Name string - A filter to return only resources that match the display name.
- filters
Get
Java Downloads Java Licenses Filter[] - license
Type string - Unique Java license type.
- display_
name str - A filter to return only resources that match the display name.
- filters
Sequence[jms.
Get Java Downloads Java Licenses Filter] - license_
type str - Unique Java license type.
- display
Name String - A filter to return only resources that match the display name.
- filters List<Property Map>
- license
Type String - Unique Java license type.
getJavaDownloadsJavaLicenses Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Java
License List<GetCollections Java Downloads Java Licenses Java License Collection> - The list of java_license_collection.
- Display
Name string - Commonly used name for the license type.
- Filters
List<Get
Java Downloads Java Licenses Filter> - License
Type string - License Type
- Id string
- The provider-assigned unique ID for this managed resource.
- Java
License []GetCollections Java Downloads Java Licenses Java License Collection - The list of java_license_collection.
- Display
Name string - Commonly used name for the license type.
- Filters
[]Get
Java Downloads Java Licenses Filter - License
Type string - License Type
- id String
- The provider-assigned unique ID for this managed resource.
- java
License List<GetCollections Java Downloads Java Licenses Java License Collection> - The list of java_license_collection.
- display
Name String - Commonly used name for the license type.
- filters
List<Get
Java Downloads Java Licenses Filter> - license
Type String - License Type
- id string
- The provider-assigned unique ID for this managed resource.
- java
License GetCollections Java Downloads Java Licenses Java License Collection[] - The list of java_license_collection.
- display
Name string - Commonly used name for the license type.
- filters
Get
Java Downloads Java Licenses Filter[] - license
Type string - License Type
- id str
- The provider-assigned unique ID for this managed resource.
- java_
license_ Sequence[jms.collections Get Java Downloads Java Licenses Java License Collection] - The list of java_license_collection.
- display_
name str - Commonly used name for the license type.
- filters
Sequence[jms.
Get Java Downloads Java Licenses Filter] - license_
type str - License Type
- id String
- The provider-assigned unique ID for this managed resource.
- java
License List<Property Map>Collections - The list of java_license_collection.
- display
Name String - Commonly used name for the license type.
- filters List<Property Map>
- license
Type String - License Type
Supporting Types
GetJavaDownloadsJavaLicensesFilter
GetJavaDownloadsJavaLicensesJavaLicenseCollection
GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem
- Display
Name string - A filter to return only resources that match the display name.
- License
Type string - Unique Java license type.
- License
Url string - Publicly accessible license URL containing the detailed terms and conditions.
- Display
Name string - A filter to return only resources that match the display name.
- License
Type string - Unique Java license type.
- License
Url string - Publicly accessible license URL containing the detailed terms and conditions.
- display
Name String - A filter to return only resources that match the display name.
- license
Type String - Unique Java license type.
- license
Url String - Publicly accessible license URL containing the detailed terms and conditions.
- display
Name string - A filter to return only resources that match the display name.
- license
Type string - Unique Java license type.
- license
Url string - Publicly accessible license URL containing the detailed terms and conditions.
- display_
name str - A filter to return only resources that match the display name.
- license_
type str - Unique Java license type.
- license_
url str - Publicly accessible license URL containing the detailed terms and conditions.
- display
Name String - A filter to return only resources that match the display name.
- license
Type String - Unique Java license type.
- license
Url String - Publicly accessible license URL containing the detailed terms and conditions.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.