Partager via


IStorageBlobManagement.SetContainerPermissionsAsync Method

Definition

Overloads

SetContainerPermissionsAsync(CloudBlobContainer, BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously set the container permission

SetContainerPermissionsAsync(CloudBlobContainer, BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

SetContainerPermissionsAsync(CloudBlobContainer, BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously set the container permission

public System.Threading.Tasks.Task SetContainerPermissionsAsync (Microsoft.Azure.Storage.Blob.CloudBlobContainer container, Microsoft.Azure.Storage.Blob.BlobContainerPermissions permissions, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cmdletCancellationToken);
abstract member SetContainerPermissionsAsync : Microsoft.Azure.Storage.Blob.CloudBlobContainer * Microsoft.Azure.Storage.Blob.BlobContainerPermissions * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetContainerPermissionsAsync (container As CloudBlobContainer, permissions As BlobContainerPermissions, accessCondition As AccessCondition, requestOptions As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task

Parameters

container
CloudBlobContainer

CloudBlobContainer object

permissions
BlobContainerPermissions

Container permission

accessCondition
AccessCondition

Access condition

requestOptions
BlobRequestOptions

Blob request options

operationContext
OperationContext

Operation context

cmdletCancellationToken
CancellationToken

cancellation token

Returns

Return a task that asynchronously set the container permission

Applies to

SetContainerPermissionsAsync(CloudBlobContainer, BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task SetContainerPermissionsAsync (Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions permissions, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cmdletCancellationToken);
abstract member SetContainerPermissionsAsync : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetContainerPermissionsAsync (container As CloudBlobContainer, permissions As BlobContainerPermissions, accessCondition As AccessCondition, requestOptions As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task

Parameters

container
CloudBlobContainer
accessCondition
AccessCondition
requestOptions
BlobRequestOptions
operationContext
OperationContext
cmdletCancellationToken
CancellationToken

Returns

Applies to