Closed kairu-ms closed 3 years ago
@qiaozha, Please review this PR. Thanks.
there's dup logic in your expected output
if public_network_access is None:
public_network_access = "Disabled"
and
if public_network_access is not None:
instance.properties.public_network_access = "Disabled" if public_network_access is None else public_network_access
Also, I wonder why there's a ',' in the original wrong code.
closed https://github.com/Azure/autorest.az/issues/863 closed https://github.com/Azure/autorest.az/issues/861
The custom function for update is invalid in latest released autorest
The output has syntax issue.
The fixed output is