AzureBicepResource(String, String, String, String) Constructor
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.
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.