MockableStorageActionsSubscriptionResource.PreviewActionsAsync Method

Definition

Runs the input conditions against input object metadata properties and designates matched objects in response.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageActions/locations/{location}/previewActions
  • Operation Id: StorageTasks_PreviewActions
  • Default Api Version: 2023-01-01
  • Resource: StorageTaskResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewAction>> PreviewActionsAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewAction storageTaskPreviewAction, System.Threading.CancellationToken cancellationToken = default);
abstract member PreviewActionsAsync : Azure.Core.AzureLocation * Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewAction * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewAction>>
override this.PreviewActionsAsync : Azure.Core.AzureLocation * Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewAction * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewAction>>
Public Overridable Function PreviewActionsAsync (location As AzureLocation, storageTaskPreviewAction As StorageTaskPreviewAction, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageTaskPreviewAction))

Parameters

location
AzureLocation

The location to perform preview of the actions.

storageTaskPreviewAction
StorageTaskPreviewAction

The parameters to preview action condition.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

storageTaskPreviewAction is null.

Applies to