CloudBlobContainer.SetPermissionsAsync CloudBlobContainer.SetPermissionsAsync CloudBlobContainer.SetPermissionsAsync Method

Definition

Overloads

SetPermissionsAsync(BlobContainerPermissions, CancellationToken) SetPermissionsAsync(BlobContainerPermissions, CancellationToken)

Initiates an asynchronous operation that sets permissions for the container.

SetPermissionsAsync(BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext) SetPermissionsAsync(BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation that sets permissions for the container.

SetPermissionsAsync(BlobContainerPermissions) SetPermissionsAsync(BlobContainerPermissions) SetPermissionsAsync(BlobContainerPermissions)

Initiates an asynchronous operation that sets permissions for the container.

SetPermissionsAsync(BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) SetPermissionsAsync(BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation that sets permissions for the container.

SetPermissionsAsync(BlobContainerPermissions, CancellationToken) SetPermissionsAsync(BlobContainerPermissions, CancellationToken)

Initiates an asynchronous operation that sets permissions for the container.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions permissions, System.Threading.CancellationToken cancellationToken);
abstract member SetPermissionsAsync : Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetPermissionsAsync : Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
permissions
BlobContainerPermissions BlobContainerPermissions BlobContainerPermissions

The permissions to apply to the container.

cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

SetPermissionsAsync(BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext) SetPermissionsAsync(BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation that sets permissions for the container.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions permissions, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member SetPermissionsAsync : Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.SetPermissionsAsync : Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
Parameters
permissions
BlobContainerPermissions BlobContainerPermissions BlobContainerPermissions

The permissions to apply to the container.

accessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

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

Returns

A Task object that represents the asynchronous operation.

SetPermissionsAsync(BlobContainerPermissions) SetPermissionsAsync(BlobContainerPermissions) SetPermissionsAsync(BlobContainerPermissions)

Initiates an asynchronous operation that sets permissions for the container.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions permissions);
abstract member SetPermissionsAsync : Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions -> System.Threading.Tasks.Task
override this.SetPermissionsAsync : Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions -> System.Threading.Tasks.Task
Public Overridable Function SetPermissionsAsync (permissions As BlobContainerPermissions) As Task
Parameters
permissions
BlobContainerPermissions BlobContainerPermissions BlobContainerPermissions

The permissions to apply to the container.

Returns

A Task object that represents the asynchronous operation.

SetPermissionsAsync(BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) SetPermissionsAsync(BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation that sets permissions for the container.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissions permissions, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member SetPermissionsAsync : 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
override this.SetPermissionsAsync : 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
Parameters
permissions
BlobContainerPermissions BlobContainerPermissions BlobContainerPermissions

The permissions to apply to the container.

accessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

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

cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Applies to