Share via


AzureBicepResourceExtensions Class

Definition

Extension methods for adding Azure Bicep resources to the application model.

public static class AzureBicepResourceExtensions
type AzureBicepResourceExtensions = class
Public Module AzureBicepResourceExtensions
Inheritance
AzureBicepResourceExtensions

Methods

AddBicepTemplate(IDistributedApplicationBuilder, String, String)

Adds an Azure Bicep resource to the application model.

AddBicepTemplateString(IDistributedApplicationBuilder, String, String)

Adds an Azure Bicep resource to the application model.

GetOutput(IResourceBuilder<AzureBicepResource>, String)

Gets a reference to a output from a bicep template.

GetSecretOutput(IResourceBuilder<AzureBicepResource>, String)

Gets a reference to a secret output from a bicep template. This is an output that is written to a keyvault using the "keyVaultName" convention.

WithEnvironment<T>(IResourceBuilder<T>, String, BicepOutputReference)

Adds an environment variable to the resource with the value of the output from the bicep template.

WithEnvironment<T>(IResourceBuilder<T>, String, BicepSecretOutputReference)

Adds an environment variable to the resource with the value of the secret output from the bicep template.

WithParameter<T>(IResourceBuilder<T>, String)

Adds a parameter to the bicep template.

WithParameter<T>(IResourceBuilder<T>, String, BicepOutputReference)

Adds a parameter to the bicep template.

WithParameter<T>(IResourceBuilder<T>, String, Func<Object>)

Adds a parameter to the bicep template.

WithParameter<T>(IResourceBuilder<T>, String, IEnumerable<String>)

Adds a parameter to the bicep template.

WithParameter<T>(IResourceBuilder<T>, String, IResourceBuilder<IResourceWithConnectionString>)

Adds a parameter to the bicep template.

WithParameter<T>(IResourceBuilder<T>, String, IResourceBuilder<ParameterResource>)

Adds a parameter to the bicep template.

WithParameter<T>(IResourceBuilder<T>, String, JsonNode)

Adds a parameter to the bicep template.

WithParameter<T>(IResourceBuilder<T>, String, ParameterResource)

Adds a parameter to the bicep template.

WithParameter<T>(IResourceBuilder<T>, String, String)

Adds a parameter to the bicep template.

Applies to