Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Jms.getJavaDownloadsJavaDownloadToken
Explore with Pulumi AI
This data source provides details about a specific Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
Gets a JavaDownloadToken by identifier
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJavaDownloadToken = oci.Jms.getJavaDownloadsJavaDownloadToken({
javaDownloadTokenId: testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id,
});
import pulumi
import pulumi_oci as oci
test_java_download_token = oci.Jms.get_java_downloads_java_download_token(java_download_token_id=test_java_download_token_oci_jms_java_downloads_java_download_token["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.GetJavaDownloadsJavaDownloadToken(ctx, &jms.GetJavaDownloadsJavaDownloadTokenArgs{
JavaDownloadTokenId: testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.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 testJavaDownloadToken = Oci.Jms.GetJavaDownloadsJavaDownloadToken.Invoke(new()
{
JavaDownloadTokenId = testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.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.GetJavaDownloadsJavaDownloadTokenArgs;
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 testJavaDownloadToken = JmsFunctions.getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs.builder()
.javaDownloadTokenId(testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id())
.build());
}
}
variables:
testJavaDownloadToken:
fn::invoke:
Function: oci:Jms:getJavaDownloadsJavaDownloadToken
Arguments:
javaDownloadTokenId: ${testJavaDownloadTokenOciJmsJavaDownloadsJavaDownloadToken.id}
Using getJavaDownloadsJavaDownloadToken
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 getJavaDownloadsJavaDownloadToken(args: GetJavaDownloadsJavaDownloadTokenArgs, opts?: InvokeOptions): Promise<GetJavaDownloadsJavaDownloadTokenResult>
function getJavaDownloadsJavaDownloadTokenOutput(args: GetJavaDownloadsJavaDownloadTokenOutputArgs, opts?: InvokeOptions): Output<GetJavaDownloadsJavaDownloadTokenResult>
def get_java_downloads_java_download_token(java_download_token_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetJavaDownloadsJavaDownloadTokenResult
def get_java_downloads_java_download_token_output(java_download_token_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetJavaDownloadsJavaDownloadTokenResult]
func GetJavaDownloadsJavaDownloadToken(ctx *Context, args *GetJavaDownloadsJavaDownloadTokenArgs, opts ...InvokeOption) (*GetJavaDownloadsJavaDownloadTokenResult, error)
func GetJavaDownloadsJavaDownloadTokenOutput(ctx *Context, args *GetJavaDownloadsJavaDownloadTokenOutputArgs, opts ...InvokeOption) GetJavaDownloadsJavaDownloadTokenResultOutput
> Note: This function is named GetJavaDownloadsJavaDownloadToken
in the Go SDK.
public static class GetJavaDownloadsJavaDownloadToken
{
public static Task<GetJavaDownloadsJavaDownloadTokenResult> InvokeAsync(GetJavaDownloadsJavaDownloadTokenArgs args, InvokeOptions? opts = null)
public static Output<GetJavaDownloadsJavaDownloadTokenResult> Invoke(GetJavaDownloadsJavaDownloadTokenInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJavaDownloadsJavaDownloadTokenResult> getJavaDownloadsJavaDownloadToken(GetJavaDownloadsJavaDownloadTokenArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Jms/getJavaDownloadsJavaDownloadToken:getJavaDownloadsJavaDownloadToken
arguments:
# arguments dictionary
The following arguments are supported:
- Java
Download stringToken Id - Unique JavaDownloadToken identifier.
- Java
Download stringToken Id - Unique JavaDownloadToken identifier.
- java
Download StringToken Id - Unique JavaDownloadToken identifier.
- java
Download stringToken Id - Unique JavaDownloadToken identifier.
- java_
download_ strtoken_ id - Unique JavaDownloadToken identifier.
- java
Download StringToken Id - Unique JavaDownloadToken identifier.
getJavaDownloadsJavaDownloadToken Result
The following output properties are available:
- Compartment
Id string - The OCID of the tenancy scoped to the JavaDownloadToken.
- Created
Bies List<GetJava Downloads Java Download Token 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). - Description string
- User provided description of the JavaDownloadToken.
- Display
Name string - The name of the principal.
- 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.
- Is
Default bool - A flag to indicate if the token is default.
- Java
Download stringToken Id - Java
Version string - The associated Java version of the JavaDownloadToken.
- Last
Updated List<GetBies Java Downloads Java Download Token Last Updated By> - An authorized principal.
- License
Types List<string> - The license type(s) associated with the JavaDownloadToken.
- Lifecycle
Details string - Possible lifecycle substates.
- State string
- The current state of the JavaDownloadToken.
- 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
Created string - The time the JavaDownloadToken was created, displayed as an RFC3339 formatted datetime string.
- Time
Expires string - The expiry time of the JavaDownloadToken, displayed as an RFC3339 formatted datetime string.
- Time
Last stringUsed - The time the JavaDownloadToken was last used for download, displayed as an RFC3339 formatted datetime string.
- Time
Updated string - The time the JavaDownloadToken was updated, displayed as an RFC3339 formatted datetime string.
- Value string
- Uniquely generated value for the JavaDownloadToken.
- Compartment
Id string - The OCID of the tenancy scoped to the JavaDownloadToken.
- Created
Bies []GetJava Downloads Java Download Token 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). - Description string
- User provided description of the JavaDownloadToken.
- Display
Name string - The name of the principal.
- 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.
- Is
Default bool - A flag to indicate if the token is default.
- Java
Download stringToken Id - Java
Version string - The associated Java version of the JavaDownloadToken.
- Last
Updated []GetBies Java Downloads Java Download Token Last Updated By - An authorized principal.
- License
Types []string - The license type(s) associated with the JavaDownloadToken.
- Lifecycle
Details string - Possible lifecycle substates.
- State string
- The current state of the JavaDownloadToken.
- 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
Created string - The time the JavaDownloadToken was created, displayed as an RFC3339 formatted datetime string.
- Time
Expires string - The expiry time of the JavaDownloadToken, displayed as an RFC3339 formatted datetime string.
- Time
Last stringUsed - The time the JavaDownloadToken was last used for download, displayed as an RFC3339 formatted datetime string.
- Time
Updated string - The time the JavaDownloadToken was updated, displayed as an RFC3339 formatted datetime string.
- Value string
- Uniquely generated value for the JavaDownloadToken.
- compartment
Id String - The OCID of the tenancy scoped to the JavaDownloadToken.
- created
Bies List<GetJava Downloads Java Download Token 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). - description String
- User provided description of the JavaDownloadToken.
- display
Name String - The name of the principal.
- 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.
- is
Default Boolean - A flag to indicate if the token is default.
- java
Download StringToken Id - java
Version String - The associated Java version of the JavaDownloadToken.
- last
Updated List<GetBies Java Downloads Java Download Token Last Updated By> - An authorized principal.
- license
Types List<String> - The license type(s) associated with the JavaDownloadToken.
- lifecycle
Details String - Possible lifecycle substates.
- state String
- The current state of the JavaDownloadToken.
- 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
Created String - The time the JavaDownloadToken was created, displayed as an RFC3339 formatted datetime string.
- time
Expires String - The expiry time of the JavaDownloadToken, displayed as an RFC3339 formatted datetime string.
- time
Last StringUsed - The time the JavaDownloadToken was last used for download, displayed as an RFC3339 formatted datetime string.
- time
Updated String - The time the JavaDownloadToken was updated, displayed as an RFC3339 formatted datetime string.
- value String
- Uniquely generated value for the JavaDownloadToken.
- compartment
Id string - The OCID of the tenancy scoped to the JavaDownloadToken.
- created
Bies GetJava Downloads Java Download Token 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). - description string
- User provided description of the JavaDownloadToken.
- display
Name string - The name of the principal.
- {[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.
- is
Default boolean - A flag to indicate if the token is default.
- java
Download stringToken Id - java
Version string - The associated Java version of the JavaDownloadToken.
- last
Updated GetBies Java Downloads Java Download Token Last Updated By[] - An authorized principal.
- license
Types string[] - The license type(s) associated with the JavaDownloadToken.
- lifecycle
Details string - Possible lifecycle substates.
- state string
- The current state of the JavaDownloadToken.
- {[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
Created string - The time the JavaDownloadToken was created, displayed as an RFC3339 formatted datetime string.
- time
Expires string - The expiry time of the JavaDownloadToken, displayed as an RFC3339 formatted datetime string.
- time
Last stringUsed - The time the JavaDownloadToken was last used for download, displayed as an RFC3339 formatted datetime string.
- time
Updated string - The time the JavaDownloadToken was updated, displayed as an RFC3339 formatted datetime string.
- value string
- Uniquely generated value for the JavaDownloadToken.
- compartment_
id str - The OCID of the tenancy scoped to the JavaDownloadToken.
- created_
bies Sequence[jms.Get Java Downloads Java Download Token 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). - description str
- User provided description of the JavaDownloadToken.
- display_
name str - The name of the principal.
- 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.
- is_
default bool - A flag to indicate if the token is default.
- java_
download_ strtoken_ id - java_
version str - The associated Java version of the JavaDownloadToken.
- last_
updated_ Sequence[jms.bies Get Java Downloads Java Download Token Last Updated By] - An authorized principal.
- license_
types Sequence[str] - The license type(s) associated with the JavaDownloadToken.
- lifecycle_
details str - Possible lifecycle substates.
- state str
- The current state of the JavaDownloadToken.
- 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_
created str - The time the JavaDownloadToken was created, displayed as an RFC3339 formatted datetime string.
- time_
expires str - The expiry time of the JavaDownloadToken, displayed as an RFC3339 formatted datetime string.
- time_
last_ strused - The time the JavaDownloadToken was last used for download, displayed as an RFC3339 formatted datetime string.
- time_
updated str - The time the JavaDownloadToken was updated, displayed as an RFC3339 formatted datetime string.
- value str
- Uniquely generated value for the JavaDownloadToken.
- compartment
Id String - The OCID of the tenancy scoped to the JavaDownloadToken.
- 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). - description String
- User provided description of the JavaDownloadToken.
- display
Name String - The name of the principal.
- 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.
- is
Default Boolean - A flag to indicate if the token is default.
- java
Download StringToken Id - java
Version String - The associated Java version of the JavaDownloadToken.
- last
Updated List<Property Map>Bies - An authorized principal.
- license
Types List<String> - The license type(s) associated with the JavaDownloadToken.
- lifecycle
Details String - Possible lifecycle substates.
- state String
- The current state of the JavaDownloadToken.
- 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
Created String - The time the JavaDownloadToken was created, displayed as an RFC3339 formatted datetime string.
- time
Expires String - The expiry time of the JavaDownloadToken, displayed as an RFC3339 formatted datetime string.
- time
Last StringUsed - The time the JavaDownloadToken was last used for download, displayed as an RFC3339 formatted datetime string.
- time
Updated String - The time the JavaDownloadToken was updated, displayed as an RFC3339 formatted datetime string.
- value String
- Uniquely generated value for the JavaDownloadToken.
Supporting Types
GetJavaDownloadsJavaDownloadTokenCreatedBy
- 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.
GetJavaDownloadsJavaDownloadTokenLastUpdatedBy
- 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.