Skip to content

Commit

Permalink
Change readme.md to allow generation of latest python SDK (Azure#29345)
Browse files Browse the repository at this point in the history
* Fix 2023-04-01 policy package issue preventing pythin SDK generation

* python config

* Fix for additional breaking change.

* Update policyDefinitionVersions.json

* Update policySetDefinitionVersions.json

---------

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
Co-authored-by: Roopesh Manda <rmanda@microsoft.com>
  • Loading branch information
4 people authored Jun 12, 2024
1 parent 4ee6d9f commit de1f377
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -786,15 +786,17 @@
"required": true,
"type": "string",
"pattern": "^[^<>*%&:\\?.+/]*[^<>*%&:\\?.+/ ]+$",
"description": "The name of the policy definition."
"description": "The name of the policy definition.",
"x-ms-parameter-location": "method"
},
"PolicyDefinitionVersion": {
"name": "policyDefinitionVersion",
"in": "path",
"required": true,
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$",
"description": "The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number"
"description": "The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number",
"x-ms-parameter-location": "method"
},
"PolicyDefinitionsFilterParameter": {
"name": "$filter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -786,15 +786,17 @@
"required": true,
"type": "string",
"pattern": "^[^<>*%&:\\?.+/]*[^<>*%&:\\?.+/ ]+$",
"description": "The name of the policy set definition."
"description": "The name of the policy set definition.",
"x-ms-parameter-location": "method"
},
"PolicySetDefinitionVersion": {
"name": "policyDefinitionVersion",
"in": "path",
"required": true,
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$",
"description": "The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number"
"description": "The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number",
"x-ms-parameter-location": "method"
},
"PolicySetDefinitionsFilterParameter": {
"name": "$filter",
Expand Down
1 change: 1 addition & 0 deletions specification/resources/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ batch:
- multiapiscript-locks: true
- tag: package-managedapplications-2019-07
- multiapiscript-managedapplications: true
- tag: package-policy-2023-04-only
- tag: package-policy-2022-08-preview-only
- tag: package-policy-2022-07-preview-only
- tag: package-policy-2022-06-only
Expand Down

0 comments on commit de1f377

Please sign in to comment.