你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ProvisionableConstruct.DefineProperty<T> 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.
protected Azure.Provisioning.BicepValue<T> DefineProperty<T> (string propertyName, string[]? bicepPath, bool isOutput = false, bool isRequired = false, bool isSecure = false, Azure.Provisioning.BicepValue<T>? defaultValue = default, string? format = default);
member this.DefineProperty : string * string[] * bool * bool * bool * Azure.Provisioning.BicepValue<'T> * string -> Azure.Provisioning.BicepValue<'T>
Protected Function DefineProperty(Of T) (propertyName As String, bicepPath As String(), Optional isOutput As Boolean = false, Optional isRequired As Boolean = false, Optional isSecure As Boolean = false, Optional defaultValue As BicepValue(Of T) = Nothing, Optional format As String = Nothing) As BicepValue(Of T)
Type Parameters
- T
Parameters
- propertyName
- String
- bicepPath
- String[]
- isOutput
- Boolean
- isRequired
- Boolean
- isSecure
- Boolean
- defaultValue
- BicepValue<T>
- format
- String