Skip to content

Commit

Permalink
Adding xms ids for Blockchain (Azure#17714)
Browse files Browse the repository at this point in the history
* Adding xms-ids for Blockchain

* Update readme.md

* Update readme.python.md

Co-authored-by: Yuchao Yan <[email protected]>
  • Loading branch information
2 people authored and FredericHeem committed Mar 7, 2022
1 parent b36ac54 commit d418f9c
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/FirewallRule"
}
},
"x-ms-identifiers": [
"ruleName"
]
}
}
},
Expand Down Expand Up @@ -1166,7 +1169,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/ConsortiumMember"
}
},
"x-ms-identifiers": [
"name"
]
},
"nextLink": {
"description": "Gets or sets the URL, that the client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.",
Expand Down Expand Up @@ -1220,7 +1226,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/ApiKey"
}
},
"x-ms-identifiers": [
"keyName"
]
}
}
},
Expand Down Expand Up @@ -1309,7 +1318,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/Consortium"
}
},
"x-ms-identifiers": [
"name"
]
}
}
},
Expand Down Expand Up @@ -1347,7 +1359,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/ResourceProviderOperation"
}
},
"x-ms-identifiers": [
"name"
]
},
"nextLink": {
"description": "Gets or sets the URL, that the client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.",
Expand Down Expand Up @@ -1409,7 +1424,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/ResourceTypeSku"
}
},
"x-ms-identifiers": [
"resourceType"
]
}
}
},
Expand All @@ -1427,7 +1445,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/SkuSetting"
}
},
"x-ms-identifiers": [
"name"
]
}
}
},
Expand Down Expand Up @@ -1526,7 +1547,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/FirewallRule"
}
},
"x-ms-identifiers": [
"ruleName"
]
}
}
},
Expand Down Expand Up @@ -1555,7 +1579,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/FirewallRule"
}
},
"x-ms-identifiers": [
"ruleName"
]
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion specification/blockchain/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-powershell
- repo: azure-sdk-for-python
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-net
Expand Down
34 changes: 15 additions & 19 deletions specification/blockchain/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,22 @@

These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python)
# python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.blockchain
package-name: azure-mgmt-blockchain
package-version: 2.0.0
clear-output-folder: true
``` yaml $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-blockchain
no-namespace-folders: true
package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/blockchain/azure-mgmt-blockchain/azure/mgmt/blockchain
``` yaml $(python-mode) == 'update' && $(track2)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/blockchain/azure-mgmt-blockchain/azure/mgmt/blockchain
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/blockchain/azure-mgmt-blockchain
``` yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/blockchain/azure-mgmt-blockchain
```

0 comments on commit d418f9c

Please sign in to comment.