Skip to content

Commit

Permalink
mgmt, upgrade codegen (#25722)
Browse files Browse the repository at this point in the history
* codegen, use 4.0.41

* remove payload-flatten as it does not have effect
  • Loading branch information
weidongxu-microsoft authored Nov 29, 2021
1 parent da9ab4f commit 33a0a14
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions eng/mgmt/automation/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
MAVEN_URL = 'https://repo1.maven.org/maven2/{group_id}/{artifact_id}/{version}/{artifact_id}-{version}.jar'

SDK_ROOT = '../../../' # related to file dir
AUTOREST_CORE_VERSION = '3.6.0'
AUTOREST_JAVA = '@autorest/java@4.0.40'
AUTOREST_CORE_VERSION = '3.6.6'
AUTOREST_JAVA = '@autorest/java@4.0.41'
DEFAULT_VERSION = '1.0.0-beta.1'
GROUP_ID = 'com.azure.resourcemanager'
API_SPECS_FILE = 'api-specs.yaml'
Expand Down
30 changes: 15 additions & 15 deletions sdk/resourcemanager/api-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-appservice",
"source": "specification/web/resource-manager/readme.md",
"package": "com.azure.resourcemanager.appservice",
"args": "--payload-flattening-threshold=1 --tag=profile-hybrid-2020-09-01 --add-inner=AppServiceCertificate --name-for-ungrouped-operations=ResourceProvider",
"args": "--tag=profile-hybrid-2020-09-01 --add-inner=AppServiceCertificate --name-for-ungrouped-operations=ResourceProvider",
"note": "Add status code '200' to 'syncFunctionTriggers'"
},
"authorization": {
Expand All @@ -41,7 +41,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-authorization",
"source": "specification/authorization/resource-manager/readme.md",
"package": "com.azure.resourcemanager.authorization",
"args": "--tag=profile-hybrid-2020-09-01 --payload-flattening-threshold=1"
"args": "--tag=profile-hybrid-2020-09-01"
},
"automation": {
"dir": "azure-resourcemanager-automation",
Expand Down Expand Up @@ -96,7 +96,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-compute",
"source": "specification/compute/resource-manager/readme.md",
"package": "com.azure.resourcemanager.compute",
"args": "--payload-flattening-threshold=1 --tag=profile-hybrid-2020-09-01 --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes"
"args": "--tag=profile-hybrid-2020-09-01 --rename-model=UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities --preserve-model=AvailabilitySetSkuTypes"
},
"consumption": {
"dir": "azure-resourcemanager-consumption",
Expand All @@ -120,7 +120,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-containerregistry",
"source": "specification/containerregistry/resource-manager/readme.md",
"package": "com.azure.resourcemanager.containerregistry",
"args": "--payload-flattening-threshold=1 --tag=package-2019-05"
"args": "--tag=package-2019-05"
},
"containerservice": {
"dir": "azure-resourcemanager-containerservice",
Expand All @@ -132,7 +132,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-containerservice",
"source": "specification/containerservice/resource-manager/readme.md",
"package": "com.azure.resourcemanager.containerservice",
"args": "--payload-flattening-threshold=1 --tag=profile-hybrid-2020-09-01 --preserve-model=ContainerServiceVMSizeTypes"
"args": "--tag=profile-hybrid-2020-09-01 --preserve-model=ContainerServiceVMSizeTypes"
},
"cosmos": {
"dir": "azure-resourcemanager-cosmos",
Expand Down Expand Up @@ -190,7 +190,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-dns",
"source": "specification/dns/resource-manager/readme.md",
"package": "com.azure.resourcemanager.dns",
"args": "--payload-flattening-threshold=1 --tag=package-2016-04"
"args": "--tag=package-2016-04"
},
"eventhubs": {
"dir": "azure-resourcemanager-eventhubs",
Expand All @@ -202,7 +202,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-eventhubs",
"source": "specification/eventhub/resource-manager/readme.md",
"package": "com.azure.resourcemanager.eventhubs",
"args": "--payload-flattening-threshold=1 --tag=profile-hybrid-2020-09-01"
"args": "--tag=profile-hybrid-2020-09-01"
},
"features": {
"dir": "azure-resourcemanager-resources",
Expand All @@ -227,7 +227,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-authorization",
"source": "specification/graphrbac/data-plane/readme.md",
"package": "com.azure.resourcemanager.authorization",
"args": "--payload-flattening-threshold=1 --tag=1.6"
"args": "--tag=1.6"
},
"iothub": {
"dir": "azure-resourcemanager-devices",
Expand All @@ -245,7 +245,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-keyvault",
"source": "specification/keyvault/resource-manager/readme.md",
"package": "com.azure.resourcemanager.keyvault",
"args": "--payload-flattening-threshold=1 --tag=package-2019-09"
"args": "--tag=package-2019-09"
},
"locks": {
"dir": "azure-resourcemanager-resources",
Expand All @@ -257,7 +257,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-resources",
"source": "specification/resources/resource-manager/readme.md",
"package": "com.azure.resourcemanager.resources",
"args": "--payload-flattening-threshold=1 --tag=package-locks-2016-09"
"args": "--tag=package-locks-2016-09"
},
"logic": {
"dir": "azure-resourcemanager-logic",
Expand All @@ -281,7 +281,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-monitor",
"source": "specification/monitor/resource-manager/readme.md",
"package": "com.azure.resourcemanager.monitor",
"args": "--payload-flattening-threshold=1 --tag=package-2021-04 --add-inner=AutoscaleProfile,ScaleRule,LocalizableString --rename-model=MetricUnit:Unit"
"args": "--tag=package-2021-04 --add-inner=AutoscaleProfile,ScaleRule,LocalizableString --rename-model=MetricUnit:Unit"
},
"network": {
"dir": "azure-resourcemanager-network",
Expand All @@ -293,7 +293,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-network",
"source": "specification/network/resource-manager/readme.md",
"package": "com.azure.resourcemanager.network",
"args": "--payload-flattening-threshold=1 --tag=profile-hybrid-2020-09-01 --add-inner=ApplicationGatewayIpConfiguration,ApplicationGatewayPathRule,ApplicationGatewayProbe,ApplicationGatewayRedirectConfiguration,ApplicationGatewayRequestRoutingRule,ApplicationGatewaySslCertificate,ApplicationGatewayUrlPathMap,ApplicationGatewayAuthenticationCertificate,VirtualNetworkGatewayIpConfiguration,ConnectionMonitor,PacketCapture --remove-inner=Ipv6ExpressRouteCircuitPeeringConfig"
"args": "--tag=profile-hybrid-2020-09-01 --add-inner=ApplicationGatewayIpConfiguration,ApplicationGatewayPathRule,ApplicationGatewayProbe,ApplicationGatewayRedirectConfiguration,ApplicationGatewayRequestRoutingRule,ApplicationGatewaySslCertificate,ApplicationGatewayUrlPathMap,ApplicationGatewayAuthenticationCertificate,VirtualNetworkGatewayIpConfiguration,ConnectionMonitor,PacketCapture --remove-inner=Ipv6ExpressRouteCircuitPeeringConfig"
},
"notificationhubs": {
"dir": "azure-resourcemanager-notificationhubs",
Expand All @@ -311,7 +311,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-resources",
"source": "specification/resources/resource-manager/readme.md",
"package": "com.azure.resourcemanager.resources",
"args": "--payload-flattening-threshold=1 --tag=package-policy-2016-12"
"args": "--tag=package-policy-2016-12"
},
"powerbi": {
"dir": "azure-resourcemanager-powerbi",
Expand Down Expand Up @@ -365,7 +365,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-resources",
"source": "specification/resources/resource-manager/readme.md",
"package": "com.azure.resourcemanager.resources",
"args": "--tag=package-resources-2019-10 --payload-flattening-threshold=1 --add-inner=Deployment"
"args": "--tag=package-resources-2019-10 --add-inner=Deployment"
},
"scheduler": {
"dir": "azure-resourcemanager-scheduler",
Expand Down Expand Up @@ -414,7 +414,7 @@
"dir": "../resourcemanagerhybrid/azure-resourcemanager-storage",
"source": "specification/storage/resource-manager/readme.md",
"package": "com.azure.resourcemanager.storage",
"args": "--payload-flattening-threshold=2 --tag=profile-hybrid-2020-09-01"
"args": "--tag=profile-hybrid-2020-09-01"
},
"storsimple8000series": {
"dir": "azure-resourcemanager-storsimple8000series",
Expand Down

0 comments on commit 33a0a14

Please sign in to comment.