Share via


MockableResourcesSubscriptionResource.BicepDecompileAsync Method

Definition

Decompiles an ARM json template into a Bicep template

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Resources/decompileBicep
  • Operation Id: Decompile_Bicep
  • Default Api Version: 2023-11-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.DecompileOperationSuccessResult>> BicepDecompileAsync (Azure.ResourceManager.Resources.Models.DecompileOperationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member BicepDecompileAsync : Azure.ResourceManager.Resources.Models.DecompileOperationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.DecompileOperationSuccessResult>>
override this.BicepDecompileAsync : Azure.ResourceManager.Resources.Models.DecompileOperationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.DecompileOperationSuccessResult>>
Public Overridable Function BicepDecompileAsync (content As DecompileOperationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DecompileOperationSuccessResult))

Parameters

content
DecompileOperationContent

Decompile operation request supplied to the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to