Skip to content

[Provisioning] Support ProvisionableResource as property of other constructs #52277

@ArcturusZhang

Description

@ArcturusZhang

Currently we cannot define a property of type of a ProvisionableResource, because ProvisionableResource does not have a parameterless ctor (new())
In the new RP network, we have a lot of such cases.

Also the Compile method of ProvisionableResource is implemented as always returns a ResourceStatement which makes it impossible to be a property of other constructs.

Metadata

Metadata

Labels

ClientThis issue is related to a non-management packageProvisioningneeds-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions