Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Jms.getJavaDownloadsJavaLicense
Explore with Pulumi AI
This data source provides details about a specific Java License resource in Oracle Cloud Infrastructure Jms Java Downloads service.
Return details of the specified Java license type.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJavaLicense = oci.Jms.getJavaDownloadsJavaLicense({
licenseType: javaLicenseLicenseType,
});
import pulumi
import pulumi_oci as oci
test_java_license = oci.Jms.get_java_downloads_java_license(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.GetJavaDownloadsJavaLicense(ctx, &jms.GetJavaDownloadsJavaLicenseArgs{
LicenseType: 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 testJavaLicense = Oci.Jms.GetJavaDownloadsJavaLicense.Invoke(new()
{
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.GetJavaDownloadsJavaLicenseArgs;
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 testJavaLicense = JmsFunctions.getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs.builder()
.licenseType(javaLicenseLicenseType)
.build());
}
}
variables:
testJavaLicense:
fn::invoke:
Function: oci:Jms:getJavaDownloadsJavaLicense
Arguments:
licenseType: ${javaLicenseLicenseType}
Using getJavaDownloadsJavaLicense
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 getJavaDownloadsJavaLicense(args: GetJavaDownloadsJavaLicenseArgs, opts?: InvokeOptions): Promise<GetJavaDownloadsJavaLicenseResult>
function getJavaDownloadsJavaLicenseOutput(args: GetJavaDownloadsJavaLicenseOutputArgs, opts?: InvokeOptions): Output<GetJavaDownloadsJavaLicenseResult>
def get_java_downloads_java_license(license_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetJavaDownloadsJavaLicenseResult
def get_java_downloads_java_license_output(license_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetJavaDownloadsJavaLicenseResult]
func GetJavaDownloadsJavaLicense(ctx *Context, args *GetJavaDownloadsJavaLicenseArgs, opts ...InvokeOption) (*GetJavaDownloadsJavaLicenseResult, error)
func GetJavaDownloadsJavaLicenseOutput(ctx *Context, args *GetJavaDownloadsJavaLicenseOutputArgs, opts ...InvokeOption) GetJavaDownloadsJavaLicenseResultOutput
> Note: This function is named GetJavaDownloadsJavaLicense
in the Go SDK.
public static class GetJavaDownloadsJavaLicense
{
public static Task<GetJavaDownloadsJavaLicenseResult> InvokeAsync(GetJavaDownloadsJavaLicenseArgs args, InvokeOptions? opts = null)
public static Output<GetJavaDownloadsJavaLicenseResult> Invoke(GetJavaDownloadsJavaLicenseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJavaDownloadsJavaLicenseResult> getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Jms/getJavaDownloadsJavaLicense:getJavaDownloadsJavaLicense
arguments:
# arguments dictionary
The following arguments are supported:
- License
Type string - Unique Java license type.
- License
Type string - Unique Java license type.
- license
Type String - Unique Java license type.
- license
Type string - Unique Java license type.
- license_
type str - Unique Java license type.
- license
Type String - Unique Java license type.
getJavaDownloadsJavaLicense Result
The following output properties are available:
- Display
Name string - Commonly used name for the license type.
- Id string
- The provider-assigned unique ID for this managed resource.
- License
Type string - License Type
- License
Url string - Publicly accessible license URL containing the detailed terms and conditions.
- Display
Name string - Commonly used name for the license type.
- Id string
- The provider-assigned unique ID for this managed resource.
- License
Type string - License Type
- License
Url string - Publicly accessible license URL containing the detailed terms and conditions.
- display
Name String - Commonly used name for the license type.
- id String
- The provider-assigned unique ID for this managed resource.
- license
Type String - License Type
- license
Url String - Publicly accessible license URL containing the detailed terms and conditions.
- display
Name string - Commonly used name for the license type.
- id string
- The provider-assigned unique ID for this managed resource.
- license
Type string - License Type
- license
Url string - Publicly accessible license URL containing the detailed terms and conditions.
- display_
name str - Commonly used name for the license type.
- id str
- The provider-assigned unique ID for this managed resource.
- license_
type str - License Type
- license_
url str - Publicly accessible license URL containing the detailed terms and conditions.
- display
Name String - Commonly used name for the license type.
- id String
- The provider-assigned unique ID for this managed resource.
- license
Type String - 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.