obs

package
v1.64.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MPL-2.0 Imports: 23 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceObsBucketObject added in v1.40.2

func DataSourceObsBucketObject() *schema.Resource

@API OBS HEAD /{ObjectName} @API OBS GET /{ObjectName}

func DataSourceObsBuckets

func DataSourceObsBuckets() *schema.Resource

@API OBS GET / @API OBS HEAD /

func ResourceOBSBucketAcl added in v1.48.0

func ResourceOBSBucketAcl() *schema.Resource

@API OBS PUT ?acl @API OBS GET ?acl

func ResourceOBSBucketObjectAcl added in v1.49.0

func ResourceOBSBucketObjectAcl() *schema.Resource

@API OBS PUT /{ObjectName}?acl @API OBS GET /{ObjectName}?acl

func ResourceObsBucket added in v1.40.2

func ResourceObsBucket() *schema.Resource

@API OBS PUT ?acl @API OBS DELETE ?lifecycle @API OBS PUT ?lifecycle @API OBS GET ?lifecycle @API OBS PUT ?website @API OBS DELETE ?website @API OBS GET ?website @API OBS PUT ?customdomain @API OBS DELETE ?customdomain @API OBS GET ?customdomain @API OBS DELETE / @API OBS PUT / @API OBS HEAD / @API OBS GET / @API OBS PUT ?versioning @API OBS GET ?versioning @API OBS PUT ?quota @API OBS GET ?quota @API OBS POST ?delete @API OBS PUT ?tagging @API OBS GET ?tagging @API OBS GET ?storageinfo @API OBS PUT ?storageClass @API OBS GET ?storageClass @API OBS PUT ?encryption @API OBS DELETE ?encryption @API OBS GET ?encryption @API OBS PUT ?policy @API OBS DELETE ?policy @API OBS GET ?policy @API OBS PUT ?logging @API OBS GET ?logging @API OBS DELETE ?cors @API OBS PUT ?cors @API OBS GET ?cors @API EPS POST /v1.0/enterprise-projects/{enterprise_project_id}/resources-migrate

func ResourceObsBucketObject added in v1.40.2

func ResourceObsBucketObject() *schema.Resource

@API OBS HEAD / @API OBS HEAD /{ObjectName} @API OBS PUT /{ObjectName} @API OBS DELETE /{ObjectName}

func ResourceObsBucketPolicy added in v1.40.2

func ResourceObsBucketPolicy() *schema.Resource

@API OBS PUT ?policy @API OBS GET ?policy @API OBS DELETE ?policy

func ResourceObsBucketReplication added in v1.48.0

func ResourceObsBucketReplication() *schema.Resource

@API OBS PUT ?replication @API OBS DELETE ?replication @API OBS GET ?replication

Types

type Condition added in v1.40.2

type Condition struct {
	KeyPrefixEquals             string `json:"KeyPrefixEquals,omitempty"`
	HttpErrorCodeReturnedEquals string `json:"HttpErrorCodeReturnedEquals,omitempty"`
}

type GrantType added in v1.48.0

type GrantType string
const (
	GrantOwner           GrantType = "OWNER"
	GrantPublic          GrantType = "PUBLIC"
	GrantLogDeliveryUser GrantType = "LOG_DELIVERY_USER"
	GrantAccount         GrantType = "ACCOUNT"
)

type Redirect added in v1.40.2

type Redirect struct {
	Protocol             string `json:"Protocol,omitempty"`
	HostName             string `json:"HostName,omitempty"`
	ReplaceKeyPrefixWith string `json:"ReplaceKeyPrefixWith,omitempty"`
	ReplaceKeyWith       string `json:"ReplaceKeyWith,omitempty"`
	HttpRedirectCode     string `json:"HttpRedirectCode,omitempty"`
}

type WebsiteRoutingRule added in v1.40.2

type WebsiteRoutingRule struct {
	Condition Condition `json:"Condition,omitempty"`
	Redirect  Redirect  `json:"Redirect"`
}

Jump to

Keyboard shortcuts

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