oci.Jms.JavaDownloadsJavaDownloadToken
Explore with Pulumi AI
This resource provides the Java Download Token resource in Oracle Cloud Infrastructure Jms Java Downloads service.
Creates a new JavaDownloadToken in the tenancy with specified attributes. Ensure that you review the license terms before token generation. Visit the Oracle Java Downloads page to understand the license terms of the Java version for which you are generating a token. By generating a token, you agree to the associated license terms. See Oracle JDK Licensing - FAQs for detailed information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJavaDownloadToken = new oci.jms.JavaDownloadsJavaDownloadToken("test_java_download_token", {
compartmentId: tenancyOcid,
description: javaDownloadTokenDescription,
displayName: javaDownloadTokenDisplayName,
javaVersion: javaDownloadTokenJavaVersion,
licenseTypes: javaDownloadTokenLicenseType,
timeExpires: javaDownloadTokenTimeExpires,
definedTags: {
"foo-namespace.bar-key": "value",
},
freeformTags: {
"bar-key": "value",
},
isDefault: javaDownloadTokenIsDefault,
});
import pulumi
import pulumi_oci as oci
test_java_download_token = oci.jms.JavaDownloadsJavaDownloadToken("test_java_download_token",
compartment_id=tenancy_ocid,
description=java_download_token_description,
display_name=java_download_token_display_name,
java_version=java_download_token_java_version,
license_types=java_download_token_license_type,
time_expires=java_download_token_time_expires,
defined_tags={
"foo-namespace.bar-key": "value",
},
freeform_tags={
"bar-key": "value",
},
is_default=java_download_token_is_default)
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.NewJavaDownloadsJavaDownloadToken(ctx, "test_java_download_token", &Jms.JavaDownloadsJavaDownloadTokenArgs{
CompartmentId: pulumi.Any(tenancyOcid),
Description: pulumi.Any(javaDownloadTokenDescription),
DisplayName: pulumi.Any(javaDownloadTokenDisplayName),
JavaVersion: pulumi.Any(javaDownloadTokenJavaVersion),
LicenseTypes: pulumi.Any(javaDownloadTokenLicenseType),
TimeExpires: pulumi.Any(javaDownloadTokenTimeExpires),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
IsDefault: pulumi.Any(javaDownloadTokenIsDefault),
})
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 = new Oci.Jms.JavaDownloadsJavaDownloadToken("test_java_download_token", new()
{
CompartmentId = tenancyOcid,
Description = javaDownloadTokenDescription,
DisplayName = javaDownloadTokenDisplayName,
JavaVersion = javaDownloadTokenJavaVersion,
LicenseTypes = javaDownloadTokenLicenseType,
TimeExpires = javaDownloadTokenTimeExpires,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
FreeformTags =
{
{ "bar-key", "value" },
},
IsDefault = javaDownloadTokenIsDefault,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Jms.JavaDownloadsJavaDownloadToken;
import com.pulumi.oci.Jms.JavaDownloadsJavaDownloadTokenArgs;
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) {
var testJavaDownloadToken = new JavaDownloadsJavaDownloadToken("testJavaDownloadToken", JavaDownloadsJavaDownloadTokenArgs.builder()
.compartmentId(tenancyOcid)
.description(javaDownloadTokenDescription)
.displayName(javaDownloadTokenDisplayName)
.javaVersion(javaDownloadTokenJavaVersion)
.licenseTypes(javaDownloadTokenLicenseType)
.timeExpires(javaDownloadTokenTimeExpires)
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.freeformTags(Map.of("bar-key", "value"))
.isDefault(javaDownloadTokenIsDefault)
.build());
}
}
resources:
testJavaDownloadToken:
type: oci:Jms:JavaDownloadsJavaDownloadToken
name: test_java_download_token
properties:
compartmentId: ${tenancyOcid}
description: ${javaDownloadTokenDescription}
displayName: ${javaDownloadTokenDisplayName}
javaVersion: ${javaDownloadTokenJavaVersion}
licenseTypes: ${javaDownloadTokenLicenseType}
timeExpires: ${javaDownloadTokenTimeExpires}
definedTags:
foo-namespace.bar-key: value
freeformTags:
bar-key: value
isDefault: ${javaDownloadTokenIsDefault}
Create JavaDownloadsJavaDownloadToken Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new JavaDownloadsJavaDownloadToken(name: string, args: JavaDownloadsJavaDownloadTokenArgs, opts?: CustomResourceOptions);
@overload
def JavaDownloadsJavaDownloadToken(resource_name: str,
args: JavaDownloadsJavaDownloadTokenArgs,
opts: Optional[ResourceOptions] = None)
@overload
def JavaDownloadsJavaDownloadToken(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
java_version: Optional[str] = None,
license_types: Optional[Sequence[str]] = None,
time_expires: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_default: Optional[bool] = None)
func NewJavaDownloadsJavaDownloadToken(ctx *Context, name string, args JavaDownloadsJavaDownloadTokenArgs, opts ...ResourceOption) (*JavaDownloadsJavaDownloadToken, error)
public JavaDownloadsJavaDownloadToken(string name, JavaDownloadsJavaDownloadTokenArgs args, CustomResourceOptions? opts = null)
public JavaDownloadsJavaDownloadToken(String name, JavaDownloadsJavaDownloadTokenArgs args)
public JavaDownloadsJavaDownloadToken(String name, JavaDownloadsJavaDownloadTokenArgs args, CustomResourceOptions options)
type: oci:Jms:JavaDownloadsJavaDownloadToken
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args JavaDownloadsJavaDownloadTokenArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args JavaDownloadsJavaDownloadTokenArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args JavaDownloadsJavaDownloadTokenArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JavaDownloadsJavaDownloadTokenArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JavaDownloadsJavaDownloadTokenArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var javaDownloadsJavaDownloadTokenResource = new Oci.Jms.JavaDownloadsJavaDownloadToken("javaDownloadsJavaDownloadTokenResource", new()
{
CompartmentId = "string",
Description = "string",
DisplayName = "string",
JavaVersion = "string",
LicenseTypes = new[]
{
"string",
},
TimeExpires = "string",
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
IsDefault = false,
});
example, err := Jms.NewJavaDownloadsJavaDownloadToken(ctx, "javaDownloadsJavaDownloadTokenResource", &Jms.JavaDownloadsJavaDownloadTokenArgs{
CompartmentId: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
JavaVersion: pulumi.String("string"),
LicenseTypes: pulumi.StringArray{
pulumi.String("string"),
},
TimeExpires: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsDefault: pulumi.Bool(false),
})
var javaDownloadsJavaDownloadTokenResource = new JavaDownloadsJavaDownloadToken("javaDownloadsJavaDownloadTokenResource", JavaDownloadsJavaDownloadTokenArgs.builder()
.compartmentId("string")
.description("string")
.displayName("string")
.javaVersion("string")
.licenseTypes("string")
.timeExpires("string")
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.isDefault(false)
.build());
java_downloads_java_download_token_resource = oci.jms.JavaDownloadsJavaDownloadToken("javaDownloadsJavaDownloadTokenResource",
compartment_id="string",
description="string",
display_name="string",
java_version="string",
license_types=["string"],
time_expires="string",
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
is_default=False)
const javaDownloadsJavaDownloadTokenResource = new oci.jms.JavaDownloadsJavaDownloadToken("javaDownloadsJavaDownloadTokenResource", {
compartmentId: "string",
description: "string",
displayName: "string",
javaVersion: "string",
licenseTypes: ["string"],
timeExpires: "string",
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
isDefault: false,
});
type: oci:Jms:JavaDownloadsJavaDownloadToken
properties:
compartmentId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
isDefault: false
javaVersion: string
licenseTypes:
- string
timeExpires: string
JavaDownloadsJavaDownloadToken Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The JavaDownloadsJavaDownloadToken resource accepts the following input properties:
- Compartment
Id string - The OCID of the tenancy scoped to the JavaDownloadToken.
- Description string
- (Updatable) User provided description of the JavaDownloadToken.
- Display
Name string - (Updatable) User provided display name of the JavaDownloadToken.
- Java
Version string - The Java version associated with the token.
- License
Types List<string> - (Updatable) The license type(s) associated with the JavaDownloadToken.
- Time
Expires string (Updatable) Expiry time of the token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, string>
- (Updatable) 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>
- (Updatable) 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.) - Is
Default bool - (Updatable) The token default attribute.
- Compartment
Id string - The OCID of the tenancy scoped to the JavaDownloadToken.
- Description string
- (Updatable) User provided description of the JavaDownloadToken.
- Display
Name string - (Updatable) User provided display name of the JavaDownloadToken.
- Java
Version string - The Java version associated with the token.
- License
Types []string - (Updatable) The license type(s) associated with the JavaDownloadToken.
- Time
Expires string (Updatable) Expiry time of the token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]string
- (Updatable) 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
- (Updatable) 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.) - Is
Default bool - (Updatable) The token default attribute.
- compartment
Id String - The OCID of the tenancy scoped to the JavaDownloadToken.
- description String
- (Updatable) User provided description of the JavaDownloadToken.
- display
Name String - (Updatable) User provided display name of the JavaDownloadToken.
- java
Version String - The Java version associated with the token.
- license
Types List<String> - (Updatable) The license type(s) associated with the JavaDownloadToken.
- time
Expires String (Updatable) Expiry time of the token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,String>
- (Updatable) 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>
- (Updatable) 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.) - is
Default Boolean - (Updatable) The token default attribute.
- compartment
Id string - The OCID of the tenancy scoped to the JavaDownloadToken.
- description string
- (Updatable) User provided description of the JavaDownloadToken.
- display
Name string - (Updatable) User provided display name of the JavaDownloadToken.
- java
Version string - The Java version associated with the token.
- license
Types string[] - (Updatable) The license type(s) associated with the JavaDownloadToken.
- time
Expires string (Updatable) Expiry time of the token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: string}
- (Updatable) 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}
- (Updatable) 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.) - is
Default boolean - (Updatable) The token default attribute.
- compartment_
id str - The OCID of the tenancy scoped to the JavaDownloadToken.
- description str
- (Updatable) User provided description of the JavaDownloadToken.
- display_
name str - (Updatable) User provided display name of the JavaDownloadToken.
- java_
version str - The Java version associated with the token.
- license_
types Sequence[str] - (Updatable) The license type(s) associated with the JavaDownloadToken.
- time_
expires str (Updatable) Expiry time of the token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, str]
- (Updatable) 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]
- (Updatable) 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.) - is_
default bool - (Updatable) The token default attribute.
- compartment
Id String - The OCID of the tenancy scoped to the JavaDownloadToken.
- description String
- (Updatable) User provided description of the JavaDownloadToken.
- display
Name String - (Updatable) User provided display name of the JavaDownloadToken.
- java
Version String - The Java version associated with the token.
- license
Types List<String> - (Updatable) The license type(s) associated with the JavaDownloadToken.
- time
Expires String (Updatable) Expiry time of the token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String>
- (Updatable) 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>
- (Updatable) 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.) - is
Default Boolean - (Updatable) The token default attribute.
Outputs
All input properties are implicitly available as output properties. Additionally, the JavaDownloadsJavaDownloadToken resource produces the following output properties:
- Created
Bies List<JavaDownloads Java Download Token Created By> - An authorized principal.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated List<JavaBies Downloads Java Download Token Last Updated By> - An authorized principal.
- 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
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.
- Created
Bies []JavaDownloads Java Download Token Created By - An authorized principal.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated []JavaBies Downloads Java Download Token Last Updated By - An authorized principal.
- 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
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.
- created
Bies List<JavaDownloads Java Download Token Created By> - An authorized principal.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated List<JavaBies Downloads Java Download Token Last Updated By> - An authorized principal.
- 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
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.
- created
Bies JavaDownloads Java Download Token Created By[] - An authorized principal.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated JavaBies Downloads Java Download Token Last Updated By[] - An authorized principal.
- 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
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.
- created_
bies Sequence[jms.Java Downloads Java Download Token Created By] - An authorized principal.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ Sequence[jms.bies Java Downloads Java Download Token Last Updated By] - An authorized principal.
- 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_
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.
- created
Bies List<Property Map> - An authorized principal.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated List<Property Map>Bies - An authorized principal.
- 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
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.
Look up Existing JavaDownloadsJavaDownloadToken Resource
Get an existing JavaDownloadsJavaDownloadToken resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: JavaDownloadsJavaDownloadTokenState, opts?: CustomResourceOptions): JavaDownloadsJavaDownloadToken
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
created_bies: Optional[Sequence[_jms.JavaDownloadsJavaDownloadTokenCreatedByArgs]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_default: Optional[bool] = None,
java_version: Optional[str] = None,
last_updated_bies: Optional[Sequence[_jms.JavaDownloadsJavaDownloadTokenLastUpdatedByArgs]] = None,
license_types: Optional[Sequence[str]] = None,
lifecycle_details: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_expires: Optional[str] = None,
time_last_used: Optional[str] = None,
time_updated: Optional[str] = None,
value: Optional[str] = None) -> JavaDownloadsJavaDownloadToken
func GetJavaDownloadsJavaDownloadToken(ctx *Context, name string, id IDInput, state *JavaDownloadsJavaDownloadTokenState, opts ...ResourceOption) (*JavaDownloadsJavaDownloadToken, error)
public static JavaDownloadsJavaDownloadToken Get(string name, Input<string> id, JavaDownloadsJavaDownloadTokenState? state, CustomResourceOptions? opts = null)
public static JavaDownloadsJavaDownloadToken get(String name, Output<String> id, JavaDownloadsJavaDownloadTokenState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - The OCID of the tenancy scoped to the JavaDownloadToken.
- Created
Bies List<JavaDownloads Java Download Token Created By> - An authorized principal.
- Dictionary<string, string>
- (Updatable) 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
- (Updatable) User provided description of the JavaDownloadToken.
- Display
Name string - (Updatable) User provided display name of the JavaDownloadToken.
- Dictionary<string, string>
- (Updatable) 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.) - Is
Default bool - (Updatable) The token default attribute.
- Java
Version string - The Java version associated with the token.
- Last
Updated List<JavaBies Downloads Java Download Token Last Updated By> - An authorized principal.
- License
Types List<string> - (Updatable) 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 (Updatable) Expiry time of the token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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 []JavaDownloads Java Download Token Created By Args - An authorized principal.
- map[string]string
- (Updatable) 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
- (Updatable) User provided description of the JavaDownloadToken.
- Display
Name string - (Updatable) User provided display name of the JavaDownloadToken.
- map[string]string
- (Updatable) 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.) - Is
Default bool - (Updatable) The token default attribute.
- Java
Version string - The Java version associated with the token.
- Last
Updated []JavaBies Downloads Java Download Token Last Updated By Args - An authorized principal.
- License
Types []string - (Updatable) 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 (Updatable) Expiry time of the token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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<JavaDownloads Java Download Token Created By> - An authorized principal.
- Map<String,String>
- (Updatable) 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
- (Updatable) User provided description of the JavaDownloadToken.
- display
Name String - (Updatable) User provided display name of the JavaDownloadToken.
- Map<String,String>
- (Updatable) 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.) - is
Default Boolean - (Updatable) The token default attribute.
- java
Version String - The Java version associated with the token.
- last
Updated List<JavaBies Downloads Java Download Token Last Updated By> - An authorized principal.
- license
Types List<String> - (Updatable) 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 (Updatable) Expiry time of the token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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 JavaDownloads Java Download Token Created By[] - An authorized principal.
- {[key: string]: string}
- (Updatable) 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
- (Updatable) User provided description of the JavaDownloadToken.
- display
Name string - (Updatable) User provided display name of the JavaDownloadToken.
- {[key: string]: string}
- (Updatable) 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.) - is
Default boolean - (Updatable) The token default attribute.
- java
Version string - The Java version associated with the token.
- last
Updated JavaBies Downloads Java Download Token Last Updated By[] - An authorized principal.
- license
Types string[] - (Updatable) 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 (Updatable) Expiry time of the token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.Java Downloads Java Download Token Created By Args] - An authorized principal.
- Mapping[str, str]
- (Updatable) 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
- (Updatable) User provided description of the JavaDownloadToken.
- display_
name str - (Updatable) User provided display name of the JavaDownloadToken.
- Mapping[str, str]
- (Updatable) 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.) - is_
default bool - (Updatable) The token default attribute.
- java_
version str - The Java version associated with the token.
- last_
updated_ Sequence[jms.bies Java Downloads Java Download Token Last Updated By Args] - An authorized principal.
- license_
types Sequence[str] - (Updatable) 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 (Updatable) Expiry time of the token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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>
- (Updatable) 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
- (Updatable) User provided description of the JavaDownloadToken.
- display
Name String - (Updatable) User provided display name of the JavaDownloadToken.
- Map<String>
- (Updatable) 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.) - is
Default Boolean - (Updatable) The token default attribute.
- java
Version String - The Java version associated with the token.
- last
Updated List<Property Map>Bies - An authorized principal.
- license
Types List<String> - (Updatable) 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 (Updatable) Expiry time of the token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
JavaDownloadsJavaDownloadTokenCreatedBy, JavaDownloadsJavaDownloadTokenCreatedByArgs
- Display
Name string - (Updatable) User provided display name of the JavaDownloadToken.
- Email string
- The email of the principal.
- Id string
- The OCID of the principal.
- Display
Name string - (Updatable) User provided display name of the JavaDownloadToken.
- Email string
- The email of the principal.
- Id string
- The OCID of the principal.
- display
Name String - (Updatable) User provided display name of the JavaDownloadToken.
- email String
- The email of the principal.
- id String
- The OCID of the principal.
- display
Name string - (Updatable) User provided display name of the JavaDownloadToken.
- email string
- The email of the principal.
- id string
- The OCID of the principal.
- display_
name str - (Updatable) User provided display name of the JavaDownloadToken.
- email str
- The email of the principal.
- id str
- The OCID of the principal.
- display
Name String - (Updatable) User provided display name of the JavaDownloadToken.
- email String
- The email of the principal.
- id String
- The OCID of the principal.
JavaDownloadsJavaDownloadTokenLastUpdatedBy, JavaDownloadsJavaDownloadTokenLastUpdatedByArgs
- Display
Name string - (Updatable) User provided display name of the JavaDownloadToken.
- Email string
- The email of the principal.
- Id string
- The OCID of the principal.
- Display
Name string - (Updatable) User provided display name of the JavaDownloadToken.
- Email string
- The email of the principal.
- Id string
- The OCID of the principal.
- display
Name String - (Updatable) User provided display name of the JavaDownloadToken.
- email String
- The email of the principal.
- id String
- The OCID of the principal.
- display
Name string - (Updatable) User provided display name of the JavaDownloadToken.
- email string
- The email of the principal.
- id string
- The OCID of the principal.
- display_
name str - (Updatable) User provided display name of the JavaDownloadToken.
- email str
- The email of the principal.
- id str
- The OCID of the principal.
- display
Name String - (Updatable) User provided display name of the JavaDownloadToken.
- email String
- The email of the principal.
- id String
- The OCID of the principal.
Import
Import is not supported for this resource.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.