CloudBlobContainer.Create Method

Definition

Overloads

Create(BlobRequestOptions, OperationContext)

Creates the container.

Create(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext)

Creates the container and specifies the level of access to the container's data.

Create(BlobRequestOptions, OperationContext)

Creates the container.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual void Create (Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member Create : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
override this.Create : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Overridable Sub Create (Optional requestOptions As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)

Parameters

requestOptions
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Attributes

Applies to

Create(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext)

Creates the container and specifies the level of access to the container's data.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual void Create (Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member Create : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
override this.Create : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Overridable Sub Create (accessType As BlobContainerPublicAccessType, Optional requestOptions As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)

Parameters

accessType
BlobContainerPublicAccessType

An BlobContainerPublicAccessType object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed.

requestOptions
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Attributes

Applies to