changlong-liu

Results 5 issues of changlong-liu

in appconfiguration, ConfigurationStore is defined as below picture: ![image](https://user-images.githubusercontent.com/59815250/119071007-987acc80-ba1b-11eb-9844-532e8188de4f.png) The "identity" is not a required parameter. The generated custom.py is like this: ![image](https://user-images.githubusercontent.com/59815250/119070950-7ed98500-ba1b-11eb-9d0c-90e6dc52e488.png) The parameter "identity" is assigned whatever the...

For test case: def test_cloud_service_update2(self): > self.cmd('az vm cloud-service-update-domain show-update-domain ' '--cloud-service-name "{{cs-name}}" ' '--resource-group "ConstosoRG" ' '--update-domain 1') Error: azure.core.exceptions.ResourceNotFoundError: (404) [{"code":"INVALID_TYPE","message":"Expected type integer but found type string","params":["integer","string"],"jsonPathsInPayload":[".path.updateDomain"],"schemaPath":"#/properties/path/properties/updateDomain/type","source":{"url":"specification/compute/resource-manager/Microsoft.Compute/preview/2020-10-01-preview/cloudService.json","position":{"line":1266,"column":11}},"documentationUrl":"","severity":0,"pathsInPayload":["/path/updateDomain"]}]

swagger: https://github.com/changlong-liu/azure-rest-api-specs/tree/20210210-marketplace/specification/marketplace/resource-manager for private store id defined in https://github.com/Azure/azure-rest-api-specs/blob/master/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2020-01-01/Marketplace.json#L588 the generated CLI parameter is : ![image](https://user-images.githubusercontent.com/59815250/110568099-7815d280-818d-11eb-82b0-fd114d0451fb.png) Looks it should be "--private-store-properties-private-store-id" instead of "--private-store-properties-private-store-id-private-store-id" ?

![image](https://user-images.githubusercontent.com/59815250/110427896-64159680-80e3-11eb-8262-d2c84178a9fa.png)

The "azext_network" in import path don't exist ![image](https://user-images.githubusercontent.com/59815250/106086112-74d60280-615c-11eb-8b46-3c0d8f32cf2b.png) generate command: autorest --version=3.0.6271 --az --use=. c:\zz\projects\codegen\azure-rest-api-specs\specification\network\resource-manager\readme.md --azure-cli-folder=..\azure-cli --target-mode=core --compatible-level=track2 --generate-sdk=yes az.md: ``` yaml $(az) az: extensions: network namespace: azure.mgmt.network package-name: azure-mgmt-network...