StorageBlobManagement.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, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
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
override this.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, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext)
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
Implements
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, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
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
override this.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, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext)
Parameters
- container
- CloudBlobContainer
- permissions
- BlobContainerPermissions
- accessCondition
- AccessCondition
- options
- BlobRequestOptions
- operationContext
- OperationContext