tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getCosBucketMultipartUploads
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
Use this data source to query the COS bucket multipart uploads.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const cosBucketMultipartUploads = tencentcloud.getCosBucketMultipartUploads({
bucket: "xxxxxx",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
cos_bucket_multipart_uploads = tencentcloud.get_cos_bucket_multipart_uploads(bucket="xxxxxx")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetCosBucketMultipartUploads(ctx, &tencentcloud.GetCosBucketMultipartUploadsArgs{
Bucket: "xxxxxx",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var cosBucketMultipartUploads = Tencentcloud.GetCosBucketMultipartUploads.Invoke(new()
{
Bucket = "xxxxxx",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCosBucketMultipartUploadsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var cosBucketMultipartUploads = TencentcloudFunctions.getCosBucketMultipartUploads(GetCosBucketMultipartUploadsArgs.builder()
.bucket("xxxxxx")
.build());
}
}
variables:
cosBucketMultipartUploads:
fn::invoke:
function: tencentcloud:getCosBucketMultipartUploads
arguments:
bucket: xxxxxx
Using getCosBucketMultipartUploads
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCosBucketMultipartUploads(args: GetCosBucketMultipartUploadsArgs, opts?: InvokeOptions): Promise<GetCosBucketMultipartUploadsResult>
function getCosBucketMultipartUploadsOutput(args: GetCosBucketMultipartUploadsOutputArgs, opts?: InvokeOptions): Output<GetCosBucketMultipartUploadsResult>
def get_cos_bucket_multipart_uploads(bucket: Optional[str] = None,
delimiter: Optional[str] = None,
encoding_type: Optional[str] = None,
id: Optional[str] = None,
prefix: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCosBucketMultipartUploadsResult
def get_cos_bucket_multipart_uploads_output(bucket: Optional[pulumi.Input[str]] = None,
delimiter: Optional[pulumi.Input[str]] = None,
encoding_type: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
prefix: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCosBucketMultipartUploadsResult]
func GetCosBucketMultipartUploads(ctx *Context, args *GetCosBucketMultipartUploadsArgs, opts ...InvokeOption) (*GetCosBucketMultipartUploadsResult, error)
func GetCosBucketMultipartUploadsOutput(ctx *Context, args *GetCosBucketMultipartUploadsOutputArgs, opts ...InvokeOption) GetCosBucketMultipartUploadsResultOutput
> Note: This function is named GetCosBucketMultipartUploads
in the Go SDK.
public static class GetCosBucketMultipartUploads
{
public static Task<GetCosBucketMultipartUploadsResult> InvokeAsync(GetCosBucketMultipartUploadsArgs args, InvokeOptions? opts = null)
public static Output<GetCosBucketMultipartUploadsResult> Invoke(GetCosBucketMultipartUploadsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCosBucketMultipartUploadsResult> getCosBucketMultipartUploads(GetCosBucketMultipartUploadsArgs args, InvokeOptions options)
public static Output<GetCosBucketMultipartUploadsResult> getCosBucketMultipartUploads(GetCosBucketMultipartUploadsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCosBucketMultipartUploads:getCosBucketMultipartUploads
arguments:
# arguments dictionary
The following arguments are supported:
- Bucket string
- Bucket.
- Delimiter string
- The delimiter is a symbol, and the Object name contains the Object between the specified prefix and the first occurrence of delimiter characters as a set of elements: common prefix. If there is no prefix, start from the beginning of the path.
- Encoding
Type string - Specifies the encoding format of the return value. Legal value: url.
- Id string
- The user's unique CAM identity ID.
- Prefix string
- The returned Object key must be prefixed with Prefix. Note that when using the prefix query, the returned key still contains Prefix.
- Result
Output stringFile - Used to save results.
- Bucket string
- Bucket.
- Delimiter string
- The delimiter is a symbol, and the Object name contains the Object between the specified prefix and the first occurrence of delimiter characters as a set of elements: common prefix. If there is no prefix, start from the beginning of the path.
- Encoding
Type string - Specifies the encoding format of the return value. Legal value: url.
- Id string
- The user's unique CAM identity ID.
- Prefix string
- The returned Object key must be prefixed with Prefix. Note that when using the prefix query, the returned key still contains Prefix.
- Result
Output stringFile - Used to save results.
- bucket String
- Bucket.
- delimiter String
- The delimiter is a symbol, and the Object name contains the Object between the specified prefix and the first occurrence of delimiter characters as a set of elements: common prefix. If there is no prefix, start from the beginning of the path.
- encoding
Type String - Specifies the encoding format of the return value. Legal value: url.
- id String
- The user's unique CAM identity ID.
- prefix String
- The returned Object key must be prefixed with Prefix. Note that when using the prefix query, the returned key still contains Prefix.
- result
Output StringFile - Used to save results.
- bucket string
- Bucket.
- delimiter string
- The delimiter is a symbol, and the Object name contains the Object between the specified prefix and the first occurrence of delimiter characters as a set of elements: common prefix. If there is no prefix, start from the beginning of the path.
- encoding
Type string - Specifies the encoding format of the return value. Legal value: url.
- id string
- The user's unique CAM identity ID.
- prefix string
- The returned Object key must be prefixed with Prefix. Note that when using the prefix query, the returned key still contains Prefix.
- result
Output stringFile - Used to save results.
- bucket str
- Bucket.
- delimiter str
- The delimiter is a symbol, and the Object name contains the Object between the specified prefix and the first occurrence of delimiter characters as a set of elements: common prefix. If there is no prefix, start from the beginning of the path.
- encoding_
type str - Specifies the encoding format of the return value. Legal value: url.
- id str
- The user's unique CAM identity ID.
- prefix str
- The returned Object key must be prefixed with Prefix. Note that when using the prefix query, the returned key still contains Prefix.
- result_
output_ strfile - Used to save results.
- bucket String
- Bucket.
- delimiter String
- The delimiter is a symbol, and the Object name contains the Object between the specified prefix and the first occurrence of delimiter characters as a set of elements: common prefix. If there is no prefix, start from the beginning of the path.
- encoding
Type String - Specifies the encoding format of the return value. Legal value: url.
- id String
- The user's unique CAM identity ID.
- prefix String
- The returned Object key must be prefixed with Prefix. Note that when using the prefix query, the returned key still contains Prefix.
- result
Output StringFile - Used to save results.
getCosBucketMultipartUploads Result
The following output properties are available:
- Bucket string
- Id string
- The user's unique CAM identity ID.
- Uploads
List<Get
Cos Bucket Multipart Uploads Upload> - Information for each Upload.
- Delimiter string
- Encoding
Type string - Prefix string
- Result
Output stringFile
- Bucket string
- Id string
- The user's unique CAM identity ID.
- Uploads
[]Get
Cos Bucket Multipart Uploads Upload - Information for each Upload.
- Delimiter string
- Encoding
Type string - Prefix string
- Result
Output stringFile
- bucket String
- id String
- The user's unique CAM identity ID.
- uploads
List<Get
Cos Bucket Multipart Uploads Upload> - Information for each Upload.
- delimiter String
- encoding
Type String - prefix String
- result
Output StringFile
- bucket string
- id string
- The user's unique CAM identity ID.
- uploads
Get
Cos Bucket Multipart Uploads Upload[] - Information for each Upload.
- delimiter string
- encoding
Type string - prefix string
- result
Output stringFile
- bucket str
- id str
- The user's unique CAM identity ID.
- uploads
Sequence[Get
Cos Bucket Multipart Uploads Upload] - Information for each Upload.
- delimiter str
- encoding_
type str - prefix str
- result_
output_ strfile
- bucket String
- id String
- The user's unique CAM identity ID.
- uploads List<Property Map>
- Information for each Upload.
- delimiter String
- encoding
Type String - prefix String
- result
Output StringFile
Supporting Types
GetCosBucketMultipartUploadsUpload
- Initiated string
- The starting time of multipart upload.
- Initiators
List<Get
Cos Bucket Multipart Uploads Upload Initiator> - Used to represent the information of the initiator of this upload.
- Key string
- Name of the Object.
- Owners
List<Get
Cos Bucket Multipart Uploads Upload Owner> - Information used to represent the owner of these chunks.
- Storage
Class string - Used to represent the storage level of a chunk. Enumerated value: STANDARD,STANDARD_IA,ARCHIVE.
- Upload
Id string - Mark the ID of this multipart upload.
- Initiated string
- The starting time of multipart upload.
- Initiators
[]Get
Cos Bucket Multipart Uploads Upload Initiator - Used to represent the information of the initiator of this upload.
- Key string
- Name of the Object.
- Owners
[]Get
Cos Bucket Multipart Uploads Upload Owner - Information used to represent the owner of these chunks.
- Storage
Class string - Used to represent the storage level of a chunk. Enumerated value: STANDARD,STANDARD_IA,ARCHIVE.
- Upload
Id string - Mark the ID of this multipart upload.
- initiated String
- The starting time of multipart upload.
- initiators
List<Get
Cos Bucket Multipart Uploads Upload Initiator> - Used to represent the information of the initiator of this upload.
- key String
- Name of the Object.
- owners
List<Get
Cos Bucket Multipart Uploads Upload Owner> - Information used to represent the owner of these chunks.
- storage
Class String - Used to represent the storage level of a chunk. Enumerated value: STANDARD,STANDARD_IA,ARCHIVE.
- upload
Id String - Mark the ID of this multipart upload.
- initiated string
- The starting time of multipart upload.
- initiators
Get
Cos Bucket Multipart Uploads Upload Initiator[] - Used to represent the information of the initiator of this upload.
- key string
- Name of the Object.
- owners
Get
Cos Bucket Multipart Uploads Upload Owner[] - Information used to represent the owner of these chunks.
- storage
Class string - Used to represent the storage level of a chunk. Enumerated value: STANDARD,STANDARD_IA,ARCHIVE.
- upload
Id string - Mark the ID of this multipart upload.
- initiated str
- The starting time of multipart upload.
- initiators
Sequence[Get
Cos Bucket Multipart Uploads Upload Initiator] - Used to represent the information of the initiator of this upload.
- key str
- Name of the Object.
- owners
Sequence[Get
Cos Bucket Multipart Uploads Upload Owner] - Information used to represent the owner of these chunks.
- storage_
class str - Used to represent the storage level of a chunk. Enumerated value: STANDARD,STANDARD_IA,ARCHIVE.
- upload_
id str - Mark the ID of this multipart upload.
- initiated String
- The starting time of multipart upload.
- initiators List<Property Map>
- Used to represent the information of the initiator of this upload.
- key String
- Name of the Object.
- owners List<Property Map>
- Information used to represent the owner of these chunks.
- storage
Class String - Used to represent the storage level of a chunk. Enumerated value: STANDARD,STANDARD_IA,ARCHIVE.
- upload
Id String - Mark the ID of this multipart upload.
GetCosBucketMultipartUploadsUploadInitiator
- Display
Name string - Abbreviation for user identity ID (UIN).
- Id string
- The user's unique CAM identity ID.
- Display
Name string - Abbreviation for user identity ID (UIN).
- Id string
- The user's unique CAM identity ID.
- display
Name String - Abbreviation for user identity ID (UIN).
- id String
- The user's unique CAM identity ID.
- display
Name string - Abbreviation for user identity ID (UIN).
- id string
- The user's unique CAM identity ID.
- display_
name str - Abbreviation for user identity ID (UIN).
- id str
- The user's unique CAM identity ID.
- display
Name String - Abbreviation for user identity ID (UIN).
- id String
- The user's unique CAM identity ID.
GetCosBucketMultipartUploadsUploadOwner
- Display
Name string - Abbreviation for user identity ID (UIN).
- Id string
- The user's unique CAM identity ID.
- Display
Name string - Abbreviation for user identity ID (UIN).
- Id string
- The user's unique CAM identity ID.
- display
Name String - Abbreviation for user identity ID (UIN).
- id String
- The user's unique CAM identity ID.
- display
Name string - Abbreviation for user identity ID (UIN).
- id string
- The user's unique CAM identity ID.
- display_
name str - Abbreviation for user identity ID (UIN).
- id str
- The user's unique CAM identity ID.
- display
Name String - Abbreviation for user identity ID (UIN).
- id String
- The user's unique CAM identity ID.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack