共用方式為


AzureBicepResourceExtensions.GetSecretOutput Method

Definition

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.

Applies to