CloudBlobContainer.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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(BlobContainerPublicAccessType, BlobContainerEncryptionScopeOptions, 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
Create(BlobContainerPublicAccessType, BlobContainerEncryptionScopeOptions, 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.BlobContainerEncryptionScopeOptions encryptionScopeOptions, 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.BlobContainerEncryptionScopeOptions * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
override this.Create : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Overridable Sub Create (accessType As BlobContainerPublicAccessType, encryptionScopeOptions As BlobContainerEncryptionScopeOptions, 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.
- encryptionScopeOptions
- BlobContainerEncryptionScopeOptions
An BlobContainerEncryptionScopeOptions object that specifies encryption scope options to set for this container.
- 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