AzureResourceExtensions.GetBicepIdentifier(IAzureResource) Method

Definition

Gets the Bicep identifier for the Azure resource.

public static string GetBicepIdentifier (this Aspire.Hosting.ApplicationModel.IAzureResource resource);
static member GetBicepIdentifier : Aspire.Hosting.ApplicationModel.IAzureResource -> string
<Extension()>
Public Function GetBicepIdentifier (resource As IAzureResource) As String

Parameters

resource
IAzureResource

The Azure resource.

Returns

A valid Bicep identifier.

Applies to