Condividi tramite


AzureBicepResource(String, String, String, String) Constructor

Definition

Represents an Azure Bicep resource.

public AzureBicepResource (string name, string? templateFile = default, string? templateString = default, string? templateResourceName = default);
new Aspire.Hosting.Azure.AzureBicepResource : string * string * string * string -> Aspire.Hosting.Azure.AzureBicepResource
Public Sub New (name As String, Optional templateFile As String = Nothing, Optional templateString As String = Nothing, Optional templateResourceName As String = Nothing)

Parameters

name
String

Name of the resource. This will be the name of the deployment.

templateFile
String

The path to the bicep file.

templateString
String

A bicep snippet.

templateResourceName
String

The name of an embedded resource that represents the bicep file.

Applies to