objectstorage

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	pulumi.CustomResourceState

	// (Updatable) The type of public access enabled on this bucket. A bucket is set to `NoPublicAccess` by default, which only allows an authenticated caller to access the bucket and its contents. When `ObjectRead` is enabled on the bucket, public access is allowed for the `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled on the bucket, public access is allowed for the `GetObject` and `HeadObject` operations.
	AccessType pulumi.StringPtrOutput `pulumi:"accessType"`
	// The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.
	ApproximateCount pulumi.StringOutput `pulumi:"approximateCount"`
	// The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.
	ApproximateSize pulumi.StringOutput `pulumi:"approximateSize"`
	// (Updatable) Set the auto tiering status on the bucket. By default, a bucket is created with auto tiering `Disabled`. Use this option to enable auto tiering during bucket creation. Objects in a bucket with auto tiering set to `InfrequentAccess` are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects.
	AutoTiering pulumi.StringOutput `pulumi:"autoTiering"`
	// The OCID of the bucket which is a Oracle assigned unique identifier for this resource type (bucket). `bucketId` cannot be used for bucket lookup.
	BucketId pulumi.StringOutput `pulumi:"bucketId"`
	// (Updatable) The ID of the compartment in which to create the bucket.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the bucket.
	CreatedBy pulumi.StringOutput `pulumi:"createdBy"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// The entity tag (ETag) for the bucket.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// Whether or not this bucket is read only. By default, `isReadOnly` is set to `false`. This will be set to 'true' when this bucket is configured as a destination in a replication policy.
	IsReadOnly pulumi.BoolOutput `pulumi:"isReadOnly"`
	// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
	KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"`
	// (Updatable) Arbitrary string, up to 4KB, of keys and values for user-defined metadata.
	Metadata pulumi.MapOutput `pulumi:"metadata"`
	// The name of the bucket. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. example: Example: my-new-bucket1
	Name pulumi.StringOutput `pulumi:"name"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// (Updatable) Whether or not events are emitted for object state changes in this bucket. By default, `objectEventsEnabled` is set to `false`. Set `objectEventsEnabled` to `true` to emit events for object state changes. For more information about events, see [Overview of Events](https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/eventsoverview.htm).
	ObjectEventsEnabled pulumi.BoolOutput `pulumi:"objectEventsEnabled"`
	// The entity tag (ETag) for the live object lifecycle policy on the bucket.
	ObjectLifecyclePolicyEtag pulumi.StringOutput `pulumi:"objectLifecyclePolicyEtag"`
	// Whether or not this bucket is a replication source. By default, `replicationEnabled` is set to `false`. This will be set to 'true' when you create a replication policy for the bucket.
	ReplicationEnabled pulumi.BoolOutput `pulumi:"replicationEnabled"`
	// (Updatable) Creates a new retention rule in the specified bucket. The new rule will take effect typically within 30 seconds. Note that a maximum of 100 rules are supported on a bucket.
	RetentionRules BucketRetentionRuleArrayOutput `pulumi:"retentionRules"`
	// The type of storage tier of this bucket. A bucket is set to 'Standard' tier by default, which means the bucket will be put in the standard storage tier. When 'Archive' tier type is set explicitly, the bucket is put in the Archive Storage tier. The 'storageTier' property is immutable after bucket is created.
	StorageTier pulumi.StringOutput `pulumi:"storageTier"`
	// The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// (Updatable) Set the versioning status on the bucket. By default, a bucket is created with versioning `Disabled`. Use this option to enable versioning during bucket creation. Objects in a version enabled bucket are protected from overwrites and deletions. Previous versions of the same object will be available in the bucket. Allowed Create values: Enabled, Disabled. Allowed Update values: Enabled, Suspended.
	//
	// ** 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
	Versioning pulumi.StringOutput `pulumi:"versioning"`
}

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

Creates a bucket in the given namespace with a bucket name and optional user-defined metadata. Avoid entering confidential information in bucket names.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.NewBucket(ctx, "test_bucket", &ObjectStorage.BucketArgs{
			CompartmentId: pulumi.Any(compartmentId),
			Name:          pulumi.Any(bucketName),
			Namespace:     pulumi.Any(bucketNamespace),
			AccessType:    pulumi.Any(bucketAccessType),
			AutoTiering:   pulumi.Any(bucketAutoTiering),
			DefinedTags: pulumi.Map{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			FreeformTags: pulumi.Map{
				"Department": pulumi.Any("Finance"),
			},
			KmsKeyId:            pulumi.Any(testKey.Id),
			Metadata:            pulumi.Any(bucketMetadata),
			ObjectEventsEnabled: pulumi.Any(bucketObjectEventsEnabled),
			StorageTier:         pulumi.Any(bucketStorageTier),
			RetentionRules: objectstorage.BucketRetentionRuleArray{
				&objectstorage.BucketRetentionRuleArgs{
					DisplayName: pulumi.Any(retentionRuleDisplayName),
					Duration: &objectstorage.BucketRetentionRuleDurationArgs{
						TimeAmount: pulumi.Any(retentionRuleDurationTimeAmount),
						TimeUnit:   pulumi.Any(retentionRuleDurationTimeUnit),
					},
					TimeRuleLocked: pulumi.Any(retentionRuleTimeRuleLocked),
				},
			},
			Versioning: pulumi.Any(bucketVersioning),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Buckets can be imported using the `id`, e.g.

```sh $ pulumi import oci:ObjectStorage/bucket:Bucket test_bucket "n/{namespaceName}/b/{bucketName}" ```

func GetBucket

func GetBucket(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BucketState, opts ...pulumi.ResourceOption) (*Bucket, error)

GetBucket gets an existing Bucket resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBucket

func NewBucket(ctx *pulumi.Context,
	name string, args *BucketArgs, opts ...pulumi.ResourceOption) (*Bucket, error)

NewBucket registers a new resource with the given unique name, arguments, and options.

func (*Bucket) ElementType

func (*Bucket) ElementType() reflect.Type

func (*Bucket) ToBucketOutput

func (i *Bucket) ToBucketOutput() BucketOutput

func (*Bucket) ToBucketOutputWithContext

func (i *Bucket) ToBucketOutputWithContext(ctx context.Context) BucketOutput

type BucketArgs

type BucketArgs struct {
	// (Updatable) The type of public access enabled on this bucket. A bucket is set to `NoPublicAccess` by default, which only allows an authenticated caller to access the bucket and its contents. When `ObjectRead` is enabled on the bucket, public access is allowed for the `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled on the bucket, public access is allowed for the `GetObject` and `HeadObject` operations.
	AccessType pulumi.StringPtrInput
	// (Updatable) Set the auto tiering status on the bucket. By default, a bucket is created with auto tiering `Disabled`. Use this option to enable auto tiering during bucket creation. Objects in a bucket with auto tiering set to `InfrequentAccess` are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects.
	AutoTiering pulumi.StringPtrInput
	// (Updatable) The ID of the compartment in which to create the bucket.
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
	KmsKeyId pulumi.StringPtrInput
	// (Updatable) Arbitrary string, up to 4KB, of keys and values for user-defined metadata.
	Metadata pulumi.MapInput
	// The name of the bucket. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. example: Example: my-new-bucket1
	Name pulumi.StringPtrInput
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput
	// (Updatable) Whether or not events are emitted for object state changes in this bucket. By default, `objectEventsEnabled` is set to `false`. Set `objectEventsEnabled` to `true` to emit events for object state changes. For more information about events, see [Overview of Events](https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/eventsoverview.htm).
	ObjectEventsEnabled pulumi.BoolPtrInput
	// (Updatable) Creates a new retention rule in the specified bucket. The new rule will take effect typically within 30 seconds. Note that a maximum of 100 rules are supported on a bucket.
	RetentionRules BucketRetentionRuleArrayInput
	// The type of storage tier of this bucket. A bucket is set to 'Standard' tier by default, which means the bucket will be put in the standard storage tier. When 'Archive' tier type is set explicitly, the bucket is put in the Archive Storage tier. The 'storageTier' property is immutable after bucket is created.
	StorageTier pulumi.StringPtrInput
	// (Updatable) Set the versioning status on the bucket. By default, a bucket is created with versioning `Disabled`. Use this option to enable versioning during bucket creation. Objects in a version enabled bucket are protected from overwrites and deletions. Previous versions of the same object will be available in the bucket. Allowed Create values: Enabled, Disabled. Allowed Update values: Enabled, Suspended.
	//
	// ** 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
	Versioning pulumi.StringPtrInput
}

The set of arguments for constructing a Bucket resource.

func (BucketArgs) ElementType

func (BucketArgs) ElementType() reflect.Type

type BucketArray

type BucketArray []BucketInput

func (BucketArray) ElementType

func (BucketArray) ElementType() reflect.Type

func (BucketArray) ToBucketArrayOutput

func (i BucketArray) ToBucketArrayOutput() BucketArrayOutput

func (BucketArray) ToBucketArrayOutputWithContext

func (i BucketArray) ToBucketArrayOutputWithContext(ctx context.Context) BucketArrayOutput

type BucketArrayInput

type BucketArrayInput interface {
	pulumi.Input

	ToBucketArrayOutput() BucketArrayOutput
	ToBucketArrayOutputWithContext(context.Context) BucketArrayOutput
}

BucketArrayInput is an input type that accepts BucketArray and BucketArrayOutput values. You can construct a concrete instance of `BucketArrayInput` via:

BucketArray{ BucketArgs{...} }

type BucketArrayOutput

type BucketArrayOutput struct{ *pulumi.OutputState }

func (BucketArrayOutput) ElementType

func (BucketArrayOutput) ElementType() reflect.Type

func (BucketArrayOutput) Index

func (BucketArrayOutput) ToBucketArrayOutput

func (o BucketArrayOutput) ToBucketArrayOutput() BucketArrayOutput

func (BucketArrayOutput) ToBucketArrayOutputWithContext

func (o BucketArrayOutput) ToBucketArrayOutputWithContext(ctx context.Context) BucketArrayOutput

type BucketInput

type BucketInput interface {
	pulumi.Input

	ToBucketOutput() BucketOutput
	ToBucketOutputWithContext(ctx context.Context) BucketOutput
}

type BucketMap

type BucketMap map[string]BucketInput

func (BucketMap) ElementType

func (BucketMap) ElementType() reflect.Type

func (BucketMap) ToBucketMapOutput

func (i BucketMap) ToBucketMapOutput() BucketMapOutput

func (BucketMap) ToBucketMapOutputWithContext

func (i BucketMap) ToBucketMapOutputWithContext(ctx context.Context) BucketMapOutput

type BucketMapInput

type BucketMapInput interface {
	pulumi.Input

	ToBucketMapOutput() BucketMapOutput
	ToBucketMapOutputWithContext(context.Context) BucketMapOutput
}

BucketMapInput is an input type that accepts BucketMap and BucketMapOutput values. You can construct a concrete instance of `BucketMapInput` via:

BucketMap{ "key": BucketArgs{...} }

type BucketMapOutput

type BucketMapOutput struct{ *pulumi.OutputState }

func (BucketMapOutput) ElementType

func (BucketMapOutput) ElementType() reflect.Type

func (BucketMapOutput) MapIndex

func (BucketMapOutput) ToBucketMapOutput

func (o BucketMapOutput) ToBucketMapOutput() BucketMapOutput

func (BucketMapOutput) ToBucketMapOutputWithContext

func (o BucketMapOutput) ToBucketMapOutputWithContext(ctx context.Context) BucketMapOutput

type BucketOutput

type BucketOutput struct{ *pulumi.OutputState }

func (BucketOutput) AccessType added in v0.4.0

func (o BucketOutput) AccessType() pulumi.StringPtrOutput

(Updatable) The type of public access enabled on this bucket. A bucket is set to `NoPublicAccess` by default, which only allows an authenticated caller to access the bucket and its contents. When `ObjectRead` is enabled on the bucket, public access is allowed for the `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled on the bucket, public access is allowed for the `GetObject` and `HeadObject` operations.

func (BucketOutput) ApproximateCount added in v0.4.0

func (o BucketOutput) ApproximateCount() pulumi.StringOutput

The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.

func (BucketOutput) ApproximateSize added in v0.4.0

func (o BucketOutput) ApproximateSize() pulumi.StringOutput

The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.

func (BucketOutput) AutoTiering added in v0.4.0

func (o BucketOutput) AutoTiering() pulumi.StringOutput

(Updatable) Set the auto tiering status on the bucket. By default, a bucket is created with auto tiering `Disabled`. Use this option to enable auto tiering during bucket creation. Objects in a bucket with auto tiering set to `InfrequentAccess` are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects.

func (BucketOutput) BucketId added in v0.4.0

func (o BucketOutput) BucketId() pulumi.StringOutput

The OCID of the bucket which is a Oracle assigned unique identifier for this resource type (bucket). `bucketId` cannot be used for bucket lookup.

func (BucketOutput) CompartmentId added in v0.4.0

func (o BucketOutput) CompartmentId() pulumi.StringOutput

(Updatable) The ID of the compartment in which to create the bucket.

func (BucketOutput) CreatedBy added in v0.4.0

func (o BucketOutput) CreatedBy() pulumi.StringOutput

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the bucket.

func (BucketOutput) DefinedTags added in v0.4.0

func (o BucketOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (BucketOutput) ElementType

func (BucketOutput) ElementType() reflect.Type

func (BucketOutput) Etag added in v0.4.0

func (o BucketOutput) Etag() pulumi.StringOutput

The entity tag (ETag) for the bucket.

func (BucketOutput) FreeformTags added in v0.4.0

func (o BucketOutput) FreeformTags() pulumi.MapOutput

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (BucketOutput) IsReadOnly added in v0.4.0

func (o BucketOutput) IsReadOnly() pulumi.BoolOutput

Whether or not this bucket is read only. By default, `isReadOnly` is set to `false`. This will be set to 'true' when this bucket is configured as a destination in a replication policy.

func (BucketOutput) KmsKeyId added in v0.4.0

func (o BucketOutput) KmsKeyId() pulumi.StringOutput

(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.

func (BucketOutput) Metadata added in v0.4.0

func (o BucketOutput) Metadata() pulumi.MapOutput

(Updatable) Arbitrary string, up to 4KB, of keys and values for user-defined metadata.

func (BucketOutput) Name added in v0.4.0

func (o BucketOutput) Name() pulumi.StringOutput

The name of the bucket. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. example: Example: my-new-bucket1

func (BucketOutput) Namespace added in v0.4.0

func (o BucketOutput) Namespace() pulumi.StringOutput

The Object Storage namespace used for the request.

func (BucketOutput) ObjectEventsEnabled added in v0.4.0

func (o BucketOutput) ObjectEventsEnabled() pulumi.BoolOutput

(Updatable) Whether or not events are emitted for object state changes in this bucket. By default, `objectEventsEnabled` is set to `false`. Set `objectEventsEnabled` to `true` to emit events for object state changes. For more information about events, see [Overview of Events](https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/eventsoverview.htm).

func (BucketOutput) ObjectLifecyclePolicyEtag added in v0.4.0

func (o BucketOutput) ObjectLifecyclePolicyEtag() pulumi.StringOutput

The entity tag (ETag) for the live object lifecycle policy on the bucket.

func (BucketOutput) ReplicationEnabled added in v0.4.0

func (o BucketOutput) ReplicationEnabled() pulumi.BoolOutput

Whether or not this bucket is a replication source. By default, `replicationEnabled` is set to `false`. This will be set to 'true' when you create a replication policy for the bucket.

func (BucketOutput) RetentionRules added in v0.4.0

func (o BucketOutput) RetentionRules() BucketRetentionRuleArrayOutput

(Updatable) Creates a new retention rule in the specified bucket. The new rule will take effect typically within 30 seconds. Note that a maximum of 100 rules are supported on a bucket.

func (BucketOutput) StorageTier added in v0.4.0

func (o BucketOutput) StorageTier() pulumi.StringOutput

The type of storage tier of this bucket. A bucket is set to 'Standard' tier by default, which means the bucket will be put in the standard storage tier. When 'Archive' tier type is set explicitly, the bucket is put in the Archive Storage tier. The 'storageTier' property is immutable after bucket is created.

func (BucketOutput) TimeCreated added in v0.4.0

func (o BucketOutput) TimeCreated() pulumi.StringOutput

The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).

func (BucketOutput) ToBucketOutput

func (o BucketOutput) ToBucketOutput() BucketOutput

func (BucketOutput) ToBucketOutputWithContext

func (o BucketOutput) ToBucketOutputWithContext(ctx context.Context) BucketOutput

func (BucketOutput) Versioning added in v0.4.0

func (o BucketOutput) Versioning() pulumi.StringOutput

(Updatable) Set the versioning status on the bucket. By default, a bucket is created with versioning `Disabled`. Use this option to enable versioning during bucket creation. Objects in a version enabled bucket are protected from overwrites and deletions. Previous versions of the same object will be available in the bucket. Allowed Create values: Enabled, Disabled. Allowed Update values: Enabled, Suspended.

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

type BucketRetentionRule

type BucketRetentionRule struct {
	// A user-specified name for the retention rule. Names can be helpful in identifying retention rules. The name should be unique. This attribute is a forcenew attribute
	DisplayName string `pulumi:"displayName"`
	// (Updatable)
	Duration *BucketRetentionRuleDuration `pulumi:"duration"`
	// Unique identifier for the retention rule.
	RetentionRuleId *string `pulumi:"retentionRuleId"`
	// The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated *string `pulumi:"timeCreated"`
	// The date and time that the retention rule was modified as per [RFC3339](https://tools.ietf.org/html/rfc3339).
	TimeModified *string `pulumi:"timeModified"`
	// (Updatable) The date and time as per [RFC 3339](https://tools.ietf.org/html/rfc3339) after which this rule is locked and can only be deleted by deleting the bucket. Once a rule is locked, only increases in the duration are allowed and no other properties can be changed. This property cannot be updated for rules that are in a locked state. Specifying it when a duration is not specified is considered an error.
	TimeRuleLocked *string `pulumi:"timeRuleLocked"`
}

type BucketRetentionRuleArgs

type BucketRetentionRuleArgs struct {
	// A user-specified name for the retention rule. Names can be helpful in identifying retention rules. The name should be unique. This attribute is a forcenew attribute
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// (Updatable)
	Duration BucketRetentionRuleDurationPtrInput `pulumi:"duration"`
	// Unique identifier for the retention rule.
	RetentionRuleId pulumi.StringPtrInput `pulumi:"retentionRuleId"`
	// The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated pulumi.StringPtrInput `pulumi:"timeCreated"`
	// The date and time that the retention rule was modified as per [RFC3339](https://tools.ietf.org/html/rfc3339).
	TimeModified pulumi.StringPtrInput `pulumi:"timeModified"`
	// (Updatable) The date and time as per [RFC 3339](https://tools.ietf.org/html/rfc3339) after which this rule is locked and can only be deleted by deleting the bucket. Once a rule is locked, only increases in the duration are allowed and no other properties can be changed. This property cannot be updated for rules that are in a locked state. Specifying it when a duration is not specified is considered an error.
	TimeRuleLocked pulumi.StringPtrInput `pulumi:"timeRuleLocked"`
}

func (BucketRetentionRuleArgs) ElementType

func (BucketRetentionRuleArgs) ElementType() reflect.Type

func (BucketRetentionRuleArgs) ToBucketRetentionRuleOutput

func (i BucketRetentionRuleArgs) ToBucketRetentionRuleOutput() BucketRetentionRuleOutput

func (BucketRetentionRuleArgs) ToBucketRetentionRuleOutputWithContext

func (i BucketRetentionRuleArgs) ToBucketRetentionRuleOutputWithContext(ctx context.Context) BucketRetentionRuleOutput

type BucketRetentionRuleArray

type BucketRetentionRuleArray []BucketRetentionRuleInput

func (BucketRetentionRuleArray) ElementType

func (BucketRetentionRuleArray) ElementType() reflect.Type

func (BucketRetentionRuleArray) ToBucketRetentionRuleArrayOutput

func (i BucketRetentionRuleArray) ToBucketRetentionRuleArrayOutput() BucketRetentionRuleArrayOutput

func (BucketRetentionRuleArray) ToBucketRetentionRuleArrayOutputWithContext

func (i BucketRetentionRuleArray) ToBucketRetentionRuleArrayOutputWithContext(ctx context.Context) BucketRetentionRuleArrayOutput

type BucketRetentionRuleArrayInput

type BucketRetentionRuleArrayInput interface {
	pulumi.Input

	ToBucketRetentionRuleArrayOutput() BucketRetentionRuleArrayOutput
	ToBucketRetentionRuleArrayOutputWithContext(context.Context) BucketRetentionRuleArrayOutput
}

BucketRetentionRuleArrayInput is an input type that accepts BucketRetentionRuleArray and BucketRetentionRuleArrayOutput values. You can construct a concrete instance of `BucketRetentionRuleArrayInput` via:

BucketRetentionRuleArray{ BucketRetentionRuleArgs{...} }

type BucketRetentionRuleArrayOutput

type BucketRetentionRuleArrayOutput struct{ *pulumi.OutputState }

func (BucketRetentionRuleArrayOutput) ElementType

func (BucketRetentionRuleArrayOutput) Index

func (BucketRetentionRuleArrayOutput) ToBucketRetentionRuleArrayOutput

func (o BucketRetentionRuleArrayOutput) ToBucketRetentionRuleArrayOutput() BucketRetentionRuleArrayOutput

func (BucketRetentionRuleArrayOutput) ToBucketRetentionRuleArrayOutputWithContext

func (o BucketRetentionRuleArrayOutput) ToBucketRetentionRuleArrayOutputWithContext(ctx context.Context) BucketRetentionRuleArrayOutput

type BucketRetentionRuleDuration

type BucketRetentionRuleDuration struct {
	// The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.
	TimeAmount string `pulumi:"timeAmount"`
	// The unit that should be used to interpret timeAmount.
	TimeUnit string `pulumi:"timeUnit"`
}

type BucketRetentionRuleDurationArgs

type BucketRetentionRuleDurationArgs struct {
	// The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.
	TimeAmount pulumi.StringInput `pulumi:"timeAmount"`
	// The unit that should be used to interpret timeAmount.
	TimeUnit pulumi.StringInput `pulumi:"timeUnit"`
}

func (BucketRetentionRuleDurationArgs) ElementType

func (BucketRetentionRuleDurationArgs) ToBucketRetentionRuleDurationOutput

func (i BucketRetentionRuleDurationArgs) ToBucketRetentionRuleDurationOutput() BucketRetentionRuleDurationOutput

func (BucketRetentionRuleDurationArgs) ToBucketRetentionRuleDurationOutputWithContext

func (i BucketRetentionRuleDurationArgs) ToBucketRetentionRuleDurationOutputWithContext(ctx context.Context) BucketRetentionRuleDurationOutput

func (BucketRetentionRuleDurationArgs) ToBucketRetentionRuleDurationPtrOutput

func (i BucketRetentionRuleDurationArgs) ToBucketRetentionRuleDurationPtrOutput() BucketRetentionRuleDurationPtrOutput

func (BucketRetentionRuleDurationArgs) ToBucketRetentionRuleDurationPtrOutputWithContext

func (i BucketRetentionRuleDurationArgs) ToBucketRetentionRuleDurationPtrOutputWithContext(ctx context.Context) BucketRetentionRuleDurationPtrOutput

type BucketRetentionRuleDurationInput

type BucketRetentionRuleDurationInput interface {
	pulumi.Input

	ToBucketRetentionRuleDurationOutput() BucketRetentionRuleDurationOutput
	ToBucketRetentionRuleDurationOutputWithContext(context.Context) BucketRetentionRuleDurationOutput
}

BucketRetentionRuleDurationInput is an input type that accepts BucketRetentionRuleDurationArgs and BucketRetentionRuleDurationOutput values. You can construct a concrete instance of `BucketRetentionRuleDurationInput` via:

BucketRetentionRuleDurationArgs{...}

type BucketRetentionRuleDurationOutput

type BucketRetentionRuleDurationOutput struct{ *pulumi.OutputState }

func (BucketRetentionRuleDurationOutput) ElementType

func (BucketRetentionRuleDurationOutput) TimeAmount

The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.

func (BucketRetentionRuleDurationOutput) TimeUnit

The unit that should be used to interpret timeAmount.

func (BucketRetentionRuleDurationOutput) ToBucketRetentionRuleDurationOutput

func (o BucketRetentionRuleDurationOutput) ToBucketRetentionRuleDurationOutput() BucketRetentionRuleDurationOutput

func (BucketRetentionRuleDurationOutput) ToBucketRetentionRuleDurationOutputWithContext

func (o BucketRetentionRuleDurationOutput) ToBucketRetentionRuleDurationOutputWithContext(ctx context.Context) BucketRetentionRuleDurationOutput

func (BucketRetentionRuleDurationOutput) ToBucketRetentionRuleDurationPtrOutput

func (o BucketRetentionRuleDurationOutput) ToBucketRetentionRuleDurationPtrOutput() BucketRetentionRuleDurationPtrOutput

func (BucketRetentionRuleDurationOutput) ToBucketRetentionRuleDurationPtrOutputWithContext

func (o BucketRetentionRuleDurationOutput) ToBucketRetentionRuleDurationPtrOutputWithContext(ctx context.Context) BucketRetentionRuleDurationPtrOutput

type BucketRetentionRuleDurationPtrInput

type BucketRetentionRuleDurationPtrInput interface {
	pulumi.Input

	ToBucketRetentionRuleDurationPtrOutput() BucketRetentionRuleDurationPtrOutput
	ToBucketRetentionRuleDurationPtrOutputWithContext(context.Context) BucketRetentionRuleDurationPtrOutput
}

BucketRetentionRuleDurationPtrInput is an input type that accepts BucketRetentionRuleDurationArgs, BucketRetentionRuleDurationPtr and BucketRetentionRuleDurationPtrOutput values. You can construct a concrete instance of `BucketRetentionRuleDurationPtrInput` via:

        BucketRetentionRuleDurationArgs{...}

or:

        nil

type BucketRetentionRuleDurationPtrOutput

type BucketRetentionRuleDurationPtrOutput struct{ *pulumi.OutputState }

func (BucketRetentionRuleDurationPtrOutput) Elem

func (BucketRetentionRuleDurationPtrOutput) ElementType

func (BucketRetentionRuleDurationPtrOutput) TimeAmount

The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.

func (BucketRetentionRuleDurationPtrOutput) TimeUnit

The unit that should be used to interpret timeAmount.

func (BucketRetentionRuleDurationPtrOutput) ToBucketRetentionRuleDurationPtrOutput

func (o BucketRetentionRuleDurationPtrOutput) ToBucketRetentionRuleDurationPtrOutput() BucketRetentionRuleDurationPtrOutput

func (BucketRetentionRuleDurationPtrOutput) ToBucketRetentionRuleDurationPtrOutputWithContext

func (o BucketRetentionRuleDurationPtrOutput) ToBucketRetentionRuleDurationPtrOutputWithContext(ctx context.Context) BucketRetentionRuleDurationPtrOutput

type BucketRetentionRuleInput

type BucketRetentionRuleInput interface {
	pulumi.Input

	ToBucketRetentionRuleOutput() BucketRetentionRuleOutput
	ToBucketRetentionRuleOutputWithContext(context.Context) BucketRetentionRuleOutput
}

BucketRetentionRuleInput is an input type that accepts BucketRetentionRuleArgs and BucketRetentionRuleOutput values. You can construct a concrete instance of `BucketRetentionRuleInput` via:

BucketRetentionRuleArgs{...}

type BucketRetentionRuleOutput

type BucketRetentionRuleOutput struct{ *pulumi.OutputState }

func (BucketRetentionRuleOutput) DisplayName

A user-specified name for the retention rule. Names can be helpful in identifying retention rules. The name should be unique. This attribute is a forcenew attribute

func (BucketRetentionRuleOutput) Duration

(Updatable)

func (BucketRetentionRuleOutput) ElementType

func (BucketRetentionRuleOutput) ElementType() reflect.Type

func (BucketRetentionRuleOutput) RetentionRuleId

func (o BucketRetentionRuleOutput) RetentionRuleId() pulumi.StringPtrOutput

Unique identifier for the retention rule.

func (BucketRetentionRuleOutput) TimeCreated

The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).

func (BucketRetentionRuleOutput) TimeModified

The date and time that the retention rule was modified as per [RFC3339](https://tools.ietf.org/html/rfc3339).

func (BucketRetentionRuleOutput) TimeRuleLocked

(Updatable) The date and time as per [RFC 3339](https://tools.ietf.org/html/rfc3339) after which this rule is locked and can only be deleted by deleting the bucket. Once a rule is locked, only increases in the duration are allowed and no other properties can be changed. This property cannot be updated for rules that are in a locked state. Specifying it when a duration is not specified is considered an error.

func (BucketRetentionRuleOutput) ToBucketRetentionRuleOutput

func (o BucketRetentionRuleOutput) ToBucketRetentionRuleOutput() BucketRetentionRuleOutput

func (BucketRetentionRuleOutput) ToBucketRetentionRuleOutputWithContext

func (o BucketRetentionRuleOutput) ToBucketRetentionRuleOutputWithContext(ctx context.Context) BucketRetentionRuleOutput

type BucketState

type BucketState struct {
	// (Updatable) The type of public access enabled on this bucket. A bucket is set to `NoPublicAccess` by default, which only allows an authenticated caller to access the bucket and its contents. When `ObjectRead` is enabled on the bucket, public access is allowed for the `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled on the bucket, public access is allowed for the `GetObject` and `HeadObject` operations.
	AccessType pulumi.StringPtrInput
	// The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.
	ApproximateCount pulumi.StringPtrInput
	// The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.
	ApproximateSize pulumi.StringPtrInput
	// (Updatable) Set the auto tiering status on the bucket. By default, a bucket is created with auto tiering `Disabled`. Use this option to enable auto tiering during bucket creation. Objects in a bucket with auto tiering set to `InfrequentAccess` are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects.
	AutoTiering pulumi.StringPtrInput
	// The OCID of the bucket which is a Oracle assigned unique identifier for this resource type (bucket). `bucketId` cannot be used for bucket lookup.
	BucketId pulumi.StringPtrInput
	// (Updatable) The ID of the compartment in which to create the bucket.
	CompartmentId pulumi.StringPtrInput
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the bucket.
	CreatedBy pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput
	// The entity tag (ETag) for the bucket.
	Etag pulumi.StringPtrInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// Whether or not this bucket is read only. By default, `isReadOnly` is set to `false`. This will be set to 'true' when this bucket is configured as a destination in a replication policy.
	IsReadOnly pulumi.BoolPtrInput
	// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
	KmsKeyId pulumi.StringPtrInput
	// (Updatable) Arbitrary string, up to 4KB, of keys and values for user-defined metadata.
	Metadata pulumi.MapInput
	// The name of the bucket. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information. example: Example: my-new-bucket1
	Name pulumi.StringPtrInput
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringPtrInput
	// (Updatable) Whether or not events are emitted for object state changes in this bucket. By default, `objectEventsEnabled` is set to `false`. Set `objectEventsEnabled` to `true` to emit events for object state changes. For more information about events, see [Overview of Events](https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/eventsoverview.htm).
	ObjectEventsEnabled pulumi.BoolPtrInput
	// The entity tag (ETag) for the live object lifecycle policy on the bucket.
	ObjectLifecyclePolicyEtag pulumi.StringPtrInput
	// Whether or not this bucket is a replication source. By default, `replicationEnabled` is set to `false`. This will be set to 'true' when you create a replication policy for the bucket.
	ReplicationEnabled pulumi.BoolPtrInput
	// (Updatable) Creates a new retention rule in the specified bucket. The new rule will take effect typically within 30 seconds. Note that a maximum of 100 rules are supported on a bucket.
	RetentionRules BucketRetentionRuleArrayInput
	// The type of storage tier of this bucket. A bucket is set to 'Standard' tier by default, which means the bucket will be put in the standard storage tier. When 'Archive' tier type is set explicitly, the bucket is put in the Archive Storage tier. The 'storageTier' property is immutable after bucket is created.
	StorageTier pulumi.StringPtrInput
	// The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated pulumi.StringPtrInput
	// (Updatable) Set the versioning status on the bucket. By default, a bucket is created with versioning `Disabled`. Use this option to enable versioning during bucket creation. Objects in a version enabled bucket are protected from overwrites and deletions. Previous versions of the same object will be available in the bucket. Allowed Create values: Enabled, Disabled. Allowed Update values: Enabled, Suspended.
	//
	// ** 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
	Versioning pulumi.StringPtrInput
}

func (BucketState) ElementType

func (BucketState) ElementType() reflect.Type

type GetBucketRetentionRule

type GetBucketRetentionRule struct {
	// User specified name for the retention rule.
	DisplayName string                           `pulumi:"displayName"`
	Durations   []GetBucketRetentionRuleDuration `pulumi:"durations"`
	// Unique identifier for the retention rule.
	RetentionRuleId string `pulumi:"retentionRuleId"`
	// The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time that the retention rule was modified as per [RFC3339](https://tools.ietf.org/html/rfc3339).
	TimeModified string `pulumi:"timeModified"`
	// The date and time as per [RFC 3339](https://tools.ietf.org/html/rfc3339) after which this rule becomes locked. and can only be deleted by deleting the bucket.
	TimeRuleLocked string `pulumi:"timeRuleLocked"`
}

type GetBucketRetentionRuleArgs

type GetBucketRetentionRuleArgs struct {
	// User specified name for the retention rule.
	DisplayName pulumi.StringInput                       `pulumi:"displayName"`
	Durations   GetBucketRetentionRuleDurationArrayInput `pulumi:"durations"`
	// Unique identifier for the retention rule.
	RetentionRuleId pulumi.StringInput `pulumi:"retentionRuleId"`
	// The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time that the retention rule was modified as per [RFC3339](https://tools.ietf.org/html/rfc3339).
	TimeModified pulumi.StringInput `pulumi:"timeModified"`
	// The date and time as per [RFC 3339](https://tools.ietf.org/html/rfc3339) after which this rule becomes locked. and can only be deleted by deleting the bucket.
	TimeRuleLocked pulumi.StringInput `pulumi:"timeRuleLocked"`
}

func (GetBucketRetentionRuleArgs) ElementType

func (GetBucketRetentionRuleArgs) ElementType() reflect.Type

func (GetBucketRetentionRuleArgs) ToGetBucketRetentionRuleOutput

func (i GetBucketRetentionRuleArgs) ToGetBucketRetentionRuleOutput() GetBucketRetentionRuleOutput

func (GetBucketRetentionRuleArgs) ToGetBucketRetentionRuleOutputWithContext

func (i GetBucketRetentionRuleArgs) ToGetBucketRetentionRuleOutputWithContext(ctx context.Context) GetBucketRetentionRuleOutput

type GetBucketRetentionRuleArray

type GetBucketRetentionRuleArray []GetBucketRetentionRuleInput

func (GetBucketRetentionRuleArray) ElementType

func (GetBucketRetentionRuleArray) ToGetBucketRetentionRuleArrayOutput

func (i GetBucketRetentionRuleArray) ToGetBucketRetentionRuleArrayOutput() GetBucketRetentionRuleArrayOutput

func (GetBucketRetentionRuleArray) ToGetBucketRetentionRuleArrayOutputWithContext

func (i GetBucketRetentionRuleArray) ToGetBucketRetentionRuleArrayOutputWithContext(ctx context.Context) GetBucketRetentionRuleArrayOutput

type GetBucketRetentionRuleArrayInput

type GetBucketRetentionRuleArrayInput interface {
	pulumi.Input

	ToGetBucketRetentionRuleArrayOutput() GetBucketRetentionRuleArrayOutput
	ToGetBucketRetentionRuleArrayOutputWithContext(context.Context) GetBucketRetentionRuleArrayOutput
}

GetBucketRetentionRuleArrayInput is an input type that accepts GetBucketRetentionRuleArray and GetBucketRetentionRuleArrayOutput values. You can construct a concrete instance of `GetBucketRetentionRuleArrayInput` via:

GetBucketRetentionRuleArray{ GetBucketRetentionRuleArgs{...} }

type GetBucketRetentionRuleArrayOutput

type GetBucketRetentionRuleArrayOutput struct{ *pulumi.OutputState }

func (GetBucketRetentionRuleArrayOutput) ElementType

func (GetBucketRetentionRuleArrayOutput) Index

func (GetBucketRetentionRuleArrayOutput) ToGetBucketRetentionRuleArrayOutput

func (o GetBucketRetentionRuleArrayOutput) ToGetBucketRetentionRuleArrayOutput() GetBucketRetentionRuleArrayOutput

func (GetBucketRetentionRuleArrayOutput) ToGetBucketRetentionRuleArrayOutputWithContext

func (o GetBucketRetentionRuleArrayOutput) ToGetBucketRetentionRuleArrayOutputWithContext(ctx context.Context) GetBucketRetentionRuleArrayOutput

type GetBucketRetentionRuleDuration

type GetBucketRetentionRuleDuration struct {
	// The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.
	TimeAmount string `pulumi:"timeAmount"`
	// The unit that should be used to interpret timeAmount.
	TimeUnit string `pulumi:"timeUnit"`
}

type GetBucketRetentionRuleDurationArgs

type GetBucketRetentionRuleDurationArgs struct {
	// The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.
	TimeAmount pulumi.StringInput `pulumi:"timeAmount"`
	// The unit that should be used to interpret timeAmount.
	TimeUnit pulumi.StringInput `pulumi:"timeUnit"`
}

func (GetBucketRetentionRuleDurationArgs) ElementType

func (GetBucketRetentionRuleDurationArgs) ToGetBucketRetentionRuleDurationOutput

func (i GetBucketRetentionRuleDurationArgs) ToGetBucketRetentionRuleDurationOutput() GetBucketRetentionRuleDurationOutput

func (GetBucketRetentionRuleDurationArgs) ToGetBucketRetentionRuleDurationOutputWithContext

func (i GetBucketRetentionRuleDurationArgs) ToGetBucketRetentionRuleDurationOutputWithContext(ctx context.Context) GetBucketRetentionRuleDurationOutput

type GetBucketRetentionRuleDurationArray

type GetBucketRetentionRuleDurationArray []GetBucketRetentionRuleDurationInput

func (GetBucketRetentionRuleDurationArray) ElementType

func (GetBucketRetentionRuleDurationArray) ToGetBucketRetentionRuleDurationArrayOutput

func (i GetBucketRetentionRuleDurationArray) ToGetBucketRetentionRuleDurationArrayOutput() GetBucketRetentionRuleDurationArrayOutput

func (GetBucketRetentionRuleDurationArray) ToGetBucketRetentionRuleDurationArrayOutputWithContext

func (i GetBucketRetentionRuleDurationArray) ToGetBucketRetentionRuleDurationArrayOutputWithContext(ctx context.Context) GetBucketRetentionRuleDurationArrayOutput

type GetBucketRetentionRuleDurationArrayInput

type GetBucketRetentionRuleDurationArrayInput interface {
	pulumi.Input

	ToGetBucketRetentionRuleDurationArrayOutput() GetBucketRetentionRuleDurationArrayOutput
	ToGetBucketRetentionRuleDurationArrayOutputWithContext(context.Context) GetBucketRetentionRuleDurationArrayOutput
}

GetBucketRetentionRuleDurationArrayInput is an input type that accepts GetBucketRetentionRuleDurationArray and GetBucketRetentionRuleDurationArrayOutput values. You can construct a concrete instance of `GetBucketRetentionRuleDurationArrayInput` via:

GetBucketRetentionRuleDurationArray{ GetBucketRetentionRuleDurationArgs{...} }

type GetBucketRetentionRuleDurationArrayOutput

type GetBucketRetentionRuleDurationArrayOutput struct{ *pulumi.OutputState }

func (GetBucketRetentionRuleDurationArrayOutput) ElementType

func (GetBucketRetentionRuleDurationArrayOutput) Index

func (GetBucketRetentionRuleDurationArrayOutput) ToGetBucketRetentionRuleDurationArrayOutput

func (o GetBucketRetentionRuleDurationArrayOutput) ToGetBucketRetentionRuleDurationArrayOutput() GetBucketRetentionRuleDurationArrayOutput

func (GetBucketRetentionRuleDurationArrayOutput) ToGetBucketRetentionRuleDurationArrayOutputWithContext

func (o GetBucketRetentionRuleDurationArrayOutput) ToGetBucketRetentionRuleDurationArrayOutputWithContext(ctx context.Context) GetBucketRetentionRuleDurationArrayOutput

type GetBucketRetentionRuleDurationInput

type GetBucketRetentionRuleDurationInput interface {
	pulumi.Input

	ToGetBucketRetentionRuleDurationOutput() GetBucketRetentionRuleDurationOutput
	ToGetBucketRetentionRuleDurationOutputWithContext(context.Context) GetBucketRetentionRuleDurationOutput
}

GetBucketRetentionRuleDurationInput is an input type that accepts GetBucketRetentionRuleDurationArgs and GetBucketRetentionRuleDurationOutput values. You can construct a concrete instance of `GetBucketRetentionRuleDurationInput` via:

GetBucketRetentionRuleDurationArgs{...}

type GetBucketRetentionRuleDurationOutput

type GetBucketRetentionRuleDurationOutput struct{ *pulumi.OutputState }

func (GetBucketRetentionRuleDurationOutput) ElementType

func (GetBucketRetentionRuleDurationOutput) TimeAmount

The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp.

func (GetBucketRetentionRuleDurationOutput) TimeUnit

The unit that should be used to interpret timeAmount.

func (GetBucketRetentionRuleDurationOutput) ToGetBucketRetentionRuleDurationOutput

func (o GetBucketRetentionRuleDurationOutput) ToGetBucketRetentionRuleDurationOutput() GetBucketRetentionRuleDurationOutput

func (GetBucketRetentionRuleDurationOutput) ToGetBucketRetentionRuleDurationOutputWithContext

func (o GetBucketRetentionRuleDurationOutput) ToGetBucketRetentionRuleDurationOutputWithContext(ctx context.Context) GetBucketRetentionRuleDurationOutput

type GetBucketRetentionRuleInput

type GetBucketRetentionRuleInput interface {
	pulumi.Input

	ToGetBucketRetentionRuleOutput() GetBucketRetentionRuleOutput
	ToGetBucketRetentionRuleOutputWithContext(context.Context) GetBucketRetentionRuleOutput
}

GetBucketRetentionRuleInput is an input type that accepts GetBucketRetentionRuleArgs and GetBucketRetentionRuleOutput values. You can construct a concrete instance of `GetBucketRetentionRuleInput` via:

GetBucketRetentionRuleArgs{...}

type GetBucketRetentionRuleOutput

type GetBucketRetentionRuleOutput struct{ *pulumi.OutputState }

func (GetBucketRetentionRuleOutput) DisplayName

User specified name for the retention rule.

func (GetBucketRetentionRuleOutput) Durations

func (GetBucketRetentionRuleOutput) ElementType

func (GetBucketRetentionRuleOutput) RetentionRuleId

func (o GetBucketRetentionRuleOutput) RetentionRuleId() pulumi.StringOutput

Unique identifier for the retention rule.

func (GetBucketRetentionRuleOutput) TimeCreated

The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).

func (GetBucketRetentionRuleOutput) TimeModified

The date and time that the retention rule was modified as per [RFC3339](https://tools.ietf.org/html/rfc3339).

func (GetBucketRetentionRuleOutput) TimeRuleLocked

The date and time as per [RFC 3339](https://tools.ietf.org/html/rfc3339) after which this rule becomes locked. and can only be deleted by deleting the bucket.

func (GetBucketRetentionRuleOutput) ToGetBucketRetentionRuleOutput

func (o GetBucketRetentionRuleOutput) ToGetBucketRetentionRuleOutput() GetBucketRetentionRuleOutput

func (GetBucketRetentionRuleOutput) ToGetBucketRetentionRuleOutputWithContext

func (o GetBucketRetentionRuleOutput) ToGetBucketRetentionRuleOutputWithContext(ctx context.Context) GetBucketRetentionRuleOutput

type GetBucketSummariesArgs

type GetBucketSummariesArgs struct {
	// The ID of the compartment in which to list buckets.
	CompartmentId string                     `pulumi:"compartmentId"`
	Filters       []GetBucketSummariesFilter `pulumi:"filters"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
}

A collection of arguments for invoking getBucketSummaries.

type GetBucketSummariesBucketSummary

type GetBucketSummariesBucketSummary struct {
	// The type of public access enabled on this bucket. A bucket is set to `NoPublicAccess` by default, which only allows an authenticated caller to access the bucket and its contents. When `ObjectRead` is enabled on the bucket, public access is allowed for the `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled on the bucket, public access is allowed for the `GetObject` and `HeadObject` operations.
	AccessType string `pulumi:"accessType"`
	// The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.
	ApproximateCount string `pulumi:"approximateCount"`
	// The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.
	ApproximateSize string `pulumi:"approximateSize"`
	// The auto tiering status on the bucket. A bucket is created with auto tiering `Disabled` by default. For auto tiering `InfrequentAccess`, objects are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects.
	AutoTiering string `pulumi:"autoTiering"`
	BucketId    string `pulumi:"bucketId"`
	// The ID of the compartment in which to list buckets.
	CompartmentId string `pulumi:"compartmentId"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the bucket.
	CreatedBy string `pulumi:"createdBy"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// The entity tag (ETag) for the bucket.
	Etag string `pulumi:"etag"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	Id           string                 `pulumi:"id"`
	// Whether or not this bucket is read only. By default, `isReadOnly` is set to `false`. This will be set to 'true' when this bucket is configured as a destination in a replication policy.
	IsReadOnly bool `pulumi:"isReadOnly"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
	KmsKeyId string `pulumi:"kmsKeyId"`
	// Arbitrary string keys and values for user-defined metadata.
	Metadata map[string]interface{} `pulumi:"metadata"`
	// The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
	Name string `pulumi:"name"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
	// Whether or not events are emitted for object state changes in this bucket. By default, `objectEventsEnabled` is set to `false`. Set `objectEventsEnabled` to `true` to emit events for object state changes. For more information about events, see [Overview of Events](https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/eventsoverview.htm).
	ObjectEventsEnabled bool `pulumi:"objectEventsEnabled"`
	// The entity tag (ETag) for the live object lifecycle policy on the bucket.
	ObjectLifecyclePolicyEtag string `pulumi:"objectLifecyclePolicyEtag"`
	// Whether or not this bucket is a replication source. By default, `replicationEnabled` is set to `false`. This will be set to 'true' when you create a replication policy for the bucket.
	ReplicationEnabled bool                                           `pulumi:"replicationEnabled"`
	RetentionRules     []GetBucketSummariesBucketSummaryRetentionRule `pulumi:"retentionRules"`
	// The storage tier type assigned to the bucket. A bucket is set to `Standard` tier by default, which means objects uploaded or copied to the bucket will be in the standard storage tier. When the `Archive` tier type is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage. The `storageTier` property is immutable after bucket is created.
	StorageTier string `pulumi:"storageTier"`
	// The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated string `pulumi:"timeCreated"`
	// The versioning status on the bucket. A bucket is created with versioning `Disabled` by default. For versioning `Enabled`, objects are protected from overwrites and deletes, by maintaining their version history. When versioning is `Suspended`, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.
	Versioning string `pulumi:"versioning"`
}

type GetBucketSummariesBucketSummaryArgs

type GetBucketSummariesBucketSummaryArgs struct {
	// The type of public access enabled on this bucket. A bucket is set to `NoPublicAccess` by default, which only allows an authenticated caller to access the bucket and its contents. When `ObjectRead` is enabled on the bucket, public access is allowed for the `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled on the bucket, public access is allowed for the `GetObject` and `HeadObject` operations.
	AccessType pulumi.StringInput `pulumi:"accessType"`
	// The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.
	ApproximateCount pulumi.StringInput `pulumi:"approximateCount"`
	// The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.
	ApproximateSize pulumi.StringInput `pulumi:"approximateSize"`
	// The auto tiering status on the bucket. A bucket is created with auto tiering `Disabled` by default. For auto tiering `InfrequentAccess`, objects are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects.
	AutoTiering pulumi.StringInput `pulumi:"autoTiering"`
	BucketId    pulumi.StringInput `pulumi:"bucketId"`
	// The ID of the compartment in which to list buckets.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the bucket.
	CreatedBy pulumi.StringInput `pulumi:"createdBy"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// The entity tag (ETag) for the bucket.
	Etag pulumi.StringInput `pulumi:"etag"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput    `pulumi:"freeformTags"`
	Id           pulumi.StringInput `pulumi:"id"`
	// Whether or not this bucket is read only. By default, `isReadOnly` is set to `false`. This will be set to 'true' when this bucket is configured as a destination in a replication policy.
	IsReadOnly pulumi.BoolInput `pulumi:"isReadOnly"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
	KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"`
	// Arbitrary string keys and values for user-defined metadata.
	Metadata pulumi.MapInput `pulumi:"metadata"`
	// The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
	Name pulumi.StringInput `pulumi:"name"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// Whether or not events are emitted for object state changes in this bucket. By default, `objectEventsEnabled` is set to `false`. Set `objectEventsEnabled` to `true` to emit events for object state changes. For more information about events, see [Overview of Events](https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/eventsoverview.htm).
	ObjectEventsEnabled pulumi.BoolInput `pulumi:"objectEventsEnabled"`
	// The entity tag (ETag) for the live object lifecycle policy on the bucket.
	ObjectLifecyclePolicyEtag pulumi.StringInput `pulumi:"objectLifecyclePolicyEtag"`
	// Whether or not this bucket is a replication source. By default, `replicationEnabled` is set to `false`. This will be set to 'true' when you create a replication policy for the bucket.
	ReplicationEnabled pulumi.BoolInput                                       `pulumi:"replicationEnabled"`
	RetentionRules     GetBucketSummariesBucketSummaryRetentionRuleArrayInput `pulumi:"retentionRules"`
	// The storage tier type assigned to the bucket. A bucket is set to `Standard` tier by default, which means objects uploaded or copied to the bucket will be in the standard storage tier. When the `Archive` tier type is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage. The `storageTier` property is immutable after bucket is created.
	StorageTier pulumi.StringInput `pulumi:"storageTier"`
	// The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The versioning status on the bucket. A bucket is created with versioning `Disabled` by default. For versioning `Enabled`, objects are protected from overwrites and deletes, by maintaining their version history. When versioning is `Suspended`, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.
	Versioning pulumi.StringInput `pulumi:"versioning"`
}

func (GetBucketSummariesBucketSummaryArgs) ElementType

func (GetBucketSummariesBucketSummaryArgs) ToGetBucketSummariesBucketSummaryOutput

func (i GetBucketSummariesBucketSummaryArgs) ToGetBucketSummariesBucketSummaryOutput() GetBucketSummariesBucketSummaryOutput

func (GetBucketSummariesBucketSummaryArgs) ToGetBucketSummariesBucketSummaryOutputWithContext

func (i GetBucketSummariesBucketSummaryArgs) ToGetBucketSummariesBucketSummaryOutputWithContext(ctx context.Context) GetBucketSummariesBucketSummaryOutput

type GetBucketSummariesBucketSummaryArray

type GetBucketSummariesBucketSummaryArray []GetBucketSummariesBucketSummaryInput

func (GetBucketSummariesBucketSummaryArray) ElementType

func (GetBucketSummariesBucketSummaryArray) ToGetBucketSummariesBucketSummaryArrayOutput

func (i GetBucketSummariesBucketSummaryArray) ToGetBucketSummariesBucketSummaryArrayOutput() GetBucketSummariesBucketSummaryArrayOutput

func (GetBucketSummariesBucketSummaryArray) ToGetBucketSummariesBucketSummaryArrayOutputWithContext

func (i GetBucketSummariesBucketSummaryArray) ToGetBucketSummariesBucketSummaryArrayOutputWithContext(ctx context.Context) GetBucketSummariesBucketSummaryArrayOutput

type GetBucketSummariesBucketSummaryArrayInput

type GetBucketSummariesBucketSummaryArrayInput interface {
	pulumi.Input

	ToGetBucketSummariesBucketSummaryArrayOutput() GetBucketSummariesBucketSummaryArrayOutput
	ToGetBucketSummariesBucketSummaryArrayOutputWithContext(context.Context) GetBucketSummariesBucketSummaryArrayOutput
}

GetBucketSummariesBucketSummaryArrayInput is an input type that accepts GetBucketSummariesBucketSummaryArray and GetBucketSummariesBucketSummaryArrayOutput values. You can construct a concrete instance of `GetBucketSummariesBucketSummaryArrayInput` via:

GetBucketSummariesBucketSummaryArray{ GetBucketSummariesBucketSummaryArgs{...} }

type GetBucketSummariesBucketSummaryArrayOutput

type GetBucketSummariesBucketSummaryArrayOutput struct{ *pulumi.OutputState }

func (GetBucketSummariesBucketSummaryArrayOutput) ElementType

func (GetBucketSummariesBucketSummaryArrayOutput) Index

func (GetBucketSummariesBucketSummaryArrayOutput) ToGetBucketSummariesBucketSummaryArrayOutput

func (o GetBucketSummariesBucketSummaryArrayOutput) ToGetBucketSummariesBucketSummaryArrayOutput() GetBucketSummariesBucketSummaryArrayOutput

func (GetBucketSummariesBucketSummaryArrayOutput) ToGetBucketSummariesBucketSummaryArrayOutputWithContext

func (o GetBucketSummariesBucketSummaryArrayOutput) ToGetBucketSummariesBucketSummaryArrayOutputWithContext(ctx context.Context) GetBucketSummariesBucketSummaryArrayOutput

type GetBucketSummariesBucketSummaryInput

type GetBucketSummariesBucketSummaryInput interface {
	pulumi.Input

	ToGetBucketSummariesBucketSummaryOutput() GetBucketSummariesBucketSummaryOutput
	ToGetBucketSummariesBucketSummaryOutputWithContext(context.Context) GetBucketSummariesBucketSummaryOutput
}

GetBucketSummariesBucketSummaryInput is an input type that accepts GetBucketSummariesBucketSummaryArgs and GetBucketSummariesBucketSummaryOutput values. You can construct a concrete instance of `GetBucketSummariesBucketSummaryInput` via:

GetBucketSummariesBucketSummaryArgs{...}

type GetBucketSummariesBucketSummaryOutput

type GetBucketSummariesBucketSummaryOutput struct{ *pulumi.OutputState }

func (GetBucketSummariesBucketSummaryOutput) AccessType

The type of public access enabled on this bucket. A bucket is set to `NoPublicAccess` by default, which only allows an authenticated caller to access the bucket and its contents. When `ObjectRead` is enabled on the bucket, public access is allowed for the `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled on the bucket, public access is allowed for the `GetObject` and `HeadObject` operations.

func (GetBucketSummariesBucketSummaryOutput) ApproximateCount

The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.

func (GetBucketSummariesBucketSummaryOutput) ApproximateSize

The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.

func (GetBucketSummariesBucketSummaryOutput) AutoTiering

The auto tiering status on the bucket. A bucket is created with auto tiering `Disabled` by default. For auto tiering `InfrequentAccess`, objects are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects.

func (GetBucketSummariesBucketSummaryOutput) BucketId

func (GetBucketSummariesBucketSummaryOutput) CompartmentId

The ID of the compartment in which to list buckets.

func (GetBucketSummariesBucketSummaryOutput) CreatedBy

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the bucket.

func (GetBucketSummariesBucketSummaryOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (GetBucketSummariesBucketSummaryOutput) ElementType

func (GetBucketSummariesBucketSummaryOutput) Etag

The entity tag (ETag) for the bucket.

func (GetBucketSummariesBucketSummaryOutput) FreeformTags

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (GetBucketSummariesBucketSummaryOutput) Id

func (GetBucketSummariesBucketSummaryOutput) IsReadOnly

Whether or not this bucket is read only. By default, `isReadOnly` is set to `false`. This will be set to 'true' when this bucket is configured as a destination in a replication policy.

func (GetBucketSummariesBucketSummaryOutput) KmsKeyId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.

func (GetBucketSummariesBucketSummaryOutput) Metadata

Arbitrary string keys and values for user-defined metadata.

func (GetBucketSummariesBucketSummaryOutput) Name

The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1

func (GetBucketSummariesBucketSummaryOutput) Namespace

The Object Storage namespace used for the request.

func (GetBucketSummariesBucketSummaryOutput) ObjectEventsEnabled

Whether or not events are emitted for object state changes in this bucket. By default, `objectEventsEnabled` is set to `false`. Set `objectEventsEnabled` to `true` to emit events for object state changes. For more information about events, see [Overview of Events](https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/eventsoverview.htm).

func (GetBucketSummariesBucketSummaryOutput) ObjectLifecyclePolicyEtag

func (o GetBucketSummariesBucketSummaryOutput) ObjectLifecyclePolicyEtag() pulumi.StringOutput

The entity tag (ETag) for the live object lifecycle policy on the bucket.

func (GetBucketSummariesBucketSummaryOutput) ReplicationEnabled

Whether or not this bucket is a replication source. By default, `replicationEnabled` is set to `false`. This will be set to 'true' when you create a replication policy for the bucket.

func (GetBucketSummariesBucketSummaryOutput) RetentionRules

func (GetBucketSummariesBucketSummaryOutput) StorageTier

The storage tier type assigned to the bucket. A bucket is set to `Standard` tier by default, which means objects uploaded or copied to the bucket will be in the standard storage tier. When the `Archive` tier type is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage. The `storageTier` property is immutable after bucket is created.

func (GetBucketSummariesBucketSummaryOutput) TimeCreated

The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).

func (GetBucketSummariesBucketSummaryOutput) ToGetBucketSummariesBucketSummaryOutput

func (o GetBucketSummariesBucketSummaryOutput) ToGetBucketSummariesBucketSummaryOutput() GetBucketSummariesBucketSummaryOutput

func (GetBucketSummariesBucketSummaryOutput) ToGetBucketSummariesBucketSummaryOutputWithContext

func (o GetBucketSummariesBucketSummaryOutput) ToGetBucketSummariesBucketSummaryOutputWithContext(ctx context.Context) GetBucketSummariesBucketSummaryOutput

func (GetBucketSummariesBucketSummaryOutput) Versioning

The versioning status on the bucket. A bucket is created with versioning `Disabled` by default. For versioning `Enabled`, objects are protected from overwrites and deletes, by maintaining their version history. When versioning is `Suspended`, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.

type GetBucketSummariesBucketSummaryRetentionRule

type GetBucketSummariesBucketSummaryRetentionRule struct {
	DisplayName     string                                                 `pulumi:"displayName"`
	Durations       []GetBucketSummariesBucketSummaryRetentionRuleDuration `pulumi:"durations"`
	RetentionRuleId string                                                 `pulumi:"retentionRuleId"`
	// The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated    string `pulumi:"timeCreated"`
	TimeModified   string `pulumi:"timeModified"`
	TimeRuleLocked string `pulumi:"timeRuleLocked"`
}

type GetBucketSummariesBucketSummaryRetentionRuleArgs

type GetBucketSummariesBucketSummaryRetentionRuleArgs struct {
	DisplayName     pulumi.StringInput                                             `pulumi:"displayName"`
	Durations       GetBucketSummariesBucketSummaryRetentionRuleDurationArrayInput `pulumi:"durations"`
	RetentionRuleId pulumi.StringInput                                             `pulumi:"retentionRuleId"`
	// The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated    pulumi.StringInput `pulumi:"timeCreated"`
	TimeModified   pulumi.StringInput `pulumi:"timeModified"`
	TimeRuleLocked pulumi.StringInput `pulumi:"timeRuleLocked"`
}

func (GetBucketSummariesBucketSummaryRetentionRuleArgs) ElementType

func (GetBucketSummariesBucketSummaryRetentionRuleArgs) ToGetBucketSummariesBucketSummaryRetentionRuleOutput

func (i GetBucketSummariesBucketSummaryRetentionRuleArgs) ToGetBucketSummariesBucketSummaryRetentionRuleOutput() GetBucketSummariesBucketSummaryRetentionRuleOutput

func (GetBucketSummariesBucketSummaryRetentionRuleArgs) ToGetBucketSummariesBucketSummaryRetentionRuleOutputWithContext

func (i GetBucketSummariesBucketSummaryRetentionRuleArgs) ToGetBucketSummariesBucketSummaryRetentionRuleOutputWithContext(ctx context.Context) GetBucketSummariesBucketSummaryRetentionRuleOutput

type GetBucketSummariesBucketSummaryRetentionRuleArray

type GetBucketSummariesBucketSummaryRetentionRuleArray []GetBucketSummariesBucketSummaryRetentionRuleInput

func (GetBucketSummariesBucketSummaryRetentionRuleArray) ElementType

func (GetBucketSummariesBucketSummaryRetentionRuleArray) ToGetBucketSummariesBucketSummaryRetentionRuleArrayOutput

func (i GetBucketSummariesBucketSummaryRetentionRuleArray) ToGetBucketSummariesBucketSummaryRetentionRuleArrayOutput() GetBucketSummariesBucketSummaryRetentionRuleArrayOutput

func (GetBucketSummariesBucketSummaryRetentionRuleArray) ToGetBucketSummariesBucketSummaryRetentionRuleArrayOutputWithContext

func (i GetBucketSummariesBucketSummaryRetentionRuleArray) ToGetBucketSummariesBucketSummaryRetentionRuleArrayOutputWithContext(ctx context.Context) GetBucketSummariesBucketSummaryRetentionRuleArrayOutput

type GetBucketSummariesBucketSummaryRetentionRuleArrayInput

type GetBucketSummariesBucketSummaryRetentionRuleArrayInput interface {
	pulumi.Input

	ToGetBucketSummariesBucketSummaryRetentionRuleArrayOutput() GetBucketSummariesBucketSummaryRetentionRuleArrayOutput
	ToGetBucketSummariesBucketSummaryRetentionRuleArrayOutputWithContext(context.Context) GetBucketSummariesBucketSummaryRetentionRuleArrayOutput
}

GetBucketSummariesBucketSummaryRetentionRuleArrayInput is an input type that accepts GetBucketSummariesBucketSummaryRetentionRuleArray and GetBucketSummariesBucketSummaryRetentionRuleArrayOutput values. You can construct a concrete instance of `GetBucketSummariesBucketSummaryRetentionRuleArrayInput` via:

GetBucketSummariesBucketSummaryRetentionRuleArray{ GetBucketSummariesBucketSummaryRetentionRuleArgs{...} }

type GetBucketSummariesBucketSummaryRetentionRuleArrayOutput

type GetBucketSummariesBucketSummaryRetentionRuleArrayOutput struct{ *pulumi.OutputState }

func (GetBucketSummariesBucketSummaryRetentionRuleArrayOutput) ElementType

func (GetBucketSummariesBucketSummaryRetentionRuleArrayOutput) Index

func (GetBucketSummariesBucketSummaryRetentionRuleArrayOutput) ToGetBucketSummariesBucketSummaryRetentionRuleArrayOutput

func (GetBucketSummariesBucketSummaryRetentionRuleArrayOutput) ToGetBucketSummariesBucketSummaryRetentionRuleArrayOutputWithContext

func (o GetBucketSummariesBucketSummaryRetentionRuleArrayOutput) ToGetBucketSummariesBucketSummaryRetentionRuleArrayOutputWithContext(ctx context.Context) GetBucketSummariesBucketSummaryRetentionRuleArrayOutput

type GetBucketSummariesBucketSummaryRetentionRuleDuration

type GetBucketSummariesBucketSummaryRetentionRuleDuration struct {
	TimeAmount string `pulumi:"timeAmount"`
	TimeUnit   string `pulumi:"timeUnit"`
}

type GetBucketSummariesBucketSummaryRetentionRuleDurationArgs

type GetBucketSummariesBucketSummaryRetentionRuleDurationArgs struct {
	TimeAmount pulumi.StringInput `pulumi:"timeAmount"`
	TimeUnit   pulumi.StringInput `pulumi:"timeUnit"`
}

func (GetBucketSummariesBucketSummaryRetentionRuleDurationArgs) ElementType

func (GetBucketSummariesBucketSummaryRetentionRuleDurationArgs) ToGetBucketSummariesBucketSummaryRetentionRuleDurationOutput

func (GetBucketSummariesBucketSummaryRetentionRuleDurationArgs) ToGetBucketSummariesBucketSummaryRetentionRuleDurationOutputWithContext

func (i GetBucketSummariesBucketSummaryRetentionRuleDurationArgs) ToGetBucketSummariesBucketSummaryRetentionRuleDurationOutputWithContext(ctx context.Context) GetBucketSummariesBucketSummaryRetentionRuleDurationOutput

type GetBucketSummariesBucketSummaryRetentionRuleDurationArray

type GetBucketSummariesBucketSummaryRetentionRuleDurationArray []GetBucketSummariesBucketSummaryRetentionRuleDurationInput

func (GetBucketSummariesBucketSummaryRetentionRuleDurationArray) ElementType

func (GetBucketSummariesBucketSummaryRetentionRuleDurationArray) ToGetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput

func (i GetBucketSummariesBucketSummaryRetentionRuleDurationArray) ToGetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput() GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput

func (GetBucketSummariesBucketSummaryRetentionRuleDurationArray) ToGetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutputWithContext

func (i GetBucketSummariesBucketSummaryRetentionRuleDurationArray) ToGetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutputWithContext(ctx context.Context) GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput

type GetBucketSummariesBucketSummaryRetentionRuleDurationArrayInput

type GetBucketSummariesBucketSummaryRetentionRuleDurationArrayInput interface {
	pulumi.Input

	ToGetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput() GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput
	ToGetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutputWithContext(context.Context) GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput
}

GetBucketSummariesBucketSummaryRetentionRuleDurationArrayInput is an input type that accepts GetBucketSummariesBucketSummaryRetentionRuleDurationArray and GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput values. You can construct a concrete instance of `GetBucketSummariesBucketSummaryRetentionRuleDurationArrayInput` via:

GetBucketSummariesBucketSummaryRetentionRuleDurationArray{ GetBucketSummariesBucketSummaryRetentionRuleDurationArgs{...} }

type GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput

type GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput struct{ *pulumi.OutputState }

func (GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput) ElementType

func (GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput) Index

func (GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput) ToGetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput

func (GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput) ToGetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutputWithContext

func (o GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput) ToGetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutputWithContext(ctx context.Context) GetBucketSummariesBucketSummaryRetentionRuleDurationArrayOutput

type GetBucketSummariesBucketSummaryRetentionRuleDurationInput

type GetBucketSummariesBucketSummaryRetentionRuleDurationInput interface {
	pulumi.Input

	ToGetBucketSummariesBucketSummaryRetentionRuleDurationOutput() GetBucketSummariesBucketSummaryRetentionRuleDurationOutput
	ToGetBucketSummariesBucketSummaryRetentionRuleDurationOutputWithContext(context.Context) GetBucketSummariesBucketSummaryRetentionRuleDurationOutput
}

GetBucketSummariesBucketSummaryRetentionRuleDurationInput is an input type that accepts GetBucketSummariesBucketSummaryRetentionRuleDurationArgs and GetBucketSummariesBucketSummaryRetentionRuleDurationOutput values. You can construct a concrete instance of `GetBucketSummariesBucketSummaryRetentionRuleDurationInput` via:

GetBucketSummariesBucketSummaryRetentionRuleDurationArgs{...}

type GetBucketSummariesBucketSummaryRetentionRuleDurationOutput

type GetBucketSummariesBucketSummaryRetentionRuleDurationOutput struct{ *pulumi.OutputState }

func (GetBucketSummariesBucketSummaryRetentionRuleDurationOutput) ElementType

func (GetBucketSummariesBucketSummaryRetentionRuleDurationOutput) TimeAmount

func (GetBucketSummariesBucketSummaryRetentionRuleDurationOutput) TimeUnit

func (GetBucketSummariesBucketSummaryRetentionRuleDurationOutput) ToGetBucketSummariesBucketSummaryRetentionRuleDurationOutput

func (GetBucketSummariesBucketSummaryRetentionRuleDurationOutput) ToGetBucketSummariesBucketSummaryRetentionRuleDurationOutputWithContext

func (o GetBucketSummariesBucketSummaryRetentionRuleDurationOutput) ToGetBucketSummariesBucketSummaryRetentionRuleDurationOutputWithContext(ctx context.Context) GetBucketSummariesBucketSummaryRetentionRuleDurationOutput

type GetBucketSummariesBucketSummaryRetentionRuleInput

type GetBucketSummariesBucketSummaryRetentionRuleInput interface {
	pulumi.Input

	ToGetBucketSummariesBucketSummaryRetentionRuleOutput() GetBucketSummariesBucketSummaryRetentionRuleOutput
	ToGetBucketSummariesBucketSummaryRetentionRuleOutputWithContext(context.Context) GetBucketSummariesBucketSummaryRetentionRuleOutput
}

GetBucketSummariesBucketSummaryRetentionRuleInput is an input type that accepts GetBucketSummariesBucketSummaryRetentionRuleArgs and GetBucketSummariesBucketSummaryRetentionRuleOutput values. You can construct a concrete instance of `GetBucketSummariesBucketSummaryRetentionRuleInput` via:

GetBucketSummariesBucketSummaryRetentionRuleArgs{...}

type GetBucketSummariesBucketSummaryRetentionRuleOutput

type GetBucketSummariesBucketSummaryRetentionRuleOutput struct{ *pulumi.OutputState }

func (GetBucketSummariesBucketSummaryRetentionRuleOutput) DisplayName

func (GetBucketSummariesBucketSummaryRetentionRuleOutput) Durations

func (GetBucketSummariesBucketSummaryRetentionRuleOutput) ElementType

func (GetBucketSummariesBucketSummaryRetentionRuleOutput) RetentionRuleId

func (GetBucketSummariesBucketSummaryRetentionRuleOutput) TimeCreated

The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).

func (GetBucketSummariesBucketSummaryRetentionRuleOutput) TimeModified

func (GetBucketSummariesBucketSummaryRetentionRuleOutput) TimeRuleLocked

func (GetBucketSummariesBucketSummaryRetentionRuleOutput) ToGetBucketSummariesBucketSummaryRetentionRuleOutput

func (o GetBucketSummariesBucketSummaryRetentionRuleOutput) ToGetBucketSummariesBucketSummaryRetentionRuleOutput() GetBucketSummariesBucketSummaryRetentionRuleOutput

func (GetBucketSummariesBucketSummaryRetentionRuleOutput) ToGetBucketSummariesBucketSummaryRetentionRuleOutputWithContext

func (o GetBucketSummariesBucketSummaryRetentionRuleOutput) ToGetBucketSummariesBucketSummaryRetentionRuleOutputWithContext(ctx context.Context) GetBucketSummariesBucketSummaryRetentionRuleOutput

type GetBucketSummariesFilter

type GetBucketSummariesFilter struct {
	// The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetBucketSummariesFilterArgs

type GetBucketSummariesFilterArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetBucketSummariesFilterArgs) ElementType

func (GetBucketSummariesFilterArgs) ToGetBucketSummariesFilterOutput

func (i GetBucketSummariesFilterArgs) ToGetBucketSummariesFilterOutput() GetBucketSummariesFilterOutput

func (GetBucketSummariesFilterArgs) ToGetBucketSummariesFilterOutputWithContext

func (i GetBucketSummariesFilterArgs) ToGetBucketSummariesFilterOutputWithContext(ctx context.Context) GetBucketSummariesFilterOutput

type GetBucketSummariesFilterArray

type GetBucketSummariesFilterArray []GetBucketSummariesFilterInput

func (GetBucketSummariesFilterArray) ElementType

func (GetBucketSummariesFilterArray) ToGetBucketSummariesFilterArrayOutput

func (i GetBucketSummariesFilterArray) ToGetBucketSummariesFilterArrayOutput() GetBucketSummariesFilterArrayOutput

func (GetBucketSummariesFilterArray) ToGetBucketSummariesFilterArrayOutputWithContext

func (i GetBucketSummariesFilterArray) ToGetBucketSummariesFilterArrayOutputWithContext(ctx context.Context) GetBucketSummariesFilterArrayOutput

type GetBucketSummariesFilterArrayInput

type GetBucketSummariesFilterArrayInput interface {
	pulumi.Input

	ToGetBucketSummariesFilterArrayOutput() GetBucketSummariesFilterArrayOutput
	ToGetBucketSummariesFilterArrayOutputWithContext(context.Context) GetBucketSummariesFilterArrayOutput
}

GetBucketSummariesFilterArrayInput is an input type that accepts GetBucketSummariesFilterArray and GetBucketSummariesFilterArrayOutput values. You can construct a concrete instance of `GetBucketSummariesFilterArrayInput` via:

GetBucketSummariesFilterArray{ GetBucketSummariesFilterArgs{...} }

type GetBucketSummariesFilterArrayOutput

type GetBucketSummariesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetBucketSummariesFilterArrayOutput) ElementType

func (GetBucketSummariesFilterArrayOutput) Index

func (GetBucketSummariesFilterArrayOutput) ToGetBucketSummariesFilterArrayOutput

func (o GetBucketSummariesFilterArrayOutput) ToGetBucketSummariesFilterArrayOutput() GetBucketSummariesFilterArrayOutput

func (GetBucketSummariesFilterArrayOutput) ToGetBucketSummariesFilterArrayOutputWithContext

func (o GetBucketSummariesFilterArrayOutput) ToGetBucketSummariesFilterArrayOutputWithContext(ctx context.Context) GetBucketSummariesFilterArrayOutput

type GetBucketSummariesFilterInput

type GetBucketSummariesFilterInput interface {
	pulumi.Input

	ToGetBucketSummariesFilterOutput() GetBucketSummariesFilterOutput
	ToGetBucketSummariesFilterOutputWithContext(context.Context) GetBucketSummariesFilterOutput
}

GetBucketSummariesFilterInput is an input type that accepts GetBucketSummariesFilterArgs and GetBucketSummariesFilterOutput values. You can construct a concrete instance of `GetBucketSummariesFilterInput` via:

GetBucketSummariesFilterArgs{...}

type GetBucketSummariesFilterOutput

type GetBucketSummariesFilterOutput struct{ *pulumi.OutputState }

func (GetBucketSummariesFilterOutput) ElementType

func (GetBucketSummariesFilterOutput) Name

The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1

func (GetBucketSummariesFilterOutput) Regex

func (GetBucketSummariesFilterOutput) ToGetBucketSummariesFilterOutput

func (o GetBucketSummariesFilterOutput) ToGetBucketSummariesFilterOutput() GetBucketSummariesFilterOutput

func (GetBucketSummariesFilterOutput) ToGetBucketSummariesFilterOutputWithContext

func (o GetBucketSummariesFilterOutput) ToGetBucketSummariesFilterOutputWithContext(ctx context.Context) GetBucketSummariesFilterOutput

func (GetBucketSummariesFilterOutput) Values

type GetBucketSummariesOutputArgs

type GetBucketSummariesOutputArgs struct {
	// The ID of the compartment in which to list buckets.
	CompartmentId pulumi.StringInput                 `pulumi:"compartmentId"`
	Filters       GetBucketSummariesFilterArrayInput `pulumi:"filters"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

A collection of arguments for invoking getBucketSummaries.

func (GetBucketSummariesOutputArgs) ElementType

type GetBucketSummariesResult

type GetBucketSummariesResult struct {
	// The list of bucket_summaries.
	BucketSummaries []GetBucketSummariesBucketSummary `pulumi:"bucketSummaries"`
	// The compartment ID in which the bucket is authorized.
	CompartmentId string                     `pulumi:"compartmentId"`
	Filters       []GetBucketSummariesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Object Storage namespace in which the bucket resides.
	Namespace string `pulumi:"namespace"`
}

A collection of values returned by getBucketSummaries.

func GetBucketSummaries

func GetBucketSummaries(ctx *pulumi.Context, args *GetBucketSummariesArgs, opts ...pulumi.InvokeOption) (*GetBucketSummariesResult, error)

This data source provides the list of Buckets in Oracle Cloud Infrastructure Object Storage service.

Gets a list of all BucketSummary items in a compartment. A BucketSummary contains only summary fields for the bucket and does not contain fields like the user-defined metadata.

ListBuckets returns a BucketSummary containing at most 1000 buckets. To paginate through more buckets, use the returned `opc-next-page` value with the `page` request parameter.

To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.GetBucketSummaries(ctx, &objectstorage.GetBucketSummariesArgs{
			CompartmentId: compartmentId,
			Namespace:     bucketNamespace,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetBucketSummariesResultOutput

type GetBucketSummariesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBucketSummaries.

func (GetBucketSummariesResultOutput) BucketSummaries

The list of bucket_summaries.

func (GetBucketSummariesResultOutput) CompartmentId

The compartment ID in which the bucket is authorized.

func (GetBucketSummariesResultOutput) ElementType

func (GetBucketSummariesResultOutput) Filters

func (GetBucketSummariesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetBucketSummariesResultOutput) Namespace

The Object Storage namespace in which the bucket resides.

func (GetBucketSummariesResultOutput) ToGetBucketSummariesResultOutput

func (o GetBucketSummariesResultOutput) ToGetBucketSummariesResultOutput() GetBucketSummariesResultOutput

func (GetBucketSummariesResultOutput) ToGetBucketSummariesResultOutputWithContext

func (o GetBucketSummariesResultOutput) ToGetBucketSummariesResultOutputWithContext(ctx context.Context) GetBucketSummariesResultOutput

type GetNamespaceArgs

type GetNamespaceArgs struct {
	// This is an optional field representing either the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or the compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) within the tenancy whose Object Storage namespace is to be retrieved.
	CompartmentId *string `pulumi:"compartmentId"`
}

A collection of arguments for invoking getNamespace.

type GetNamespaceOutputArgs

type GetNamespaceOutputArgs struct {
	// This is an optional field representing either the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or the compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) within the tenancy whose Object Storage namespace is to be retrieved.
	CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"`
}

A collection of arguments for invoking getNamespace.

func (GetNamespaceOutputArgs) ElementType

func (GetNamespaceOutputArgs) ElementType() reflect.Type

type GetNamespaceResult

type GetNamespaceResult struct {
	CompartmentId *string `pulumi:"compartmentId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// (Computed) The name of the user's namespace.
	Namespace string `pulumi:"namespace"`
}

A collection of values returned by getNamespace.

func GetNamespace

func GetNamespace(ctx *pulumi.Context, args *GetNamespaceArgs, opts ...pulumi.InvokeOption) (*GetNamespaceResult, error)

This data source provides details about a specific Namespace resource in Oracle Cloud Infrastructure Object Storage service.

Each Oracle Cloud Infrastructure tenant is assigned one unique and uneditable Object Storage namespace. The namespace is a system-generated string assigned during account creation. For some older tenancies, the namespace string may be the tenancy name in all lower-case letters. You cannot edit a namespace.

GetNamespace returns the name of the Object Storage namespace for the user making the request. If an optional compartmentId query parameter is provided, GetNamespace returns the namespace name of the corresponding tenancy, provided the user has access to it.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.GetNamespace(ctx, &objectstorage.GetNamespaceArgs{
			CompartmentId: pulumi.StringRef(compartmentId),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetNamespaceResultOutput

type GetNamespaceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNamespace.

func (GetNamespaceResultOutput) CompartmentId

func (GetNamespaceResultOutput) ElementType

func (GetNamespaceResultOutput) ElementType() reflect.Type

func (GetNamespaceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNamespaceResultOutput) Namespace

(Computed) The name of the user's namespace.

func (GetNamespaceResultOutput) ToGetNamespaceResultOutput

func (o GetNamespaceResultOutput) ToGetNamespaceResultOutput() GetNamespaceResultOutput

func (GetNamespaceResultOutput) ToGetNamespaceResultOutputWithContext

func (o GetNamespaceResultOutput) ToGetNamespaceResultOutputWithContext(ctx context.Context) GetNamespaceResultOutput

type GetObjectArgs

type GetObjectArgs struct {
	Base64EncodeContent *bool `pulumi:"base64EncodeContent"`
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket string `pulumi:"bucket"`
	// The limit of the content length of the object body to download from the object store. The default is 1Mb.
	ContentLengthLimit *int `pulumi:"contentLengthLimit"`
	// Specify this query parameter to override the Cache-Control response header in the GetObject response.
	HttpResponseCacheControl *string `pulumi:"httpResponseCacheControl"`
	// Specify this query parameter to override the value of the Content-Disposition response header in the GetObject response.
	HttpResponseContentDisposition *string `pulumi:"httpResponseContentDisposition"`
	// Specify this query parameter to override the Content-Encoding response header in the GetObject response.
	HttpResponseContentEncoding *string `pulumi:"httpResponseContentEncoding"`
	// Specify this query parameter to override the Content-Language response header in the GetObject response.
	HttpResponseContentLanguage *string `pulumi:"httpResponseContentLanguage"`
	// Specify this query parameter to override the Content-Type response header in the GetObject response.
	HttpResponseContentType *string `pulumi:"httpResponseContentType"`
	// Specify this query parameter to override the Expires response header in the GetObject response.
	HttpResponseExpires *string `pulumi:"httpResponseExpires"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
	// The name of the object. Avoid entering confidential information. Example: `test/object1.log`
	Object string `pulumi:"object"`
	// VersionId used to identify a particular version of the object
	VersionId *string `pulumi:"versionId"`
}

A collection of arguments for invoking getObject.

type GetObjectHeadArgs

type GetObjectHeadArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket string `pulumi:"bucket"`
	// The top-level namespace used for the request.
	Namespace string `pulumi:"namespace"`
	// The name of the object. Avoid entering confidential information. Example: `test/object1.log`
	Object string `pulumi:"object"`
}

A collection of arguments for invoking getObjectHead.

type GetObjectHeadOutputArgs

type GetObjectHeadOutputArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// The top-level namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The name of the object. Avoid entering confidential information. Example: `test/object1.log`
	Object pulumi.StringInput `pulumi:"object"`
}

A collection of arguments for invoking getObjectHead.

func (GetObjectHeadOutputArgs) ElementType

func (GetObjectHeadOutputArgs) ElementType() reflect.Type

type GetObjectHeadResult

type GetObjectHeadResult struct {
	ArchivalState string `pulumi:"archivalState"`
	Bucket        string `pulumi:"bucket"`
	// The content-length of the object
	ContentLength int `pulumi:"contentLength"`
	// The content-type of the object
	ContentType string `pulumi:"contentType"`
	// The etag of the object
	Etag string `pulumi:"etag"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The metadata of the object
	Metadata  map[string]interface{} `pulumi:"metadata"`
	Namespace string                 `pulumi:"namespace"`
	Object    string                 `pulumi:"object"`
	// The storage tier that the object is stored in.
	// * `archival-state` - Archival state of an object. This field is set only for objects in Archive tier.
	StorageTier string `pulumi:"storageTier"`
}

A collection of values returned by getObjectHead.

func GetObjectHead

func GetObjectHead(ctx *pulumi.Context, args *GetObjectHeadArgs, opts ...pulumi.InvokeOption) (*GetObjectHeadResult, error)

This data source provides details about metadata of a specific Object resource in Oracle Cloud Infrastructure Object Storage service.

Gets the metadata of an object.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.GetObjectHead(ctx, &objectstorage.GetObjectHeadArgs{
			Bucket:    objectBucket,
			Namespace: objectNamespace,
			Object:    objectObject,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetObjectHeadResultOutput

type GetObjectHeadResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getObjectHead.

func (GetObjectHeadResultOutput) ArchivalState

func (o GetObjectHeadResultOutput) ArchivalState() pulumi.StringOutput

func (GetObjectHeadResultOutput) Bucket

func (GetObjectHeadResultOutput) ContentLength

func (o GetObjectHeadResultOutput) ContentLength() pulumi.IntOutput

The content-length of the object

func (GetObjectHeadResultOutput) ContentType

The content-type of the object

func (GetObjectHeadResultOutput) ElementType

func (GetObjectHeadResultOutput) ElementType() reflect.Type

func (GetObjectHeadResultOutput) Etag

The etag of the object

func (GetObjectHeadResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetObjectHeadResultOutput) Metadata

The metadata of the object

func (GetObjectHeadResultOutput) Namespace

func (GetObjectHeadResultOutput) Object

func (GetObjectHeadResultOutput) StorageTier

The storage tier that the object is stored in. * `archival-state` - Archival state of an object. This field is set only for objects in Archive tier.

func (GetObjectHeadResultOutput) ToGetObjectHeadResultOutput

func (o GetObjectHeadResultOutput) ToGetObjectHeadResultOutput() GetObjectHeadResultOutput

func (GetObjectHeadResultOutput) ToGetObjectHeadResultOutputWithContext

func (o GetObjectHeadResultOutput) ToGetObjectHeadResultOutputWithContext(ctx context.Context) GetObjectHeadResultOutput

type GetObjectLifecyclePolicyRule

type GetObjectLifecyclePolicyRule struct {
	// The action of the object lifecycle policy rule. Rules using the action 'ARCHIVE' move objects from Standard and InfrequentAccess storage tiers into the [Archive storage tier](https://docs.cloud.oracle.com/iaas/Content/Archive/Concepts/archivestorageoverview.htm). Rules using the action 'INFREQUENT_ACCESS' move objects from Standard storage tier into the Infrequent Access Storage tier. Objects that are already in InfrequentAccess tier or in Archive tier are left untouched. Rules using the action 'DELETE' permanently delete objects from buckets. Rules using 'ABORT' abort the uncommitted multipart-uploads and permanently delete their parts from buckets.
	Action string `pulumi:"action"`
	// A Boolean that determines whether this rule is currently enabled.
	IsEnabled bool `pulumi:"isEnabled"`
	// The name of the lifecycle rule to be applied.
	Name string `pulumi:"name"`
	// A filter that compares object names to a set of prefixes or patterns to determine if a rule applies to a given object. The filter can contain include glob patterns, exclude glob patterns and inclusion prefixes. The inclusion prefixes property is kept for backward compatibility. It is recommended to use inclusion patterns instead of prefixes. Exclusions take precedence over inclusions.
	ObjectNameFilters []GetObjectLifecyclePolicyRuleObjectNameFilter `pulumi:"objectNameFilters"`
	// The target of the object lifecycle policy rule. The values of target can be either "objects", "multipart-uploads" or "previous-object-versions". This field when declared as "objects" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for objects. This field when declared as "previous-object-versions" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for previous versions of existing objects. This field when declared as "multipart-uploads" is used to specify the ABORT (only) rule for uncommitted multipart-uploads.
	Target string `pulumi:"target"`
	// Specifies the age of objects to apply the rule to. The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified time.
	TimeAmount string `pulumi:"timeAmount"`
	// The unit that should be used to interpret timeAmount.  Days are defined as starting and ending at midnight UTC. Years are defined as 365.2425 days long and likewise round up to the next midnight UTC.
	TimeUnit string `pulumi:"timeUnit"`
}

type GetObjectLifecyclePolicyRuleArgs

type GetObjectLifecyclePolicyRuleArgs struct {
	// The action of the object lifecycle policy rule. Rules using the action 'ARCHIVE' move objects from Standard and InfrequentAccess storage tiers into the [Archive storage tier](https://docs.cloud.oracle.com/iaas/Content/Archive/Concepts/archivestorageoverview.htm). Rules using the action 'INFREQUENT_ACCESS' move objects from Standard storage tier into the Infrequent Access Storage tier. Objects that are already in InfrequentAccess tier or in Archive tier are left untouched. Rules using the action 'DELETE' permanently delete objects from buckets. Rules using 'ABORT' abort the uncommitted multipart-uploads and permanently delete their parts from buckets.
	Action pulumi.StringInput `pulumi:"action"`
	// A Boolean that determines whether this rule is currently enabled.
	IsEnabled pulumi.BoolInput `pulumi:"isEnabled"`
	// The name of the lifecycle rule to be applied.
	Name pulumi.StringInput `pulumi:"name"`
	// A filter that compares object names to a set of prefixes or patterns to determine if a rule applies to a given object. The filter can contain include glob patterns, exclude glob patterns and inclusion prefixes. The inclusion prefixes property is kept for backward compatibility. It is recommended to use inclusion patterns instead of prefixes. Exclusions take precedence over inclusions.
	ObjectNameFilters GetObjectLifecyclePolicyRuleObjectNameFilterArrayInput `pulumi:"objectNameFilters"`
	// The target of the object lifecycle policy rule. The values of target can be either "objects", "multipart-uploads" or "previous-object-versions". This field when declared as "objects" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for objects. This field when declared as "previous-object-versions" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for previous versions of existing objects. This field when declared as "multipart-uploads" is used to specify the ABORT (only) rule for uncommitted multipart-uploads.
	Target pulumi.StringInput `pulumi:"target"`
	// Specifies the age of objects to apply the rule to. The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified time.
	TimeAmount pulumi.StringInput `pulumi:"timeAmount"`
	// The unit that should be used to interpret timeAmount.  Days are defined as starting and ending at midnight UTC. Years are defined as 365.2425 days long and likewise round up to the next midnight UTC.
	TimeUnit pulumi.StringInput `pulumi:"timeUnit"`
}

func (GetObjectLifecyclePolicyRuleArgs) ElementType

func (GetObjectLifecyclePolicyRuleArgs) ToGetObjectLifecyclePolicyRuleOutput

func (i GetObjectLifecyclePolicyRuleArgs) ToGetObjectLifecyclePolicyRuleOutput() GetObjectLifecyclePolicyRuleOutput

func (GetObjectLifecyclePolicyRuleArgs) ToGetObjectLifecyclePolicyRuleOutputWithContext

func (i GetObjectLifecyclePolicyRuleArgs) ToGetObjectLifecyclePolicyRuleOutputWithContext(ctx context.Context) GetObjectLifecyclePolicyRuleOutput

type GetObjectLifecyclePolicyRuleArray

type GetObjectLifecyclePolicyRuleArray []GetObjectLifecyclePolicyRuleInput

func (GetObjectLifecyclePolicyRuleArray) ElementType

func (GetObjectLifecyclePolicyRuleArray) ToGetObjectLifecyclePolicyRuleArrayOutput

func (i GetObjectLifecyclePolicyRuleArray) ToGetObjectLifecyclePolicyRuleArrayOutput() GetObjectLifecyclePolicyRuleArrayOutput

func (GetObjectLifecyclePolicyRuleArray) ToGetObjectLifecyclePolicyRuleArrayOutputWithContext

func (i GetObjectLifecyclePolicyRuleArray) ToGetObjectLifecyclePolicyRuleArrayOutputWithContext(ctx context.Context) GetObjectLifecyclePolicyRuleArrayOutput

type GetObjectLifecyclePolicyRuleArrayInput

type GetObjectLifecyclePolicyRuleArrayInput interface {
	pulumi.Input

	ToGetObjectLifecyclePolicyRuleArrayOutput() GetObjectLifecyclePolicyRuleArrayOutput
	ToGetObjectLifecyclePolicyRuleArrayOutputWithContext(context.Context) GetObjectLifecyclePolicyRuleArrayOutput
}

GetObjectLifecyclePolicyRuleArrayInput is an input type that accepts GetObjectLifecyclePolicyRuleArray and GetObjectLifecyclePolicyRuleArrayOutput values. You can construct a concrete instance of `GetObjectLifecyclePolicyRuleArrayInput` via:

GetObjectLifecyclePolicyRuleArray{ GetObjectLifecyclePolicyRuleArgs{...} }

type GetObjectLifecyclePolicyRuleArrayOutput

type GetObjectLifecyclePolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (GetObjectLifecyclePolicyRuleArrayOutput) ElementType

func (GetObjectLifecyclePolicyRuleArrayOutput) Index

func (GetObjectLifecyclePolicyRuleArrayOutput) ToGetObjectLifecyclePolicyRuleArrayOutput

func (o GetObjectLifecyclePolicyRuleArrayOutput) ToGetObjectLifecyclePolicyRuleArrayOutput() GetObjectLifecyclePolicyRuleArrayOutput

func (GetObjectLifecyclePolicyRuleArrayOutput) ToGetObjectLifecyclePolicyRuleArrayOutputWithContext

func (o GetObjectLifecyclePolicyRuleArrayOutput) ToGetObjectLifecyclePolicyRuleArrayOutputWithContext(ctx context.Context) GetObjectLifecyclePolicyRuleArrayOutput

type GetObjectLifecyclePolicyRuleInput

type GetObjectLifecyclePolicyRuleInput interface {
	pulumi.Input

	ToGetObjectLifecyclePolicyRuleOutput() GetObjectLifecyclePolicyRuleOutput
	ToGetObjectLifecyclePolicyRuleOutputWithContext(context.Context) GetObjectLifecyclePolicyRuleOutput
}

GetObjectLifecyclePolicyRuleInput is an input type that accepts GetObjectLifecyclePolicyRuleArgs and GetObjectLifecyclePolicyRuleOutput values. You can construct a concrete instance of `GetObjectLifecyclePolicyRuleInput` via:

GetObjectLifecyclePolicyRuleArgs{...}

type GetObjectLifecyclePolicyRuleObjectNameFilter

type GetObjectLifecyclePolicyRuleObjectNameFilter struct {
	// An array of glob patterns to match the object names to exclude. An empty array is ignored. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.
	ExclusionPatterns []string `pulumi:"exclusionPatterns"`
	// An array of glob patterns to match the object names to include. An empty array includes all objects in the bucket. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.
	InclusionPatterns []string `pulumi:"inclusionPatterns"`
	// An array of object name prefixes that the rule will apply to. An empty array means to include all objects.
	InclusionPrefixes []string `pulumi:"inclusionPrefixes"`
}

type GetObjectLifecyclePolicyRuleObjectNameFilterArgs

type GetObjectLifecyclePolicyRuleObjectNameFilterArgs struct {
	// An array of glob patterns to match the object names to exclude. An empty array is ignored. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.
	ExclusionPatterns pulumi.StringArrayInput `pulumi:"exclusionPatterns"`
	// An array of glob patterns to match the object names to include. An empty array includes all objects in the bucket. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.
	InclusionPatterns pulumi.StringArrayInput `pulumi:"inclusionPatterns"`
	// An array of object name prefixes that the rule will apply to. An empty array means to include all objects.
	InclusionPrefixes pulumi.StringArrayInput `pulumi:"inclusionPrefixes"`
}

func (GetObjectLifecyclePolicyRuleObjectNameFilterArgs) ElementType

func (GetObjectLifecyclePolicyRuleObjectNameFilterArgs) ToGetObjectLifecyclePolicyRuleObjectNameFilterOutput

func (i GetObjectLifecyclePolicyRuleObjectNameFilterArgs) ToGetObjectLifecyclePolicyRuleObjectNameFilterOutput() GetObjectLifecyclePolicyRuleObjectNameFilterOutput

func (GetObjectLifecyclePolicyRuleObjectNameFilterArgs) ToGetObjectLifecyclePolicyRuleObjectNameFilterOutputWithContext

func (i GetObjectLifecyclePolicyRuleObjectNameFilterArgs) ToGetObjectLifecyclePolicyRuleObjectNameFilterOutputWithContext(ctx context.Context) GetObjectLifecyclePolicyRuleObjectNameFilterOutput

type GetObjectLifecyclePolicyRuleObjectNameFilterArray

type GetObjectLifecyclePolicyRuleObjectNameFilterArray []GetObjectLifecyclePolicyRuleObjectNameFilterInput

func (GetObjectLifecyclePolicyRuleObjectNameFilterArray) ElementType

func (GetObjectLifecyclePolicyRuleObjectNameFilterArray) ToGetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput

func (i GetObjectLifecyclePolicyRuleObjectNameFilterArray) ToGetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput() GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput

func (GetObjectLifecyclePolicyRuleObjectNameFilterArray) ToGetObjectLifecyclePolicyRuleObjectNameFilterArrayOutputWithContext

func (i GetObjectLifecyclePolicyRuleObjectNameFilterArray) ToGetObjectLifecyclePolicyRuleObjectNameFilterArrayOutputWithContext(ctx context.Context) GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput

type GetObjectLifecyclePolicyRuleObjectNameFilterArrayInput

type GetObjectLifecyclePolicyRuleObjectNameFilterArrayInput interface {
	pulumi.Input

	ToGetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput() GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput
	ToGetObjectLifecyclePolicyRuleObjectNameFilterArrayOutputWithContext(context.Context) GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput
}

GetObjectLifecyclePolicyRuleObjectNameFilterArrayInput is an input type that accepts GetObjectLifecyclePolicyRuleObjectNameFilterArray and GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput values. You can construct a concrete instance of `GetObjectLifecyclePolicyRuleObjectNameFilterArrayInput` via:

GetObjectLifecyclePolicyRuleObjectNameFilterArray{ GetObjectLifecyclePolicyRuleObjectNameFilterArgs{...} }

type GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput

type GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput struct{ *pulumi.OutputState }

func (GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput) ElementType

func (GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput) Index

func (GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput) ToGetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput

func (GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput) ToGetObjectLifecyclePolicyRuleObjectNameFilterArrayOutputWithContext

func (o GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput) ToGetObjectLifecyclePolicyRuleObjectNameFilterArrayOutputWithContext(ctx context.Context) GetObjectLifecyclePolicyRuleObjectNameFilterArrayOutput

type GetObjectLifecyclePolicyRuleObjectNameFilterInput

type GetObjectLifecyclePolicyRuleObjectNameFilterInput interface {
	pulumi.Input

	ToGetObjectLifecyclePolicyRuleObjectNameFilterOutput() GetObjectLifecyclePolicyRuleObjectNameFilterOutput
	ToGetObjectLifecyclePolicyRuleObjectNameFilterOutputWithContext(context.Context) GetObjectLifecyclePolicyRuleObjectNameFilterOutput
}

GetObjectLifecyclePolicyRuleObjectNameFilterInput is an input type that accepts GetObjectLifecyclePolicyRuleObjectNameFilterArgs and GetObjectLifecyclePolicyRuleObjectNameFilterOutput values. You can construct a concrete instance of `GetObjectLifecyclePolicyRuleObjectNameFilterInput` via:

GetObjectLifecyclePolicyRuleObjectNameFilterArgs{...}

type GetObjectLifecyclePolicyRuleObjectNameFilterOutput

type GetObjectLifecyclePolicyRuleObjectNameFilterOutput struct{ *pulumi.OutputState }

func (GetObjectLifecyclePolicyRuleObjectNameFilterOutput) ElementType

func (GetObjectLifecyclePolicyRuleObjectNameFilterOutput) ExclusionPatterns

An array of glob patterns to match the object names to exclude. An empty array is ignored. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.

func (GetObjectLifecyclePolicyRuleObjectNameFilterOutput) InclusionPatterns

An array of glob patterns to match the object names to include. An empty array includes all objects in the bucket. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.

func (GetObjectLifecyclePolicyRuleObjectNameFilterOutput) InclusionPrefixes

An array of object name prefixes that the rule will apply to. An empty array means to include all objects.

func (GetObjectLifecyclePolicyRuleObjectNameFilterOutput) ToGetObjectLifecyclePolicyRuleObjectNameFilterOutput

func (o GetObjectLifecyclePolicyRuleObjectNameFilterOutput) ToGetObjectLifecyclePolicyRuleObjectNameFilterOutput() GetObjectLifecyclePolicyRuleObjectNameFilterOutput

func (GetObjectLifecyclePolicyRuleObjectNameFilterOutput) ToGetObjectLifecyclePolicyRuleObjectNameFilterOutputWithContext

func (o GetObjectLifecyclePolicyRuleObjectNameFilterOutput) ToGetObjectLifecyclePolicyRuleObjectNameFilterOutputWithContext(ctx context.Context) GetObjectLifecyclePolicyRuleObjectNameFilterOutput

type GetObjectLifecyclePolicyRuleOutput

type GetObjectLifecyclePolicyRuleOutput struct{ *pulumi.OutputState }

func (GetObjectLifecyclePolicyRuleOutput) Action

The action of the object lifecycle policy rule. Rules using the action 'ARCHIVE' move objects from Standard and InfrequentAccess storage tiers into the [Archive storage tier](https://docs.cloud.oracle.com/iaas/Content/Archive/Concepts/archivestorageoverview.htm). Rules using the action 'INFREQUENT_ACCESS' move objects from Standard storage tier into the Infrequent Access Storage tier. Objects that are already in InfrequentAccess tier or in Archive tier are left untouched. Rules using the action 'DELETE' permanently delete objects from buckets. Rules using 'ABORT' abort the uncommitted multipart-uploads and permanently delete their parts from buckets.

func (GetObjectLifecyclePolicyRuleOutput) ElementType

func (GetObjectLifecyclePolicyRuleOutput) IsEnabled

A Boolean that determines whether this rule is currently enabled.

func (GetObjectLifecyclePolicyRuleOutput) Name

The name of the lifecycle rule to be applied.

func (GetObjectLifecyclePolicyRuleOutput) ObjectNameFilters

A filter that compares object names to a set of prefixes or patterns to determine if a rule applies to a given object. The filter can contain include glob patterns, exclude glob patterns and inclusion prefixes. The inclusion prefixes property is kept for backward compatibility. It is recommended to use inclusion patterns instead of prefixes. Exclusions take precedence over inclusions.

func (GetObjectLifecyclePolicyRuleOutput) Target

The target of the object lifecycle policy rule. The values of target can be either "objects", "multipart-uploads" or "previous-object-versions". This field when declared as "objects" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for objects. This field when declared as "previous-object-versions" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for previous versions of existing objects. This field when declared as "multipart-uploads" is used to specify the ABORT (only) rule for uncommitted multipart-uploads.

func (GetObjectLifecyclePolicyRuleOutput) TimeAmount

Specifies the age of objects to apply the rule to. The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified time.

func (GetObjectLifecyclePolicyRuleOutput) TimeUnit

The unit that should be used to interpret timeAmount. Days are defined as starting and ending at midnight UTC. Years are defined as 365.2425 days long and likewise round up to the next midnight UTC.

func (GetObjectLifecyclePolicyRuleOutput) ToGetObjectLifecyclePolicyRuleOutput

func (o GetObjectLifecyclePolicyRuleOutput) ToGetObjectLifecyclePolicyRuleOutput() GetObjectLifecyclePolicyRuleOutput

func (GetObjectLifecyclePolicyRuleOutput) ToGetObjectLifecyclePolicyRuleOutputWithContext

func (o GetObjectLifecyclePolicyRuleOutput) ToGetObjectLifecyclePolicyRuleOutputWithContext(ctx context.Context) GetObjectLifecyclePolicyRuleOutput

type GetObjectOutputArgs

type GetObjectOutputArgs struct {
	Base64EncodeContent pulumi.BoolPtrInput `pulumi:"base64EncodeContent"`
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// The limit of the content length of the object body to download from the object store. The default is 1Mb.
	ContentLengthLimit pulumi.IntPtrInput `pulumi:"contentLengthLimit"`
	// Specify this query parameter to override the Cache-Control response header in the GetObject response.
	HttpResponseCacheControl pulumi.StringPtrInput `pulumi:"httpResponseCacheControl"`
	// Specify this query parameter to override the value of the Content-Disposition response header in the GetObject response.
	HttpResponseContentDisposition pulumi.StringPtrInput `pulumi:"httpResponseContentDisposition"`
	// Specify this query parameter to override the Content-Encoding response header in the GetObject response.
	HttpResponseContentEncoding pulumi.StringPtrInput `pulumi:"httpResponseContentEncoding"`
	// Specify this query parameter to override the Content-Language response header in the GetObject response.
	HttpResponseContentLanguage pulumi.StringPtrInput `pulumi:"httpResponseContentLanguage"`
	// Specify this query parameter to override the Content-Type response header in the GetObject response.
	HttpResponseContentType pulumi.StringPtrInput `pulumi:"httpResponseContentType"`
	// Specify this query parameter to override the Expires response header in the GetObject response.
	HttpResponseExpires pulumi.StringPtrInput `pulumi:"httpResponseExpires"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The name of the object. Avoid entering confidential information. Example: `test/object1.log`
	Object pulumi.StringInput `pulumi:"object"`
	// VersionId used to identify a particular version of the object
	VersionId pulumi.StringPtrInput `pulumi:"versionId"`
}

A collection of arguments for invoking getObject.

func (GetObjectOutputArgs) ElementType

func (GetObjectOutputArgs) ElementType() reflect.Type

type GetObjectResult

type GetObjectResult struct {
	Base64EncodeContent *bool `pulumi:"base64EncodeContent"`
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket       string `pulumi:"bucket"`
	CacheControl string `pulumi:"cacheControl"`
	// The object to upload to the object store.
	Content            string `pulumi:"content"`
	ContentDisposition string `pulumi:"contentDisposition"`
	// The content encoding of the object.
	ContentEncoding string `pulumi:"contentEncoding"`
	// The content language of the object.
	ContentLanguage string `pulumi:"contentLanguage"`
	// The content length of the body.
	ContentLength      string `pulumi:"contentLength"`
	ContentLengthLimit *int   `pulumi:"contentLengthLimit"`
	// The base-64 encoded MD5 hash of the body.
	ContentMd5 string `pulumi:"contentMd5"`
	// The content type of the object.  Defaults to 'application/octet-stream' if not overridden during the PutObject call.
	ContentType                    string  `pulumi:"contentType"`
	HttpResponseCacheControl       *string `pulumi:"httpResponseCacheControl"`
	HttpResponseContentDisposition *string `pulumi:"httpResponseContentDisposition"`
	HttpResponseContentEncoding    *string `pulumi:"httpResponseContentEncoding"`
	HttpResponseContentLanguage    *string `pulumi:"httpResponseContentLanguage"`
	HttpResponseContentType        *string `pulumi:"httpResponseContentType"`
	HttpResponseExpires            *string `pulumi:"httpResponseExpires"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Optional user-defined metadata key and value. Note: Metadata keys are case-insensitive and all returned keys will be lower case.
	Metadata map[string]interface{} `pulumi:"metadata"`
	// The top-level namespace used for the request.
	Namespace string `pulumi:"namespace"`
	// The name of the object. Avoid entering confidential information. Example: `test/object1.log`
	Object string `pulumi:"object"`
	// The storage tier that the object is stored in.
	StorageTier string `pulumi:"storageTier"`
	VersionId   string `pulumi:"versionId"`
}

A collection of values returned by getObject.

func GetObject

func GetObject(ctx *pulumi.Context, args *GetObjectArgs, opts ...pulumi.InvokeOption) (*GetObjectResult, error)

This data source provides details about a specific Object resource in Oracle Cloud Infrastructure Object Storage service.

Gets the metadata and body of an object.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.GetObject(ctx, &objectstorage.GetObjectArgs{
			Bucket:                         objectBucket,
			Namespace:                      objectNamespace,
			Object:                         objectObject,
			HttpResponseCacheControl:       pulumi.StringRef(objectHttpResponseCacheControl),
			HttpResponseContentDisposition: pulumi.StringRef(objectHttpResponseContentDisposition),
			HttpResponseContentEncoding:    pulumi.StringRef(objectHttpResponseContentEncoding),
			HttpResponseContentLanguage:    pulumi.StringRef(objectHttpResponseContentLanguage),
			HttpResponseContentType:        pulumi.StringRef(objectHttpResponseContentType),
			HttpResponseExpires:            pulumi.StringRef(objectHttpResponseExpires),
			VersionId:                      pulumi.StringRef(testVersion.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetObjectResultOutput

type GetObjectResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getObject.

func (GetObjectResultOutput) Base64EncodeContent

func (o GetObjectResultOutput) Base64EncodeContent() pulumi.BoolPtrOutput

func (GetObjectResultOutput) Bucket

The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`

func (GetObjectResultOutput) CacheControl

func (o GetObjectResultOutput) CacheControl() pulumi.StringOutput

func (GetObjectResultOutput) Content

The object to upload to the object store.

func (GetObjectResultOutput) ContentDisposition

func (o GetObjectResultOutput) ContentDisposition() pulumi.StringOutput

func (GetObjectResultOutput) ContentEncoding

func (o GetObjectResultOutput) ContentEncoding() pulumi.StringOutput

The content encoding of the object.

func (GetObjectResultOutput) ContentLanguage

func (o GetObjectResultOutput) ContentLanguage() pulumi.StringOutput

The content language of the object.

func (GetObjectResultOutput) ContentLength

func (o GetObjectResultOutput) ContentLength() pulumi.StringOutput

The content length of the body.

func (GetObjectResultOutput) ContentLengthLimit

func (o GetObjectResultOutput) ContentLengthLimit() pulumi.IntPtrOutput

func (GetObjectResultOutput) ContentMd5

func (o GetObjectResultOutput) ContentMd5() pulumi.StringOutput

The base-64 encoded MD5 hash of the body.

func (GetObjectResultOutput) ContentType

func (o GetObjectResultOutput) ContentType() pulumi.StringOutput

The content type of the object. Defaults to 'application/octet-stream' if not overridden during the PutObject call.

func (GetObjectResultOutput) ElementType

func (GetObjectResultOutput) ElementType() reflect.Type

func (GetObjectResultOutput) HttpResponseCacheControl

func (o GetObjectResultOutput) HttpResponseCacheControl() pulumi.StringPtrOutput

func (GetObjectResultOutput) HttpResponseContentDisposition

func (o GetObjectResultOutput) HttpResponseContentDisposition() pulumi.StringPtrOutput

func (GetObjectResultOutput) HttpResponseContentEncoding

func (o GetObjectResultOutput) HttpResponseContentEncoding() pulumi.StringPtrOutput

func (GetObjectResultOutput) HttpResponseContentLanguage

func (o GetObjectResultOutput) HttpResponseContentLanguage() pulumi.StringPtrOutput

func (GetObjectResultOutput) HttpResponseContentType

func (o GetObjectResultOutput) HttpResponseContentType() pulumi.StringPtrOutput

func (GetObjectResultOutput) HttpResponseExpires

func (o GetObjectResultOutput) HttpResponseExpires() pulumi.StringPtrOutput

func (GetObjectResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetObjectResultOutput) Metadata

func (o GetObjectResultOutput) Metadata() pulumi.MapOutput

Optional user-defined metadata key and value. Note: Metadata keys are case-insensitive and all returned keys will be lower case.

func (GetObjectResultOutput) Namespace

The top-level namespace used for the request.

func (GetObjectResultOutput) Object

The name of the object. Avoid entering confidential information. Example: `test/object1.log`

func (GetObjectResultOutput) StorageTier

func (o GetObjectResultOutput) StorageTier() pulumi.StringOutput

The storage tier that the object is stored in.

func (GetObjectResultOutput) ToGetObjectResultOutput

func (o GetObjectResultOutput) ToGetObjectResultOutput() GetObjectResultOutput

func (GetObjectResultOutput) ToGetObjectResultOutputWithContext

func (o GetObjectResultOutput) ToGetObjectResultOutputWithContext(ctx context.Context) GetObjectResultOutput

func (GetObjectResultOutput) VersionId

type GetObjectVersionsArgs

type GetObjectVersionsArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket string `pulumi:"bucket"`
	// When this parameter is set, only objects whose names do not contain the delimiter character (after an optionally specified prefix) are returned in the objects key of the response body. Scanned objects whose names contain the delimiter have the part of their name up to the first occurrence of the delimiter (including the optional prefix) returned as a set of prefixes. Note that only '/' is a supported delimiter character at this time.
	Delimiter *string `pulumi:"delimiter"`
	// Object names returned by a list query must be strictly less than this parameter.
	End *string `pulumi:"end"`
	// Object summary by default includes only the 'name' field. Use this parameter to also include 'size' (object size in bytes), 'etag', 'md5', 'timeCreated' (object creation date and time), 'timeModified' (object modification date and time), 'storageTier' and 'archivalState' fields. Specify the value of this parameter as a comma-separated, case-insensitive list of those field names.  For example 'name,etag,timeCreated,md5,timeModified,storageTier,archivalState'.
	Fields  *string                   `pulumi:"fields"`
	Filters []GetObjectVersionsFilter `pulumi:"filters"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
	// The string to use for matching against the start of object names in a list query.
	Prefix *string `pulumi:"prefix"`
	// Object names returned by a list query must be greater or equal to this parameter.
	Start *string `pulumi:"start"`
	// Object names returned by a list query must be greater than this parameter.
	StartAfter *string `pulumi:"startAfter"`
}

A collection of arguments for invoking getObjectVersions.

type GetObjectVersionsFilter

type GetObjectVersionsFilter struct {
	// The name of the object. Avoid entering confidential information. Example: test/object1.log
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetObjectVersionsFilterArgs

type GetObjectVersionsFilterArgs struct {
	// The name of the object. Avoid entering confidential information. Example: test/object1.log
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetObjectVersionsFilterArgs) ElementType

func (GetObjectVersionsFilterArgs) ToGetObjectVersionsFilterOutput

func (i GetObjectVersionsFilterArgs) ToGetObjectVersionsFilterOutput() GetObjectVersionsFilterOutput

func (GetObjectVersionsFilterArgs) ToGetObjectVersionsFilterOutputWithContext

func (i GetObjectVersionsFilterArgs) ToGetObjectVersionsFilterOutputWithContext(ctx context.Context) GetObjectVersionsFilterOutput

type GetObjectVersionsFilterArray

type GetObjectVersionsFilterArray []GetObjectVersionsFilterInput

func (GetObjectVersionsFilterArray) ElementType

func (GetObjectVersionsFilterArray) ToGetObjectVersionsFilterArrayOutput

func (i GetObjectVersionsFilterArray) ToGetObjectVersionsFilterArrayOutput() GetObjectVersionsFilterArrayOutput

func (GetObjectVersionsFilterArray) ToGetObjectVersionsFilterArrayOutputWithContext

func (i GetObjectVersionsFilterArray) ToGetObjectVersionsFilterArrayOutputWithContext(ctx context.Context) GetObjectVersionsFilterArrayOutput

type GetObjectVersionsFilterArrayInput

type GetObjectVersionsFilterArrayInput interface {
	pulumi.Input

	ToGetObjectVersionsFilterArrayOutput() GetObjectVersionsFilterArrayOutput
	ToGetObjectVersionsFilterArrayOutputWithContext(context.Context) GetObjectVersionsFilterArrayOutput
}

GetObjectVersionsFilterArrayInput is an input type that accepts GetObjectVersionsFilterArray and GetObjectVersionsFilterArrayOutput values. You can construct a concrete instance of `GetObjectVersionsFilterArrayInput` via:

GetObjectVersionsFilterArray{ GetObjectVersionsFilterArgs{...} }

type GetObjectVersionsFilterArrayOutput

type GetObjectVersionsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetObjectVersionsFilterArrayOutput) ElementType

func (GetObjectVersionsFilterArrayOutput) Index

func (GetObjectVersionsFilterArrayOutput) ToGetObjectVersionsFilterArrayOutput

func (o GetObjectVersionsFilterArrayOutput) ToGetObjectVersionsFilterArrayOutput() GetObjectVersionsFilterArrayOutput

func (GetObjectVersionsFilterArrayOutput) ToGetObjectVersionsFilterArrayOutputWithContext

func (o GetObjectVersionsFilterArrayOutput) ToGetObjectVersionsFilterArrayOutputWithContext(ctx context.Context) GetObjectVersionsFilterArrayOutput

type GetObjectVersionsFilterInput

type GetObjectVersionsFilterInput interface {
	pulumi.Input

	ToGetObjectVersionsFilterOutput() GetObjectVersionsFilterOutput
	ToGetObjectVersionsFilterOutputWithContext(context.Context) GetObjectVersionsFilterOutput
}

GetObjectVersionsFilterInput is an input type that accepts GetObjectVersionsFilterArgs and GetObjectVersionsFilterOutput values. You can construct a concrete instance of `GetObjectVersionsFilterInput` via:

GetObjectVersionsFilterArgs{...}

type GetObjectVersionsFilterOutput

type GetObjectVersionsFilterOutput struct{ *pulumi.OutputState }

func (GetObjectVersionsFilterOutput) ElementType

func (GetObjectVersionsFilterOutput) Name

The name of the object. Avoid entering confidential information. Example: test/object1.log

func (GetObjectVersionsFilterOutput) Regex

func (GetObjectVersionsFilterOutput) ToGetObjectVersionsFilterOutput

func (o GetObjectVersionsFilterOutput) ToGetObjectVersionsFilterOutput() GetObjectVersionsFilterOutput

func (GetObjectVersionsFilterOutput) ToGetObjectVersionsFilterOutputWithContext

func (o GetObjectVersionsFilterOutput) ToGetObjectVersionsFilterOutputWithContext(ctx context.Context) GetObjectVersionsFilterOutput

func (GetObjectVersionsFilterOutput) Values

type GetObjectVersionsItem

type GetObjectVersionsItem struct {
	// Archival state of an object. This field is set only for objects in Archive tier.
	ArchivalState string `pulumi:"archivalState"`
	// The current entity tag (ETag) for the object.
	Etag string `pulumi:"etag"`
	// This flag will indicate if the version is deleted or not.
	IsDeleteMarker bool `pulumi:"isDeleteMarker"`
	// Base64-encoded MD5 hash of the object data.
	Md5 string `pulumi:"md5"`
	// The name of the object. Avoid entering confidential information. Example: test/object1.log
	Name string `pulumi:"name"`
	// Size of the object in bytes.
	Size string `pulumi:"size"`
	// The storage tier that the object is stored in.
	StorageTier string `pulumi:"storageTier"`
	// The date and time the object was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the object was modified, as described in [RFC 2616](https://tools.ietf.org/rfc/rfc2616#section-14.29).
	TimeModified string `pulumi:"timeModified"`
	// VersionId of the object.
	VersionId string `pulumi:"versionId"`
}

type GetObjectVersionsItemArgs

type GetObjectVersionsItemArgs struct {
	// Archival state of an object. This field is set only for objects in Archive tier.
	ArchivalState pulumi.StringInput `pulumi:"archivalState"`
	// The current entity tag (ETag) for the object.
	Etag pulumi.StringInput `pulumi:"etag"`
	// This flag will indicate if the version is deleted or not.
	IsDeleteMarker pulumi.BoolInput `pulumi:"isDeleteMarker"`
	// Base64-encoded MD5 hash of the object data.
	Md5 pulumi.StringInput `pulumi:"md5"`
	// The name of the object. Avoid entering confidential information. Example: test/object1.log
	Name pulumi.StringInput `pulumi:"name"`
	// Size of the object in bytes.
	Size pulumi.StringInput `pulumi:"size"`
	// The storage tier that the object is stored in.
	StorageTier pulumi.StringInput `pulumi:"storageTier"`
	// The date and time the object was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the object was modified, as described in [RFC 2616](https://tools.ietf.org/rfc/rfc2616#section-14.29).
	TimeModified pulumi.StringInput `pulumi:"timeModified"`
	// VersionId of the object.
	VersionId pulumi.StringInput `pulumi:"versionId"`
}

func (GetObjectVersionsItemArgs) ElementType

func (GetObjectVersionsItemArgs) ElementType() reflect.Type

func (GetObjectVersionsItemArgs) ToGetObjectVersionsItemOutput

func (i GetObjectVersionsItemArgs) ToGetObjectVersionsItemOutput() GetObjectVersionsItemOutput

func (GetObjectVersionsItemArgs) ToGetObjectVersionsItemOutputWithContext

func (i GetObjectVersionsItemArgs) ToGetObjectVersionsItemOutputWithContext(ctx context.Context) GetObjectVersionsItemOutput

type GetObjectVersionsItemArray

type GetObjectVersionsItemArray []GetObjectVersionsItemInput

func (GetObjectVersionsItemArray) ElementType

func (GetObjectVersionsItemArray) ElementType() reflect.Type

func (GetObjectVersionsItemArray) ToGetObjectVersionsItemArrayOutput

func (i GetObjectVersionsItemArray) ToGetObjectVersionsItemArrayOutput() GetObjectVersionsItemArrayOutput

func (GetObjectVersionsItemArray) ToGetObjectVersionsItemArrayOutputWithContext

func (i GetObjectVersionsItemArray) ToGetObjectVersionsItemArrayOutputWithContext(ctx context.Context) GetObjectVersionsItemArrayOutput

type GetObjectVersionsItemArrayInput

type GetObjectVersionsItemArrayInput interface {
	pulumi.Input

	ToGetObjectVersionsItemArrayOutput() GetObjectVersionsItemArrayOutput
	ToGetObjectVersionsItemArrayOutputWithContext(context.Context) GetObjectVersionsItemArrayOutput
}

GetObjectVersionsItemArrayInput is an input type that accepts GetObjectVersionsItemArray and GetObjectVersionsItemArrayOutput values. You can construct a concrete instance of `GetObjectVersionsItemArrayInput` via:

GetObjectVersionsItemArray{ GetObjectVersionsItemArgs{...} }

type GetObjectVersionsItemArrayOutput

type GetObjectVersionsItemArrayOutput struct{ *pulumi.OutputState }

func (GetObjectVersionsItemArrayOutput) ElementType

func (GetObjectVersionsItemArrayOutput) Index

func (GetObjectVersionsItemArrayOutput) ToGetObjectVersionsItemArrayOutput

func (o GetObjectVersionsItemArrayOutput) ToGetObjectVersionsItemArrayOutput() GetObjectVersionsItemArrayOutput

func (GetObjectVersionsItemArrayOutput) ToGetObjectVersionsItemArrayOutputWithContext

func (o GetObjectVersionsItemArrayOutput) ToGetObjectVersionsItemArrayOutputWithContext(ctx context.Context) GetObjectVersionsItemArrayOutput

type GetObjectVersionsItemInput

type GetObjectVersionsItemInput interface {
	pulumi.Input

	ToGetObjectVersionsItemOutput() GetObjectVersionsItemOutput
	ToGetObjectVersionsItemOutputWithContext(context.Context) GetObjectVersionsItemOutput
}

GetObjectVersionsItemInput is an input type that accepts GetObjectVersionsItemArgs and GetObjectVersionsItemOutput values. You can construct a concrete instance of `GetObjectVersionsItemInput` via:

GetObjectVersionsItemArgs{...}

type GetObjectVersionsItemOutput

type GetObjectVersionsItemOutput struct{ *pulumi.OutputState }

func (GetObjectVersionsItemOutput) ArchivalState

Archival state of an object. This field is set only for objects in Archive tier.

func (GetObjectVersionsItemOutput) ElementType

func (GetObjectVersionsItemOutput) Etag

The current entity tag (ETag) for the object.

func (GetObjectVersionsItemOutput) IsDeleteMarker

func (o GetObjectVersionsItemOutput) IsDeleteMarker() pulumi.BoolOutput

This flag will indicate if the version is deleted or not.

func (GetObjectVersionsItemOutput) Md5

Base64-encoded MD5 hash of the object data.

func (GetObjectVersionsItemOutput) Name

The name of the object. Avoid entering confidential information. Example: test/object1.log

func (GetObjectVersionsItemOutput) Size

Size of the object in bytes.

func (GetObjectVersionsItemOutput) StorageTier

The storage tier that the object is stored in.

func (GetObjectVersionsItemOutput) TimeCreated

The date and time the object was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).

func (GetObjectVersionsItemOutput) TimeModified

The date and time the object was modified, as described in [RFC 2616](https://tools.ietf.org/rfc/rfc2616#section-14.29).

func (GetObjectVersionsItemOutput) ToGetObjectVersionsItemOutput

func (o GetObjectVersionsItemOutput) ToGetObjectVersionsItemOutput() GetObjectVersionsItemOutput

func (GetObjectVersionsItemOutput) ToGetObjectVersionsItemOutputWithContext

func (o GetObjectVersionsItemOutput) ToGetObjectVersionsItemOutputWithContext(ctx context.Context) GetObjectVersionsItemOutput

func (GetObjectVersionsItemOutput) VersionId

VersionId of the object.

type GetObjectVersionsOutputArgs

type GetObjectVersionsOutputArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// When this parameter is set, only objects whose names do not contain the delimiter character (after an optionally specified prefix) are returned in the objects key of the response body. Scanned objects whose names contain the delimiter have the part of their name up to the first occurrence of the delimiter (including the optional prefix) returned as a set of prefixes. Note that only '/' is a supported delimiter character at this time.
	Delimiter pulumi.StringPtrInput `pulumi:"delimiter"`
	// Object names returned by a list query must be strictly less than this parameter.
	End pulumi.StringPtrInput `pulumi:"end"`
	// Object summary by default includes only the 'name' field. Use this parameter to also include 'size' (object size in bytes), 'etag', 'md5', 'timeCreated' (object creation date and time), 'timeModified' (object modification date and time), 'storageTier' and 'archivalState' fields. Specify the value of this parameter as a comma-separated, case-insensitive list of those field names.  For example 'name,etag,timeCreated,md5,timeModified,storageTier,archivalState'.
	Fields  pulumi.StringPtrInput             `pulumi:"fields"`
	Filters GetObjectVersionsFilterArrayInput `pulumi:"filters"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The string to use for matching against the start of object names in a list query.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// Object names returned by a list query must be greater or equal to this parameter.
	Start pulumi.StringPtrInput `pulumi:"start"`
	// Object names returned by a list query must be greater than this parameter.
	StartAfter pulumi.StringPtrInput `pulumi:"startAfter"`
}

A collection of arguments for invoking getObjectVersions.

func (GetObjectVersionsOutputArgs) ElementType

type GetObjectVersionsResult

type GetObjectVersionsResult struct {
	Bucket    string                    `pulumi:"bucket"`
	Delimiter *string                   `pulumi:"delimiter"`
	End       *string                   `pulumi:"end"`
	Fields    *string                   `pulumi:"fields"`
	Filters   []GetObjectVersionsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// An array of object version summaries.
	Items     []GetObjectVersionsItem `pulumi:"items"`
	Namespace string                  `pulumi:"namespace"`
	Prefix    *string                 `pulumi:"prefix"`
	// Prefixes that are common to the results returned by the request if the request specified a delimiter.
	Prefixes   []string `pulumi:"prefixes"`
	Start      *string  `pulumi:"start"`
	StartAfter *string  `pulumi:"startAfter"`
}

A collection of values returned by getObjectVersions.

func GetObjectVersions

func GetObjectVersions(ctx *pulumi.Context, args *GetObjectVersionsArgs, opts ...pulumi.InvokeOption) (*GetObjectVersionsResult, error)

This data source provides the list of Object Versions in Oracle Cloud Infrastructure Object Storage service.

Lists the object versions in a bucket.

ListObjectVersions returns an ObjectVersionCollection containing at most 1000 object versions. To paginate through more object versions, use the returned `opc-next-page` value with the `page` request parameter.

To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.GetObjectVersions(ctx, &objectstorage.GetObjectVersionsArgs{
			Bucket:     objectVersionBucket,
			Namespace:  objectVersionNamespace,
			Delimiter:  pulumi.StringRef(objectVersionDelimiter),
			End:        pulumi.StringRef(objectVersionEnd),
			Fields:     pulumi.StringRef(objectVersionFields),
			Prefix:     pulumi.StringRef(objectVersionPrefix),
			Start:      pulumi.StringRef(objectVersionStart),
			StartAfter: pulumi.StringRef(objectVersionStartAfter),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetObjectVersionsResultOutput

type GetObjectVersionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getObjectVersions.

func (GetObjectVersionsResultOutput) Bucket

func (GetObjectVersionsResultOutput) Delimiter

func (GetObjectVersionsResultOutput) ElementType

func (GetObjectVersionsResultOutput) End

func (GetObjectVersionsResultOutput) Fields

func (GetObjectVersionsResultOutput) Filters

func (GetObjectVersionsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetObjectVersionsResultOutput) Items

An array of object version summaries.

func (GetObjectVersionsResultOutput) Namespace

func (GetObjectVersionsResultOutput) Prefix

func (GetObjectVersionsResultOutput) Prefixes

Prefixes that are common to the results returned by the request if the request specified a delimiter.

func (GetObjectVersionsResultOutput) Start

func (GetObjectVersionsResultOutput) StartAfter

func (GetObjectVersionsResultOutput) ToGetObjectVersionsResultOutput

func (o GetObjectVersionsResultOutput) ToGetObjectVersionsResultOutput() GetObjectVersionsResultOutput

func (GetObjectVersionsResultOutput) ToGetObjectVersionsResultOutputWithContext

func (o GetObjectVersionsResultOutput) ToGetObjectVersionsResultOutputWithContext(ctx context.Context) GetObjectVersionsResultOutput

type GetObjectsArgs

type GetObjectsArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket string `pulumi:"bucket"`
	// When this parameter is set, only objects whose names do not contain the delimiter character (after an optionally specified prefix) are returned in the objects key of the response body. Scanned objects whose names contain the delimiter have the part of their name up to the first occurrence of the delimiter (including the optional prefix) returned as a set of prefixes. Note that only '/' is a supported delimiter character at this time.
	Delimiter *string `pulumi:"delimiter"`
	// Object names returned by a list query must be strictly less than this parameter.
	End     *string            `pulumi:"end"`
	Filters []GetObjectsFilter `pulumi:"filters"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
	// The string to use for matching against the start of object names in a list query.
	Prefix *string `pulumi:"prefix"`
	// Object names returned by a list query must be greater or equal to this parameter.
	Start *string `pulumi:"start"`
	// Object names returned by a list query must be greater than this parameter.
	StartAfter *string `pulumi:"startAfter"`
}

A collection of arguments for invoking getObjects.

type GetObjectsFilter

type GetObjectsFilter struct {
	// The name of the object.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetObjectsFilterArgs

type GetObjectsFilterArgs struct {
	// The name of the object.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetObjectsFilterArgs) ElementType

func (GetObjectsFilterArgs) ElementType() reflect.Type

func (GetObjectsFilterArgs) ToGetObjectsFilterOutput

func (i GetObjectsFilterArgs) ToGetObjectsFilterOutput() GetObjectsFilterOutput

func (GetObjectsFilterArgs) ToGetObjectsFilterOutputWithContext

func (i GetObjectsFilterArgs) ToGetObjectsFilterOutputWithContext(ctx context.Context) GetObjectsFilterOutput

type GetObjectsFilterArray

type GetObjectsFilterArray []GetObjectsFilterInput

func (GetObjectsFilterArray) ElementType

func (GetObjectsFilterArray) ElementType() reflect.Type

func (GetObjectsFilterArray) ToGetObjectsFilterArrayOutput

func (i GetObjectsFilterArray) ToGetObjectsFilterArrayOutput() GetObjectsFilterArrayOutput

func (GetObjectsFilterArray) ToGetObjectsFilterArrayOutputWithContext

func (i GetObjectsFilterArray) ToGetObjectsFilterArrayOutputWithContext(ctx context.Context) GetObjectsFilterArrayOutput

type GetObjectsFilterArrayInput

type GetObjectsFilterArrayInput interface {
	pulumi.Input

	ToGetObjectsFilterArrayOutput() GetObjectsFilterArrayOutput
	ToGetObjectsFilterArrayOutputWithContext(context.Context) GetObjectsFilterArrayOutput
}

GetObjectsFilterArrayInput is an input type that accepts GetObjectsFilterArray and GetObjectsFilterArrayOutput values. You can construct a concrete instance of `GetObjectsFilterArrayInput` via:

GetObjectsFilterArray{ GetObjectsFilterArgs{...} }

type GetObjectsFilterArrayOutput

type GetObjectsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetObjectsFilterArrayOutput) ElementType

func (GetObjectsFilterArrayOutput) Index

func (GetObjectsFilterArrayOutput) ToGetObjectsFilterArrayOutput

func (o GetObjectsFilterArrayOutput) ToGetObjectsFilterArrayOutput() GetObjectsFilterArrayOutput

func (GetObjectsFilterArrayOutput) ToGetObjectsFilterArrayOutputWithContext

func (o GetObjectsFilterArrayOutput) ToGetObjectsFilterArrayOutputWithContext(ctx context.Context) GetObjectsFilterArrayOutput

type GetObjectsFilterInput

type GetObjectsFilterInput interface {
	pulumi.Input

	ToGetObjectsFilterOutput() GetObjectsFilterOutput
	ToGetObjectsFilterOutputWithContext(context.Context) GetObjectsFilterOutput
}

GetObjectsFilterInput is an input type that accepts GetObjectsFilterArgs and GetObjectsFilterOutput values. You can construct a concrete instance of `GetObjectsFilterInput` via:

GetObjectsFilterArgs{...}

type GetObjectsFilterOutput

type GetObjectsFilterOutput struct{ *pulumi.OutputState }

func (GetObjectsFilterOutput) ElementType

func (GetObjectsFilterOutput) ElementType() reflect.Type

func (GetObjectsFilterOutput) Name

The name of the object.

func (GetObjectsFilterOutput) Regex

func (GetObjectsFilterOutput) ToGetObjectsFilterOutput

func (o GetObjectsFilterOutput) ToGetObjectsFilterOutput() GetObjectsFilterOutput

func (GetObjectsFilterOutput) ToGetObjectsFilterOutputWithContext

func (o GetObjectsFilterOutput) ToGetObjectsFilterOutputWithContext(ctx context.Context) GetObjectsFilterOutput

func (GetObjectsFilterOutput) Values

type GetObjectsObject

type GetObjectsObject struct {
	ArchivalState string `pulumi:"archivalState"`
	// The current entity tag (ETag) for the object.
	Etag string `pulumi:"etag"`
	// Base64-encoded MD5 hash of the object data.
	Md5 string `pulumi:"md5"`
	// The name of the object.
	Name string `pulumi:"name"`
	// Size of the object in bytes.
	Size string `pulumi:"size"`
	// The storage tier that the object is stored in.
	// * `archival-state` - Archival state of an object. This field is set only for objects in Archive tier.
	StorageTier string `pulumi:"storageTier"`
	// The date and time the object was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the object was modified, as described in [RFC 2616](https://tools.ietf.org/rfc/rfc2616#section-14.29).
	TimeModified string `pulumi:"timeModified"`
}

type GetObjectsObjectArgs

type GetObjectsObjectArgs struct {
	ArchivalState pulumi.StringInput `pulumi:"archivalState"`
	// The current entity tag (ETag) for the object.
	Etag pulumi.StringInput `pulumi:"etag"`
	// Base64-encoded MD5 hash of the object data.
	Md5 pulumi.StringInput `pulumi:"md5"`
	// The name of the object.
	Name pulumi.StringInput `pulumi:"name"`
	// Size of the object in bytes.
	Size pulumi.StringInput `pulumi:"size"`
	// The storage tier that the object is stored in.
	// * `archival-state` - Archival state of an object. This field is set only for objects in Archive tier.
	StorageTier pulumi.StringInput `pulumi:"storageTier"`
	// The date and time the object was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the object was modified, as described in [RFC 2616](https://tools.ietf.org/rfc/rfc2616#section-14.29).
	TimeModified pulumi.StringInput `pulumi:"timeModified"`
}

func (GetObjectsObjectArgs) ElementType

func (GetObjectsObjectArgs) ElementType() reflect.Type

func (GetObjectsObjectArgs) ToGetObjectsObjectOutput

func (i GetObjectsObjectArgs) ToGetObjectsObjectOutput() GetObjectsObjectOutput

func (GetObjectsObjectArgs) ToGetObjectsObjectOutputWithContext

func (i GetObjectsObjectArgs) ToGetObjectsObjectOutputWithContext(ctx context.Context) GetObjectsObjectOutput

type GetObjectsObjectArray

type GetObjectsObjectArray []GetObjectsObjectInput

func (GetObjectsObjectArray) ElementType

func (GetObjectsObjectArray) ElementType() reflect.Type

func (GetObjectsObjectArray) ToGetObjectsObjectArrayOutput

func (i GetObjectsObjectArray) ToGetObjectsObjectArrayOutput() GetObjectsObjectArrayOutput

func (GetObjectsObjectArray) ToGetObjectsObjectArrayOutputWithContext

func (i GetObjectsObjectArray) ToGetObjectsObjectArrayOutputWithContext(ctx context.Context) GetObjectsObjectArrayOutput

type GetObjectsObjectArrayInput

type GetObjectsObjectArrayInput interface {
	pulumi.Input

	ToGetObjectsObjectArrayOutput() GetObjectsObjectArrayOutput
	ToGetObjectsObjectArrayOutputWithContext(context.Context) GetObjectsObjectArrayOutput
}

GetObjectsObjectArrayInput is an input type that accepts GetObjectsObjectArray and GetObjectsObjectArrayOutput values. You can construct a concrete instance of `GetObjectsObjectArrayInput` via:

GetObjectsObjectArray{ GetObjectsObjectArgs{...} }

type GetObjectsObjectArrayOutput

type GetObjectsObjectArrayOutput struct{ *pulumi.OutputState }

func (GetObjectsObjectArrayOutput) ElementType

func (GetObjectsObjectArrayOutput) Index

func (GetObjectsObjectArrayOutput) ToGetObjectsObjectArrayOutput

func (o GetObjectsObjectArrayOutput) ToGetObjectsObjectArrayOutput() GetObjectsObjectArrayOutput

func (GetObjectsObjectArrayOutput) ToGetObjectsObjectArrayOutputWithContext

func (o GetObjectsObjectArrayOutput) ToGetObjectsObjectArrayOutputWithContext(ctx context.Context) GetObjectsObjectArrayOutput

type GetObjectsObjectInput

type GetObjectsObjectInput interface {
	pulumi.Input

	ToGetObjectsObjectOutput() GetObjectsObjectOutput
	ToGetObjectsObjectOutputWithContext(context.Context) GetObjectsObjectOutput
}

GetObjectsObjectInput is an input type that accepts GetObjectsObjectArgs and GetObjectsObjectOutput values. You can construct a concrete instance of `GetObjectsObjectInput` via:

GetObjectsObjectArgs{...}

type GetObjectsObjectOutput

type GetObjectsObjectOutput struct{ *pulumi.OutputState }

func (GetObjectsObjectOutput) ArchivalState

func (o GetObjectsObjectOutput) ArchivalState() pulumi.StringOutput

func (GetObjectsObjectOutput) ElementType

func (GetObjectsObjectOutput) ElementType() reflect.Type

func (GetObjectsObjectOutput) Etag

The current entity tag (ETag) for the object.

func (GetObjectsObjectOutput) Md5

Base64-encoded MD5 hash of the object data.

func (GetObjectsObjectOutput) Name

The name of the object.

func (GetObjectsObjectOutput) Size

Size of the object in bytes.

func (GetObjectsObjectOutput) StorageTier

func (o GetObjectsObjectOutput) StorageTier() pulumi.StringOutput

The storage tier that the object is stored in. * `archival-state` - Archival state of an object. This field is set only for objects in Archive tier.

func (GetObjectsObjectOutput) TimeCreated

func (o GetObjectsObjectOutput) TimeCreated() pulumi.StringOutput

The date and time the object was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).

func (GetObjectsObjectOutput) TimeModified

func (o GetObjectsObjectOutput) TimeModified() pulumi.StringOutput

The date and time the object was modified, as described in [RFC 2616](https://tools.ietf.org/rfc/rfc2616#section-14.29).

func (GetObjectsObjectOutput) ToGetObjectsObjectOutput

func (o GetObjectsObjectOutput) ToGetObjectsObjectOutput() GetObjectsObjectOutput

func (GetObjectsObjectOutput) ToGetObjectsObjectOutputWithContext

func (o GetObjectsObjectOutput) ToGetObjectsObjectOutputWithContext(ctx context.Context) GetObjectsObjectOutput

type GetObjectsOutputArgs

type GetObjectsOutputArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// When this parameter is set, only objects whose names do not contain the delimiter character (after an optionally specified prefix) are returned in the objects key of the response body. Scanned objects whose names contain the delimiter have the part of their name up to the first occurrence of the delimiter (including the optional prefix) returned as a set of prefixes. Note that only '/' is a supported delimiter character at this time.
	Delimiter pulumi.StringPtrInput `pulumi:"delimiter"`
	// Object names returned by a list query must be strictly less than this parameter.
	End     pulumi.StringPtrInput      `pulumi:"end"`
	Filters GetObjectsFilterArrayInput `pulumi:"filters"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The string to use for matching against the start of object names in a list query.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// Object names returned by a list query must be greater or equal to this parameter.
	Start pulumi.StringPtrInput `pulumi:"start"`
	// Object names returned by a list query must be greater than this parameter.
	StartAfter pulumi.StringPtrInput `pulumi:"startAfter"`
}

A collection of arguments for invoking getObjects.

func (GetObjectsOutputArgs) ElementType

func (GetObjectsOutputArgs) ElementType() reflect.Type

type GetObjectsResult

type GetObjectsResult struct {
	Bucket    string             `pulumi:"bucket"`
	Delimiter *string            `pulumi:"delimiter"`
	End       *string            `pulumi:"end"`
	Filters   []GetObjectsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	Namespace string `pulumi:"namespace"`
	// The list of list_objects.
	Objects    []GetObjectsObject `pulumi:"objects"`
	Prefix     *string            `pulumi:"prefix"`
	Prefixes   []string           `pulumi:"prefixes"`
	Start      *string            `pulumi:"start"`
	StartAfter *string            `pulumi:"startAfter"`
}

A collection of values returned by getObjects.

func GetObjects

func GetObjects(ctx *pulumi.Context, args *GetObjectsArgs, opts ...pulumi.InvokeOption) (*GetObjectsResult, error)

This data source provides the list of Objects in Oracle Cloud Infrastructure Object Storage service.

Lists the objects in a bucket. By default, ListObjects returns object names only. See the `fields` parameter for other fields that you can optionally include in ListObjects response.

ListObjects returns at most 1000 objects. To paginate through more objects, use the returned 'nextStartWith' value with the 'start' parameter. To filter which objects ListObjects returns, use the 'start' and 'end' parameters.

To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

type GetObjectsResultOutput

type GetObjectsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getObjects.

func (GetObjectsResultOutput) Bucket

func (GetObjectsResultOutput) Delimiter

func (GetObjectsResultOutput) ElementType

func (GetObjectsResultOutput) ElementType() reflect.Type

func (GetObjectsResultOutput) End

func (GetObjectsResultOutput) Filters

func (GetObjectsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetObjectsResultOutput) Namespace

func (GetObjectsResultOutput) Objects

The list of list_objects.

func (GetObjectsResultOutput) Prefix

func (GetObjectsResultOutput) Prefixes

func (GetObjectsResultOutput) Start

func (GetObjectsResultOutput) StartAfter

func (GetObjectsResultOutput) ToGetObjectsResultOutput

func (o GetObjectsResultOutput) ToGetObjectsResultOutput() GetObjectsResultOutput

func (GetObjectsResultOutput) ToGetObjectsResultOutputWithContext

func (o GetObjectsResultOutput) ToGetObjectsResultOutputWithContext(ctx context.Context) GetObjectsResultOutput

type GetPreauthrequestsArgs

type GetPreauthrequestsArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket  string                     `pulumi:"bucket"`
	Filters []GetPreauthrequestsFilter `pulumi:"filters"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
	// User-specified object name prefixes can be used to query and return a list of pre-authenticated requests.
	ObjectNamePrefix *string `pulumi:"objectNamePrefix"`
}

A collection of arguments for invoking getPreauthrequests.

type GetPreauthrequestsFilter

type GetPreauthrequestsFilter struct {
	// The user-provided name of the pre-authenticated request.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetPreauthrequestsFilterArgs

type GetPreauthrequestsFilterArgs struct {
	// The user-provided name of the pre-authenticated request.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetPreauthrequestsFilterArgs) ElementType

func (GetPreauthrequestsFilterArgs) ToGetPreauthrequestsFilterOutput

func (i GetPreauthrequestsFilterArgs) ToGetPreauthrequestsFilterOutput() GetPreauthrequestsFilterOutput

func (GetPreauthrequestsFilterArgs) ToGetPreauthrequestsFilterOutputWithContext

func (i GetPreauthrequestsFilterArgs) ToGetPreauthrequestsFilterOutputWithContext(ctx context.Context) GetPreauthrequestsFilterOutput

type GetPreauthrequestsFilterArray

type GetPreauthrequestsFilterArray []GetPreauthrequestsFilterInput

func (GetPreauthrequestsFilterArray) ElementType

func (GetPreauthrequestsFilterArray) ToGetPreauthrequestsFilterArrayOutput

func (i GetPreauthrequestsFilterArray) ToGetPreauthrequestsFilterArrayOutput() GetPreauthrequestsFilterArrayOutput

func (GetPreauthrequestsFilterArray) ToGetPreauthrequestsFilterArrayOutputWithContext

func (i GetPreauthrequestsFilterArray) ToGetPreauthrequestsFilterArrayOutputWithContext(ctx context.Context) GetPreauthrequestsFilterArrayOutput

type GetPreauthrequestsFilterArrayInput

type GetPreauthrequestsFilterArrayInput interface {
	pulumi.Input

	ToGetPreauthrequestsFilterArrayOutput() GetPreauthrequestsFilterArrayOutput
	ToGetPreauthrequestsFilterArrayOutputWithContext(context.Context) GetPreauthrequestsFilterArrayOutput
}

GetPreauthrequestsFilterArrayInput is an input type that accepts GetPreauthrequestsFilterArray and GetPreauthrequestsFilterArrayOutput values. You can construct a concrete instance of `GetPreauthrequestsFilterArrayInput` via:

GetPreauthrequestsFilterArray{ GetPreauthrequestsFilterArgs{...} }

type GetPreauthrequestsFilterArrayOutput

type GetPreauthrequestsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetPreauthrequestsFilterArrayOutput) ElementType

func (GetPreauthrequestsFilterArrayOutput) Index

func (GetPreauthrequestsFilterArrayOutput) ToGetPreauthrequestsFilterArrayOutput

func (o GetPreauthrequestsFilterArrayOutput) ToGetPreauthrequestsFilterArrayOutput() GetPreauthrequestsFilterArrayOutput

func (GetPreauthrequestsFilterArrayOutput) ToGetPreauthrequestsFilterArrayOutputWithContext

func (o GetPreauthrequestsFilterArrayOutput) ToGetPreauthrequestsFilterArrayOutputWithContext(ctx context.Context) GetPreauthrequestsFilterArrayOutput

type GetPreauthrequestsFilterInput

type GetPreauthrequestsFilterInput interface {
	pulumi.Input

	ToGetPreauthrequestsFilterOutput() GetPreauthrequestsFilterOutput
	ToGetPreauthrequestsFilterOutputWithContext(context.Context) GetPreauthrequestsFilterOutput
}

GetPreauthrequestsFilterInput is an input type that accepts GetPreauthrequestsFilterArgs and GetPreauthrequestsFilterOutput values. You can construct a concrete instance of `GetPreauthrequestsFilterInput` via:

GetPreauthrequestsFilterArgs{...}

type GetPreauthrequestsFilterOutput

type GetPreauthrequestsFilterOutput struct{ *pulumi.OutputState }

func (GetPreauthrequestsFilterOutput) ElementType

func (GetPreauthrequestsFilterOutput) Name

The user-provided name of the pre-authenticated request.

func (GetPreauthrequestsFilterOutput) Regex

func (GetPreauthrequestsFilterOutput) ToGetPreauthrequestsFilterOutput

func (o GetPreauthrequestsFilterOutput) ToGetPreauthrequestsFilterOutput() GetPreauthrequestsFilterOutput

func (GetPreauthrequestsFilterOutput) ToGetPreauthrequestsFilterOutputWithContext

func (o GetPreauthrequestsFilterOutput) ToGetPreauthrequestsFilterOutputWithContext(ctx context.Context) GetPreauthrequestsFilterOutput

func (GetPreauthrequestsFilterOutput) Values

type GetPreauthrequestsOutputArgs

type GetPreauthrequestsOutputArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket  pulumi.StringInput                 `pulumi:"bucket"`
	Filters GetPreauthrequestsFilterArrayInput `pulumi:"filters"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// User-specified object name prefixes can be used to query and return a list of pre-authenticated requests.
	ObjectNamePrefix pulumi.StringPtrInput `pulumi:"objectNamePrefix"`
}

A collection of arguments for invoking getPreauthrequests.

func (GetPreauthrequestsOutputArgs) ElementType

type GetPreauthrequestsPreauthenticatedRequest

type GetPreauthrequestsPreauthenticatedRequest struct {
	// The operation that can be performed on this resource.
	AccessType string `pulumi:"accessType"`
	// The URI to embed in the URL when using the pre-authenticated request.
	AccessUri string `pulumi:"accessUri"`
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket string `pulumi:"bucket"`
	// 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.
	BucketListingAction string `pulumi:"bucketListingAction"`
	FullPath            string `pulumi:"fullPath"`
	// The unique identifier to use when directly addressing the pre-authenticated request.
	Id string `pulumi:"id"`
	// The user-provided name of the pre-authenticated request.
	Name string `pulumi:"name"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
	// Deprecated. Instead use `objectName`.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. Example: test/object1.log
	//
	// Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.
	Object string `pulumi:"object"`
	// 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. Example: test/object1.log
	ObjectName string `pulumi:"objectName"`
	ParId      string `pulumi:"parId"`
	// The date when the pre-authenticated request was created as per specification [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated string `pulumi:"timeCreated"`
	// The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/html/rfc3339). After this date the pre-authenticated request will no longer be valid.
	TimeExpires string `pulumi:"timeExpires"`
}

type GetPreauthrequestsPreauthenticatedRequestArgs

type GetPreauthrequestsPreauthenticatedRequestArgs struct {
	// The operation that can be performed on this resource.
	AccessType pulumi.StringInput `pulumi:"accessType"`
	// The URI to embed in the URL when using the pre-authenticated request.
	AccessUri pulumi.StringInput `pulumi:"accessUri"`
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// 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.
	BucketListingAction pulumi.StringInput `pulumi:"bucketListingAction"`
	FullPath            pulumi.StringInput `pulumi:"fullPath"`
	// The unique identifier to use when directly addressing the pre-authenticated request.
	Id pulumi.StringInput `pulumi:"id"`
	// The user-provided name of the pre-authenticated request.
	Name pulumi.StringInput `pulumi:"name"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// Deprecated. Instead use `objectName`.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. Example: test/object1.log
	//
	// Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.
	Object pulumi.StringInput `pulumi:"object"`
	// 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. Example: test/object1.log
	ObjectName pulumi.StringInput `pulumi:"objectName"`
	ParId      pulumi.StringInput `pulumi:"parId"`
	// The date when the pre-authenticated request was created as per specification [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/html/rfc3339). After this date the pre-authenticated request will no longer be valid.
	TimeExpires pulumi.StringInput `pulumi:"timeExpires"`
}

func (GetPreauthrequestsPreauthenticatedRequestArgs) ElementType

func (GetPreauthrequestsPreauthenticatedRequestArgs) ToGetPreauthrequestsPreauthenticatedRequestOutput

func (i GetPreauthrequestsPreauthenticatedRequestArgs) ToGetPreauthrequestsPreauthenticatedRequestOutput() GetPreauthrequestsPreauthenticatedRequestOutput

func (GetPreauthrequestsPreauthenticatedRequestArgs) ToGetPreauthrequestsPreauthenticatedRequestOutputWithContext

func (i GetPreauthrequestsPreauthenticatedRequestArgs) ToGetPreauthrequestsPreauthenticatedRequestOutputWithContext(ctx context.Context) GetPreauthrequestsPreauthenticatedRequestOutput

type GetPreauthrequestsPreauthenticatedRequestArray

type GetPreauthrequestsPreauthenticatedRequestArray []GetPreauthrequestsPreauthenticatedRequestInput

func (GetPreauthrequestsPreauthenticatedRequestArray) ElementType

func (GetPreauthrequestsPreauthenticatedRequestArray) ToGetPreauthrequestsPreauthenticatedRequestArrayOutput

func (i GetPreauthrequestsPreauthenticatedRequestArray) ToGetPreauthrequestsPreauthenticatedRequestArrayOutput() GetPreauthrequestsPreauthenticatedRequestArrayOutput

func (GetPreauthrequestsPreauthenticatedRequestArray) ToGetPreauthrequestsPreauthenticatedRequestArrayOutputWithContext

func (i GetPreauthrequestsPreauthenticatedRequestArray) ToGetPreauthrequestsPreauthenticatedRequestArrayOutputWithContext(ctx context.Context) GetPreauthrequestsPreauthenticatedRequestArrayOutput

type GetPreauthrequestsPreauthenticatedRequestArrayInput

type GetPreauthrequestsPreauthenticatedRequestArrayInput interface {
	pulumi.Input

	ToGetPreauthrequestsPreauthenticatedRequestArrayOutput() GetPreauthrequestsPreauthenticatedRequestArrayOutput
	ToGetPreauthrequestsPreauthenticatedRequestArrayOutputWithContext(context.Context) GetPreauthrequestsPreauthenticatedRequestArrayOutput
}

GetPreauthrequestsPreauthenticatedRequestArrayInput is an input type that accepts GetPreauthrequestsPreauthenticatedRequestArray and GetPreauthrequestsPreauthenticatedRequestArrayOutput values. You can construct a concrete instance of `GetPreauthrequestsPreauthenticatedRequestArrayInput` via:

GetPreauthrequestsPreauthenticatedRequestArray{ GetPreauthrequestsPreauthenticatedRequestArgs{...} }

type GetPreauthrequestsPreauthenticatedRequestArrayOutput

type GetPreauthrequestsPreauthenticatedRequestArrayOutput struct{ *pulumi.OutputState }

func (GetPreauthrequestsPreauthenticatedRequestArrayOutput) ElementType

func (GetPreauthrequestsPreauthenticatedRequestArrayOutput) Index

func (GetPreauthrequestsPreauthenticatedRequestArrayOutput) ToGetPreauthrequestsPreauthenticatedRequestArrayOutput

func (GetPreauthrequestsPreauthenticatedRequestArrayOutput) ToGetPreauthrequestsPreauthenticatedRequestArrayOutputWithContext

func (o GetPreauthrequestsPreauthenticatedRequestArrayOutput) ToGetPreauthrequestsPreauthenticatedRequestArrayOutputWithContext(ctx context.Context) GetPreauthrequestsPreauthenticatedRequestArrayOutput

type GetPreauthrequestsPreauthenticatedRequestInput

type GetPreauthrequestsPreauthenticatedRequestInput interface {
	pulumi.Input

	ToGetPreauthrequestsPreauthenticatedRequestOutput() GetPreauthrequestsPreauthenticatedRequestOutput
	ToGetPreauthrequestsPreauthenticatedRequestOutputWithContext(context.Context) GetPreauthrequestsPreauthenticatedRequestOutput
}

GetPreauthrequestsPreauthenticatedRequestInput is an input type that accepts GetPreauthrequestsPreauthenticatedRequestArgs and GetPreauthrequestsPreauthenticatedRequestOutput values. You can construct a concrete instance of `GetPreauthrequestsPreauthenticatedRequestInput` via:

GetPreauthrequestsPreauthenticatedRequestArgs{...}

type GetPreauthrequestsPreauthenticatedRequestOutput

type GetPreauthrequestsPreauthenticatedRequestOutput struct{ *pulumi.OutputState }

func (GetPreauthrequestsPreauthenticatedRequestOutput) AccessType

The operation that can be performed on this resource.

func (GetPreauthrequestsPreauthenticatedRequestOutput) AccessUri

The URI to embed in the URL when using the pre-authenticated request.

func (GetPreauthrequestsPreauthenticatedRequestOutput) Bucket

The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`

func (GetPreauthrequestsPreauthenticatedRequestOutput) BucketListingAction

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.

func (GetPreauthrequestsPreauthenticatedRequestOutput) ElementType

func (GetPreauthrequestsPreauthenticatedRequestOutput) FullPath added in v1.1.0

func (GetPreauthrequestsPreauthenticatedRequestOutput) Id

The unique identifier to use when directly addressing the pre-authenticated request.

func (GetPreauthrequestsPreauthenticatedRequestOutput) Name

The user-provided name of the pre-authenticated request.

func (GetPreauthrequestsPreauthenticatedRequestOutput) Namespace

The Object Storage namespace used for the request.

func (GetPreauthrequestsPreauthenticatedRequestOutput) Object deprecated

Deprecated. Instead use `objectName`.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. Example: test/object1.log

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

func (GetPreauthrequestsPreauthenticatedRequestOutput) ObjectName

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. Example: test/object1.log

func (GetPreauthrequestsPreauthenticatedRequestOutput) ParId

func (GetPreauthrequestsPreauthenticatedRequestOutput) TimeCreated

The date when the pre-authenticated request was created as per specification [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (GetPreauthrequestsPreauthenticatedRequestOutput) TimeExpires

The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/html/rfc3339). After this date the pre-authenticated request will no longer be valid.

func (GetPreauthrequestsPreauthenticatedRequestOutput) ToGetPreauthrequestsPreauthenticatedRequestOutput

func (o GetPreauthrequestsPreauthenticatedRequestOutput) ToGetPreauthrequestsPreauthenticatedRequestOutput() GetPreauthrequestsPreauthenticatedRequestOutput

func (GetPreauthrequestsPreauthenticatedRequestOutput) ToGetPreauthrequestsPreauthenticatedRequestOutputWithContext

func (o GetPreauthrequestsPreauthenticatedRequestOutput) ToGetPreauthrequestsPreauthenticatedRequestOutputWithContext(ctx context.Context) GetPreauthrequestsPreauthenticatedRequestOutput

type GetPreauthrequestsResult

type GetPreauthrequestsResult struct {
	// The name of the bucket.  Example: `my-new-bucket1`
	Bucket  string                     `pulumi:"bucket"`
	Filters []GetPreauthrequestsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Object Storage namespace used for the request.
	Namespace        string  `pulumi:"namespace"`
	ObjectNamePrefix *string `pulumi:"objectNamePrefix"`
	// The list of preauthenticated_requests.
	PreauthenticatedRequests []GetPreauthrequestsPreauthenticatedRequest `pulumi:"preauthenticatedRequests"`
}

A collection of values returned by getPreauthrequests.

func GetPreauthrequests

func GetPreauthrequests(ctx *pulumi.Context, args *GetPreauthrequestsArgs, opts ...pulumi.InvokeOption) (*GetPreauthrequestsResult, error)

This data source provides the list of Preauthenticated Requests in Oracle Cloud Infrastructure Object Storage service.

Lists pre-authenticated requests for the bucket.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.GetPreauthrequests(ctx, &objectstorage.GetPreauthrequestsArgs{
			Bucket:           preauthenticatedRequestBucket,
			Namespace:        preauthenticatedRequestNamespace,
			ObjectNamePrefix: pulumi.StringRef(preauthenticatedRequestObjectNamePrefix),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPreauthrequestsResultOutput

type GetPreauthrequestsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPreauthrequests.

func (GetPreauthrequestsResultOutput) Bucket

The name of the bucket. Example: `my-new-bucket1`

func (GetPreauthrequestsResultOutput) ElementType

func (GetPreauthrequestsResultOutput) Filters

func (GetPreauthrequestsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPreauthrequestsResultOutput) Namespace

The Object Storage namespace used for the request.

func (GetPreauthrequestsResultOutput) ObjectNamePrefix

func (GetPreauthrequestsResultOutput) PreauthenticatedRequests

The list of preauthenticated_requests.

func (GetPreauthrequestsResultOutput) ToGetPreauthrequestsResultOutput

func (o GetPreauthrequestsResultOutput) ToGetPreauthrequestsResultOutput() GetPreauthrequestsResultOutput

func (GetPreauthrequestsResultOutput) ToGetPreauthrequestsResultOutputWithContext

func (o GetPreauthrequestsResultOutput) ToGetPreauthrequestsResultOutputWithContext(ctx context.Context) GetPreauthrequestsResultOutput

type GetReplicationPoliciesArgs

type GetReplicationPoliciesArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket  string                         `pulumi:"bucket"`
	Filters []GetReplicationPoliciesFilter `pulumi:"filters"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
}

A collection of arguments for invoking getReplicationPolicies.

type GetReplicationPoliciesFilter

type GetReplicationPoliciesFilter struct {
	// The name of the policy.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetReplicationPoliciesFilterArgs

type GetReplicationPoliciesFilterArgs struct {
	// The name of the policy.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetReplicationPoliciesFilterArgs) ElementType

func (GetReplicationPoliciesFilterArgs) ToGetReplicationPoliciesFilterOutput

func (i GetReplicationPoliciesFilterArgs) ToGetReplicationPoliciesFilterOutput() GetReplicationPoliciesFilterOutput

func (GetReplicationPoliciesFilterArgs) ToGetReplicationPoliciesFilterOutputWithContext

func (i GetReplicationPoliciesFilterArgs) ToGetReplicationPoliciesFilterOutputWithContext(ctx context.Context) GetReplicationPoliciesFilterOutput

type GetReplicationPoliciesFilterArray

type GetReplicationPoliciesFilterArray []GetReplicationPoliciesFilterInput

func (GetReplicationPoliciesFilterArray) ElementType

func (GetReplicationPoliciesFilterArray) ToGetReplicationPoliciesFilterArrayOutput

func (i GetReplicationPoliciesFilterArray) ToGetReplicationPoliciesFilterArrayOutput() GetReplicationPoliciesFilterArrayOutput

func (GetReplicationPoliciesFilterArray) ToGetReplicationPoliciesFilterArrayOutputWithContext

func (i GetReplicationPoliciesFilterArray) ToGetReplicationPoliciesFilterArrayOutputWithContext(ctx context.Context) GetReplicationPoliciesFilterArrayOutput

type GetReplicationPoliciesFilterArrayInput

type GetReplicationPoliciesFilterArrayInput interface {
	pulumi.Input

	ToGetReplicationPoliciesFilterArrayOutput() GetReplicationPoliciesFilterArrayOutput
	ToGetReplicationPoliciesFilterArrayOutputWithContext(context.Context) GetReplicationPoliciesFilterArrayOutput
}

GetReplicationPoliciesFilterArrayInput is an input type that accepts GetReplicationPoliciesFilterArray and GetReplicationPoliciesFilterArrayOutput values. You can construct a concrete instance of `GetReplicationPoliciesFilterArrayInput` via:

GetReplicationPoliciesFilterArray{ GetReplicationPoliciesFilterArgs{...} }

type GetReplicationPoliciesFilterArrayOutput

type GetReplicationPoliciesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetReplicationPoliciesFilterArrayOutput) ElementType

func (GetReplicationPoliciesFilterArrayOutput) Index

func (GetReplicationPoliciesFilterArrayOutput) ToGetReplicationPoliciesFilterArrayOutput

func (o GetReplicationPoliciesFilterArrayOutput) ToGetReplicationPoliciesFilterArrayOutput() GetReplicationPoliciesFilterArrayOutput

func (GetReplicationPoliciesFilterArrayOutput) ToGetReplicationPoliciesFilterArrayOutputWithContext

func (o GetReplicationPoliciesFilterArrayOutput) ToGetReplicationPoliciesFilterArrayOutputWithContext(ctx context.Context) GetReplicationPoliciesFilterArrayOutput

type GetReplicationPoliciesFilterInput

type GetReplicationPoliciesFilterInput interface {
	pulumi.Input

	ToGetReplicationPoliciesFilterOutput() GetReplicationPoliciesFilterOutput
	ToGetReplicationPoliciesFilterOutputWithContext(context.Context) GetReplicationPoliciesFilterOutput
}

GetReplicationPoliciesFilterInput is an input type that accepts GetReplicationPoliciesFilterArgs and GetReplicationPoliciesFilterOutput values. You can construct a concrete instance of `GetReplicationPoliciesFilterInput` via:

GetReplicationPoliciesFilterArgs{...}

type GetReplicationPoliciesFilterOutput

type GetReplicationPoliciesFilterOutput struct{ *pulumi.OutputState }

func (GetReplicationPoliciesFilterOutput) ElementType

func (GetReplicationPoliciesFilterOutput) Name

The name of the policy.

func (GetReplicationPoliciesFilterOutput) Regex

func (GetReplicationPoliciesFilterOutput) ToGetReplicationPoliciesFilterOutput

func (o GetReplicationPoliciesFilterOutput) ToGetReplicationPoliciesFilterOutput() GetReplicationPoliciesFilterOutput

func (GetReplicationPoliciesFilterOutput) ToGetReplicationPoliciesFilterOutputWithContext

func (o GetReplicationPoliciesFilterOutput) ToGetReplicationPoliciesFilterOutputWithContext(ctx context.Context) GetReplicationPoliciesFilterOutput

func (GetReplicationPoliciesFilterOutput) Values

type GetReplicationPoliciesOutputArgs

type GetReplicationPoliciesOutputArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket  pulumi.StringInput                     `pulumi:"bucket"`
	Filters GetReplicationPoliciesFilterArrayInput `pulumi:"filters"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

A collection of arguments for invoking getReplicationPolicies.

func (GetReplicationPoliciesOutputArgs) ElementType

type GetReplicationPoliciesReplicationPolicy

type GetReplicationPoliciesReplicationPolicy struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket string `pulumi:"bucket"`
	// Deprecated: The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.
	DeleteObjectInDestinationBucket string `pulumi:"deleteObjectInDestinationBucket"`
	// The bucket to replicate to in the destination region. Replication policy creation does not automatically create a destination bucket. Create the destination bucket before creating the policy.
	DestinationBucketName string `pulumi:"destinationBucketName"`
	// The destination region to replicate to, for example "us-ashburn-1".
	DestinationRegionName string `pulumi:"destinationRegionName"`
	// The id of the replication policy.
	Id string `pulumi:"id"`
	// The name of the policy.
	Name string `pulumi:"name"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
	// The replication status of the policy. If the status is CLIENT_ERROR, once the user fixes the issue described in the status message, the status will become ACTIVE.
	Status string `pulumi:"status"`
	// A human-readable description of the status.
	StatusMessage string `pulumi:"statusMessage"`
	// The date when the replication policy was created as per [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated string `pulumi:"timeCreated"`
	// Changes made to the source bucket before this time has been replicated.
	TimeLastSync string `pulumi:"timeLastSync"`
}

type GetReplicationPoliciesReplicationPolicyArgs

type GetReplicationPoliciesReplicationPolicyArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// Deprecated: The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.
	DeleteObjectInDestinationBucket pulumi.StringInput `pulumi:"deleteObjectInDestinationBucket"`
	// The bucket to replicate to in the destination region. Replication policy creation does not automatically create a destination bucket. Create the destination bucket before creating the policy.
	DestinationBucketName pulumi.StringInput `pulumi:"destinationBucketName"`
	// The destination region to replicate to, for example "us-ashburn-1".
	DestinationRegionName pulumi.StringInput `pulumi:"destinationRegionName"`
	// The id of the replication policy.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the policy.
	Name pulumi.StringInput `pulumi:"name"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The replication status of the policy. If the status is CLIENT_ERROR, once the user fixes the issue described in the status message, the status will become ACTIVE.
	Status pulumi.StringInput `pulumi:"status"`
	// A human-readable description of the status.
	StatusMessage pulumi.StringInput `pulumi:"statusMessage"`
	// The date when the replication policy was created as per [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// Changes made to the source bucket before this time has been replicated.
	TimeLastSync pulumi.StringInput `pulumi:"timeLastSync"`
}

func (GetReplicationPoliciesReplicationPolicyArgs) ElementType

func (GetReplicationPoliciesReplicationPolicyArgs) ToGetReplicationPoliciesReplicationPolicyOutput

func (i GetReplicationPoliciesReplicationPolicyArgs) ToGetReplicationPoliciesReplicationPolicyOutput() GetReplicationPoliciesReplicationPolicyOutput

func (GetReplicationPoliciesReplicationPolicyArgs) ToGetReplicationPoliciesReplicationPolicyOutputWithContext

func (i GetReplicationPoliciesReplicationPolicyArgs) ToGetReplicationPoliciesReplicationPolicyOutputWithContext(ctx context.Context) GetReplicationPoliciesReplicationPolicyOutput

type GetReplicationPoliciesReplicationPolicyArray

type GetReplicationPoliciesReplicationPolicyArray []GetReplicationPoliciesReplicationPolicyInput

func (GetReplicationPoliciesReplicationPolicyArray) ElementType

func (GetReplicationPoliciesReplicationPolicyArray) ToGetReplicationPoliciesReplicationPolicyArrayOutput

func (i GetReplicationPoliciesReplicationPolicyArray) ToGetReplicationPoliciesReplicationPolicyArrayOutput() GetReplicationPoliciesReplicationPolicyArrayOutput

func (GetReplicationPoliciesReplicationPolicyArray) ToGetReplicationPoliciesReplicationPolicyArrayOutputWithContext

func (i GetReplicationPoliciesReplicationPolicyArray) ToGetReplicationPoliciesReplicationPolicyArrayOutputWithContext(ctx context.Context) GetReplicationPoliciesReplicationPolicyArrayOutput

type GetReplicationPoliciesReplicationPolicyArrayInput

type GetReplicationPoliciesReplicationPolicyArrayInput interface {
	pulumi.Input

	ToGetReplicationPoliciesReplicationPolicyArrayOutput() GetReplicationPoliciesReplicationPolicyArrayOutput
	ToGetReplicationPoliciesReplicationPolicyArrayOutputWithContext(context.Context) GetReplicationPoliciesReplicationPolicyArrayOutput
}

GetReplicationPoliciesReplicationPolicyArrayInput is an input type that accepts GetReplicationPoliciesReplicationPolicyArray and GetReplicationPoliciesReplicationPolicyArrayOutput values. You can construct a concrete instance of `GetReplicationPoliciesReplicationPolicyArrayInput` via:

GetReplicationPoliciesReplicationPolicyArray{ GetReplicationPoliciesReplicationPolicyArgs{...} }

type GetReplicationPoliciesReplicationPolicyArrayOutput

type GetReplicationPoliciesReplicationPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetReplicationPoliciesReplicationPolicyArrayOutput) ElementType

func (GetReplicationPoliciesReplicationPolicyArrayOutput) Index

func (GetReplicationPoliciesReplicationPolicyArrayOutput) ToGetReplicationPoliciesReplicationPolicyArrayOutput

func (o GetReplicationPoliciesReplicationPolicyArrayOutput) ToGetReplicationPoliciesReplicationPolicyArrayOutput() GetReplicationPoliciesReplicationPolicyArrayOutput

func (GetReplicationPoliciesReplicationPolicyArrayOutput) ToGetReplicationPoliciesReplicationPolicyArrayOutputWithContext

func (o GetReplicationPoliciesReplicationPolicyArrayOutput) ToGetReplicationPoliciesReplicationPolicyArrayOutputWithContext(ctx context.Context) GetReplicationPoliciesReplicationPolicyArrayOutput

type GetReplicationPoliciesReplicationPolicyInput

type GetReplicationPoliciesReplicationPolicyInput interface {
	pulumi.Input

	ToGetReplicationPoliciesReplicationPolicyOutput() GetReplicationPoliciesReplicationPolicyOutput
	ToGetReplicationPoliciesReplicationPolicyOutputWithContext(context.Context) GetReplicationPoliciesReplicationPolicyOutput
}

GetReplicationPoliciesReplicationPolicyInput is an input type that accepts GetReplicationPoliciesReplicationPolicyArgs and GetReplicationPoliciesReplicationPolicyOutput values. You can construct a concrete instance of `GetReplicationPoliciesReplicationPolicyInput` via:

GetReplicationPoliciesReplicationPolicyArgs{...}

type GetReplicationPoliciesReplicationPolicyOutput

type GetReplicationPoliciesReplicationPolicyOutput struct{ *pulumi.OutputState }

func (GetReplicationPoliciesReplicationPolicyOutput) Bucket

The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`

func (GetReplicationPoliciesReplicationPolicyOutput) DeleteObjectInDestinationBucket deprecated

func (o GetReplicationPoliciesReplicationPolicyOutput) DeleteObjectInDestinationBucket() pulumi.StringOutput

Deprecated: The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.

func (GetReplicationPoliciesReplicationPolicyOutput) DestinationBucketName

The bucket to replicate to in the destination region. Replication policy creation does not automatically create a destination bucket. Create the destination bucket before creating the policy.

func (GetReplicationPoliciesReplicationPolicyOutput) DestinationRegionName

The destination region to replicate to, for example "us-ashburn-1".

func (GetReplicationPoliciesReplicationPolicyOutput) ElementType

func (GetReplicationPoliciesReplicationPolicyOutput) Id

The id of the replication policy.

func (GetReplicationPoliciesReplicationPolicyOutput) Name

The name of the policy.

func (GetReplicationPoliciesReplicationPolicyOutput) Namespace

The Object Storage namespace used for the request.

func (GetReplicationPoliciesReplicationPolicyOutput) Status

The replication status of the policy. If the status is CLIENT_ERROR, once the user fixes the issue described in the status message, the status will become ACTIVE.

func (GetReplicationPoliciesReplicationPolicyOutput) StatusMessage

A human-readable description of the status.

func (GetReplicationPoliciesReplicationPolicyOutput) TimeCreated

The date when the replication policy was created as per [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (GetReplicationPoliciesReplicationPolicyOutput) TimeLastSync

Changes made to the source bucket before this time has been replicated.

func (GetReplicationPoliciesReplicationPolicyOutput) ToGetReplicationPoliciesReplicationPolicyOutput

func (o GetReplicationPoliciesReplicationPolicyOutput) ToGetReplicationPoliciesReplicationPolicyOutput() GetReplicationPoliciesReplicationPolicyOutput

func (GetReplicationPoliciesReplicationPolicyOutput) ToGetReplicationPoliciesReplicationPolicyOutputWithContext

func (o GetReplicationPoliciesReplicationPolicyOutput) ToGetReplicationPoliciesReplicationPolicyOutputWithContext(ctx context.Context) GetReplicationPoliciesReplicationPolicyOutput

type GetReplicationPoliciesResult

type GetReplicationPoliciesResult struct {
	Bucket  string                         `pulumi:"bucket"`
	Filters []GetReplicationPoliciesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	Namespace string `pulumi:"namespace"`
	// The list of replication_policies.
	ReplicationPolicies []GetReplicationPoliciesReplicationPolicy `pulumi:"replicationPolicies"`
}

A collection of values returned by getReplicationPolicies.

func GetReplicationPolicies

func GetReplicationPolicies(ctx *pulumi.Context, args *GetReplicationPoliciesArgs, opts ...pulumi.InvokeOption) (*GetReplicationPoliciesResult, error)

This data source provides the list of Replication Policies in Oracle Cloud Infrastructure Object Storage service.

List the replication policies associated with a bucket.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.GetReplicationPolicies(ctx, &objectstorage.GetReplicationPoliciesArgs{
			Bucket:    replicationPolicyBucket,
			Namespace: replicationPolicyNamespace,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetReplicationPoliciesResultOutput

type GetReplicationPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReplicationPolicies.

func (GetReplicationPoliciesResultOutput) Bucket

func (GetReplicationPoliciesResultOutput) ElementType

func (GetReplicationPoliciesResultOutput) Filters

func (GetReplicationPoliciesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetReplicationPoliciesResultOutput) Namespace

func (GetReplicationPoliciesResultOutput) ReplicationPolicies

The list of replication_policies.

func (GetReplicationPoliciesResultOutput) ToGetReplicationPoliciesResultOutput

func (o GetReplicationPoliciesResultOutput) ToGetReplicationPoliciesResultOutput() GetReplicationPoliciesResultOutput

func (GetReplicationPoliciesResultOutput) ToGetReplicationPoliciesResultOutputWithContext

func (o GetReplicationPoliciesResultOutput) ToGetReplicationPoliciesResultOutputWithContext(ctx context.Context) GetReplicationPoliciesResultOutput

type GetReplicationSourcesArgs

type GetReplicationSourcesArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket  string                        `pulumi:"bucket"`
	Filters []GetReplicationSourcesFilter `pulumi:"filters"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
}

A collection of arguments for invoking getReplicationSources.

type GetReplicationSourcesFilter

type GetReplicationSourcesFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetReplicationSourcesFilterArgs

type GetReplicationSourcesFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetReplicationSourcesFilterArgs) ElementType

func (GetReplicationSourcesFilterArgs) ToGetReplicationSourcesFilterOutput

func (i GetReplicationSourcesFilterArgs) ToGetReplicationSourcesFilterOutput() GetReplicationSourcesFilterOutput

func (GetReplicationSourcesFilterArgs) ToGetReplicationSourcesFilterOutputWithContext

func (i GetReplicationSourcesFilterArgs) ToGetReplicationSourcesFilterOutputWithContext(ctx context.Context) GetReplicationSourcesFilterOutput

type GetReplicationSourcesFilterArray

type GetReplicationSourcesFilterArray []GetReplicationSourcesFilterInput

func (GetReplicationSourcesFilterArray) ElementType

func (GetReplicationSourcesFilterArray) ToGetReplicationSourcesFilterArrayOutput

func (i GetReplicationSourcesFilterArray) ToGetReplicationSourcesFilterArrayOutput() GetReplicationSourcesFilterArrayOutput

func (GetReplicationSourcesFilterArray) ToGetReplicationSourcesFilterArrayOutputWithContext

func (i GetReplicationSourcesFilterArray) ToGetReplicationSourcesFilterArrayOutputWithContext(ctx context.Context) GetReplicationSourcesFilterArrayOutput

type GetReplicationSourcesFilterArrayInput

type GetReplicationSourcesFilterArrayInput interface {
	pulumi.Input

	ToGetReplicationSourcesFilterArrayOutput() GetReplicationSourcesFilterArrayOutput
	ToGetReplicationSourcesFilterArrayOutputWithContext(context.Context) GetReplicationSourcesFilterArrayOutput
}

GetReplicationSourcesFilterArrayInput is an input type that accepts GetReplicationSourcesFilterArray and GetReplicationSourcesFilterArrayOutput values. You can construct a concrete instance of `GetReplicationSourcesFilterArrayInput` via:

GetReplicationSourcesFilterArray{ GetReplicationSourcesFilterArgs{...} }

type GetReplicationSourcesFilterArrayOutput

type GetReplicationSourcesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetReplicationSourcesFilterArrayOutput) ElementType

func (GetReplicationSourcesFilterArrayOutput) Index

func (GetReplicationSourcesFilterArrayOutput) ToGetReplicationSourcesFilterArrayOutput

func (o GetReplicationSourcesFilterArrayOutput) ToGetReplicationSourcesFilterArrayOutput() GetReplicationSourcesFilterArrayOutput

func (GetReplicationSourcesFilterArrayOutput) ToGetReplicationSourcesFilterArrayOutputWithContext

func (o GetReplicationSourcesFilterArrayOutput) ToGetReplicationSourcesFilterArrayOutputWithContext(ctx context.Context) GetReplicationSourcesFilterArrayOutput

type GetReplicationSourcesFilterInput

type GetReplicationSourcesFilterInput interface {
	pulumi.Input

	ToGetReplicationSourcesFilterOutput() GetReplicationSourcesFilterOutput
	ToGetReplicationSourcesFilterOutputWithContext(context.Context) GetReplicationSourcesFilterOutput
}

GetReplicationSourcesFilterInput is an input type that accepts GetReplicationSourcesFilterArgs and GetReplicationSourcesFilterOutput values. You can construct a concrete instance of `GetReplicationSourcesFilterInput` via:

GetReplicationSourcesFilterArgs{...}

type GetReplicationSourcesFilterOutput

type GetReplicationSourcesFilterOutput struct{ *pulumi.OutputState }

func (GetReplicationSourcesFilterOutput) ElementType

func (GetReplicationSourcesFilterOutput) Name

func (GetReplicationSourcesFilterOutput) Regex

func (GetReplicationSourcesFilterOutput) ToGetReplicationSourcesFilterOutput

func (o GetReplicationSourcesFilterOutput) ToGetReplicationSourcesFilterOutput() GetReplicationSourcesFilterOutput

func (GetReplicationSourcesFilterOutput) ToGetReplicationSourcesFilterOutputWithContext

func (o GetReplicationSourcesFilterOutput) ToGetReplicationSourcesFilterOutputWithContext(ctx context.Context) GetReplicationSourcesFilterOutput

func (GetReplicationSourcesFilterOutput) Values

type GetReplicationSourcesOutputArgs

type GetReplicationSourcesOutputArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket  pulumi.StringInput                    `pulumi:"bucket"`
	Filters GetReplicationSourcesFilterArrayInput `pulumi:"filters"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

A collection of arguments for invoking getReplicationSources.

func (GetReplicationSourcesOutputArgs) ElementType

type GetReplicationSourcesReplicationSource

type GetReplicationSourcesReplicationSource struct {
	// The name of the policy.
	PolicyName string `pulumi:"policyName"`
	// The source bucket replicating data from.
	SourceBucketName string `pulumi:"sourceBucketName"`
	// The source region replicating data from, for example "us-ashburn-1".
	SourceRegionName string `pulumi:"sourceRegionName"`
}

type GetReplicationSourcesReplicationSourceArgs

type GetReplicationSourcesReplicationSourceArgs struct {
	// The name of the policy.
	PolicyName pulumi.StringInput `pulumi:"policyName"`
	// The source bucket replicating data from.
	SourceBucketName pulumi.StringInput `pulumi:"sourceBucketName"`
	// The source region replicating data from, for example "us-ashburn-1".
	SourceRegionName pulumi.StringInput `pulumi:"sourceRegionName"`
}

func (GetReplicationSourcesReplicationSourceArgs) ElementType

func (GetReplicationSourcesReplicationSourceArgs) ToGetReplicationSourcesReplicationSourceOutput

func (i GetReplicationSourcesReplicationSourceArgs) ToGetReplicationSourcesReplicationSourceOutput() GetReplicationSourcesReplicationSourceOutput

func (GetReplicationSourcesReplicationSourceArgs) ToGetReplicationSourcesReplicationSourceOutputWithContext

func (i GetReplicationSourcesReplicationSourceArgs) ToGetReplicationSourcesReplicationSourceOutputWithContext(ctx context.Context) GetReplicationSourcesReplicationSourceOutput

type GetReplicationSourcesReplicationSourceArray

type GetReplicationSourcesReplicationSourceArray []GetReplicationSourcesReplicationSourceInput

func (GetReplicationSourcesReplicationSourceArray) ElementType

func (GetReplicationSourcesReplicationSourceArray) ToGetReplicationSourcesReplicationSourceArrayOutput

func (i GetReplicationSourcesReplicationSourceArray) ToGetReplicationSourcesReplicationSourceArrayOutput() GetReplicationSourcesReplicationSourceArrayOutput

func (GetReplicationSourcesReplicationSourceArray) ToGetReplicationSourcesReplicationSourceArrayOutputWithContext

func (i GetReplicationSourcesReplicationSourceArray) ToGetReplicationSourcesReplicationSourceArrayOutputWithContext(ctx context.Context) GetReplicationSourcesReplicationSourceArrayOutput

type GetReplicationSourcesReplicationSourceArrayInput

type GetReplicationSourcesReplicationSourceArrayInput interface {
	pulumi.Input

	ToGetReplicationSourcesReplicationSourceArrayOutput() GetReplicationSourcesReplicationSourceArrayOutput
	ToGetReplicationSourcesReplicationSourceArrayOutputWithContext(context.Context) GetReplicationSourcesReplicationSourceArrayOutput
}

GetReplicationSourcesReplicationSourceArrayInput is an input type that accepts GetReplicationSourcesReplicationSourceArray and GetReplicationSourcesReplicationSourceArrayOutput values. You can construct a concrete instance of `GetReplicationSourcesReplicationSourceArrayInput` via:

GetReplicationSourcesReplicationSourceArray{ GetReplicationSourcesReplicationSourceArgs{...} }

type GetReplicationSourcesReplicationSourceArrayOutput

type GetReplicationSourcesReplicationSourceArrayOutput struct{ *pulumi.OutputState }

func (GetReplicationSourcesReplicationSourceArrayOutput) ElementType

func (GetReplicationSourcesReplicationSourceArrayOutput) Index

func (GetReplicationSourcesReplicationSourceArrayOutput) ToGetReplicationSourcesReplicationSourceArrayOutput

func (o GetReplicationSourcesReplicationSourceArrayOutput) ToGetReplicationSourcesReplicationSourceArrayOutput() GetReplicationSourcesReplicationSourceArrayOutput

func (GetReplicationSourcesReplicationSourceArrayOutput) ToGetReplicationSourcesReplicationSourceArrayOutputWithContext

func (o GetReplicationSourcesReplicationSourceArrayOutput) ToGetReplicationSourcesReplicationSourceArrayOutputWithContext(ctx context.Context) GetReplicationSourcesReplicationSourceArrayOutput

type GetReplicationSourcesReplicationSourceInput

type GetReplicationSourcesReplicationSourceInput interface {
	pulumi.Input

	ToGetReplicationSourcesReplicationSourceOutput() GetReplicationSourcesReplicationSourceOutput
	ToGetReplicationSourcesReplicationSourceOutputWithContext(context.Context) GetReplicationSourcesReplicationSourceOutput
}

GetReplicationSourcesReplicationSourceInput is an input type that accepts GetReplicationSourcesReplicationSourceArgs and GetReplicationSourcesReplicationSourceOutput values. You can construct a concrete instance of `GetReplicationSourcesReplicationSourceInput` via:

GetReplicationSourcesReplicationSourceArgs{...}

type GetReplicationSourcesReplicationSourceOutput

type GetReplicationSourcesReplicationSourceOutput struct{ *pulumi.OutputState }

func (GetReplicationSourcesReplicationSourceOutput) ElementType

func (GetReplicationSourcesReplicationSourceOutput) PolicyName

The name of the policy.

func (GetReplicationSourcesReplicationSourceOutput) SourceBucketName

The source bucket replicating data from.

func (GetReplicationSourcesReplicationSourceOutput) SourceRegionName

The source region replicating data from, for example "us-ashburn-1".

func (GetReplicationSourcesReplicationSourceOutput) ToGetReplicationSourcesReplicationSourceOutput

func (o GetReplicationSourcesReplicationSourceOutput) ToGetReplicationSourcesReplicationSourceOutput() GetReplicationSourcesReplicationSourceOutput

func (GetReplicationSourcesReplicationSourceOutput) ToGetReplicationSourcesReplicationSourceOutputWithContext

func (o GetReplicationSourcesReplicationSourceOutput) ToGetReplicationSourcesReplicationSourceOutputWithContext(ctx context.Context) GetReplicationSourcesReplicationSourceOutput

type GetReplicationSourcesResult

type GetReplicationSourcesResult struct {
	Bucket  string                        `pulumi:"bucket"`
	Filters []GetReplicationSourcesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	Namespace string `pulumi:"namespace"`
	// The list of replication_sources.
	ReplicationSources []GetReplicationSourcesReplicationSource `pulumi:"replicationSources"`
}

A collection of values returned by getReplicationSources.

func GetReplicationSources

func GetReplicationSources(ctx *pulumi.Context, args *GetReplicationSourcesArgs, opts ...pulumi.InvokeOption) (*GetReplicationSourcesResult, error)

This data source provides the list of Replication Sources in Oracle Cloud Infrastructure Object Storage service.

List the replication sources of a destination bucket.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.GetReplicationSources(ctx, &objectstorage.GetReplicationSourcesArgs{
			Bucket:    replicationSourceBucket,
			Namespace: replicationSourceNamespace,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetReplicationSourcesResultOutput

type GetReplicationSourcesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReplicationSources.

func (GetReplicationSourcesResultOutput) Bucket

func (GetReplicationSourcesResultOutput) ElementType

func (GetReplicationSourcesResultOutput) Filters

func (GetReplicationSourcesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetReplicationSourcesResultOutput) Namespace

func (GetReplicationSourcesResultOutput) ReplicationSources

The list of replication_sources.

func (GetReplicationSourcesResultOutput) ToGetReplicationSourcesResultOutput

func (o GetReplicationSourcesResultOutput) ToGetReplicationSourcesResultOutput() GetReplicationSourcesResultOutput

func (GetReplicationSourcesResultOutput) ToGetReplicationSourcesResultOutputWithContext

func (o GetReplicationSourcesResultOutput) ToGetReplicationSourcesResultOutputWithContext(ctx context.Context) GetReplicationSourcesResultOutput

type LookupBucketArgs

type LookupBucketArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Name string `pulumi:"name"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
}

A collection of arguments for invoking getBucket.

type LookupBucketOutputArgs

type LookupBucketOutputArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Name pulumi.StringInput `pulumi:"name"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

A collection of arguments for invoking getBucket.

func (LookupBucketOutputArgs) ElementType

func (LookupBucketOutputArgs) ElementType() reflect.Type

type LookupBucketResult

type LookupBucketResult struct {
	// The type of public access enabled on this bucket. A bucket is set to `NoPublicAccess` by default, which only allows an authenticated caller to access the bucket and its contents. When `ObjectRead` is enabled on the bucket, public access is allowed for the `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled on the bucket, public access is allowed for the `GetObject` and `HeadObject` operations.
	AccessType string `pulumi:"accessType"`
	// The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.
	ApproximateCount string `pulumi:"approximateCount"`
	// The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.
	ApproximateSize string `pulumi:"approximateSize"`
	// The auto tiering status on the bucket. A bucket is created with auto tiering `Disabled` by default. For auto tiering `InfrequentAccess`, objects are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects.
	AutoTiering string `pulumi:"autoTiering"`
	// The OCID of the bucket which is a Oracle assigned unique identifier for this resource type (bucket). `bucketId` cannot be used for bucket lookup.
	BucketId string `pulumi:"bucketId"`
	// The compartment ID in which the bucket is authorized.
	CompartmentId string `pulumi:"compartmentId"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the bucket.
	CreatedBy string `pulumi:"createdBy"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// The entity tag (ETag) for the bucket.
	Etag string `pulumi:"etag"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	Id           string                 `pulumi:"id"`
	// Whether or not this bucket is read only. By default, `isReadOnly` is set to `false`. This will be set to 'true' when this bucket is configured as a destination in a replication policy.
	IsReadOnly bool `pulumi:"isReadOnly"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
	KmsKeyId string `pulumi:"kmsKeyId"`
	// Arbitrary string keys and values for user-defined metadata.
	Metadata map[string]interface{} `pulumi:"metadata"`
	// The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
	Name string `pulumi:"name"`
	// The Object Storage namespace in which the bucket resides.
	Namespace string `pulumi:"namespace"`
	// Whether or not events are emitted for object state changes in this bucket. By default, `objectEventsEnabled` is set to `false`. Set `objectEventsEnabled` to `true` to emit events for object state changes. For more information about events, see [Overview of Events](https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/eventsoverview.htm).
	ObjectEventsEnabled bool `pulumi:"objectEventsEnabled"`
	// The entity tag (ETag) for the live object lifecycle policy on the bucket.
	ObjectLifecyclePolicyEtag string `pulumi:"objectLifecyclePolicyEtag"`
	// Whether or not this bucket is a replication source. By default, `replicationEnabled` is set to `false`. This will be set to 'true' when you create a replication policy for the bucket.
	ReplicationEnabled bool `pulumi:"replicationEnabled"`
	// User specified list of retention rules for the bucket.
	RetentionRules []GetBucketRetentionRule `pulumi:"retentionRules"`
	// The storage tier type assigned to the bucket. A bucket is set to `Standard` tier by default, which means objects uploaded or copied to the bucket will be in the standard storage tier. When the `Archive` tier type is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage. The `storageTier` property is immutable after bucket is created.
	StorageTier string `pulumi:"storageTier"`
	// The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).
	TimeCreated string `pulumi:"timeCreated"`
	// The versioning status on the bucket. A bucket is created with versioning `Disabled` by default. For versioning `Enabled`, objects are protected from overwrites and deletes, by maintaining their version history. When versioning is `Suspended`, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.
	Versioning string `pulumi:"versioning"`
}

A collection of values returned by getBucket.

func LookupBucket

func LookupBucket(ctx *pulumi.Context, args *LookupBucketArgs, opts ...pulumi.InvokeOption) (*LookupBucketResult, error)

This data source provides details about a specific Bucket resource in Oracle Cloud Infrastructure Object Storage service.

Gets the current representation of the given bucket in the given Object Storage namespace.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.GetBucket(ctx, &objectstorage.GetBucketArgs{
			Name:      bucketName,
			Namespace: bucketNamespace,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupBucketResultOutput

type LookupBucketResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBucket.

func (LookupBucketResultOutput) AccessType

The type of public access enabled on this bucket. A bucket is set to `NoPublicAccess` by default, which only allows an authenticated caller to access the bucket and its contents. When `ObjectRead` is enabled on the bucket, public access is allowed for the `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled on the bucket, public access is allowed for the `GetObject` and `HeadObject` operations.

func (LookupBucketResultOutput) ApproximateCount

func (o LookupBucketResultOutput) ApproximateCount() pulumi.StringOutput

The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.

func (LookupBucketResultOutput) ApproximateSize

func (o LookupBucketResultOutput) ApproximateSize() pulumi.StringOutput

The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.

func (LookupBucketResultOutput) AutoTiering

The auto tiering status on the bucket. A bucket is created with auto tiering `Disabled` by default. For auto tiering `InfrequentAccess`, objects are transitioned automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects.

func (LookupBucketResultOutput) BucketId

The OCID of the bucket which is a Oracle assigned unique identifier for this resource type (bucket). `bucketId` cannot be used for bucket lookup.

func (LookupBucketResultOutput) CompartmentId

func (o LookupBucketResultOutput) CompartmentId() pulumi.StringOutput

The compartment ID in which the bucket is authorized.

func (LookupBucketResultOutput) CreatedBy

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the bucket.

func (LookupBucketResultOutput) DefinedTags

func (o LookupBucketResultOutput) DefinedTags() pulumi.MapOutput

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (LookupBucketResultOutput) ElementType

func (LookupBucketResultOutput) ElementType() reflect.Type

func (LookupBucketResultOutput) Etag

The entity tag (ETag) for the bucket.

func (LookupBucketResultOutput) FreeformTags

func (o LookupBucketResultOutput) FreeformTags() pulumi.MapOutput

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (LookupBucketResultOutput) Id

func (LookupBucketResultOutput) IsReadOnly

Whether or not this bucket is read only. By default, `isReadOnly` is set to `false`. This will be set to 'true' when this bucket is configured as a destination in a replication policy.

func (LookupBucketResultOutput) KmsKeyId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.

func (LookupBucketResultOutput) Metadata

Arbitrary string keys and values for user-defined metadata.

func (LookupBucketResultOutput) Name

The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1

func (LookupBucketResultOutput) Namespace

The Object Storage namespace in which the bucket resides.

func (LookupBucketResultOutput) ObjectEventsEnabled

func (o LookupBucketResultOutput) ObjectEventsEnabled() pulumi.BoolOutput

Whether or not events are emitted for object state changes in this bucket. By default, `objectEventsEnabled` is set to `false`. Set `objectEventsEnabled` to `true` to emit events for object state changes. For more information about events, see [Overview of Events](https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/eventsoverview.htm).

func (LookupBucketResultOutput) ObjectLifecyclePolicyEtag

func (o LookupBucketResultOutput) ObjectLifecyclePolicyEtag() pulumi.StringOutput

The entity tag (ETag) for the live object lifecycle policy on the bucket.

func (LookupBucketResultOutput) ReplicationEnabled

func (o LookupBucketResultOutput) ReplicationEnabled() pulumi.BoolOutput

Whether or not this bucket is a replication source. By default, `replicationEnabled` is set to `false`. This will be set to 'true' when you create a replication policy for the bucket.

func (LookupBucketResultOutput) RetentionRules

User specified list of retention rules for the bucket.

func (LookupBucketResultOutput) StorageTier

The storage tier type assigned to the bucket. A bucket is set to `Standard` tier by default, which means objects uploaded or copied to the bucket will be in the standard storage tier. When the `Archive` tier type is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage. The `storageTier` property is immutable after bucket is created.

func (LookupBucketResultOutput) TimeCreated

The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29).

func (LookupBucketResultOutput) ToLookupBucketResultOutput

func (o LookupBucketResultOutput) ToLookupBucketResultOutput() LookupBucketResultOutput

func (LookupBucketResultOutput) ToLookupBucketResultOutputWithContext

func (o LookupBucketResultOutput) ToLookupBucketResultOutputWithContext(ctx context.Context) LookupBucketResultOutput

func (LookupBucketResultOutput) Versioning

The versioning status on the bucket. A bucket is created with versioning `Disabled` by default. For versioning `Enabled`, objects are protected from overwrites and deletes, by maintaining their version history. When versioning is `Suspended`, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.

type LookupNamespaceMetadataArgs

type LookupNamespaceMetadataArgs struct {
	Namespace string `pulumi:"namespace"`
}

A collection of arguments for invoking getNamespaceMetadata.

type LookupNamespaceMetadataOutputArgs

type LookupNamespaceMetadataOutputArgs struct {
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

A collection of arguments for invoking getNamespaceMetadata.

func (LookupNamespaceMetadataOutputArgs) ElementType

type LookupNamespaceMetadataResult

type LookupNamespaceMetadataResult struct {
	DefaultS3compartmentId    string `pulumi:"defaultS3compartmentId"`
	DefaultSwiftCompartmentId string `pulumi:"defaultSwiftCompartmentId"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	Namespace string `pulumi:"namespace"`
}

A collection of values returned by getNamespaceMetadata.

type LookupNamespaceMetadataResultOutput

type LookupNamespaceMetadataResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNamespaceMetadata.

func (LookupNamespaceMetadataResultOutput) DefaultS3compartmentId

func (o LookupNamespaceMetadataResultOutput) DefaultS3compartmentId() pulumi.StringOutput

func (LookupNamespaceMetadataResultOutput) DefaultSwiftCompartmentId

func (o LookupNamespaceMetadataResultOutput) DefaultSwiftCompartmentId() pulumi.StringOutput

func (LookupNamespaceMetadataResultOutput) ElementType

func (LookupNamespaceMetadataResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupNamespaceMetadataResultOutput) Namespace

func (LookupNamespaceMetadataResultOutput) ToLookupNamespaceMetadataResultOutput

func (o LookupNamespaceMetadataResultOutput) ToLookupNamespaceMetadataResultOutput() LookupNamespaceMetadataResultOutput

func (LookupNamespaceMetadataResultOutput) ToLookupNamespaceMetadataResultOutputWithContext

func (o LookupNamespaceMetadataResultOutput) ToLookupNamespaceMetadataResultOutputWithContext(ctx context.Context) LookupNamespaceMetadataResultOutput

type LookupObjectLifecyclePolicyArgs

type LookupObjectLifecyclePolicyArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket string `pulumi:"bucket"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
}

A collection of arguments for invoking getObjectLifecyclePolicy.

type LookupObjectLifecyclePolicyOutputArgs

type LookupObjectLifecyclePolicyOutputArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

A collection of arguments for invoking getObjectLifecyclePolicy.

func (LookupObjectLifecyclePolicyOutputArgs) ElementType

type LookupObjectLifecyclePolicyResult

type LookupObjectLifecyclePolicyResult struct {
	Bucket    string `pulumi:"bucket"`
	Id        string `pulumi:"id"`
	Namespace string `pulumi:"namespace"`
	// The live lifecycle policy on the bucket.
	Rules []GetObjectLifecyclePolicyRule `pulumi:"rules"`
	// The date and time the object lifecycle policy was created, as described in [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated string `pulumi:"timeCreated"`
}

A collection of values returned by getObjectLifecyclePolicy.

func LookupObjectLifecyclePolicy

func LookupObjectLifecyclePolicy(ctx *pulumi.Context, args *LookupObjectLifecyclePolicyArgs, opts ...pulumi.InvokeOption) (*LookupObjectLifecyclePolicyResult, error)

This data source provides details about a specific Object Lifecycle Policy resource in Oracle Cloud Infrastructure Object Storage service.

Gets the object lifecycle policy for the bucket.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.GetObjectLifecyclePolicy(ctx, &objectstorage.GetObjectLifecyclePolicyArgs{
			Bucket:    objectLifecyclePolicyBucket,
			Namespace: objectLifecyclePolicyNamespace,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupObjectLifecyclePolicyResultOutput

type LookupObjectLifecyclePolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getObjectLifecyclePolicy.

func (LookupObjectLifecyclePolicyResultOutput) Bucket

func (LookupObjectLifecyclePolicyResultOutput) ElementType

func (LookupObjectLifecyclePolicyResultOutput) Id

func (LookupObjectLifecyclePolicyResultOutput) Namespace

func (LookupObjectLifecyclePolicyResultOutput) Rules

The live lifecycle policy on the bucket.

func (LookupObjectLifecyclePolicyResultOutput) TimeCreated

The date and time the object lifecycle policy was created, as described in [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (LookupObjectLifecyclePolicyResultOutput) ToLookupObjectLifecyclePolicyResultOutput

func (o LookupObjectLifecyclePolicyResultOutput) ToLookupObjectLifecyclePolicyResultOutput() LookupObjectLifecyclePolicyResultOutput

func (LookupObjectLifecyclePolicyResultOutput) ToLookupObjectLifecyclePolicyResultOutputWithContext

func (o LookupObjectLifecyclePolicyResultOutput) ToLookupObjectLifecyclePolicyResultOutputWithContext(ctx context.Context) LookupObjectLifecyclePolicyResultOutput

type LookupPreauthrequestArgs

type LookupPreauthrequestArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket string `pulumi:"bucket"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
	// 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.
	ParId string `pulumi:"parId"`
}

A collection of arguments for invoking getPreauthrequest.

type LookupPreauthrequestOutputArgs

type LookupPreauthrequestOutputArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// 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.
	ParId pulumi.StringInput `pulumi:"parId"`
}

A collection of arguments for invoking getPreauthrequest.

func (LookupPreauthrequestOutputArgs) ElementType

type LookupPreauthrequestResult

type LookupPreauthrequestResult struct {
	// The operation that can be performed on this resource.
	AccessType string `pulumi:"accessType"`
	// The URI to embed in the URL when using the pre-authenticated request.
	AccessUri string `pulumi:"accessUri"`
	// The name of the bucket.  Example: `my-new-bucket1`
	Bucket string `pulumi:"bucket"`
	// 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.
	BucketListingAction string `pulumi:"bucketListingAction"`
	FullPath            string `pulumi:"fullPath"`
	// The unique identifier to use when directly addressing the pre-authenticated request.
	Id string `pulumi:"id"`
	// The user-provided name of the pre-authenticated request.
	Name string `pulumi:"name"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
	// Deprecated. Instead use `objectName`.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. Example: test/object1.log
	//
	// Deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.
	Object string `pulumi:"object"`
	// 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. Example: test/object1.log
	ObjectName string `pulumi:"objectName"`
	ParId      string `pulumi:"parId"`
	// The date when the pre-authenticated request was created as per specification [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated string `pulumi:"timeCreated"`
	// The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/html/rfc3339). After this date the pre-authenticated request will no longer be valid.
	TimeExpires string `pulumi:"timeExpires"`
}

A collection of values returned by getPreauthrequest.

func LookupPreauthrequest

func LookupPreauthrequest(ctx *pulumi.Context, args *LookupPreauthrequestArgs, opts ...pulumi.InvokeOption) (*LookupPreauthrequestResult, error)

This data source provides details about a specific Preauthenticated Request resource in Oracle Cloud Infrastructure Object Storage service.

Gets the pre-authenticated request for the bucket.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.GetPreauthrequest(ctx, &objectstorage.GetPreauthrequestArgs{
			Bucket:    preauthenticatedRequestBucket,
			Namespace: preauthenticatedRequestNamespace,
			ParId:     testPar.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupPreauthrequestResultOutput

type LookupPreauthrequestResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPreauthrequest.

func (LookupPreauthrequestResultOutput) AccessType

The operation that can be performed on this resource.

func (LookupPreauthrequestResultOutput) AccessUri

The URI to embed in the URL when using the pre-authenticated request.

func (LookupPreauthrequestResultOutput) Bucket

The name of the bucket. Example: `my-new-bucket1`

func (LookupPreauthrequestResultOutput) BucketListingAction

func (o LookupPreauthrequestResultOutput) BucketListingAction() pulumi.StringOutput

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.

func (LookupPreauthrequestResultOutput) ElementType

func (LookupPreauthrequestResultOutput) FullPath added in v1.1.0

func (LookupPreauthrequestResultOutput) Id

The unique identifier to use when directly addressing the pre-authenticated request.

func (LookupPreauthrequestResultOutput) Name

The user-provided name of the pre-authenticated request.

func (LookupPreauthrequestResultOutput) Namespace

The Object Storage namespace used for the request.

func (LookupPreauthrequestResultOutput) Object deprecated

Deprecated. Instead use `objectName`.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. Example: test/object1.log

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

func (LookupPreauthrequestResultOutput) ObjectName

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. Example: test/object1.log

func (LookupPreauthrequestResultOutput) ParId

func (LookupPreauthrequestResultOutput) TimeCreated

The date when the pre-authenticated request was created as per specification [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (LookupPreauthrequestResultOutput) TimeExpires

The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/html/rfc3339). After this date the pre-authenticated request will no longer be valid.

func (LookupPreauthrequestResultOutput) ToLookupPreauthrequestResultOutput

func (o LookupPreauthrequestResultOutput) ToLookupPreauthrequestResultOutput() LookupPreauthrequestResultOutput

func (LookupPreauthrequestResultOutput) ToLookupPreauthrequestResultOutputWithContext

func (o LookupPreauthrequestResultOutput) ToLookupPreauthrequestResultOutputWithContext(ctx context.Context) LookupPreauthrequestResultOutput

type LookupReplicationPolicyArgs

type LookupReplicationPolicyArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket string `pulumi:"bucket"`
	// The Object Storage namespace used for the request.
	Namespace string `pulumi:"namespace"`
	// The ID of the replication policy.
	ReplicationId string `pulumi:"replicationId"`
}

A collection of arguments for invoking getReplicationPolicy.

type LookupReplicationPolicyOutputArgs

type LookupReplicationPolicyOutputArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The ID of the replication policy.
	ReplicationId pulumi.StringInput `pulumi:"replicationId"`
}

A collection of arguments for invoking getReplicationPolicy.

func (LookupReplicationPolicyOutputArgs) ElementType

type LookupReplicationPolicyResult

type LookupReplicationPolicyResult struct {
	Bucket string `pulumi:"bucket"`
	// Deprecated: The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.
	DeleteObjectInDestinationBucket string `pulumi:"deleteObjectInDestinationBucket"`
	// The bucket to replicate to in the destination region. Replication policy creation does not automatically create a destination bucket. Create the destination bucket before creating the policy.
	DestinationBucketName string `pulumi:"destinationBucketName"`
	// The destination region to replicate to, for example "us-ashburn-1".
	DestinationRegionName string `pulumi:"destinationRegionName"`
	// The id of the replication policy.
	Id string `pulumi:"id"`
	// The name of the policy.
	Name          string `pulumi:"name"`
	Namespace     string `pulumi:"namespace"`
	ReplicationId string `pulumi:"replicationId"`
	// The replication status of the policy. If the status is CLIENT_ERROR, once the user fixes the issue described in the status message, the status will become ACTIVE.
	Status string `pulumi:"status"`
	// A human-readable description of the status.
	StatusMessage string `pulumi:"statusMessage"`
	// The date when the replication policy was created as per [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated string `pulumi:"timeCreated"`
	// Changes made to the source bucket before this time has been replicated.
	TimeLastSync string `pulumi:"timeLastSync"`
}

A collection of values returned by getReplicationPolicy.

func LookupReplicationPolicy

func LookupReplicationPolicy(ctx *pulumi.Context, args *LookupReplicationPolicyArgs, opts ...pulumi.InvokeOption) (*LookupReplicationPolicyResult, error)

This data source provides details about a specific Replication Policy resource in Oracle Cloud Infrastructure Object Storage service.

Get the replication policy.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.GetReplicationPolicy(ctx, &objectstorage.GetReplicationPolicyArgs{
			Bucket:        replicationPolicyBucket,
			Namespace:     replicationPolicyNamespace,
			ReplicationId: testReplication.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupReplicationPolicyResultOutput

type LookupReplicationPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReplicationPolicy.

func (LookupReplicationPolicyResultOutput) Bucket

func (LookupReplicationPolicyResultOutput) DeleteObjectInDestinationBucket deprecated

func (o LookupReplicationPolicyResultOutput) DeleteObjectInDestinationBucket() pulumi.StringOutput

Deprecated: The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.

func (LookupReplicationPolicyResultOutput) DestinationBucketName

func (o LookupReplicationPolicyResultOutput) DestinationBucketName() pulumi.StringOutput

The bucket to replicate to in the destination region. Replication policy creation does not automatically create a destination bucket. Create the destination bucket before creating the policy.

func (LookupReplicationPolicyResultOutput) DestinationRegionName

func (o LookupReplicationPolicyResultOutput) DestinationRegionName() pulumi.StringOutput

The destination region to replicate to, for example "us-ashburn-1".

func (LookupReplicationPolicyResultOutput) ElementType

func (LookupReplicationPolicyResultOutput) Id

The id of the replication policy.

func (LookupReplicationPolicyResultOutput) Name

The name of the policy.

func (LookupReplicationPolicyResultOutput) Namespace

func (LookupReplicationPolicyResultOutput) ReplicationId

func (LookupReplicationPolicyResultOutput) Status

The replication status of the policy. If the status is CLIENT_ERROR, once the user fixes the issue described in the status message, the status will become ACTIVE.

func (LookupReplicationPolicyResultOutput) StatusMessage

A human-readable description of the status.

func (LookupReplicationPolicyResultOutput) TimeCreated

The date when the replication policy was created as per [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (LookupReplicationPolicyResultOutput) TimeLastSync

Changes made to the source bucket before this time has been replicated.

func (LookupReplicationPolicyResultOutput) ToLookupReplicationPolicyResultOutput

func (o LookupReplicationPolicyResultOutput) ToLookupReplicationPolicyResultOutput() LookupReplicationPolicyResultOutput

func (LookupReplicationPolicyResultOutput) ToLookupReplicationPolicyResultOutputWithContext

func (o LookupReplicationPolicyResultOutput) ToLookupReplicationPolicyResultOutputWithContext(ctx context.Context) LookupReplicationPolicyResultOutput

type NamespaceMetadata

type NamespaceMetadata struct {
	pulumi.CustomResourceState

	DefaultS3compartmentId    pulumi.StringOutput `pulumi:"defaultS3compartmentId"`
	DefaultSwiftCompartmentId pulumi.StringOutput `pulumi:"defaultSwiftCompartmentId"`
	Namespace                 pulumi.StringOutput `pulumi:"namespace"`
}

func GetNamespaceMetadata

func GetNamespaceMetadata(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NamespaceMetadataState, opts ...pulumi.ResourceOption) (*NamespaceMetadata, error)

GetNamespaceMetadata gets an existing NamespaceMetadata resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNamespaceMetadata

func NewNamespaceMetadata(ctx *pulumi.Context,
	name string, args *NamespaceMetadataArgs, opts ...pulumi.ResourceOption) (*NamespaceMetadata, error)

NewNamespaceMetadata registers a new resource with the given unique name, arguments, and options.

func (*NamespaceMetadata) ElementType

func (*NamespaceMetadata) ElementType() reflect.Type

func (*NamespaceMetadata) ToNamespaceMetadataOutput

func (i *NamespaceMetadata) ToNamespaceMetadataOutput() NamespaceMetadataOutput

func (*NamespaceMetadata) ToNamespaceMetadataOutputWithContext

func (i *NamespaceMetadata) ToNamespaceMetadataOutputWithContext(ctx context.Context) NamespaceMetadataOutput

type NamespaceMetadataArgs

type NamespaceMetadataArgs struct {
	DefaultS3compartmentId    pulumi.StringPtrInput
	DefaultSwiftCompartmentId pulumi.StringPtrInput
	Namespace                 pulumi.StringInput
}

The set of arguments for constructing a NamespaceMetadata resource.

func (NamespaceMetadataArgs) ElementType

func (NamespaceMetadataArgs) ElementType() reflect.Type

type NamespaceMetadataArray

type NamespaceMetadataArray []NamespaceMetadataInput

func (NamespaceMetadataArray) ElementType

func (NamespaceMetadataArray) ElementType() reflect.Type

func (NamespaceMetadataArray) ToNamespaceMetadataArrayOutput

func (i NamespaceMetadataArray) ToNamespaceMetadataArrayOutput() NamespaceMetadataArrayOutput

func (NamespaceMetadataArray) ToNamespaceMetadataArrayOutputWithContext

func (i NamespaceMetadataArray) ToNamespaceMetadataArrayOutputWithContext(ctx context.Context) NamespaceMetadataArrayOutput

type NamespaceMetadataArrayInput

type NamespaceMetadataArrayInput interface {
	pulumi.Input

	ToNamespaceMetadataArrayOutput() NamespaceMetadataArrayOutput
	ToNamespaceMetadataArrayOutputWithContext(context.Context) NamespaceMetadataArrayOutput
}

NamespaceMetadataArrayInput is an input type that accepts NamespaceMetadataArray and NamespaceMetadataArrayOutput values. You can construct a concrete instance of `NamespaceMetadataArrayInput` via:

NamespaceMetadataArray{ NamespaceMetadataArgs{...} }

type NamespaceMetadataArrayOutput

type NamespaceMetadataArrayOutput struct{ *pulumi.OutputState }

func (NamespaceMetadataArrayOutput) ElementType

func (NamespaceMetadataArrayOutput) Index

func (NamespaceMetadataArrayOutput) ToNamespaceMetadataArrayOutput

func (o NamespaceMetadataArrayOutput) ToNamespaceMetadataArrayOutput() NamespaceMetadataArrayOutput

func (NamespaceMetadataArrayOutput) ToNamespaceMetadataArrayOutputWithContext

func (o NamespaceMetadataArrayOutput) ToNamespaceMetadataArrayOutputWithContext(ctx context.Context) NamespaceMetadataArrayOutput

type NamespaceMetadataInput

type NamespaceMetadataInput interface {
	pulumi.Input

	ToNamespaceMetadataOutput() NamespaceMetadataOutput
	ToNamespaceMetadataOutputWithContext(ctx context.Context) NamespaceMetadataOutput
}

type NamespaceMetadataMap

type NamespaceMetadataMap map[string]NamespaceMetadataInput

func (NamespaceMetadataMap) ElementType

func (NamespaceMetadataMap) ElementType() reflect.Type

func (NamespaceMetadataMap) ToNamespaceMetadataMapOutput

func (i NamespaceMetadataMap) ToNamespaceMetadataMapOutput() NamespaceMetadataMapOutput

func (NamespaceMetadataMap) ToNamespaceMetadataMapOutputWithContext

func (i NamespaceMetadataMap) ToNamespaceMetadataMapOutputWithContext(ctx context.Context) NamespaceMetadataMapOutput

type NamespaceMetadataMapInput

type NamespaceMetadataMapInput interface {
	pulumi.Input

	ToNamespaceMetadataMapOutput() NamespaceMetadataMapOutput
	ToNamespaceMetadataMapOutputWithContext(context.Context) NamespaceMetadataMapOutput
}

NamespaceMetadataMapInput is an input type that accepts NamespaceMetadataMap and NamespaceMetadataMapOutput values. You can construct a concrete instance of `NamespaceMetadataMapInput` via:

NamespaceMetadataMap{ "key": NamespaceMetadataArgs{...} }

type NamespaceMetadataMapOutput

type NamespaceMetadataMapOutput struct{ *pulumi.OutputState }

func (NamespaceMetadataMapOutput) ElementType

func (NamespaceMetadataMapOutput) ElementType() reflect.Type

func (NamespaceMetadataMapOutput) MapIndex

func (NamespaceMetadataMapOutput) ToNamespaceMetadataMapOutput

func (o NamespaceMetadataMapOutput) ToNamespaceMetadataMapOutput() NamespaceMetadataMapOutput

func (NamespaceMetadataMapOutput) ToNamespaceMetadataMapOutputWithContext

func (o NamespaceMetadataMapOutput) ToNamespaceMetadataMapOutputWithContext(ctx context.Context) NamespaceMetadataMapOutput

type NamespaceMetadataOutput

type NamespaceMetadataOutput struct{ *pulumi.OutputState }

func (NamespaceMetadataOutput) DefaultS3compartmentId added in v0.4.0

func (o NamespaceMetadataOutput) DefaultS3compartmentId() pulumi.StringOutput

func (NamespaceMetadataOutput) DefaultSwiftCompartmentId added in v0.4.0

func (o NamespaceMetadataOutput) DefaultSwiftCompartmentId() pulumi.StringOutput

func (NamespaceMetadataOutput) ElementType

func (NamespaceMetadataOutput) ElementType() reflect.Type

func (NamespaceMetadataOutput) Namespace added in v0.4.0

func (NamespaceMetadataOutput) ToNamespaceMetadataOutput

func (o NamespaceMetadataOutput) ToNamespaceMetadataOutput() NamespaceMetadataOutput

func (NamespaceMetadataOutput) ToNamespaceMetadataOutputWithContext

func (o NamespaceMetadataOutput) ToNamespaceMetadataOutputWithContext(ctx context.Context) NamespaceMetadataOutput

type NamespaceMetadataState

type NamespaceMetadataState struct {
	DefaultS3compartmentId    pulumi.StringPtrInput
	DefaultSwiftCompartmentId pulumi.StringPtrInput
	Namespace                 pulumi.StringPtrInput
}

func (NamespaceMetadataState) ElementType

func (NamespaceMetadataState) ElementType() reflect.Type

type ObjectLifecyclePolicy

type ObjectLifecyclePolicy struct {
	pulumi.CustomResourceState

	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// (Updatable) The bucket's set of lifecycle policy rules.
	Rules ObjectLifecyclePolicyRuleArrayOutput `pulumi:"rules"`
	// The date and time the object lifecycle policy was created, as described in [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
}

This resource provides the Object Lifecycle Policy resource in Oracle Cloud Infrastructure Object Storage service.

Creates or replaces the object lifecycle policy for the bucket.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.NewObjectLifecyclePolicy(ctx, "test_object_lifecycle_policy", &ObjectStorage.ObjectLifecyclePolicyArgs{
			Bucket:    pulumi.Any(objectLifecyclePolicyBucket),
			Namespace: pulumi.Any(objectLifecyclePolicyNamespace),
			Rules: objectstorage.ObjectLifecyclePolicyRuleArray{
				&objectstorage.ObjectLifecyclePolicyRuleArgs{
					Action:     pulumi.Any(objectLifecyclePolicyRulesAction),
					IsEnabled:  pulumi.Any(objectLifecyclePolicyRulesIsEnabled),
					Name:       pulumi.Any(objectLifecyclePolicyRulesName),
					TimeAmount: pulumi.Any(objectLifecyclePolicyRulesTimeAmount),
					TimeUnit:   pulumi.Any(objectLifecyclePolicyRulesTimeUnit),
					ObjectNameFilter: &objectstorage.ObjectLifecyclePolicyRuleObjectNameFilterArgs{
						ExclusionPatterns: pulumi.Any(objectLifecyclePolicyRulesObjectNameFilterExclusionPatterns),
						InclusionPatterns: pulumi.Any(objectLifecyclePolicyRulesObjectNameFilterInclusionPatterns),
						InclusionPrefixes: pulumi.Any(objectLifecyclePolicyRulesObjectNameFilterInclusionPrefixes),
					},
					Target: pulumi.Any(objectLifecyclePolicyRulesTarget),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ObjectLifecyclePolicies can be imported using the `id`, e.g.

```sh $ pulumi import oci:ObjectStorage/objectLifecyclePolicy:ObjectLifecyclePolicy test_object_lifecycle_policy "n/{namespaceName}/b/{bucketName}/l" ```

func GetObjectLifecyclePolicy

func GetObjectLifecyclePolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ObjectLifecyclePolicyState, opts ...pulumi.ResourceOption) (*ObjectLifecyclePolicy, error)

GetObjectLifecyclePolicy gets an existing ObjectLifecyclePolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewObjectLifecyclePolicy

func NewObjectLifecyclePolicy(ctx *pulumi.Context,
	name string, args *ObjectLifecyclePolicyArgs, opts ...pulumi.ResourceOption) (*ObjectLifecyclePolicy, error)

NewObjectLifecyclePolicy registers a new resource with the given unique name, arguments, and options.

func (*ObjectLifecyclePolicy) ElementType

func (*ObjectLifecyclePolicy) ElementType() reflect.Type

func (*ObjectLifecyclePolicy) ToObjectLifecyclePolicyOutput

func (i *ObjectLifecyclePolicy) ToObjectLifecyclePolicyOutput() ObjectLifecyclePolicyOutput

func (*ObjectLifecyclePolicy) ToObjectLifecyclePolicyOutputWithContext

func (i *ObjectLifecyclePolicy) ToObjectLifecyclePolicyOutputWithContext(ctx context.Context) ObjectLifecyclePolicyOutput

type ObjectLifecyclePolicyArgs

type ObjectLifecyclePolicyArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput
	// (Updatable) The bucket's set of lifecycle policy rules.
	Rules ObjectLifecyclePolicyRuleArrayInput
}

The set of arguments for constructing a ObjectLifecyclePolicy resource.

func (ObjectLifecyclePolicyArgs) ElementType

func (ObjectLifecyclePolicyArgs) ElementType() reflect.Type

type ObjectLifecyclePolicyArray

type ObjectLifecyclePolicyArray []ObjectLifecyclePolicyInput

func (ObjectLifecyclePolicyArray) ElementType

func (ObjectLifecyclePolicyArray) ElementType() reflect.Type

func (ObjectLifecyclePolicyArray) ToObjectLifecyclePolicyArrayOutput

func (i ObjectLifecyclePolicyArray) ToObjectLifecyclePolicyArrayOutput() ObjectLifecyclePolicyArrayOutput

func (ObjectLifecyclePolicyArray) ToObjectLifecyclePolicyArrayOutputWithContext

func (i ObjectLifecyclePolicyArray) ToObjectLifecyclePolicyArrayOutputWithContext(ctx context.Context) ObjectLifecyclePolicyArrayOutput

type ObjectLifecyclePolicyArrayInput

type ObjectLifecyclePolicyArrayInput interface {
	pulumi.Input

	ToObjectLifecyclePolicyArrayOutput() ObjectLifecyclePolicyArrayOutput
	ToObjectLifecyclePolicyArrayOutputWithContext(context.Context) ObjectLifecyclePolicyArrayOutput
}

ObjectLifecyclePolicyArrayInput is an input type that accepts ObjectLifecyclePolicyArray and ObjectLifecyclePolicyArrayOutput values. You can construct a concrete instance of `ObjectLifecyclePolicyArrayInput` via:

ObjectLifecyclePolicyArray{ ObjectLifecyclePolicyArgs{...} }

type ObjectLifecyclePolicyArrayOutput

type ObjectLifecyclePolicyArrayOutput struct{ *pulumi.OutputState }

func (ObjectLifecyclePolicyArrayOutput) ElementType

func (ObjectLifecyclePolicyArrayOutput) Index

func (ObjectLifecyclePolicyArrayOutput) ToObjectLifecyclePolicyArrayOutput

func (o ObjectLifecyclePolicyArrayOutput) ToObjectLifecyclePolicyArrayOutput() ObjectLifecyclePolicyArrayOutput

func (ObjectLifecyclePolicyArrayOutput) ToObjectLifecyclePolicyArrayOutputWithContext

func (o ObjectLifecyclePolicyArrayOutput) ToObjectLifecyclePolicyArrayOutputWithContext(ctx context.Context) ObjectLifecyclePolicyArrayOutput

type ObjectLifecyclePolicyInput

type ObjectLifecyclePolicyInput interface {
	pulumi.Input

	ToObjectLifecyclePolicyOutput() ObjectLifecyclePolicyOutput
	ToObjectLifecyclePolicyOutputWithContext(ctx context.Context) ObjectLifecyclePolicyOutput
}

type ObjectLifecyclePolicyMap

type ObjectLifecyclePolicyMap map[string]ObjectLifecyclePolicyInput

func (ObjectLifecyclePolicyMap) ElementType

func (ObjectLifecyclePolicyMap) ElementType() reflect.Type

func (ObjectLifecyclePolicyMap) ToObjectLifecyclePolicyMapOutput

func (i ObjectLifecyclePolicyMap) ToObjectLifecyclePolicyMapOutput() ObjectLifecyclePolicyMapOutput

func (ObjectLifecyclePolicyMap) ToObjectLifecyclePolicyMapOutputWithContext

func (i ObjectLifecyclePolicyMap) ToObjectLifecyclePolicyMapOutputWithContext(ctx context.Context) ObjectLifecyclePolicyMapOutput

type ObjectLifecyclePolicyMapInput

type ObjectLifecyclePolicyMapInput interface {
	pulumi.Input

	ToObjectLifecyclePolicyMapOutput() ObjectLifecyclePolicyMapOutput
	ToObjectLifecyclePolicyMapOutputWithContext(context.Context) ObjectLifecyclePolicyMapOutput
}

ObjectLifecyclePolicyMapInput is an input type that accepts ObjectLifecyclePolicyMap and ObjectLifecyclePolicyMapOutput values. You can construct a concrete instance of `ObjectLifecyclePolicyMapInput` via:

ObjectLifecyclePolicyMap{ "key": ObjectLifecyclePolicyArgs{...} }

type ObjectLifecyclePolicyMapOutput

type ObjectLifecyclePolicyMapOutput struct{ *pulumi.OutputState }

func (ObjectLifecyclePolicyMapOutput) ElementType

func (ObjectLifecyclePolicyMapOutput) MapIndex

func (ObjectLifecyclePolicyMapOutput) ToObjectLifecyclePolicyMapOutput

func (o ObjectLifecyclePolicyMapOutput) ToObjectLifecyclePolicyMapOutput() ObjectLifecyclePolicyMapOutput

func (ObjectLifecyclePolicyMapOutput) ToObjectLifecyclePolicyMapOutputWithContext

func (o ObjectLifecyclePolicyMapOutput) ToObjectLifecyclePolicyMapOutputWithContext(ctx context.Context) ObjectLifecyclePolicyMapOutput

type ObjectLifecyclePolicyOutput

type ObjectLifecyclePolicyOutput struct{ *pulumi.OutputState }

func (ObjectLifecyclePolicyOutput) Bucket added in v0.4.0

The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`

func (ObjectLifecyclePolicyOutput) ElementType

func (ObjectLifecyclePolicyOutput) Namespace added in v0.4.0

The Object Storage namespace used for the request.

func (ObjectLifecyclePolicyOutput) Rules added in v0.4.0

(Updatable) The bucket's set of lifecycle policy rules.

func (ObjectLifecyclePolicyOutput) TimeCreated added in v0.4.0

The date and time the object lifecycle policy was created, as described in [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (ObjectLifecyclePolicyOutput) ToObjectLifecyclePolicyOutput

func (o ObjectLifecyclePolicyOutput) ToObjectLifecyclePolicyOutput() ObjectLifecyclePolicyOutput

func (ObjectLifecyclePolicyOutput) ToObjectLifecyclePolicyOutputWithContext

func (o ObjectLifecyclePolicyOutput) ToObjectLifecyclePolicyOutputWithContext(ctx context.Context) ObjectLifecyclePolicyOutput

type ObjectLifecyclePolicyRule

type ObjectLifecyclePolicyRule struct {
	// (Updatable) The action of the object lifecycle policy rule. Rules using the action 'ARCHIVE' move objects from Standard and InfrequentAccess storage tiers into the [Archive storage tier](https://docs.cloud.oracle.com/iaas/Content/Archive/Concepts/archivestorageoverview.htm). Rules using the action 'INFREQUENT_ACCESS' move objects from Standard storage tier into the Infrequent Access Storage tier. Objects that are already in InfrequentAccess tier or in Archive tier are left untouched. Rules using the action 'DELETE' permanently delete objects from buckets. Rules using 'ABORT' abort the uncommitted multipart-uploads and permanently delete their parts from buckets.
	Action string `pulumi:"action"`
	// (Updatable) A Boolean that determines whether this rule is currently enabled.
	IsEnabled bool `pulumi:"isEnabled"`
	// (Updatable) The name of the lifecycle rule to be applied.
	Name string `pulumi:"name"`
	// (Updatable) A filter that compares object names to a set of prefixes or patterns to determine if a rule applies to a given object. The filter can contain include glob patterns, exclude glob patterns and inclusion prefixes. The inclusion prefixes property is kept for backward compatibility. It is recommended to use inclusion patterns instead of prefixes. Exclusions take precedence over inclusions.
	ObjectNameFilter *ObjectLifecyclePolicyRuleObjectNameFilter `pulumi:"objectNameFilter"`
	// (Updatable) The target of the object lifecycle policy rule. The values of target can be either "objects", "multipart-uploads" or "previous-object-versions". This field when declared as "objects" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for objects. This field when declared as "previous-object-versions" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for previous versions of existing objects. This field when declared as "multipart-uploads" is used to specify the ABORT (only) rule for uncommitted multipart-uploads.
	Target *string `pulumi:"target"`
	// (Updatable) Specifies the age of objects to apply the rule to. The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified time.
	TimeAmount string `pulumi:"timeAmount"`
	// (Updatable) The unit that should be used to interpret timeAmount.  Days are defined as starting and ending at midnight UTC. Years are defined as 365.2425 days long and likewise round up to the next midnight UTC.
	//
	// ** 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
	TimeUnit string `pulumi:"timeUnit"`
}

type ObjectLifecyclePolicyRuleArgs

type ObjectLifecyclePolicyRuleArgs struct {
	// (Updatable) The action of the object lifecycle policy rule. Rules using the action 'ARCHIVE' move objects from Standard and InfrequentAccess storage tiers into the [Archive storage tier](https://docs.cloud.oracle.com/iaas/Content/Archive/Concepts/archivestorageoverview.htm). Rules using the action 'INFREQUENT_ACCESS' move objects from Standard storage tier into the Infrequent Access Storage tier. Objects that are already in InfrequentAccess tier or in Archive tier are left untouched. Rules using the action 'DELETE' permanently delete objects from buckets. Rules using 'ABORT' abort the uncommitted multipart-uploads and permanently delete their parts from buckets.
	Action pulumi.StringInput `pulumi:"action"`
	// (Updatable) A Boolean that determines whether this rule is currently enabled.
	IsEnabled pulumi.BoolInput `pulumi:"isEnabled"`
	// (Updatable) The name of the lifecycle rule to be applied.
	Name pulumi.StringInput `pulumi:"name"`
	// (Updatable) A filter that compares object names to a set of prefixes or patterns to determine if a rule applies to a given object. The filter can contain include glob patterns, exclude glob patterns and inclusion prefixes. The inclusion prefixes property is kept for backward compatibility. It is recommended to use inclusion patterns instead of prefixes. Exclusions take precedence over inclusions.
	ObjectNameFilter ObjectLifecyclePolicyRuleObjectNameFilterPtrInput `pulumi:"objectNameFilter"`
	// (Updatable) The target of the object lifecycle policy rule. The values of target can be either "objects", "multipart-uploads" or "previous-object-versions". This field when declared as "objects" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for objects. This field when declared as "previous-object-versions" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for previous versions of existing objects. This field when declared as "multipart-uploads" is used to specify the ABORT (only) rule for uncommitted multipart-uploads.
	Target pulumi.StringPtrInput `pulumi:"target"`
	// (Updatable) Specifies the age of objects to apply the rule to. The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified time.
	TimeAmount pulumi.StringInput `pulumi:"timeAmount"`
	// (Updatable) The unit that should be used to interpret timeAmount.  Days are defined as starting and ending at midnight UTC. Years are defined as 365.2425 days long and likewise round up to the next midnight UTC.
	//
	// ** 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
	TimeUnit pulumi.StringInput `pulumi:"timeUnit"`
}

func (ObjectLifecyclePolicyRuleArgs) ElementType

func (ObjectLifecyclePolicyRuleArgs) ToObjectLifecyclePolicyRuleOutput

func (i ObjectLifecyclePolicyRuleArgs) ToObjectLifecyclePolicyRuleOutput() ObjectLifecyclePolicyRuleOutput

func (ObjectLifecyclePolicyRuleArgs) ToObjectLifecyclePolicyRuleOutputWithContext

func (i ObjectLifecyclePolicyRuleArgs) ToObjectLifecyclePolicyRuleOutputWithContext(ctx context.Context) ObjectLifecyclePolicyRuleOutput

type ObjectLifecyclePolicyRuleArray

type ObjectLifecyclePolicyRuleArray []ObjectLifecyclePolicyRuleInput

func (ObjectLifecyclePolicyRuleArray) ElementType

func (ObjectLifecyclePolicyRuleArray) ToObjectLifecyclePolicyRuleArrayOutput

func (i ObjectLifecyclePolicyRuleArray) ToObjectLifecyclePolicyRuleArrayOutput() ObjectLifecyclePolicyRuleArrayOutput

func (ObjectLifecyclePolicyRuleArray) ToObjectLifecyclePolicyRuleArrayOutputWithContext

func (i ObjectLifecyclePolicyRuleArray) ToObjectLifecyclePolicyRuleArrayOutputWithContext(ctx context.Context) ObjectLifecyclePolicyRuleArrayOutput

type ObjectLifecyclePolicyRuleArrayInput

type ObjectLifecyclePolicyRuleArrayInput interface {
	pulumi.Input

	ToObjectLifecyclePolicyRuleArrayOutput() ObjectLifecyclePolicyRuleArrayOutput
	ToObjectLifecyclePolicyRuleArrayOutputWithContext(context.Context) ObjectLifecyclePolicyRuleArrayOutput
}

ObjectLifecyclePolicyRuleArrayInput is an input type that accepts ObjectLifecyclePolicyRuleArray and ObjectLifecyclePolicyRuleArrayOutput values. You can construct a concrete instance of `ObjectLifecyclePolicyRuleArrayInput` via:

ObjectLifecyclePolicyRuleArray{ ObjectLifecyclePolicyRuleArgs{...} }

type ObjectLifecyclePolicyRuleArrayOutput

type ObjectLifecyclePolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (ObjectLifecyclePolicyRuleArrayOutput) ElementType

func (ObjectLifecyclePolicyRuleArrayOutput) Index

func (ObjectLifecyclePolicyRuleArrayOutput) ToObjectLifecyclePolicyRuleArrayOutput

func (o ObjectLifecyclePolicyRuleArrayOutput) ToObjectLifecyclePolicyRuleArrayOutput() ObjectLifecyclePolicyRuleArrayOutput

func (ObjectLifecyclePolicyRuleArrayOutput) ToObjectLifecyclePolicyRuleArrayOutputWithContext

func (o ObjectLifecyclePolicyRuleArrayOutput) ToObjectLifecyclePolicyRuleArrayOutputWithContext(ctx context.Context) ObjectLifecyclePolicyRuleArrayOutput

type ObjectLifecyclePolicyRuleInput

type ObjectLifecyclePolicyRuleInput interface {
	pulumi.Input

	ToObjectLifecyclePolicyRuleOutput() ObjectLifecyclePolicyRuleOutput
	ToObjectLifecyclePolicyRuleOutputWithContext(context.Context) ObjectLifecyclePolicyRuleOutput
}

ObjectLifecyclePolicyRuleInput is an input type that accepts ObjectLifecyclePolicyRuleArgs and ObjectLifecyclePolicyRuleOutput values. You can construct a concrete instance of `ObjectLifecyclePolicyRuleInput` via:

ObjectLifecyclePolicyRuleArgs{...}

type ObjectLifecyclePolicyRuleObjectNameFilter

type ObjectLifecyclePolicyRuleObjectNameFilter struct {
	// (Updatable) An array of glob patterns to match the object names to exclude. An empty array is ignored. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.
	//
	// The special pattern characters have the following meanings:
	//
	// \           Escapes the following character
	// *           Matches any string of characters. ?           Matches any single character . [...]       Matches a group of characters. A group of characters can be: A set of characters, for example: [Zafg9@]. This matches any character in the brackets. A range of characters, for example: [a-z]. This matches any character in the range. [a-f] is equivalent to [abcdef]. For character ranges only the CHARACTER-CHARACTER pattern is supported. [ab-yz] is not valid [a-mn-z] is not valid Character ranges can not start with ^ or : To include a '-' in the range, make it the first or last character.
	ExclusionPatterns []string `pulumi:"exclusionPatterns"`
	// (Updatable) An array of glob patterns to match the object names to include. An empty array includes all objects in the bucket. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.
	//
	// The special pattern characters have the following meanings:
	//
	// \           Escapes the following character
	// *           Matches any string of characters. ?           Matches any single character . [...]       Matches a group of characters. A group of characters can be: A set of characters, for example: [Zafg9@]. This matches any character in the brackets. A range of characters, for example: [a-z]. This matches any character in the range. [a-f] is equivalent to [abcdef]. For character ranges only the CHARACTER-CHARACTER pattern is supported. [ab-yz] is not valid [a-mn-z] is not valid Character ranges can not start with ^ or : To include a '-' in the range, make it the first or last character.
	InclusionPatterns []string `pulumi:"inclusionPatterns"`
	// (Updatable) An array of object name prefixes that the rule will apply to. An empty array means to include all objects.
	InclusionPrefixes []string `pulumi:"inclusionPrefixes"`
}

type ObjectLifecyclePolicyRuleObjectNameFilterArgs

type ObjectLifecyclePolicyRuleObjectNameFilterArgs struct {
	// (Updatable) An array of glob patterns to match the object names to exclude. An empty array is ignored. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.
	//
	// The special pattern characters have the following meanings:
	//
	// \           Escapes the following character
	// *           Matches any string of characters. ?           Matches any single character . [...]       Matches a group of characters. A group of characters can be: A set of characters, for example: [Zafg9@]. This matches any character in the brackets. A range of characters, for example: [a-z]. This matches any character in the range. [a-f] is equivalent to [abcdef]. For character ranges only the CHARACTER-CHARACTER pattern is supported. [ab-yz] is not valid [a-mn-z] is not valid Character ranges can not start with ^ or : To include a '-' in the range, make it the first or last character.
	ExclusionPatterns pulumi.StringArrayInput `pulumi:"exclusionPatterns"`
	// (Updatable) An array of glob patterns to match the object names to include. An empty array includes all objects in the bucket. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.
	//
	// The special pattern characters have the following meanings:
	//
	// \           Escapes the following character
	// *           Matches any string of characters. ?           Matches any single character . [...]       Matches a group of characters. A group of characters can be: A set of characters, for example: [Zafg9@]. This matches any character in the brackets. A range of characters, for example: [a-z]. This matches any character in the range. [a-f] is equivalent to [abcdef]. For character ranges only the CHARACTER-CHARACTER pattern is supported. [ab-yz] is not valid [a-mn-z] is not valid Character ranges can not start with ^ or : To include a '-' in the range, make it the first or last character.
	InclusionPatterns pulumi.StringArrayInput `pulumi:"inclusionPatterns"`
	// (Updatable) An array of object name prefixes that the rule will apply to. An empty array means to include all objects.
	InclusionPrefixes pulumi.StringArrayInput `pulumi:"inclusionPrefixes"`
}

func (ObjectLifecyclePolicyRuleObjectNameFilterArgs) ElementType

func (ObjectLifecyclePolicyRuleObjectNameFilterArgs) ToObjectLifecyclePolicyRuleObjectNameFilterOutput

func (i ObjectLifecyclePolicyRuleObjectNameFilterArgs) ToObjectLifecyclePolicyRuleObjectNameFilterOutput() ObjectLifecyclePolicyRuleObjectNameFilterOutput

func (ObjectLifecyclePolicyRuleObjectNameFilterArgs) ToObjectLifecyclePolicyRuleObjectNameFilterOutputWithContext

func (i ObjectLifecyclePolicyRuleObjectNameFilterArgs) ToObjectLifecyclePolicyRuleObjectNameFilterOutputWithContext(ctx context.Context) ObjectLifecyclePolicyRuleObjectNameFilterOutput

func (ObjectLifecyclePolicyRuleObjectNameFilterArgs) ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutput

func (i ObjectLifecyclePolicyRuleObjectNameFilterArgs) ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutput() ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput

func (ObjectLifecyclePolicyRuleObjectNameFilterArgs) ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutputWithContext

func (i ObjectLifecyclePolicyRuleObjectNameFilterArgs) ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutputWithContext(ctx context.Context) ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput

type ObjectLifecyclePolicyRuleObjectNameFilterInput

type ObjectLifecyclePolicyRuleObjectNameFilterInput interface {
	pulumi.Input

	ToObjectLifecyclePolicyRuleObjectNameFilterOutput() ObjectLifecyclePolicyRuleObjectNameFilterOutput
	ToObjectLifecyclePolicyRuleObjectNameFilterOutputWithContext(context.Context) ObjectLifecyclePolicyRuleObjectNameFilterOutput
}

ObjectLifecyclePolicyRuleObjectNameFilterInput is an input type that accepts ObjectLifecyclePolicyRuleObjectNameFilterArgs and ObjectLifecyclePolicyRuleObjectNameFilterOutput values. You can construct a concrete instance of `ObjectLifecyclePolicyRuleObjectNameFilterInput` via:

ObjectLifecyclePolicyRuleObjectNameFilterArgs{...}

type ObjectLifecyclePolicyRuleObjectNameFilterOutput

type ObjectLifecyclePolicyRuleObjectNameFilterOutput struct{ *pulumi.OutputState }

func (ObjectLifecyclePolicyRuleObjectNameFilterOutput) ElementType

func (ObjectLifecyclePolicyRuleObjectNameFilterOutput) ExclusionPatterns

(Updatable) An array of glob patterns to match the object names to exclude. An empty array is ignored. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.

The special pattern characters have the following meanings:

\ Escapes the following character * Matches any string of characters. ? Matches any single character . [...] Matches a group of characters. A group of characters can be: A set of characters, for example: [Zafg9@]. This matches any character in the brackets. A range of characters, for example: [a-z]. This matches any character in the range. [a-f] is equivalent to [abcdef]. For character ranges only the CHARACTER-CHARACTER pattern is supported. [ab-yz] is not valid [a-mn-z] is not valid Character ranges can not start with ^ or : To include a '-' in the range, make it the first or last character.

func (ObjectLifecyclePolicyRuleObjectNameFilterOutput) InclusionPatterns

(Updatable) An array of glob patterns to match the object names to include. An empty array includes all objects in the bucket. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.

The special pattern characters have the following meanings:

\ Escapes the following character * Matches any string of characters. ? Matches any single character . [...] Matches a group of characters. A group of characters can be: A set of characters, for example: [Zafg9@]. This matches any character in the brackets. A range of characters, for example: [a-z]. This matches any character in the range. [a-f] is equivalent to [abcdef]. For character ranges only the CHARACTER-CHARACTER pattern is supported. [ab-yz] is not valid [a-mn-z] is not valid Character ranges can not start with ^ or : To include a '-' in the range, make it the first or last character.

func (ObjectLifecyclePolicyRuleObjectNameFilterOutput) InclusionPrefixes

(Updatable) An array of object name prefixes that the rule will apply to. An empty array means to include all objects.

func (ObjectLifecyclePolicyRuleObjectNameFilterOutput) ToObjectLifecyclePolicyRuleObjectNameFilterOutput

func (o ObjectLifecyclePolicyRuleObjectNameFilterOutput) ToObjectLifecyclePolicyRuleObjectNameFilterOutput() ObjectLifecyclePolicyRuleObjectNameFilterOutput

func (ObjectLifecyclePolicyRuleObjectNameFilterOutput) ToObjectLifecyclePolicyRuleObjectNameFilterOutputWithContext

func (o ObjectLifecyclePolicyRuleObjectNameFilterOutput) ToObjectLifecyclePolicyRuleObjectNameFilterOutputWithContext(ctx context.Context) ObjectLifecyclePolicyRuleObjectNameFilterOutput

func (ObjectLifecyclePolicyRuleObjectNameFilterOutput) ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutput

func (o ObjectLifecyclePolicyRuleObjectNameFilterOutput) ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutput() ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput

func (ObjectLifecyclePolicyRuleObjectNameFilterOutput) ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutputWithContext

func (o ObjectLifecyclePolicyRuleObjectNameFilterOutput) ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutputWithContext(ctx context.Context) ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput

type ObjectLifecyclePolicyRuleObjectNameFilterPtrInput

type ObjectLifecyclePolicyRuleObjectNameFilterPtrInput interface {
	pulumi.Input

	ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutput() ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput
	ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutputWithContext(context.Context) ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput
}

ObjectLifecyclePolicyRuleObjectNameFilterPtrInput is an input type that accepts ObjectLifecyclePolicyRuleObjectNameFilterArgs, ObjectLifecyclePolicyRuleObjectNameFilterPtr and ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput values. You can construct a concrete instance of `ObjectLifecyclePolicyRuleObjectNameFilterPtrInput` via:

        ObjectLifecyclePolicyRuleObjectNameFilterArgs{...}

or:

        nil

type ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput

type ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput struct{ *pulumi.OutputState }

func (ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput) Elem

func (ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput) ElementType

func (ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput) ExclusionPatterns

(Updatable) An array of glob patterns to match the object names to exclude. An empty array is ignored. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.

The special pattern characters have the following meanings:

\ Escapes the following character * Matches any string of characters. ? Matches any single character . [...] Matches a group of characters. A group of characters can be: A set of characters, for example: [Zafg9@]. This matches any character in the brackets. A range of characters, for example: [a-z]. This matches any character in the range. [a-f] is equivalent to [abcdef]. For character ranges only the CHARACTER-CHARACTER pattern is supported. [ab-yz] is not valid [a-mn-z] is not valid Character ranges can not start with ^ or : To include a '-' in the range, make it the first or last character.

func (ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput) InclusionPatterns

(Updatable) An array of glob patterns to match the object names to include. An empty array includes all objects in the bucket. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters.

The special pattern characters have the following meanings:

\ Escapes the following character * Matches any string of characters. ? Matches any single character . [...] Matches a group of characters. A group of characters can be: A set of characters, for example: [Zafg9@]. This matches any character in the brackets. A range of characters, for example: [a-z]. This matches any character in the range. [a-f] is equivalent to [abcdef]. For character ranges only the CHARACTER-CHARACTER pattern is supported. [ab-yz] is not valid [a-mn-z] is not valid Character ranges can not start with ^ or : To include a '-' in the range, make it the first or last character.

func (ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput) InclusionPrefixes

(Updatable) An array of object name prefixes that the rule will apply to. An empty array means to include all objects.

func (ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput) ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutput

func (o ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput) ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutput() ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput

func (ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput) ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutputWithContext

func (o ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput) ToObjectLifecyclePolicyRuleObjectNameFilterPtrOutputWithContext(ctx context.Context) ObjectLifecyclePolicyRuleObjectNameFilterPtrOutput

type ObjectLifecyclePolicyRuleOutput

type ObjectLifecyclePolicyRuleOutput struct{ *pulumi.OutputState }

func (ObjectLifecyclePolicyRuleOutput) Action

(Updatable) The action of the object lifecycle policy rule. Rules using the action 'ARCHIVE' move objects from Standard and InfrequentAccess storage tiers into the [Archive storage tier](https://docs.cloud.oracle.com/iaas/Content/Archive/Concepts/archivestorageoverview.htm). Rules using the action 'INFREQUENT_ACCESS' move objects from Standard storage tier into the Infrequent Access Storage tier. Objects that are already in InfrequentAccess tier or in Archive tier are left untouched. Rules using the action 'DELETE' permanently delete objects from buckets. Rules using 'ABORT' abort the uncommitted multipart-uploads and permanently delete their parts from buckets.

func (ObjectLifecyclePolicyRuleOutput) ElementType

func (ObjectLifecyclePolicyRuleOutput) IsEnabled

(Updatable) A Boolean that determines whether this rule is currently enabled.

func (ObjectLifecyclePolicyRuleOutput) Name

(Updatable) The name of the lifecycle rule to be applied.

func (ObjectLifecyclePolicyRuleOutput) ObjectNameFilter

(Updatable) A filter that compares object names to a set of prefixes or patterns to determine if a rule applies to a given object. The filter can contain include glob patterns, exclude glob patterns and inclusion prefixes. The inclusion prefixes property is kept for backward compatibility. It is recommended to use inclusion patterns instead of prefixes. Exclusions take precedence over inclusions.

func (ObjectLifecyclePolicyRuleOutput) Target

(Updatable) The target of the object lifecycle policy rule. The values of target can be either "objects", "multipart-uploads" or "previous-object-versions". This field when declared as "objects" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for objects. This field when declared as "previous-object-versions" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for previous versions of existing objects. This field when declared as "multipart-uploads" is used to specify the ABORT (only) rule for uncommitted multipart-uploads.

func (ObjectLifecyclePolicyRuleOutput) TimeAmount

(Updatable) Specifies the age of objects to apply the rule to. The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified time.

func (ObjectLifecyclePolicyRuleOutput) TimeUnit

(Updatable) The unit that should be used to interpret timeAmount. Days are defined as starting and ending at midnight UTC. Years are defined as 365.2425 days long and likewise round up to the next midnight UTC.

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

func (ObjectLifecyclePolicyRuleOutput) ToObjectLifecyclePolicyRuleOutput

func (o ObjectLifecyclePolicyRuleOutput) ToObjectLifecyclePolicyRuleOutput() ObjectLifecyclePolicyRuleOutput

func (ObjectLifecyclePolicyRuleOutput) ToObjectLifecyclePolicyRuleOutputWithContext

func (o ObjectLifecyclePolicyRuleOutput) ToObjectLifecyclePolicyRuleOutputWithContext(ctx context.Context) ObjectLifecyclePolicyRuleOutput

type ObjectLifecyclePolicyState

type ObjectLifecyclePolicyState struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringPtrInput
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringPtrInput
	// (Updatable) The bucket's set of lifecycle policy rules.
	Rules ObjectLifecyclePolicyRuleArrayInput
	// The date and time the object lifecycle policy was created, as described in [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated pulumi.StringPtrInput
}

func (ObjectLifecyclePolicyState) ElementType

func (ObjectLifecyclePolicyState) ElementType() reflect.Type

type Preauthrequest

type Preauthrequest struct {
	pulumi.CustomResourceState

	// The operation that can be performed on this resource. Allowed Values: `ObjectRead`, `ObjectWrite`, `ObjectReadWrite`, `AnyObjectReadWrite` or `AnyObjectRead`
	AccessType pulumi.StringOutput `pulumi:"accessType"`
	// The URI to embed in the URL `https://objectstorage.${var.region}.oraclecloud.com{var.access_uri}` when using the pre-authenticated request.
	AccessUri pulumi.StringOutput `pulumi:"accessUri"`
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// 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.
	BucketListingAction pulumi.StringOutput `pulumi:"bucketListingAction"`
	// The full Path for the object.
	FullPath pulumi.StringOutput `pulumi:"fullPath"`
	// A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// Deprecated. Instead use `objectName`. Requests that include both `object` and `objectName` 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 pulumi.StringOutput `pulumi:"object"`
	// 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.
	ObjectName pulumi.StringOutput `pulumi:"objectName"`
	// 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.
	ParId pulumi.StringOutput `pulumi:"parId"`
	// The date when the pre-authenticated request was created as per specification [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/html/rfc3339). 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
	TimeExpires pulumi.StringOutput `pulumi:"timeExpires"`
}

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

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/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
	})
}

```

## Import

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

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

func GetPreauthrequest

func GetPreauthrequest(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PreauthrequestState, opts ...pulumi.ResourceOption) (*Preauthrequest, error)

GetPreauthrequest gets an existing Preauthrequest resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPreauthrequest

func NewPreauthrequest(ctx *pulumi.Context,
	name string, args *PreauthrequestArgs, opts ...pulumi.ResourceOption) (*Preauthrequest, error)

NewPreauthrequest registers a new resource with the given unique name, arguments, and options.

func (*Preauthrequest) ElementType

func (*Preauthrequest) ElementType() reflect.Type

func (*Preauthrequest) ToPreauthrequestOutput

func (i *Preauthrequest) ToPreauthrequestOutput() PreauthrequestOutput

func (*Preauthrequest) ToPreauthrequestOutputWithContext

func (i *Preauthrequest) ToPreauthrequestOutputWithContext(ctx context.Context) PreauthrequestOutput

type PreauthrequestArgs

type PreauthrequestArgs struct {
	// The operation that can be performed on this resource. Allowed Values: `ObjectRead`, `ObjectWrite`, `ObjectReadWrite`, `AnyObjectReadWrite` or `AnyObjectRead`
	AccessType pulumi.StringInput
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput
	// 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.
	BucketListingAction pulumi.StringPtrInput
	// A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
	Name pulumi.StringPtrInput
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput
	// Deprecated. Instead use `objectName`. Requests that include both `object` and `objectName` 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 pulumi.StringPtrInput
	// 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.
	ObjectName pulumi.StringPtrInput
	// The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/html/rfc3339). 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
	TimeExpires pulumi.StringInput
}

The set of arguments for constructing a Preauthrequest resource.

func (PreauthrequestArgs) ElementType

func (PreauthrequestArgs) ElementType() reflect.Type

type PreauthrequestArray

type PreauthrequestArray []PreauthrequestInput

func (PreauthrequestArray) ElementType

func (PreauthrequestArray) ElementType() reflect.Type

func (PreauthrequestArray) ToPreauthrequestArrayOutput

func (i PreauthrequestArray) ToPreauthrequestArrayOutput() PreauthrequestArrayOutput

func (PreauthrequestArray) ToPreauthrequestArrayOutputWithContext

func (i PreauthrequestArray) ToPreauthrequestArrayOutputWithContext(ctx context.Context) PreauthrequestArrayOutput

type PreauthrequestArrayInput

type PreauthrequestArrayInput interface {
	pulumi.Input

	ToPreauthrequestArrayOutput() PreauthrequestArrayOutput
	ToPreauthrequestArrayOutputWithContext(context.Context) PreauthrequestArrayOutput
}

PreauthrequestArrayInput is an input type that accepts PreauthrequestArray and PreauthrequestArrayOutput values. You can construct a concrete instance of `PreauthrequestArrayInput` via:

PreauthrequestArray{ PreauthrequestArgs{...} }

type PreauthrequestArrayOutput

type PreauthrequestArrayOutput struct{ *pulumi.OutputState }

func (PreauthrequestArrayOutput) ElementType

func (PreauthrequestArrayOutput) ElementType() reflect.Type

func (PreauthrequestArrayOutput) Index

func (PreauthrequestArrayOutput) ToPreauthrequestArrayOutput

func (o PreauthrequestArrayOutput) ToPreauthrequestArrayOutput() PreauthrequestArrayOutput

func (PreauthrequestArrayOutput) ToPreauthrequestArrayOutputWithContext

func (o PreauthrequestArrayOutput) ToPreauthrequestArrayOutputWithContext(ctx context.Context) PreauthrequestArrayOutput

type PreauthrequestInput

type PreauthrequestInput interface {
	pulumi.Input

	ToPreauthrequestOutput() PreauthrequestOutput
	ToPreauthrequestOutputWithContext(ctx context.Context) PreauthrequestOutput
}

type PreauthrequestMap

type PreauthrequestMap map[string]PreauthrequestInput

func (PreauthrequestMap) ElementType

func (PreauthrequestMap) ElementType() reflect.Type

func (PreauthrequestMap) ToPreauthrequestMapOutput

func (i PreauthrequestMap) ToPreauthrequestMapOutput() PreauthrequestMapOutput

func (PreauthrequestMap) ToPreauthrequestMapOutputWithContext

func (i PreauthrequestMap) ToPreauthrequestMapOutputWithContext(ctx context.Context) PreauthrequestMapOutput

type PreauthrequestMapInput

type PreauthrequestMapInput interface {
	pulumi.Input

	ToPreauthrequestMapOutput() PreauthrequestMapOutput
	ToPreauthrequestMapOutputWithContext(context.Context) PreauthrequestMapOutput
}

PreauthrequestMapInput is an input type that accepts PreauthrequestMap and PreauthrequestMapOutput values. You can construct a concrete instance of `PreauthrequestMapInput` via:

PreauthrequestMap{ "key": PreauthrequestArgs{...} }

type PreauthrequestMapOutput

type PreauthrequestMapOutput struct{ *pulumi.OutputState }

func (PreauthrequestMapOutput) ElementType

func (PreauthrequestMapOutput) ElementType() reflect.Type

func (PreauthrequestMapOutput) MapIndex

func (PreauthrequestMapOutput) ToPreauthrequestMapOutput

func (o PreauthrequestMapOutput) ToPreauthrequestMapOutput() PreauthrequestMapOutput

func (PreauthrequestMapOutput) ToPreauthrequestMapOutputWithContext

func (o PreauthrequestMapOutput) ToPreauthrequestMapOutputWithContext(ctx context.Context) PreauthrequestMapOutput

type PreauthrequestOutput

type PreauthrequestOutput struct{ *pulumi.OutputState }

func (PreauthrequestOutput) AccessType added in v0.4.0

func (o PreauthrequestOutput) AccessType() pulumi.StringOutput

The operation that can be performed on this resource. Allowed Values: `ObjectRead`, `ObjectWrite`, `ObjectReadWrite`, `AnyObjectReadWrite` or `AnyObjectRead`

func (PreauthrequestOutput) AccessUri added in v0.4.0

The URI to embed in the URL `https://objectstorage.${var.region}.oraclecloud.com{var.access_uri}` when using the pre-authenticated request.

func (PreauthrequestOutput) Bucket added in v0.4.0

The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`

func (PreauthrequestOutput) BucketListingAction added in v0.4.0

func (o PreauthrequestOutput) BucketListingAction() pulumi.StringOutput

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.

func (PreauthrequestOutput) ElementType

func (PreauthrequestOutput) ElementType() reflect.Type

func (PreauthrequestOutput) FullPath added in v1.1.0

The full Path for the object.

func (PreauthrequestOutput) Name added in v0.4.0

A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.

func (PreauthrequestOutput) Namespace added in v0.4.0

The Object Storage namespace used for the request.

func (PreauthrequestOutput) Object deprecated added in v0.4.0

Deprecated. Instead use `objectName`. Requests that include both `object` and `objectName` 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.

func (PreauthrequestOutput) ObjectName added in v0.4.0

func (o PreauthrequestOutput) ObjectName() pulumi.StringOutput

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.

func (PreauthrequestOutput) ParId added in v0.4.0

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.

func (PreauthrequestOutput) TimeCreated added in v0.4.0

func (o PreauthrequestOutput) TimeCreated() pulumi.StringOutput

The date when the pre-authenticated request was created as per specification [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (PreauthrequestOutput) TimeExpires added in v0.4.0

func (o PreauthrequestOutput) TimeExpires() pulumi.StringOutput

The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/html/rfc3339). 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

func (PreauthrequestOutput) ToPreauthrequestOutput

func (o PreauthrequestOutput) ToPreauthrequestOutput() PreauthrequestOutput

func (PreauthrequestOutput) ToPreauthrequestOutputWithContext

func (o PreauthrequestOutput) ToPreauthrequestOutputWithContext(ctx context.Context) PreauthrequestOutput

type PreauthrequestState

type PreauthrequestState struct {
	// The operation that can be performed on this resource. Allowed Values: `ObjectRead`, `ObjectWrite`, `ObjectReadWrite`, `AnyObjectReadWrite` or `AnyObjectRead`
	AccessType pulumi.StringPtrInput
	// The URI to embed in the URL `https://objectstorage.${var.region}.oraclecloud.com{var.access_uri}` when using the pre-authenticated request.
	AccessUri pulumi.StringPtrInput
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringPtrInput
	// 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.
	BucketListingAction pulumi.StringPtrInput
	// The full Path for the object.
	FullPath pulumi.StringPtrInput
	// A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
	Name pulumi.StringPtrInput
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringPtrInput
	// Deprecated. Instead use `objectName`. Requests that include both `object` and `objectName` 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 pulumi.StringPtrInput
	// 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.
	ObjectName pulumi.StringPtrInput
	// 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.
	ParId pulumi.StringPtrInput
	// The date when the pre-authenticated request was created as per specification [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated pulumi.StringPtrInput
	// The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/html/rfc3339). 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
	TimeExpires pulumi.StringPtrInput
}

func (PreauthrequestState) ElementType

func (PreauthrequestState) ElementType() reflect.Type

type ReplicationPolicy

type ReplicationPolicy struct {
	pulumi.CustomResourceState

	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// Deprecated: The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.
	DeleteObjectInDestinationBucket pulumi.StringPtrOutput `pulumi:"deleteObjectInDestinationBucket"`
	// The bucket to replicate to in the destination region. Replication policy creation does not automatically create a destination bucket. Create the destination bucket before creating the policy.
	DestinationBucketName pulumi.StringOutput `pulumi:"destinationBucketName"`
	// The destination region to replicate to, for example "us-ashburn-1".
	DestinationRegionName pulumi.StringOutput `pulumi:"destinationRegionName"`
	// The name of the policy. Avoid entering confidential information.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Object Storage namespace used for the request.
	//
	// ** 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
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// The replication status of the policy. If the status is CLIENT_ERROR, once the user fixes the issue described in the status message, the status will become ACTIVE.
	Status pulumi.StringOutput `pulumi:"status"`
	// A human-readable description of the status.
	StatusMessage pulumi.StringOutput `pulumi:"statusMessage"`
	// The date when the replication policy was created as per [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// Changes made to the source bucket before this time has been replicated.
	TimeLastSync pulumi.StringOutput `pulumi:"timeLastSync"`
}

This resource provides the Replication Policy resource in Oracle Cloud Infrastructure Object Storage service.

Creates a replication policy for the specified bucket.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.NewReplicationPolicy(ctx, "test_replication_policy", &ObjectStorage.ReplicationPolicyArgs{
			Bucket:                pulumi.Any(replicationPolicyBucket),
			DestinationBucketName: pulumi.Any(testBucket.Name),
			DestinationRegionName: pulumi.Any(testRegion.Name),
			Name:                  pulumi.Any(replicationPolicyName),
			Namespace:             pulumi.Any(replicationPolicyNamespace),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ReplicationPolicies can be imported using the `id`, e.g.

```sh $ pulumi import oci:ObjectStorage/replicationPolicy:ReplicationPolicy test_replication_policy "n/{namespaceName}/b/{bucketName}/replicationPolicies/{replicationId}" ```

func GetReplicationPolicy

func GetReplicationPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReplicationPolicyState, opts ...pulumi.ResourceOption) (*ReplicationPolicy, error)

GetReplicationPolicy gets an existing ReplicationPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewReplicationPolicy

func NewReplicationPolicy(ctx *pulumi.Context,
	name string, args *ReplicationPolicyArgs, opts ...pulumi.ResourceOption) (*ReplicationPolicy, error)

NewReplicationPolicy registers a new resource with the given unique name, arguments, and options.

func (*ReplicationPolicy) ElementType

func (*ReplicationPolicy) ElementType() reflect.Type

func (*ReplicationPolicy) ToReplicationPolicyOutput

func (i *ReplicationPolicy) ToReplicationPolicyOutput() ReplicationPolicyOutput

func (*ReplicationPolicy) ToReplicationPolicyOutputWithContext

func (i *ReplicationPolicy) ToReplicationPolicyOutputWithContext(ctx context.Context) ReplicationPolicyOutput

type ReplicationPolicyArgs

type ReplicationPolicyArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput
	// Deprecated: The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.
	DeleteObjectInDestinationBucket pulumi.StringPtrInput
	// The bucket to replicate to in the destination region. Replication policy creation does not automatically create a destination bucket. Create the destination bucket before creating the policy.
	DestinationBucketName pulumi.StringInput
	// The destination region to replicate to, for example "us-ashburn-1".
	DestinationRegionName pulumi.StringInput
	// The name of the policy. Avoid entering confidential information.
	Name pulumi.StringPtrInput
	// The Object Storage namespace used for the request.
	//
	// ** 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
	Namespace pulumi.StringInput
}

The set of arguments for constructing a ReplicationPolicy resource.

func (ReplicationPolicyArgs) ElementType

func (ReplicationPolicyArgs) ElementType() reflect.Type

type ReplicationPolicyArray

type ReplicationPolicyArray []ReplicationPolicyInput

func (ReplicationPolicyArray) ElementType

func (ReplicationPolicyArray) ElementType() reflect.Type

func (ReplicationPolicyArray) ToReplicationPolicyArrayOutput

func (i ReplicationPolicyArray) ToReplicationPolicyArrayOutput() ReplicationPolicyArrayOutput

func (ReplicationPolicyArray) ToReplicationPolicyArrayOutputWithContext

func (i ReplicationPolicyArray) ToReplicationPolicyArrayOutputWithContext(ctx context.Context) ReplicationPolicyArrayOutput

type ReplicationPolicyArrayInput

type ReplicationPolicyArrayInput interface {
	pulumi.Input

	ToReplicationPolicyArrayOutput() ReplicationPolicyArrayOutput
	ToReplicationPolicyArrayOutputWithContext(context.Context) ReplicationPolicyArrayOutput
}

ReplicationPolicyArrayInput is an input type that accepts ReplicationPolicyArray and ReplicationPolicyArrayOutput values. You can construct a concrete instance of `ReplicationPolicyArrayInput` via:

ReplicationPolicyArray{ ReplicationPolicyArgs{...} }

type ReplicationPolicyArrayOutput

type ReplicationPolicyArrayOutput struct{ *pulumi.OutputState }

func (ReplicationPolicyArrayOutput) ElementType

func (ReplicationPolicyArrayOutput) Index

func (ReplicationPolicyArrayOutput) ToReplicationPolicyArrayOutput

func (o ReplicationPolicyArrayOutput) ToReplicationPolicyArrayOutput() ReplicationPolicyArrayOutput

func (ReplicationPolicyArrayOutput) ToReplicationPolicyArrayOutputWithContext

func (o ReplicationPolicyArrayOutput) ToReplicationPolicyArrayOutputWithContext(ctx context.Context) ReplicationPolicyArrayOutput

type ReplicationPolicyInput

type ReplicationPolicyInput interface {
	pulumi.Input

	ToReplicationPolicyOutput() ReplicationPolicyOutput
	ToReplicationPolicyOutputWithContext(ctx context.Context) ReplicationPolicyOutput
}

type ReplicationPolicyMap

type ReplicationPolicyMap map[string]ReplicationPolicyInput

func (ReplicationPolicyMap) ElementType

func (ReplicationPolicyMap) ElementType() reflect.Type

func (ReplicationPolicyMap) ToReplicationPolicyMapOutput

func (i ReplicationPolicyMap) ToReplicationPolicyMapOutput() ReplicationPolicyMapOutput

func (ReplicationPolicyMap) ToReplicationPolicyMapOutputWithContext

func (i ReplicationPolicyMap) ToReplicationPolicyMapOutputWithContext(ctx context.Context) ReplicationPolicyMapOutput

type ReplicationPolicyMapInput

type ReplicationPolicyMapInput interface {
	pulumi.Input

	ToReplicationPolicyMapOutput() ReplicationPolicyMapOutput
	ToReplicationPolicyMapOutputWithContext(context.Context) ReplicationPolicyMapOutput
}

ReplicationPolicyMapInput is an input type that accepts ReplicationPolicyMap and ReplicationPolicyMapOutput values. You can construct a concrete instance of `ReplicationPolicyMapInput` via:

ReplicationPolicyMap{ "key": ReplicationPolicyArgs{...} }

type ReplicationPolicyMapOutput

type ReplicationPolicyMapOutput struct{ *pulumi.OutputState }

func (ReplicationPolicyMapOutput) ElementType

func (ReplicationPolicyMapOutput) ElementType() reflect.Type

func (ReplicationPolicyMapOutput) MapIndex

func (ReplicationPolicyMapOutput) ToReplicationPolicyMapOutput

func (o ReplicationPolicyMapOutput) ToReplicationPolicyMapOutput() ReplicationPolicyMapOutput

func (ReplicationPolicyMapOutput) ToReplicationPolicyMapOutputWithContext

func (o ReplicationPolicyMapOutput) ToReplicationPolicyMapOutputWithContext(ctx context.Context) ReplicationPolicyMapOutput

type ReplicationPolicyOutput

type ReplicationPolicyOutput struct{ *pulumi.OutputState }

func (ReplicationPolicyOutput) Bucket added in v0.4.0

The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`

func (ReplicationPolicyOutput) DeleteObjectInDestinationBucket deprecated added in v0.4.0

func (o ReplicationPolicyOutput) DeleteObjectInDestinationBucket() pulumi.StringPtrOutput

Deprecated: The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.

func (ReplicationPolicyOutput) DestinationBucketName added in v0.4.0

func (o ReplicationPolicyOutput) DestinationBucketName() pulumi.StringOutput

The bucket to replicate to in the destination region. Replication policy creation does not automatically create a destination bucket. Create the destination bucket before creating the policy.

func (ReplicationPolicyOutput) DestinationRegionName added in v0.4.0

func (o ReplicationPolicyOutput) DestinationRegionName() pulumi.StringOutput

The destination region to replicate to, for example "us-ashburn-1".

func (ReplicationPolicyOutput) ElementType

func (ReplicationPolicyOutput) ElementType() reflect.Type

func (ReplicationPolicyOutput) Name added in v0.4.0

The name of the policy. Avoid entering confidential information.

func (ReplicationPolicyOutput) Namespace added in v0.4.0

The Object Storage namespace used for the request.

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

func (ReplicationPolicyOutput) Status added in v0.4.0

The replication status of the policy. If the status is CLIENT_ERROR, once the user fixes the issue described in the status message, the status will become ACTIVE.

func (ReplicationPolicyOutput) StatusMessage added in v0.4.0

func (o ReplicationPolicyOutput) StatusMessage() pulumi.StringOutput

A human-readable description of the status.

func (ReplicationPolicyOutput) TimeCreated added in v0.4.0

The date when the replication policy was created as per [RFC 3339](https://tools.ietf.org/html/rfc3339).

func (ReplicationPolicyOutput) TimeLastSync added in v0.4.0

func (o ReplicationPolicyOutput) TimeLastSync() pulumi.StringOutput

Changes made to the source bucket before this time has been replicated.

func (ReplicationPolicyOutput) ToReplicationPolicyOutput

func (o ReplicationPolicyOutput) ToReplicationPolicyOutput() ReplicationPolicyOutput

func (ReplicationPolicyOutput) ToReplicationPolicyOutputWithContext

func (o ReplicationPolicyOutput) ToReplicationPolicyOutputWithContext(ctx context.Context) ReplicationPolicyOutput

type ReplicationPolicyState

type ReplicationPolicyState struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringPtrInput
	// Deprecated: The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.
	DeleteObjectInDestinationBucket pulumi.StringPtrInput
	// The bucket to replicate to in the destination region. Replication policy creation does not automatically create a destination bucket. Create the destination bucket before creating the policy.
	DestinationBucketName pulumi.StringPtrInput
	// The destination region to replicate to, for example "us-ashburn-1".
	DestinationRegionName pulumi.StringPtrInput
	// The name of the policy. Avoid entering confidential information.
	Name pulumi.StringPtrInput
	// The Object Storage namespace used for the request.
	//
	// ** 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
	Namespace pulumi.StringPtrInput
	// The replication status of the policy. If the status is CLIENT_ERROR, once the user fixes the issue described in the status message, the status will become ACTIVE.
	Status pulumi.StringPtrInput
	// A human-readable description of the status.
	StatusMessage pulumi.StringPtrInput
	// The date when the replication policy was created as per [RFC 3339](https://tools.ietf.org/html/rfc3339).
	TimeCreated pulumi.StringPtrInput
	// Changes made to the source bucket before this time has been replicated.
	TimeLastSync pulumi.StringPtrInput
}

func (ReplicationPolicyState) ElementType

func (ReplicationPolicyState) ElementType() reflect.Type

type StorageObject

type StorageObject struct {
	pulumi.CustomResourceState

	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// The optional Cache-Control header that defines the caching behavior value to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify objects that require caching restrictions.
	CacheControl pulumi.StringPtrOutput `pulumi:"cacheControl"`
	// The object to upload to the object store. Cannot be defined if `source` or `sourceUriDetails` is defined.
	Content pulumi.StringPtrOutput `pulumi:"content"`
	// The optional Content-Disposition header that defines presentational information for the object to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to let users download objects with custom filenames in a browser.
	ContentDisposition pulumi.StringPtrOutput `pulumi:"contentDisposition"`
	// The optional Content-Encoding header that defines the content encodings that were applied to the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to determine what decoding mechanisms need to be applied to obtain the media-type specified by the Content-Type header of the object.
	ContentEncoding pulumi.StringPtrOutput `pulumi:"contentEncoding"`
	// The optional Content-Language header that defines the content language of the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and differentiate objects based on a particular language.
	ContentLanguage pulumi.StringPtrOutput `pulumi:"contentLanguage"`
	// (Updatable) The content length of the body.
	ContentLength pulumi.StringOutput `pulumi:"contentLength"`
	// (Updatable) The optional base-64 header that defines the encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message:
	//
	// "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)"
	ContentMd5 pulumi.StringOutput `pulumi:"contentMd5"`
	// The optional Content-Type header that defines the standard MIME type format of the object. Content type defaults to 'application/octet-stream' if not specified in the PutObject call. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and perform special operations on text only objects.
	ContentType pulumi.StringOutput `pulumi:"contentType"`
	// (Updatable) A boolean to delete all object versions for an object in a bucket that has or ever had versioning enabled.
	DeleteAllObjectVersions pulumi.BoolPtrOutput `pulumi:"deleteAllObjectVersions"`
	// Optional user-defined metadata key and value.
	// Note: All specified keys must be in lower case.
	Metadata pulumi.MapOutput `pulumi:"metadata"`
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// (Updatable) The name of the object. Avoid entering confidential information. Example: `test/object1.log`
	Object pulumi.StringOutput `pulumi:"object"`
	// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
	OpcSseKmsKeyId pulumi.StringOutput `pulumi:"opcSseKmsKeyId"`
	// An absolute path to a file on the local system. Cannot be defined if `content` or `sourceUriDetails` is defined.
	Source pulumi.StringPtrOutput `pulumi:"source"`
	// Details of the source URI of the object in the cloud. Cannot be defined if `content` or `source` is defined.
	// Note: To enable object copy, you must authorize the service to manage objects on your behalf.
	SourceUriDetails StorageObjectSourceUriDetailsPtrOutput `pulumi:"sourceUriDetails"`
	State            pulumi.StringOutput                    `pulumi:"state"`
	// (Updatable) The storage tier that the object should be stored in. If not specified, the object will be stored in the same storage tier as the bucket.
	StorageTier   pulumi.StringOutput `pulumi:"storageTier"`
	VersionId     pulumi.StringOutput `pulumi:"versionId"`
	WorkRequestId pulumi.StringOutput `pulumi:"workRequestId"`
}

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

Creates a new object or overwrites an existing object with the same name. The maximum object size allowed by PutObject is 50 GiB.

See [Object Names](https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/managingobjects.htm#namerequirements) for object naming requirements.

See [Special Instructions for Object Storage PUT](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/signingrequests.htm#ObjectStoragePut) for request signature requirements.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ObjectStorage.NewStorageObject(ctx, "test_object", &ObjectStorage.StorageObjectArgs{
			Bucket:                  pulumi.Any(objectBucket),
			Content:                 pulumi.Any(objectContent),
			Namespace:               pulumi.Any(objectNamespace),
			Object:                  pulumi.Any(objectObject),
			CacheControl:            pulumi.Any(objectCacheControl),
			ContentDisposition:      pulumi.Any(objectContentDisposition),
			ContentEncoding:         pulumi.Any(objectContentEncoding),
			ContentLanguage:         pulumi.Any(objectContentLanguage),
			ContentType:             pulumi.Any(objectContentType),
			DeleteAllObjectVersions: pulumi.Any(objectDeleteAllObjectVersions),
			Metadata:                pulumi.Any(objectMetadata),
			StorageTier:             pulumi.Any(objectStorageTier),
			OpcSseKmsKeyId:          pulumi.Any(objectOpcSseKmsKeyId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Objects can be imported using the `id`, e.g.

```sh $ pulumi import oci:ObjectStorage/storageObject:StorageObject test_object "n/{namespaceName}/b/{bucketName}/o/{objectName}" ```

func GetStorageObject

func GetStorageObject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StorageObjectState, opts ...pulumi.ResourceOption) (*StorageObject, error)

GetStorageObject gets an existing StorageObject resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStorageObject

func NewStorageObject(ctx *pulumi.Context,
	name string, args *StorageObjectArgs, opts ...pulumi.ResourceOption) (*StorageObject, error)

NewStorageObject registers a new resource with the given unique name, arguments, and options.

func (*StorageObject) ElementType

func (*StorageObject) ElementType() reflect.Type

func (*StorageObject) ToStorageObjectOutput

func (i *StorageObject) ToStorageObjectOutput() StorageObjectOutput

func (*StorageObject) ToStorageObjectOutputWithContext

func (i *StorageObject) ToStorageObjectOutputWithContext(ctx context.Context) StorageObjectOutput

type StorageObjectArgs

type StorageObjectArgs struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringInput
	// The optional Cache-Control header that defines the caching behavior value to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify objects that require caching restrictions.
	CacheControl pulumi.StringPtrInput
	// The object to upload to the object store. Cannot be defined if `source` or `sourceUriDetails` is defined.
	Content pulumi.StringPtrInput
	// The optional Content-Disposition header that defines presentational information for the object to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to let users download objects with custom filenames in a browser.
	ContentDisposition pulumi.StringPtrInput
	// The optional Content-Encoding header that defines the content encodings that were applied to the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to determine what decoding mechanisms need to be applied to obtain the media-type specified by the Content-Type header of the object.
	ContentEncoding pulumi.StringPtrInput
	// The optional Content-Language header that defines the content language of the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and differentiate objects based on a particular language.
	ContentLanguage pulumi.StringPtrInput
	// (Updatable) The optional base-64 header that defines the encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message:
	//
	// "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)"
	ContentMd5 pulumi.StringPtrInput
	// The optional Content-Type header that defines the standard MIME type format of the object. Content type defaults to 'application/octet-stream' if not specified in the PutObject call. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and perform special operations on text only objects.
	ContentType pulumi.StringPtrInput
	// (Updatable) A boolean to delete all object versions for an object in a bucket that has or ever had versioning enabled.
	DeleteAllObjectVersions pulumi.BoolPtrInput
	// Optional user-defined metadata key and value.
	// Note: All specified keys must be in lower case.
	Metadata pulumi.MapInput
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringInput
	// (Updatable) The name of the object. Avoid entering confidential information. Example: `test/object1.log`
	Object pulumi.StringInput
	// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
	OpcSseKmsKeyId pulumi.StringPtrInput
	// An absolute path to a file on the local system. Cannot be defined if `content` or `sourceUriDetails` is defined.
	Source pulumi.StringPtrInput
	// Details of the source URI of the object in the cloud. Cannot be defined if `content` or `source` is defined.
	// Note: To enable object copy, you must authorize the service to manage objects on your behalf.
	SourceUriDetails StorageObjectSourceUriDetailsPtrInput
	// (Updatable) The storage tier that the object should be stored in. If not specified, the object will be stored in the same storage tier as the bucket.
	StorageTier pulumi.StringPtrInput
}

The set of arguments for constructing a StorageObject resource.

func (StorageObjectArgs) ElementType

func (StorageObjectArgs) ElementType() reflect.Type

type StorageObjectArray

type StorageObjectArray []StorageObjectInput

func (StorageObjectArray) ElementType

func (StorageObjectArray) ElementType() reflect.Type

func (StorageObjectArray) ToStorageObjectArrayOutput

func (i StorageObjectArray) ToStorageObjectArrayOutput() StorageObjectArrayOutput

func (StorageObjectArray) ToStorageObjectArrayOutputWithContext

func (i StorageObjectArray) ToStorageObjectArrayOutputWithContext(ctx context.Context) StorageObjectArrayOutput

type StorageObjectArrayInput

type StorageObjectArrayInput interface {
	pulumi.Input

	ToStorageObjectArrayOutput() StorageObjectArrayOutput
	ToStorageObjectArrayOutputWithContext(context.Context) StorageObjectArrayOutput
}

StorageObjectArrayInput is an input type that accepts StorageObjectArray and StorageObjectArrayOutput values. You can construct a concrete instance of `StorageObjectArrayInput` via:

StorageObjectArray{ StorageObjectArgs{...} }

type StorageObjectArrayOutput

type StorageObjectArrayOutput struct{ *pulumi.OutputState }

func (StorageObjectArrayOutput) ElementType

func (StorageObjectArrayOutput) ElementType() reflect.Type

func (StorageObjectArrayOutput) Index

func (StorageObjectArrayOutput) ToStorageObjectArrayOutput

func (o StorageObjectArrayOutput) ToStorageObjectArrayOutput() StorageObjectArrayOutput

func (StorageObjectArrayOutput) ToStorageObjectArrayOutputWithContext

func (o StorageObjectArrayOutput) ToStorageObjectArrayOutputWithContext(ctx context.Context) StorageObjectArrayOutput

type StorageObjectInput

type StorageObjectInput interface {
	pulumi.Input

	ToStorageObjectOutput() StorageObjectOutput
	ToStorageObjectOutputWithContext(ctx context.Context) StorageObjectOutput
}

type StorageObjectMap

type StorageObjectMap map[string]StorageObjectInput

func (StorageObjectMap) ElementType

func (StorageObjectMap) ElementType() reflect.Type

func (StorageObjectMap) ToStorageObjectMapOutput

func (i StorageObjectMap) ToStorageObjectMapOutput() StorageObjectMapOutput

func (StorageObjectMap) ToStorageObjectMapOutputWithContext

func (i StorageObjectMap) ToStorageObjectMapOutputWithContext(ctx context.Context) StorageObjectMapOutput

type StorageObjectMapInput

type StorageObjectMapInput interface {
	pulumi.Input

	ToStorageObjectMapOutput() StorageObjectMapOutput
	ToStorageObjectMapOutputWithContext(context.Context) StorageObjectMapOutput
}

StorageObjectMapInput is an input type that accepts StorageObjectMap and StorageObjectMapOutput values. You can construct a concrete instance of `StorageObjectMapInput` via:

StorageObjectMap{ "key": StorageObjectArgs{...} }

type StorageObjectMapOutput

type StorageObjectMapOutput struct{ *pulumi.OutputState }

func (StorageObjectMapOutput) ElementType

func (StorageObjectMapOutput) ElementType() reflect.Type

func (StorageObjectMapOutput) MapIndex

func (StorageObjectMapOutput) ToStorageObjectMapOutput

func (o StorageObjectMapOutput) ToStorageObjectMapOutput() StorageObjectMapOutput

func (StorageObjectMapOutput) ToStorageObjectMapOutputWithContext

func (o StorageObjectMapOutput) ToStorageObjectMapOutputWithContext(ctx context.Context) StorageObjectMapOutput

type StorageObjectOutput

type StorageObjectOutput struct{ *pulumi.OutputState }

func (StorageObjectOutput) Bucket added in v0.4.0

The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`

func (StorageObjectOutput) CacheControl added in v0.4.0

func (o StorageObjectOutput) CacheControl() pulumi.StringPtrOutput

The optional Cache-Control header that defines the caching behavior value to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify objects that require caching restrictions.

func (StorageObjectOutput) Content added in v0.4.0

The object to upload to the object store. Cannot be defined if `source` or `sourceUriDetails` is defined.

func (StorageObjectOutput) ContentDisposition added in v0.4.0

func (o StorageObjectOutput) ContentDisposition() pulumi.StringPtrOutput

The optional Content-Disposition header that defines presentational information for the object to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to let users download objects with custom filenames in a browser.

func (StorageObjectOutput) ContentEncoding added in v0.4.0

func (o StorageObjectOutput) ContentEncoding() pulumi.StringPtrOutput

The optional Content-Encoding header that defines the content encodings that were applied to the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to determine what decoding mechanisms need to be applied to obtain the media-type specified by the Content-Type header of the object.

func (StorageObjectOutput) ContentLanguage added in v0.4.0

func (o StorageObjectOutput) ContentLanguage() pulumi.StringPtrOutput

The optional Content-Language header that defines the content language of the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and differentiate objects based on a particular language.

func (StorageObjectOutput) ContentLength added in v0.4.0

func (o StorageObjectOutput) ContentLength() pulumi.StringOutput

(Updatable) The content length of the body.

func (StorageObjectOutput) ContentMd5 added in v0.4.0

func (o StorageObjectOutput) ContentMd5() pulumi.StringOutput

(Updatable) The optional base-64 header that defines the encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message:

"The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)"

func (StorageObjectOutput) ContentType added in v0.4.0

func (o StorageObjectOutput) ContentType() pulumi.StringOutput

The optional Content-Type header that defines the standard MIME type format of the object. Content type defaults to 'application/octet-stream' if not specified in the PutObject call. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and perform special operations on text only objects.

func (StorageObjectOutput) DeleteAllObjectVersions added in v0.4.0

func (o StorageObjectOutput) DeleteAllObjectVersions() pulumi.BoolPtrOutput

(Updatable) A boolean to delete all object versions for an object in a bucket that has or ever had versioning enabled.

func (StorageObjectOutput) ElementType

func (StorageObjectOutput) ElementType() reflect.Type

func (StorageObjectOutput) Metadata added in v0.4.0

func (o StorageObjectOutput) Metadata() pulumi.MapOutput

Optional user-defined metadata key and value. Note: All specified keys must be in lower case.

func (StorageObjectOutput) Namespace added in v0.4.0

func (o StorageObjectOutput) Namespace() pulumi.StringOutput

The Object Storage namespace used for the request.

func (StorageObjectOutput) Object added in v0.4.0

(Updatable) The name of the object. Avoid entering confidential information. Example: `test/object1.log`

func (StorageObjectOutput) OpcSseKmsKeyId added in v0.4.0

func (o StorageObjectOutput) OpcSseKmsKeyId() pulumi.StringOutput

(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.

func (StorageObjectOutput) Source added in v0.4.0

An absolute path to a file on the local system. Cannot be defined if `content` or `sourceUriDetails` is defined.

func (StorageObjectOutput) SourceUriDetails added in v0.4.0

Details of the source URI of the object in the cloud. Cannot be defined if `content` or `source` is defined. Note: To enable object copy, you must authorize the service to manage objects on your behalf.

func (StorageObjectOutput) State added in v0.4.0

func (StorageObjectOutput) StorageTier added in v0.4.0

func (o StorageObjectOutput) StorageTier() pulumi.StringOutput

(Updatable) The storage tier that the object should be stored in. If not specified, the object will be stored in the same storage tier as the bucket.

func (StorageObjectOutput) ToStorageObjectOutput

func (o StorageObjectOutput) ToStorageObjectOutput() StorageObjectOutput

func (StorageObjectOutput) ToStorageObjectOutputWithContext

func (o StorageObjectOutput) ToStorageObjectOutputWithContext(ctx context.Context) StorageObjectOutput

func (StorageObjectOutput) VersionId added in v0.4.0

func (o StorageObjectOutput) VersionId() pulumi.StringOutput

func (StorageObjectOutput) WorkRequestId added in v0.4.0

func (o StorageObjectOutput) WorkRequestId() pulumi.StringOutput

type StorageObjectSourceUriDetails

type StorageObjectSourceUriDetails struct {
	// The name of the bucket for the source object.
	Bucket string `pulumi:"bucket"`
	// The entity tag to match the target object.
	DestinationObjectIfMatchEtag *string `pulumi:"destinationObjectIfMatchEtag"`
	// The entity tag to not match the target object.
	DestinationObjectIfNoneMatchEtag *string `pulumi:"destinationObjectIfNoneMatchEtag"`
	// The top-level namespace of the source object.
	Namespace string `pulumi:"namespace"`
	// The name of the source object.
	Object string `pulumi:"object"`
	// The region of the source object.
	Region string `pulumi:"region"`
	// The entity tag to match the source object.
	SourceObjectIfMatchEtag *string `pulumi:"sourceObjectIfMatchEtag"`
	// The version id of the object to be restored.
	//
	// ** 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
	SourceVersionId *string `pulumi:"sourceVersionId"`
}

type StorageObjectSourceUriDetailsArgs

type StorageObjectSourceUriDetailsArgs struct {
	// The name of the bucket for the source object.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// The entity tag to match the target object.
	DestinationObjectIfMatchEtag pulumi.StringPtrInput `pulumi:"destinationObjectIfMatchEtag"`
	// The entity tag to not match the target object.
	DestinationObjectIfNoneMatchEtag pulumi.StringPtrInput `pulumi:"destinationObjectIfNoneMatchEtag"`
	// The top-level namespace of the source object.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The name of the source object.
	Object pulumi.StringInput `pulumi:"object"`
	// The region of the source object.
	Region pulumi.StringInput `pulumi:"region"`
	// The entity tag to match the source object.
	SourceObjectIfMatchEtag pulumi.StringPtrInput `pulumi:"sourceObjectIfMatchEtag"`
	// The version id of the object to be restored.
	//
	// ** 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
	SourceVersionId pulumi.StringPtrInput `pulumi:"sourceVersionId"`
}

func (StorageObjectSourceUriDetailsArgs) ElementType

func (StorageObjectSourceUriDetailsArgs) ToStorageObjectSourceUriDetailsOutput

func (i StorageObjectSourceUriDetailsArgs) ToStorageObjectSourceUriDetailsOutput() StorageObjectSourceUriDetailsOutput

func (StorageObjectSourceUriDetailsArgs) ToStorageObjectSourceUriDetailsOutputWithContext

func (i StorageObjectSourceUriDetailsArgs) ToStorageObjectSourceUriDetailsOutputWithContext(ctx context.Context) StorageObjectSourceUriDetailsOutput

func (StorageObjectSourceUriDetailsArgs) ToStorageObjectSourceUriDetailsPtrOutput

func (i StorageObjectSourceUriDetailsArgs) ToStorageObjectSourceUriDetailsPtrOutput() StorageObjectSourceUriDetailsPtrOutput

func (StorageObjectSourceUriDetailsArgs) ToStorageObjectSourceUriDetailsPtrOutputWithContext

func (i StorageObjectSourceUriDetailsArgs) ToStorageObjectSourceUriDetailsPtrOutputWithContext(ctx context.Context) StorageObjectSourceUriDetailsPtrOutput

type StorageObjectSourceUriDetailsInput

type StorageObjectSourceUriDetailsInput interface {
	pulumi.Input

	ToStorageObjectSourceUriDetailsOutput() StorageObjectSourceUriDetailsOutput
	ToStorageObjectSourceUriDetailsOutputWithContext(context.Context) StorageObjectSourceUriDetailsOutput
}

StorageObjectSourceUriDetailsInput is an input type that accepts StorageObjectSourceUriDetailsArgs and StorageObjectSourceUriDetailsOutput values. You can construct a concrete instance of `StorageObjectSourceUriDetailsInput` via:

StorageObjectSourceUriDetailsArgs{...}

type StorageObjectSourceUriDetailsOutput

type StorageObjectSourceUriDetailsOutput struct{ *pulumi.OutputState }

func (StorageObjectSourceUriDetailsOutput) Bucket

The name of the bucket for the source object.

func (StorageObjectSourceUriDetailsOutput) DestinationObjectIfMatchEtag

func (o StorageObjectSourceUriDetailsOutput) DestinationObjectIfMatchEtag() pulumi.StringPtrOutput

The entity tag to match the target object.

func (StorageObjectSourceUriDetailsOutput) DestinationObjectIfNoneMatchEtag

func (o StorageObjectSourceUriDetailsOutput) DestinationObjectIfNoneMatchEtag() pulumi.StringPtrOutput

The entity tag to not match the target object.

func (StorageObjectSourceUriDetailsOutput) ElementType

func (StorageObjectSourceUriDetailsOutput) Namespace

The top-level namespace of the source object.

func (StorageObjectSourceUriDetailsOutput) Object

The name of the source object.

func (StorageObjectSourceUriDetailsOutput) Region

The region of the source object.

func (StorageObjectSourceUriDetailsOutput) SourceObjectIfMatchEtag

func (o StorageObjectSourceUriDetailsOutput) SourceObjectIfMatchEtag() pulumi.StringPtrOutput

The entity tag to match the source object.

func (StorageObjectSourceUriDetailsOutput) SourceVersionId

The version id of the object to be restored.

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

func (StorageObjectSourceUriDetailsOutput) ToStorageObjectSourceUriDetailsOutput

func (o StorageObjectSourceUriDetailsOutput) ToStorageObjectSourceUriDetailsOutput() StorageObjectSourceUriDetailsOutput

func (StorageObjectSourceUriDetailsOutput) ToStorageObjectSourceUriDetailsOutputWithContext

func (o StorageObjectSourceUriDetailsOutput) ToStorageObjectSourceUriDetailsOutputWithContext(ctx context.Context) StorageObjectSourceUriDetailsOutput

func (StorageObjectSourceUriDetailsOutput) ToStorageObjectSourceUriDetailsPtrOutput

func (o StorageObjectSourceUriDetailsOutput) ToStorageObjectSourceUriDetailsPtrOutput() StorageObjectSourceUriDetailsPtrOutput

func (StorageObjectSourceUriDetailsOutput) ToStorageObjectSourceUriDetailsPtrOutputWithContext

func (o StorageObjectSourceUriDetailsOutput) ToStorageObjectSourceUriDetailsPtrOutputWithContext(ctx context.Context) StorageObjectSourceUriDetailsPtrOutput

type StorageObjectSourceUriDetailsPtrInput

type StorageObjectSourceUriDetailsPtrInput interface {
	pulumi.Input

	ToStorageObjectSourceUriDetailsPtrOutput() StorageObjectSourceUriDetailsPtrOutput
	ToStorageObjectSourceUriDetailsPtrOutputWithContext(context.Context) StorageObjectSourceUriDetailsPtrOutput
}

StorageObjectSourceUriDetailsPtrInput is an input type that accepts StorageObjectSourceUriDetailsArgs, StorageObjectSourceUriDetailsPtr and StorageObjectSourceUriDetailsPtrOutput values. You can construct a concrete instance of `StorageObjectSourceUriDetailsPtrInput` via:

        StorageObjectSourceUriDetailsArgs{...}

or:

        nil

type StorageObjectSourceUriDetailsPtrOutput

type StorageObjectSourceUriDetailsPtrOutput struct{ *pulumi.OutputState }

func (StorageObjectSourceUriDetailsPtrOutput) Bucket

The name of the bucket for the source object.

func (StorageObjectSourceUriDetailsPtrOutput) DestinationObjectIfMatchEtag

func (o StorageObjectSourceUriDetailsPtrOutput) DestinationObjectIfMatchEtag() pulumi.StringPtrOutput

The entity tag to match the target object.

func (StorageObjectSourceUriDetailsPtrOutput) DestinationObjectIfNoneMatchEtag

func (o StorageObjectSourceUriDetailsPtrOutput) DestinationObjectIfNoneMatchEtag() pulumi.StringPtrOutput

The entity tag to not match the target object.

func (StorageObjectSourceUriDetailsPtrOutput) Elem

func (StorageObjectSourceUriDetailsPtrOutput) ElementType

func (StorageObjectSourceUriDetailsPtrOutput) Namespace

The top-level namespace of the source object.

func (StorageObjectSourceUriDetailsPtrOutput) Object

The name of the source object.

func (StorageObjectSourceUriDetailsPtrOutput) Region

The region of the source object.

func (StorageObjectSourceUriDetailsPtrOutput) SourceObjectIfMatchEtag

The entity tag to match the source object.

func (StorageObjectSourceUriDetailsPtrOutput) SourceVersionId

The version id of the object to be restored.

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

func (StorageObjectSourceUriDetailsPtrOutput) ToStorageObjectSourceUriDetailsPtrOutput

func (o StorageObjectSourceUriDetailsPtrOutput) ToStorageObjectSourceUriDetailsPtrOutput() StorageObjectSourceUriDetailsPtrOutput

func (StorageObjectSourceUriDetailsPtrOutput) ToStorageObjectSourceUriDetailsPtrOutputWithContext

func (o StorageObjectSourceUriDetailsPtrOutput) ToStorageObjectSourceUriDetailsPtrOutputWithContext(ctx context.Context) StorageObjectSourceUriDetailsPtrOutput

type StorageObjectState

type StorageObjectState struct {
	// The name of the bucket. Avoid entering confidential information. Example: `my-new-bucket1`
	Bucket pulumi.StringPtrInput
	// The optional Cache-Control header that defines the caching behavior value to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify objects that require caching restrictions.
	CacheControl pulumi.StringPtrInput
	// The object to upload to the object store. Cannot be defined if `source` or `sourceUriDetails` is defined.
	Content pulumi.StringPtrInput
	// The optional Content-Disposition header that defines presentational information for the object to be returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to let users download objects with custom filenames in a browser.
	ContentDisposition pulumi.StringPtrInput
	// The optional Content-Encoding header that defines the content encodings that were applied to the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to determine what decoding mechanisms need to be applied to obtain the media-type specified by the Content-Type header of the object.
	ContentEncoding pulumi.StringPtrInput
	// The optional Content-Language header that defines the content language of the object to upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and differentiate objects based on a particular language.
	ContentLanguage pulumi.StringPtrInput
	// (Updatable) The content length of the body.
	ContentLength pulumi.StringPtrInput
	// (Updatable) The optional base-64 header that defines the encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message:
	//
	// "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)"
	ContentMd5 pulumi.StringPtrInput
	// The optional Content-Type header that defines the standard MIME type format of the object. Content type defaults to 'application/octet-stream' if not specified in the PutObject call. Specifying values for this header has no effect on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you could use this header to identify and perform special operations on text only objects.
	ContentType pulumi.StringPtrInput
	// (Updatable) A boolean to delete all object versions for an object in a bucket that has or ever had versioning enabled.
	DeleteAllObjectVersions pulumi.BoolPtrInput
	// Optional user-defined metadata key and value.
	// Note: All specified keys must be in lower case.
	Metadata pulumi.MapInput
	// The Object Storage namespace used for the request.
	Namespace pulumi.StringPtrInput
	// (Updatable) The name of the object. Avoid entering confidential information. Example: `test/object1.log`
	Object pulumi.StringPtrInput
	// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
	OpcSseKmsKeyId pulumi.StringPtrInput
	// An absolute path to a file on the local system. Cannot be defined if `content` or `sourceUriDetails` is defined.
	Source pulumi.StringPtrInput
	// Details of the source URI of the object in the cloud. Cannot be defined if `content` or `source` is defined.
	// Note: To enable object copy, you must authorize the service to manage objects on your behalf.
	SourceUriDetails StorageObjectSourceUriDetailsPtrInput
	State            pulumi.StringPtrInput
	// (Updatable) The storage tier that the object should be stored in. If not specified, the object will be stored in the same storage tier as the bucket.
	StorageTier   pulumi.StringPtrInput
	VersionId     pulumi.StringPtrInput
	WorkRequestId pulumi.StringPtrInput
}

func (StorageObjectState) ElementType

func (StorageObjectState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL