Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding xms ids for Blockchain #17714

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```