AzureResourceExtensions.GetBicepIdentifier(IAzureResource) 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.
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.