Resource<T>.AddOutput 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.
Overloads
AddOutput(String, Expression<Func<T,Object>>, BicepType, Boolean) |
Adds an output to the resource. |
AddOutput(String, String, Expression<Func<T,Object>>, BicepType, Boolean) |
Adds an output to the resource. |
AddOutput(String, Expression<Func<T,Object>>, BicepType, Boolean)
- Source:
- ResourceOfT.cs
Adds an output to the resource.
public Azure.Provisioning.Output AddOutput (string outputName, System.Linq.Expressions.Expression<Func<T,object?>> propertySelector, Azure.Provisioning.BicepType outputType = Azure.Provisioning.BicepType.String, bool isSecure = false);
override this.AddOutput : string * System.Linq.Expressions.Expression<Func<'T, obj>> * Azure.Provisioning.BicepType * bool -> Azure.Provisioning.Output
Public Function AddOutput (outputName As String, propertySelector As Expression(Of Func(Of T, Object)), Optional outputType As BicepType = Azure.Provisioning.BicepType.String, Optional isSecure As Boolean = false) As Output
Parameters
- outputName
- String
The name of the output.
- propertySelector
- Expression<Func<T,Object>>
A lambda expression to select the property to use as the source of the output.
- outputType
- BicepType
The type of the output.
- isSecure
- Boolean
Is the output secure.
Returns
The Output.
Applies to
AddOutput(String, String, Expression<Func<T,Object>>, BicepType, Boolean)
- Source:
- ResourceOfT.cs
Adds an output to the resource.
public Azure.Provisioning.Output AddOutput (string outputName, string formattedString, System.Linq.Expressions.Expression<Func<T,object?>> propertySelector, Azure.Provisioning.BicepType outputType = Azure.Provisioning.BicepType.String, bool isSecure = false);
override this.AddOutput : string * string * System.Linq.Expressions.Expression<Func<'T, obj>> * Azure.Provisioning.BicepType * bool -> Azure.Provisioning.Output
Public Function AddOutput (outputName As String, formattedString As String, propertySelector As Expression(Of Func(Of T, Object)), Optional outputType As BicepType = Azure.Provisioning.BicepType.String, Optional isSecure As Boolean = false) As Output
Parameters
- outputName
- String
The name of the output.
- formattedString
- String
A tokenized string containing the output.
- propertySelector
- Expression<Func<T,Object>>
A lambda expression to select the property to use as the source of the output.
- outputType
- BicepType
The kind of the output.
- isSecure
- Boolean
Is the output secure.
Returns
The Output.
Applies to
Azure SDK for .NET