ProvisionableResource.DefineResource<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.Primitives.ResourceReference<T> DefineResource<T> (string propertyName, string[]? bicepPath, bool isOutput = false, bool isRequired = false, T? defaultValue = default) where T : Azure.Provisioning.Primitives.ProvisionableResource;
member this.DefineResource : string * string[] * bool * bool * 'T -> Azure.Provisioning.Primitives.ResourceReference<'T (requires 'T :> Azure.Provisioning.Primitives.ProvisionableResource)> (requires 'T :> Azure.Provisioning.Primitives.ProvisionableResource)
Protected Function DefineResource(Of T As ProvisionableResource) (propertyName As String, bicepPath As String(), Optional isOutput As Boolean = false, Optional isRequired As Boolean = false, Optional defaultValue As T = Nothing) As ResourceReference(Of T)
Type Parameters
- T
Parameters
- propertyName
- String
- bicepPath
- String[]
- isOutput
- Boolean
- isRequired
- Boolean
- defaultValue
- T
Returns
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET