AzureBicepResourceExtensions.GetSecretOutput 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 a reference to a secret output from a bicep template. This is an output that is written to a keyvault using the "keyVaultName" convention.
public static Aspire.Hosting.Azure.BicepSecretOutputReference GetSecretOutput (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureBicepResource> builder, string name);
static member GetSecretOutput : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureBicepResource> * string -> Aspire.Hosting.Azure.BicepSecretOutputReference
<Extension()>
Public Function GetSecretOutput (builder As IResourceBuilder(Of AzureBicepResource), name As String) As BicepSecretOutputReference
Parameters
- builder
- IResourceBuilder<AzureBicepResource>
The resource builder.
- name
- String
The name of the secret output.
Returns
A BicepSecretOutputReference that represents the output.