NetAppVolumeResource.GetNetAppBucketAsync(String, CancellationToken) 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.
Get the details of the specified volume's bucket. A bucket allows additional services, such as AI services, connect to the volume data contained in those buckets.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets/{bucketName}
- Operation Id: Buckets_Get
- Default Api Version: 2025-09-01-preview
- Resource: NetAppBucketResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppBucketResource>> GetNetAppBucketAsync(string bucketName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetAppBucketAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppBucketResource>>
override this.GetNetAppBucketAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppBucketResource>>
Public Overridable Function GetNetAppBucketAsync (bucketName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppBucketResource))
Parameters
- bucketName
- String
The name of the bucket.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
bucketName is null.
bucketName is an empty string, and was expected to be non-empty.