Closed hund030 closed 5 years ago
This issue was fixed in PR #35. We now support to specify an output sub-property in a nested input property.
When you have to mix them up:
output=true
for the sub-propertyEven though, we do not recommend to mix up the input and output properties by specifying output=true
for the sub-property of a nested object. Tries to:
output=true
property@hund030, could you please verify the fix and accordingly close this issue?
@houkms Since the status
property belongs to privateLinkServiceConnectionState
, after the fixed in PR #35 . The status
do not appear in create method directly, instead, the privateLinkServiceConnectionState
appears.
result := network.PrivateLinkServiceConnection{
Name: utils.String(name),
PrivateLinkServiceConnectionProperties: &network.PrivateLinkServiceConnectionProperties{
GroupIds: utils.ExpandStringSlice(groupIds),
PrivateLinkServiceConnectionState: &network.PrivateLinkServiceConnectionState{},
PrivateLinkServiceID: utils.String(privateLinkServiceID),
RequestMessage: utils.String(requestMessage),
},
}
Need further work.
@hund030 Fixed in PR #38, please try it again.
solved
in api.yml, setting
output: true
forstatus
property which is computed property, but it still appears in 'expand' method and causes creating error.