Udostępnij za pośrednictwem


MockableResourcesSubscriptionResource.BicepDecompile 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 Azure.Response<Azure.ResourceManager.Resources.Models.DecompileOperationSuccessResult> BicepDecompile (Azure.ResourceManager.Resources.Models.DecompileOperationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member BicepDecompile : Azure.ResourceManager.Resources.Models.DecompileOperationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.Models.DecompileOperationSuccessResult>
override this.BicepDecompile : Azure.ResourceManager.Resources.Models.DecompileOperationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.Models.DecompileOperationSuccessResult>
Public Overridable Function BicepDecompile (content As DecompileOperationContent, Optional cancellationToken As CancellationToken = Nothing) As 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