Show / Hide Table of Contents

Class CreateBucketRequest

Inheritance
object
CreateBucketRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ObjectstorageService.Requests
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class CreateBucketRequest : IOciRequest
Examples

Click here to see an example of how to use CreateBucket request.

Properties

CreateBucketDetails

Declaration
[Required(ErrorMessage = "CreateBucketDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public CreateBucketDetails CreateBucketDetails { get; set; }
Property Value
Type Description
CreateBucketDetails

Request object for creating a bucket.

Remarks

Required

NamespaceName

Declaration
[Required(ErrorMessage = "NamespaceName is required.")]
[HttpConverter(TargetEnum.Path, "namespaceName")]
public string NamespaceName { get; set; }
Property Value
Type Description
string

The Object Storage namespace used for the request.

Remarks

Required

OpcClientRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-client-request-id")]
public string OpcClientRequestId { get; set; }
Property Value
Type Description
string

The client request ID for tracing.

Implements

IOciRequest
In this article
Back to top