IStorageBlobManagement.SetContainerPermissions 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
SetContainerPermissions(CloudBlobContainer, BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext)
Set container permissions
public void SetContainerPermissions (Microsoft.Azure.Storage.Blob.CloudBlobContainer container, Microsoft.Azure.Storage.Blob.BlobContainerPermissions permissions, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
abstract member SetContainerPermissions : Microsoft.Azure.Storage.Blob.CloudBlobContainer * Microsoft.Azure.Storage.Blob.BlobContainerPermissions * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Sub SetContainerPermissions (container As CloudBlobContainer, permissions As BlobContainerPermissions, Optional accessCondition As AccessCondition = Nothing, Optional options As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)
Parameters
- container
- CloudBlobContainer
A cloudblobcontainer object
- permissions
- BlobContainerPermissions
The container's permission
- accessCondition
- AccessCondition
Access condition
- options
- BlobRequestOptions
Blob request options
- operationContext
- OperationContext
Operation context
Applies to
SetContainerPermissions(CloudBlobContainer, BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext)
public void SetContainerPermissions (Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions permissions, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition = default, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options = default, Microsoft.WindowsAzure.Storage.OperationContext operationContext = default);
abstract member SetContainerPermissions : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> unit
Public Sub SetContainerPermissions (container As CloudBlobContainer, permissions As BlobContainerPermissions, Optional accessCondition As AccessCondition = Nothing, Optional options As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)
Parameters
- container
- CloudBlobContainer
- permissions
- BlobContainerPermissions
- accessCondition
- AccessCondition
- options
- BlobRequestOptions
- operationContext
- OperationContext