StorageActionsExtensions.PreviewActions 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.
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 static Azure.Response<Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewAction> PreviewActions (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewAction storageTaskPreviewAction, System.Threading.CancellationToken cancellationToken = default);
static member PreviewActions : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewAction * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewAction>
<Extension()>
Public Function PreviewActions (subscriptionResource As SubscriptionResource, location As AzureLocation, storageTaskPreviewAction As StorageTaskPreviewAction, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StorageTaskPreviewAction)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- 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
subscriptionResource
or storageTaskPreviewAction
is null.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET