Skip to content

Commit

Permalink
OperationalInsights - update readme files for cli extension update (#…
Browse files Browse the repository at this point in the history
…13999)

* added3 new properties to TableProperties:
IsTroubleshootingAllowed, IsTroubleshootingEnabled, IsTroubleshootingEnabledLastActivation.

* added Tables new api version

* changed bool to boolean types

* prettified jsons

* fix erroes in swagger

* undo changes to 2020-03-01-preview version

* pr fixes

* updated TableUpdate example

* changed lastTroubleshootDate from date format to string, removed isTroubleshootingAllowed from body of example

* changed v1 to v2

* changed WorkspaceNameParameter back to V1

* changed ErrorResponse to default ErrorResponse without ref to local definition

* added systemData

* removed systemData

* added systemData to Patch and Get

* moved systemData to Table properties

* deleted systemData from Table.json, added to Get and Put examles

* changed location of systemData in Tables.json

* moved systemData to inside Table definition

* moved systemData inside Table properties

* removed SystemData

* creatted a new package containing all latest swagger files for publishing new SDK

* removed package 2021_02 and set default packate to 2020_10

* removed 2 packages

* removed DataCollectorLogs.json from readme.md 20202.10

* added empty line to try invoke pipeline validations that havent run

* Delete Tables.json

* added3 new properties to TableProperties:
IsTroubleshootingAllowed, IsTroubleshootingEnabled, IsTroubleshootingEnabledLastActivation.

* merge

* prettified jsons

* undo changes to 2020-03-01-preview version

* updated TableUpdate example

* changed lastTroubleshootDate from date format to string, removed isTroubleshootingAllowed from body of example

* changed v1 to v2

* changed WorkspaceNameParameter back to V1

* added systemData

* removed systemData

* added systemData to Patch and Get

* moved systemData to Table properties

* deleted systemData from Table.json, added to Get and Put examles

* changed location of systemData in Tables.json

* moved systemData to inside Table definition

* moved systemData inside Table properties

* removed whitespaces

* changed DataExportErrorResponse to common
.../v2/types.json#/definitions/ErrorResponse

* changed all Error response of 2020-08 to common definition

* added readme.az.md file for cli extension code generator

* added readme.ad.md with the same naming convention as in readme.python.md
added readme.cli.md file
updatted readme.md file with the new azure-cli-extensions tag
all updates were done by following: https://github.com/Azure/autorest.az/blob/9ed1aabd353385f8bdffbfa9f3892478111a029c/doc/how-to-author-readme-file.md

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <[email protected]>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <[email protected]>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <[email protected]>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <[email protected]>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <[email protected]>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <[email protected]>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <[email protected]>

* Update specification/operationalinsights/resource-manager/readme.az.md

Co-authored-by: Qiaoqiao Zhang <[email protected]>

* added azure-powershell to readme.md

Co-authored-by: Qiaoqiao Zhang <[email protected]>
  • Loading branch information
dabenhamMic and qiaozha authored Apr 19, 2021
1 parent 9622c4f commit 4f44193
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
26 changes: 26 additions & 0 deletions specification/operationalinsights/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## AZ

These settings apply only when `--az` is specified on the command line.

For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage.

``` yaml $(az) && $(target-mode) != 'core'
az:
extensions: loganalytics
namespace: azure.mgmt.loganalytics
package-name: azure-mgmt-loganalytics
az-output-folder: $(azure-cli-extension-folder)/src/loganalytics
python-sdk-output-folder: "$(az-output-folder)/azext_loganalytics/vendored_sdks/loganalytics"
# add additional configuration here specific for Azure CLI
# refer to the faq.md for more details
```
``` yaml $(az) && $(target-mode) == 'core'
az:
extensions: loganalytics
namespace: azure.mgmt.loganalytics
package-name: azure-mgmt-loganalytics
az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/loganalytics
python-sdk-output-folder: "$(az-output-folder)/azext_loganalytics/vendored_sdks/loganalytics"
# add additinal configuration here specific for Azure CLI
# refer to the faq.md for more details
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
``` yaml
# add any configuration here for all CLI languages
# refer to the faq.md for more details
```
2 changes: 2 additions & 0 deletions specification/operationalinsights/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ swagger-to-sdk:
- repo: azure-sdk-for-ruby
- repo: azure-sdk-for-java
- repo: azure-resource-manager-schemas
- repo: azure-cli-extensions
- repo: azure-powershell
after_scripts:
- node sdkauto_afterscript.js operationalinsights/resource-manager
```
Expand Down

0 comments on commit 4f44193

Please sign in to comment.