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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET