Documentation ¶
Index ¶
- type Container
- func (r *Container) ContainerRead() *pulumi.StringOutput
- func (r *Container) ContainerSyncKey() *pulumi.StringOutput
- func (r *Container) ContainerSyncTo() *pulumi.StringOutput
- func (r *Container) ContainerWrite() *pulumi.StringOutput
- func (r *Container) ContentType() *pulumi.StringOutput
- func (r *Container) ForceDestroy() *pulumi.BoolOutput
- func (r *Container) ID() *pulumi.IDOutput
- func (r *Container) Metadata() *pulumi.MapOutput
- func (r *Container) Name() *pulumi.StringOutput
- func (r *Container) Region() *pulumi.StringOutput
- func (r *Container) URN() *pulumi.URNOutput
- func (r *Container) Versioning() *pulumi.Output
- type ContainerArgs
- type ContainerObject
- func (r *ContainerObject) ContainerName() *pulumi.StringOutput
- func (r *ContainerObject) Content() *pulumi.StringOutput
- func (r *ContainerObject) ContentDisposition() *pulumi.StringOutput
- func (r *ContainerObject) ContentEncoding() *pulumi.StringOutput
- func (r *ContainerObject) ContentLength() *pulumi.IntOutput
- func (r *ContainerObject) ContentType() *pulumi.StringOutput
- func (r *ContainerObject) CopyFrom() *pulumi.StringOutput
- func (r *ContainerObject) Date() *pulumi.StringOutput
- func (r *ContainerObject) DeleteAfter() *pulumi.IntOutput
- func (r *ContainerObject) DeleteAt() *pulumi.StringOutput
- func (r *ContainerObject) DetectContentType() *pulumi.BoolOutput
- func (r *ContainerObject) Etag() *pulumi.StringOutput
- func (r *ContainerObject) ID() *pulumi.IDOutput
- func (r *ContainerObject) LastModified() *pulumi.StringOutput
- func (r *ContainerObject) Metadata() *pulumi.MapOutput
- func (r *ContainerObject) Name() *pulumi.StringOutput
- func (r *ContainerObject) ObjectManifest() *pulumi.StringOutput
- func (r *ContainerObject) Region() *pulumi.StringOutput
- func (r *ContainerObject) Source() *pulumi.StringOutput
- func (r *ContainerObject) TransId() *pulumi.StringOutput
- func (r *ContainerObject) URN() *pulumi.URNOutput
- type ContainerObjectArgs
- type ContainerObjectState
- type ContainerState
- type TempUrl
- func (r *TempUrl) Container() *pulumi.StringOutput
- func (r *TempUrl) ID() *pulumi.IDOutput
- func (r *TempUrl) Method() *pulumi.StringOutput
- func (r *TempUrl) Object() *pulumi.StringOutput
- func (r *TempUrl) Regenerate() *pulumi.BoolOutput
- func (r *TempUrl) Region() *pulumi.StringOutput
- func (r *TempUrl) Split() *pulumi.StringOutput
- func (r *TempUrl) Ttl() *pulumi.IntOutput
- func (r *TempUrl) URN() *pulumi.URNOutput
- func (r *TempUrl) Url() *pulumi.StringOutput
- type TempUrlArgs
- type TempUrlState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
Manages a V1 container resource within OpenStack.
func GetContainer ¶
func GetContainer(ctx *pulumi.Context, name string, id pulumi.ID, state *ContainerState, opts ...pulumi.ResourceOpt) (*Container, error)
GetContainer gets an existing Container 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 NewContainer ¶
func NewContainer(ctx *pulumi.Context, name string, args *ContainerArgs, opts ...pulumi.ResourceOpt) (*Container, error)
NewContainer registers a new resource with the given unique name, arguments, and options.
func (*Container) ContainerRead ¶
func (r *Container) ContainerRead() *pulumi.StringOutput
Sets an access control list (ACL) that grants read access. This header can contain a comma-delimited list of users that can read the container (allows the GET method for all objects in the container). Changing this updates the access control list read access.
func (*Container) ContainerSyncKey ¶
func (r *Container) ContainerSyncKey() *pulumi.StringOutput
The secret key for container synchronization. Changing this updates container synchronization.
func (*Container) ContainerSyncTo ¶
func (r *Container) ContainerSyncTo() *pulumi.StringOutput
The destination for container synchronization. Changing this updates container synchronization.
func (*Container) ContainerWrite ¶
func (r *Container) ContainerWrite() *pulumi.StringOutput
Sets an ACL that grants write access. Changing this updates the access control list write access.
func (*Container) ContentType ¶
func (r *Container) ContentType() *pulumi.StringOutput
The MIME type for the container. Changing this updates the MIME type.
func (*Container) ForceDestroy ¶
func (r *Container) ForceDestroy() *pulumi.BoolOutput
A boolean that indicates all objects should be deleted from the container so that the container can be destroyed without error. These objects are not recoverable.
func (*Container) Metadata ¶
Custom key/value pairs to associate with the container. Changing this updates the existing container metadata.
func (*Container) Name ¶
func (r *Container) Name() *pulumi.StringOutput
A unique name for the container. Changing this creates a new container.
func (*Container) Region ¶
func (r *Container) Region() *pulumi.StringOutput
The region in which to create the container. If omitted, the `region` argument of the provider is used. Changing this creates a new container.
func (*Container) Versioning ¶ added in v0.16.4
Enable object versioning. The structure is described below.
type ContainerArgs ¶
type ContainerArgs struct { // Sets an access control list (ACL) that grants // read access. This header can contain a comma-delimited list of users that // can read the container (allows the GET method for all objects in the // container). Changing this updates the access control list read access. ContainerRead interface{} // The secret key for container synchronization. // Changing this updates container synchronization. ContainerSyncKey interface{} // The destination for container synchronization. // Changing this updates container synchronization. ContainerSyncTo interface{} // Sets an ACL that grants write access. // Changing this updates the access control list write access. ContainerWrite interface{} // The MIME type for the container. Changing this // updates the MIME type. ContentType interface{} // A boolean that indicates all objects should be deleted from the container so that the container can be destroyed without error. These objects are not recoverable. ForceDestroy interface{} // Custom key/value pairs to associate with the container. // Changing this updates the existing container metadata. Metadata interface{} // A unique name for the container. Changing this creates a // new container. Name interface{} // The region in which to create the container. If // omitted, the `region` argument of the provider is used. Changing this // creates a new container. Region interface{} // Enable object versioning. The structure is described below. Versioning interface{} }
The set of arguments for constructing a Container resource.
type ContainerObject ¶
type ContainerObject struct {
// contains filtered or unexported fields
}
Manages a V1 container object resource within OpenStack.
func GetContainerObject ¶
func GetContainerObject(ctx *pulumi.Context, name string, id pulumi.ID, state *ContainerObjectState, opts ...pulumi.ResourceOpt) (*ContainerObject, error)
GetContainerObject gets an existing ContainerObject 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 NewContainerObject ¶
func NewContainerObject(ctx *pulumi.Context, name string, args *ContainerObjectArgs, opts ...pulumi.ResourceOpt) (*ContainerObject, error)
NewContainerObject registers a new resource with the given unique name, arguments, and options.
func (*ContainerObject) ContainerName ¶
func (r *ContainerObject) ContainerName() *pulumi.StringOutput
A unique (within an account) name for the container. The container name must be from 1 to 256 characters long and can start with any character and contain any pattern. Character set must be UTF-8. The container name cannot contain a slash (/) character because this character delimits the container and object name. For example, the path /v1/account/www/pages specifies the www container, not the www/pages container.
func (*ContainerObject) Content ¶
func (r *ContainerObject) Content() *pulumi.StringOutput
A string representing the content of the object. Conflicts with `source` and `copy_from`.
func (*ContainerObject) ContentDisposition ¶
func (r *ContainerObject) ContentDisposition() *pulumi.StringOutput
A string which specifies the override behavior for the browser. For example, this header might specify that the browser use a download program to save this file rather than show the file, which is the default.
func (*ContainerObject) ContentEncoding ¶
func (r *ContainerObject) ContentEncoding() *pulumi.StringOutput
A string representing the value of the Content-Encoding metadata.
func (*ContainerObject) ContentLength ¶
func (r *ContainerObject) ContentLength() *pulumi.IntOutput
If the operation succeeds, this value is zero (0) or the length of informational or error text in the response body.
func (*ContainerObject) ContentType ¶
func (r *ContainerObject) ContentType() *pulumi.StringOutput
A string which sets the MIME type for the object.
func (*ContainerObject) CopyFrom ¶
func (r *ContainerObject) CopyFrom() *pulumi.StringOutput
A string representing the name of an object used to create the new object by copying the `copy_from` object. The value is in form {container}/{object}. You must UTF-8-encode and then URL-encode the names of the container and object before you include them in the header. Conflicts with `source` and `content`.
func (*ContainerObject) Date ¶
func (r *ContainerObject) Date() *pulumi.StringOutput
The date and time the system responded to the request, using the preferred format of RFC 7231 as shown in this example Thu, 16 Jun 2016 15:10:38 GMT. The time is always in UTC.
func (*ContainerObject) DeleteAfter ¶
func (r *ContainerObject) DeleteAfter() *pulumi.IntOutput
An integer representing the number of seconds after which the system removes the object. Internally, the Object Storage system stores this value in the X-Delete-At metadata item.
func (*ContainerObject) DeleteAt ¶
func (r *ContainerObject) DeleteAt() *pulumi.StringOutput
An string representing the date when the system removes the object. For example, "2015-08-26" is equivalent to Mon, Wed, 26 Aug 2015 00:00:00 GMT.
func (*ContainerObject) DetectContentType ¶
func (r *ContainerObject) DetectContentType() *pulumi.BoolOutput
If set to true, Object Storage guesses the content type based on the file extension and ignores the value sent in the Content-Type header, if present.
func (*ContainerObject) Etag ¶
func (r *ContainerObject) Etag() *pulumi.StringOutput
Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}.
func (*ContainerObject) ID ¶
func (r *ContainerObject) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ContainerObject) LastModified ¶
func (r *ContainerObject) LastModified() *pulumi.StringOutput
The date and time when the object was last modified. The date and time stamp format is ISO 8601: CCYY-MM-DDThh:mm:ss±hh:mm For example, 2015-08-27T09:49:58-05:00. The ±hh:mm value, if included, is the time zone as an offset from UTC. In the previous example, the offset value is -05:00.
func (*ContainerObject) Metadata ¶
func (r *ContainerObject) Metadata() *pulumi.MapOutput
func (*ContainerObject) Name ¶
func (r *ContainerObject) Name() *pulumi.StringOutput
A unique name for the object.
func (*ContainerObject) ObjectManifest ¶
func (r *ContainerObject) ObjectManifest() *pulumi.StringOutput
A string set to specify that this is a dynamic large object manifest object. The value is the container and object name prefix of the segment objects in the form container/prefix. You must UTF-8-encode and then URL-encode the names of the container and prefix before you include them in this header.
func (*ContainerObject) Region ¶
func (r *ContainerObject) Region() *pulumi.StringOutput
The region in which to create the container. If omitted, the `region` argument of the provider is used. Changing this creates a new container.
func (*ContainerObject) Source ¶
func (r *ContainerObject) Source() *pulumi.StringOutput
A string representing the local path of a file which will be used as the object's content. Conflicts with `source` and `copy_from`.
func (*ContainerObject) TransId ¶
func (r *ContainerObject) TransId() *pulumi.StringOutput
A unique transaction ID for this request. Your service provider might need this value if you report a problem.
func (*ContainerObject) URN ¶
func (r *ContainerObject) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ContainerObjectArgs ¶
type ContainerObjectArgs struct { // A unique (within an account) name for the container. // The container name must be from 1 to 256 characters long and can start // with any character and contain any pattern. Character set must be UTF-8. // The container name cannot contain a slash (/) character because this // character delimits the container and object name. For example, the path // /v1/account/www/pages specifies the www container, not the www/pages container. ContainerName interface{} // A string representing the content of the object. Conflicts with // `source` and `copy_from`. Content interface{} // A string which specifies the override behavior for // the browser. For example, this header might specify that the browser use a download // program to save this file rather than show the file, which is the default. ContentDisposition interface{} // A string representing the value of the Content-Encoding // metadata. ContentEncoding interface{} // A string which sets the MIME type for the object. ContentType interface{} // A string representing the name of an object // used to create the new object by copying the `copy_from` object. The value is in form // {container}/{object}. You must UTF-8-encode and then URL-encode the names of the // container and object before you include them in the header. Conflicts with `source` and // `content`. CopyFrom interface{} // An integer representing the number of seconds after which the // system removes the object. Internally, the Object Storage system stores this value in // the X-Delete-At metadata item. DeleteAfter interface{} // An string representing the date when the system removes the object. // For example, "2015-08-26" is equivalent to Mon, Wed, 26 Aug 2015 00:00:00 GMT. DeleteAt interface{} // If set to true, Object Storage guesses the content // type based on the file extension and ignores the value sent in the Content-Type // header, if present. DetectContentType interface{} // Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. Etag interface{} Metadata interface{} // A unique name for the object. Name interface{} // A string set to specify that this is a dynamic large // object manifest object. The value is the container and object name prefix of the // segment objects in the form container/prefix. You must UTF-8-encode and then // URL-encode the names of the container and prefix before you include them in this // header. ObjectManifest interface{} // The region in which to create the container. If // omitted, the `region` argument of the provider is used. Changing this // creates a new container. Region interface{} // A string representing the local path of a file which will be used // as the object's content. Conflicts with `source` and `copy_from`. Source interface{} }
The set of arguments for constructing a ContainerObject resource.
type ContainerObjectState ¶
type ContainerObjectState struct { // A unique (within an account) name for the container. // The container name must be from 1 to 256 characters long and can start // with any character and contain any pattern. Character set must be UTF-8. // The container name cannot contain a slash (/) character because this // character delimits the container and object name. For example, the path // /v1/account/www/pages specifies the www container, not the www/pages container. ContainerName interface{} // A string representing the content of the object. Conflicts with // `source` and `copy_from`. Content interface{} // A string which specifies the override behavior for // the browser. For example, this header might specify that the browser use a download // program to save this file rather than show the file, which is the default. ContentDisposition interface{} // A string representing the value of the Content-Encoding // metadata. ContentEncoding interface{} // If the operation succeeds, this value is zero (0) or the // length of informational or error text in the response body. ContentLength interface{} // A string which sets the MIME type for the object. ContentType interface{} // A string representing the name of an object // used to create the new object by copying the `copy_from` object. The value is in form // {container}/{object}. You must UTF-8-encode and then URL-encode the names of the // container and object before you include them in the header. Conflicts with `source` and // `content`. CopyFrom interface{} // The date and time the system responded to the request, using the preferred // format of RFC 7231 as shown in this example Thu, 16 Jun 2016 15:10:38 GMT. The // time is always in UTC. Date interface{} // An integer representing the number of seconds after which the // system removes the object. Internally, the Object Storage system stores this value in // the X-Delete-At metadata item. DeleteAfter interface{} // An string representing the date when the system removes the object. // For example, "2015-08-26" is equivalent to Mon, Wed, 26 Aug 2015 00:00:00 GMT. DeleteAt interface{} // If set to true, Object Storage guesses the content // type based on the file extension and ignores the value sent in the Content-Type // header, if present. DetectContentType interface{} // Used to trigger updates. The only meaningful value is ${md5(file("path/to/file"))}. Etag interface{} // The date and time when the object was last modified. The date and time // stamp format is ISO 8601: // CCYY-MM-DDThh:mm:ss±hh:mm // For example, 2015-08-27T09:49:58-05:00. // The ±hh:mm value, if included, is the time zone as an offset from UTC. In the previous // example, the offset value is -05:00. LastModified interface{} Metadata interface{} // A unique name for the object. Name interface{} // A string set to specify that this is a dynamic large // object manifest object. The value is the container and object name prefix of the // segment objects in the form container/prefix. You must UTF-8-encode and then // URL-encode the names of the container and prefix before you include them in this // header. ObjectManifest interface{} // The region in which to create the container. If // omitted, the `region` argument of the provider is used. Changing this // creates a new container. Region interface{} // A string representing the local path of a file which will be used // as the object's content. Conflicts with `source` and `copy_from`. Source interface{} // A unique transaction ID for this request. Your service provider might // need this value if you report a problem. TransId interface{} }
Input properties used for looking up and filtering ContainerObject resources.
type ContainerState ¶
type ContainerState struct { // Sets an access control list (ACL) that grants // read access. This header can contain a comma-delimited list of users that // can read the container (allows the GET method for all objects in the // container). Changing this updates the access control list read access. ContainerRead interface{} // The secret key for container synchronization. // Changing this updates container synchronization. ContainerSyncKey interface{} // The destination for container synchronization. // Changing this updates container synchronization. ContainerSyncTo interface{} // Sets an ACL that grants write access. // Changing this updates the access control list write access. ContainerWrite interface{} // The MIME type for the container. Changing this // updates the MIME type. ContentType interface{} // A boolean that indicates all objects should be deleted from the container so that the container can be destroyed without error. These objects are not recoverable. ForceDestroy interface{} // Custom key/value pairs to associate with the container. // Changing this updates the existing container metadata. Metadata interface{} // A unique name for the container. Changing this creates a // new container. Name interface{} // The region in which to create the container. If // omitted, the `region` argument of the provider is used. Changing this // creates a new container. Region interface{} // Enable object versioning. The structure is described below. Versioning interface{} }
Input properties used for looking up and filtering Container resources.
type TempUrl ¶ added in v0.16.1
type TempUrl struct {
// contains filtered or unexported fields
}
Use this resource to generate an OpenStack Object Storage temporary URL.
The temporary URL will be valid for as long as TTL is set to (in seconds). Once the URL has expired, it will no longer be valid, but the resource will remain in place. If you wish to automatically regenerate a URL, set the `regenerate` argument to `true`. This will create a new resource with a new ID and URL.
func GetTempUrl ¶ added in v0.16.1
func GetTempUrl(ctx *pulumi.Context, name string, id pulumi.ID, state *TempUrlState, opts ...pulumi.ResourceOpt) (*TempUrl, error)
GetTempUrl gets an existing TempUrl 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 NewTempUrl ¶ added in v0.16.1
func NewTempUrl(ctx *pulumi.Context, name string, args *TempUrlArgs, opts ...pulumi.ResourceOpt) (*TempUrl, error)
NewTempUrl registers a new resource with the given unique name, arguments, and options.
func (*TempUrl) Container ¶ added in v0.16.1
func (r *TempUrl) Container() *pulumi.StringOutput
The container name the object belongs to.
func (*TempUrl) ID ¶ added in v0.16.1
ID is this resource's unique identifier assigned by its provider.
func (*TempUrl) Method ¶ added in v0.16.1
func (r *TempUrl) Method() *pulumi.StringOutput
The method allowed when accessing this URL. Valid values are `GET`, and `POST`. Default is `GET`.
func (*TempUrl) Object ¶ added in v0.16.1
func (r *TempUrl) Object() *pulumi.StringOutput
The object name the tempurl is for.
func (*TempUrl) Regenerate ¶ added in v0.16.1
func (r *TempUrl) Regenerate() *pulumi.BoolOutput
Whether to automatically regenerate the URL when it has expired. If set to true, this will create a new resource with a new ID and new URL. Defaults to false.
func (*TempUrl) Region ¶ added in v0.16.1
func (r *TempUrl) Region() *pulumi.StringOutput
The region the tempurl is located in.
func (*TempUrl) Split ¶ added in v0.16.1
func (r *TempUrl) Split() *pulumi.StringOutput
func (*TempUrl) Ttl ¶ added in v0.16.1
The TTL, in seconds, for the URL. For how long it should be valid.
type TempUrlArgs ¶ added in v0.16.1
type TempUrlArgs struct { // The container name the object belongs to. Container interface{} // The method allowed when accessing this URL. // Valid values are `GET`, and `POST`. Default is `GET`. Method interface{} // The object name the tempurl is for. Object interface{} // Whether to automatically regenerate the URL when // it has expired. If set to true, this will create a new resource with a new // ID and new URL. Defaults to false. Regenerate interface{} // The region the tempurl is located in. Region interface{} Split interface{} // The TTL, in seconds, for the URL. For how long it should // be valid. Ttl interface{} }
The set of arguments for constructing a TempUrl resource.
type TempUrlState ¶ added in v0.16.1
type TempUrlState struct { // The container name the object belongs to. Container interface{} // The method allowed when accessing this URL. // Valid values are `GET`, and `POST`. Default is `GET`. Method interface{} // The object name the tempurl is for. Object interface{} // Whether to automatically regenerate the URL when // it has expired. If set to true, this will create a new resource with a new // ID and new URL. Defaults to false. Regenerate interface{} // The region the tempurl is located in. Region interface{} Split interface{} // The TTL, in seconds, for the URL. For how long it should // be valid. Ttl interface{} // The URL Url interface{} }
Input properties used for looking up and filtering TempUrl resources.