1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ObjectStorage
  5. Preauthrequest
Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi

oci.ObjectStorage.Preauthrequest

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi

    This resource provides the Preauthenticated Request resource in Oracle Cloud Infrastructure Object Storage service.

    Creates a pre-authenticated request specific to the bucket.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testPreauthenticatedRequest = new oci.objectstorage.Preauthrequest("test_preauthenticated_request", {
        accessType: preauthenticatedRequestAccessType,
        bucket: preauthenticatedRequestBucket,
        name: preauthenticatedRequestName,
        namespace: preauthenticatedRequestNamespace,
        timeExpires: preauthenticatedRequestTimeExpires,
        bucketListingAction: preauthenticatedRequestBucketListingAction,
        object: preauthenticatedRequestObject,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_preauthenticated_request = oci.object_storage.Preauthrequest("test_preauthenticated_request",
        access_type=preauthenticated_request_access_type,
        bucket=preauthenticated_request_bucket,
        name=preauthenticated_request_name,
        namespace=preauthenticated_request_namespace,
        time_expires=preauthenticated_request_time_expires,
        bucket_listing_action=preauthenticated_request_bucket_listing_action,
        object=preauthenticated_request_object)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ObjectStorage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ObjectStorage.NewPreauthrequest(ctx, "test_preauthenticated_request", &ObjectStorage.PreauthrequestArgs{
    			AccessType:          pulumi.Any(preauthenticatedRequestAccessType),
    			Bucket:              pulumi.Any(preauthenticatedRequestBucket),
    			Name:                pulumi.Any(preauthenticatedRequestName),
    			Namespace:           pulumi.Any(preauthenticatedRequestNamespace),
    			TimeExpires:         pulumi.Any(preauthenticatedRequestTimeExpires),
    			BucketListingAction: pulumi.Any(preauthenticatedRequestBucketListingAction),
    			Object:              pulumi.Any(preauthenticatedRequestObject),
    		})
    		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 testPreauthenticatedRequest = new Oci.ObjectStorage.Preauthrequest("test_preauthenticated_request", new()
        {
            AccessType = preauthenticatedRequestAccessType,
            Bucket = preauthenticatedRequestBucket,
            Name = preauthenticatedRequestName,
            Namespace = preauthenticatedRequestNamespace,
            TimeExpires = preauthenticatedRequestTimeExpires,
            BucketListingAction = preauthenticatedRequestBucketListingAction,
            Object = preauthenticatedRequestObject,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.ObjectStorage.Preauthrequest;
    import com.pulumi.oci.ObjectStorage.PreauthrequestArgs;
    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 testPreauthenticatedRequest = new Preauthrequest("testPreauthenticatedRequest", PreauthrequestArgs.builder()
                .accessType(preauthenticatedRequestAccessType)
                .bucket(preauthenticatedRequestBucket)
                .name(preauthenticatedRequestName)
                .namespace(preauthenticatedRequestNamespace)
                .timeExpires(preauthenticatedRequestTimeExpires)
                .bucketListingAction(preauthenticatedRequestBucketListingAction)
                .object(preauthenticatedRequestObject)
                .build());
    
        }
    }
    
    resources:
      testPreauthenticatedRequest:
        type: oci:ObjectStorage:Preauthrequest
        name: test_preauthenticated_request
        properties:
          accessType: ${preauthenticatedRequestAccessType}
          bucket: ${preauthenticatedRequestBucket}
          name: ${preauthenticatedRequestName}
          namespace: ${preauthenticatedRequestNamespace}
          timeExpires: ${preauthenticatedRequestTimeExpires}
          bucketListingAction: ${preauthenticatedRequestBucketListingAction}
          object: ${preauthenticatedRequestObject}
    

    Create Preauthrequest Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Preauthrequest(name: string, args: PreauthrequestArgs, opts?: CustomResourceOptions);
    @overload
    def Preauthrequest(resource_name: str,
                       args: PreauthrequestArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def Preauthrequest(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       access_type: Optional[str] = None,
                       bucket: Optional[str] = None,
                       namespace: Optional[str] = None,
                       time_expires: Optional[str] = None,
                       bucket_listing_action: Optional[str] = None,
                       name: Optional[str] = None,
                       object: Optional[str] = None,
                       object_name: Optional[str] = None)
    func NewPreauthrequest(ctx *Context, name string, args PreauthrequestArgs, opts ...ResourceOption) (*Preauthrequest, error)
    public Preauthrequest(string name, PreauthrequestArgs args, CustomResourceOptions? opts = null)
    public Preauthrequest(String name, PreauthrequestArgs args)
    public Preauthrequest(String name, PreauthrequestArgs args, CustomResourceOptions options)
    
    type: oci:ObjectStorage:Preauthrequest
    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 PreauthrequestArgs
    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 PreauthrequestArgs
    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 PreauthrequestArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PreauthrequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PreauthrequestArgs
    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 preauthrequestResource = new Oci.ObjectStorage.Preauthrequest("preauthrequestResource", new()
    {
        AccessType = "string",
        Bucket = "string",
        Namespace = "string",
        TimeExpires = "string",
        BucketListingAction = "string",
        Name = "string",
        ObjectName = "string",
    });
    
    example, err := ObjectStorage.NewPreauthrequest(ctx, "preauthrequestResource", &ObjectStorage.PreauthrequestArgs{
    	AccessType:          pulumi.String("string"),
    	Bucket:              pulumi.String("string"),
    	Namespace:           pulumi.String("string"),
    	TimeExpires:         pulumi.String("string"),
    	BucketListingAction: pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	ObjectName:          pulumi.String("string"),
    })
    
    var preauthrequestResource = new Preauthrequest("preauthrequestResource", PreauthrequestArgs.builder()
        .accessType("string")
        .bucket("string")
        .namespace("string")
        .timeExpires("string")
        .bucketListingAction("string")
        .name("string")
        .objectName("string")
        .build());
    
    preauthrequest_resource = oci.object_storage.Preauthrequest("preauthrequestResource",
        access_type="string",
        bucket="string",
        namespace="string",
        time_expires="string",
        bucket_listing_action="string",
        name="string",
        object_name="string")
    
    const preauthrequestResource = new oci.objectstorage.Preauthrequest("preauthrequestResource", {
        accessType: "string",
        bucket: "string",
        namespace: "string",
        timeExpires: "string",
        bucketListingAction: "string",
        name: "string",
        objectName: "string",
    });
    
    type: oci:ObjectStorage:Preauthrequest
    properties:
        accessType: string
        bucket: string
        bucketListingAction: string
        name: string
        namespace: string
        objectName: string
        timeExpires: string
    

    Preauthrequest Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Preauthrequest resource accepts the following input properties:

    AccessType string
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    Bucket string
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    Namespace string
    The Object Storage namespace used for the request.
    TimeExpires string

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** 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

    BucketListingAction string
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    Name string
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    Object string
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.

    ObjectName string
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    AccessType string
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    Bucket string
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    Namespace string
    The Object Storage namespace used for the request.
    TimeExpires string

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** 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

    BucketListingAction string
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    Name string
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    Object string
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.

    ObjectName string
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    accessType String
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    bucket String
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    namespace String
    The Object Storage namespace used for the request.
    timeExpires String

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** 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

    bucketListingAction String
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    name String
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    object String
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.

    objectName String
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    accessType string
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    bucket string
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    namespace string
    The Object Storage namespace used for the request.
    timeExpires string

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** 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

    bucketListingAction string
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    name string
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    object string
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.

    objectName string
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    access_type str
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    bucket str
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    namespace str
    The Object Storage namespace used for the request.
    time_expires str

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** 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

    bucket_listing_action str
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    name str
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    object str
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.

    object_name str
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    accessType String
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    bucket String
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    namespace String
    The Object Storage namespace used for the request.
    timeExpires String

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** 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

    bucketListingAction String
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    name String
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    object String
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.

    objectName String
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Preauthrequest resource produces the following output properties:

    AccessUri string
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    FullPath string
    The full Path for the object.
    Id string
    The provider-assigned unique ID for this managed resource.
    ParId string
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    TimeCreated string
    The date when the pre-authenticated request was created as per specification RFC 3339.
    AccessUri string
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    FullPath string
    The full Path for the object.
    Id string
    The provider-assigned unique ID for this managed resource.
    ParId string
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    TimeCreated string
    The date when the pre-authenticated request was created as per specification RFC 3339.
    accessUri String
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    fullPath String
    The full Path for the object.
    id String
    The provider-assigned unique ID for this managed resource.
    parId String
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    timeCreated String
    The date when the pre-authenticated request was created as per specification RFC 3339.
    accessUri string
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    fullPath string
    The full Path for the object.
    id string
    The provider-assigned unique ID for this managed resource.
    parId string
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    timeCreated string
    The date when the pre-authenticated request was created as per specification RFC 3339.
    access_uri str
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    full_path str
    The full Path for the object.
    id str
    The provider-assigned unique ID for this managed resource.
    par_id str
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    time_created str
    The date when the pre-authenticated request was created as per specification RFC 3339.
    accessUri String
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    fullPath String
    The full Path for the object.
    id String
    The provider-assigned unique ID for this managed resource.
    parId String
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    timeCreated String
    The date when the pre-authenticated request was created as per specification RFC 3339.

    Look up Existing Preauthrequest Resource

    Get an existing Preauthrequest 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?: PreauthrequestState, opts?: CustomResourceOptions): Preauthrequest
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_type: Optional[str] = None,
            access_uri: Optional[str] = None,
            bucket: Optional[str] = None,
            bucket_listing_action: Optional[str] = None,
            full_path: Optional[str] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            object: Optional[str] = None,
            object_name: Optional[str] = None,
            par_id: Optional[str] = None,
            time_created: Optional[str] = None,
            time_expires: Optional[str] = None) -> Preauthrequest
    func GetPreauthrequest(ctx *Context, name string, id IDInput, state *PreauthrequestState, opts ...ResourceOption) (*Preauthrequest, error)
    public static Preauthrequest Get(string name, Input<string> id, PreauthrequestState? state, CustomResourceOptions? opts = null)
    public static Preauthrequest get(String name, Output<String> id, PreauthrequestState 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.
    The following state arguments are supported:
    AccessType string
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    AccessUri string
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    Bucket string
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    BucketListingAction string
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    FullPath string
    The full Path for the object.
    Name string
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    Namespace string
    The Object Storage namespace used for the request.
    Object string
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.

    ObjectName string
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    ParId string
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    TimeCreated string
    The date when the pre-authenticated request was created as per specification RFC 3339.
    TimeExpires string

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** 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

    AccessType string
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    AccessUri string
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    Bucket string
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    BucketListingAction string
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    FullPath string
    The full Path for the object.
    Name string
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    Namespace string
    The Object Storage namespace used for the request.
    Object string
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.

    ObjectName string
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    ParId string
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    TimeCreated string
    The date when the pre-authenticated request was created as per specification RFC 3339.
    TimeExpires string

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** 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

    accessType String
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    accessUri String
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    bucket String
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    bucketListingAction String
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    fullPath String
    The full Path for the object.
    name String
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    namespace String
    The Object Storage namespace used for the request.
    object String
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.

    objectName String
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    parId String
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    timeCreated String
    The date when the pre-authenticated request was created as per specification RFC 3339.
    timeExpires String

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** 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

    accessType string
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    accessUri string
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    bucket string
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    bucketListingAction string
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    fullPath string
    The full Path for the object.
    name string
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    namespace string
    The Object Storage namespace used for the request.
    object string
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.

    objectName string
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    parId string
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    timeCreated string
    The date when the pre-authenticated request was created as per specification RFC 3339.
    timeExpires string

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** 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

    access_type str
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    access_uri str
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    bucket str
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    bucket_listing_action str
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    full_path str
    The full Path for the object.
    name str
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    namespace str
    The Object Storage namespace used for the request.
    object str
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.

    object_name str
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    par_id str
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    time_created str
    The date when the pre-authenticated request was created as per specification RFC 3339.
    time_expires str

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** 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

    accessType String
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    accessUri String
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    bucket String
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    bucketListingAction String
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    fullPath String
    The full Path for the object.
    name String
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    namespace String
    The Object Storage namespace used for the request.
    object String
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.

    objectName String
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    parId String
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    timeCreated String
    The date when the pre-authenticated request was created as per specification RFC 3339.
    timeExpires String

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** 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

    Import

    PreauthenticatedRequests can be imported using the id, e.g.

    $ pulumi import oci:ObjectStorage/preauthrequest:Preauthrequest test_preauthenticated_request "n/{namespaceName}/b/{bucketName}/p/{parId}"
    

    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.
    oci logo
    Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi