From 0e1e98503dffe30cff0c7ab25fa0e0dacc4086ad Mon Sep 17 00:00:00 2001 From: Vlad Barosan Date: Tue, 9 Oct 2018 09:29:44 -0700 Subject: [PATCH] Extract go sdk configuration (#4089) --- .../advisor/resource-manager/readme.go.md | 46 +++ .../advisor/resource-manager/readme.md | 52 +--- .../resource-manager/readme.go.md | 25 ++ .../resource-manager/readme.md | 33 +-- .../resource-manager/readme.go.md | 56 ++++ .../resource-manager/readme.md | 161 ++++------- .../resource-manager/readme.go.md | 66 +++++ .../apimanagement/resource-manager/readme.md | 66 +---- .../data-plane/readme.go.md | 39 +++ .../applicationinsights/data-plane/readme.md | 48 +--- .../resource-manager/readme.go.md | 47 ++++ .../resource-manager/readme.md | 52 +--- .../resource-manager/readme.go.md | 56 ++++ .../authorization/resource-manager/readme.md | 55 +--- .../automation/resource-manager/readme.go.md | 56 ++++ .../automation/resource-manager/readme.md | 55 +--- .../azurestack/resource-manager/readme.go.md | 40 +++ .../azurestack/resource-manager/readme.md | 39 +-- specification/batch/data-plane/readme.go.md | 100 +++++++ specification/batch/data-plane/readme.md | 106 +------ .../batch/resource-manager/readme.go.md | 57 ++++ .../batch/resource-manager/readme.md | 62 +---- .../batchai/resource-manager/readme.go.md | 46 +++ .../batchai/resource-manager/readme.md | 45 +-- .../billing/resource-manager/readme.go.md | 46 +++ .../billing/resource-manager/readme.md | 52 +--- .../blueprint/resource-manager/readme.md | 4 + .../botservice/resource-manager/readme.md | 12 +- .../data-plane/AutoSuggest/readme.go.md | 26 ++ .../data-plane/AutoSuggest/readme.md | 26 +- .../data-plane/ComputerVision/readme.go.md | 26 ++ .../data-plane/ComputerVision/readme.md | 26 +- .../data-plane/ContentModerator/readme.go.md | 26 ++ .../data-plane/ContentModerator/readme.md | 26 +- .../data-plane/CustomImageSearch/readme.go.md | 26 ++ .../data-plane/CustomImageSearch/readme.md | 30 +- .../CustomVision/Prediction/readme.go.md | 26 ++ .../CustomVision/Prediction/readme.md | 30 +- .../CustomVision/Training/readme.go.md | 36 +++ .../CustomVision/Training/readme.md | 39 +-- .../data-plane/CustomWebSearch/readme.go.md | 26 ++ .../data-plane/CustomWebSearch/readme.md | 30 +- .../data-plane/EntitySearch/readme.go.md | 26 ++ .../data-plane/EntitySearch/readme.md | 26 +- .../data-plane/Face/readme.go.md | 26 ++ .../data-plane/Face/readme.md | 26 +- .../data-plane/ImageSearch/readme.go.md | 26 ++ .../data-plane/ImageSearch/readme.md | 30 +- .../data-plane/LUIS/Authoring/readme.go.md | 26 ++ .../data-plane/LUIS/Authoring/readme.md | 26 +- .../data-plane/LUIS/Runtime/readme.go.md | 26 ++ .../data-plane/LUIS/Runtime/readme.md | 26 +- .../data-plane/NewsSearch/readme.go.md | 26 ++ .../data-plane/NewsSearch/readme.md | 26 +- .../data-plane/SpellCheck/readme.go.md | 26 ++ .../data-plane/SpellCheck/readme.md | 26 +- .../data-plane/TextAnalytics/readme.go.md | 36 +++ .../data-plane/TextAnalytics/readme.md | 35 +-- .../data-plane/VideoSearch/readme.go.md | 26 ++ .../data-plane/VideoSearch/readme.md | 26 +- .../data-plane/VisualSearch/readme.go.md | 26 ++ .../data-plane/VisualSearch/readme.md | 29 +- .../data-plane/WebSearch/readme.go.md | 26 ++ .../data-plane/WebSearch/readme.md | 26 +- .../resource-manager/readme.go.md | 36 +++ .../resource-manager/readme.md | 37 +-- .../commerce/resource-manager/readme.go.md | 26 ++ .../commerce/resource-manager/readme.md | 27 +- .../compute/resource-manager/readme.md | 3 + .../consumption/resource-manager/readme.go.md | 89 ++++++ .../consumption/resource-manager/readme.md | 90 +----- .../resource-manager/readme.md | 4 + .../resource-manager/readme.go.md | 76 +++++ .../resource-manager/readme.md | 79 +----- .../resource-manager/readme.go.md | 59 ++++ .../resource-manager/readme.md | 64 +---- .../cosmos-db/resource-manager/readme.go.md | 26 ++ .../cosmos-db/resource-manager/readme.md | 26 +- .../resource-manager/readme.md | 4 + .../resource-manager/readme.go.md | 36 +++ .../resource-manager/readme.md | 103 +++---- .../databox/resource-manager/readme.go.md | 26 ++ .../databox/resource-manager/readme.md | 39 +-- .../databricks/resource-manager/readme.go.md | 26 ++ .../databricks/resource-manager/readme.md | 75 ++--- .../datacatalog/resource-manager/readme.go.md | 26 ++ .../datacatalog/resource-manager/readme.md | 32 +-- .../datafactory/resource-manager/readme.go.md | 36 +++ .../datafactory/resource-manager/readme.md | 36 +-- .../data-plane/readme.go.md | 81 ++++++ .../datalake-analytics/data-plane/readme.md | 82 +----- .../resource-manager/readme.go.md | 36 +++ .../resource-manager/readme.md | 37 +-- .../datalake-store/data-plane/readme.go.md | 36 +++ .../datalake-store/data-plane/readme.md | 37 +-- .../resource-manager/readme.go.md | 37 +++ .../datalake-store/resource-manager/readme.md | 37 +-- .../resource-manager/readme.go.md | 37 +++ .../datamigration/resource-manager/readme.md | 42 +-- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 37 +-- .../resource-manager/readme.go.md | 47 ++++ .../resource-manager/readme.md | 54 +--- .../devspaces/resource-manager/readme.go.md | 26 ++ .../devspaces/resource-manager/readme.md | 25 +- .../devtestlabs/resource-manager/readme.go.md | 37 +++ .../devtestlabs/resource-manager/readme.md | 38 +-- .../resource-manager/readme.go.md | 36 +++ .../domainservices/resource-manager/readme.md | 36 +-- .../eventgrid/data-plane/readme.go.md | 26 ++ specification/eventgrid/data-plane/readme.md | 26 +- .../eventgrid/resource-manager/readme.go.md | 56 ++++ .../eventgrid/resource-manager/readme.md | 56 +--- .../eventhub/resource-manager/readme.go.md | 46 +++ .../eventhub/resource-manager/readme.md | 47 +--- .../frontdoor/resource-manager/readme.go.md | 27 ++ .../frontdoor/resource-manager/readme.md | 28 +- .../graphrbac/data-plane/readme.go.md | 26 ++ specification/graphrbac/data-plane/readme.md | 31 +-- .../hanaonazure/resource-manager/readme.go.md | 25 ++ .../hanaonazure/resource-manager/readme.md | 27 +- .../hdinsight/resource-manager/readme.go.md | 36 +++ .../hdinsight/resource-manager/readme.md | 36 +-- .../iotcentral/resource-manager/readme.md | 4 + .../iothub/resource-manager/readme.go.md | 65 +++++ .../iothub/resource-manager/readme.md | 66 +---- .../iotspaces/resource-manager/readme.go.md | 27 ++ .../iotspaces/resource-manager/readme.md | 27 +- .../keyvault/data-plane/readme.go.md | 46 +++ specification/keyvault/data-plane/readme.md | 46 +-- .../keyvault/resource-manager/readme.go.md | 46 +++ .../keyvault/resource-manager/readme.md | 47 +--- .../logic/resource-manager/readme.md | 4 + .../resource-manager/readme.go.md | 59 ++++ .../resource-manager/readme.md | 184 +++++------- .../resource-manager/readme.go.md | 35 +++ .../resource-manager/readme.md | 35 +-- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 35 +-- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 34 +-- .../resource-manager/readme.md | 12 +- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 39 +-- .../maps/resource-manager/readme.go.md | 36 +++ specification/maps/resource-manager/readme.md | 44 +-- .../mariadb/resource-manager/readme.md | 16 +- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 26 +- .../resource-manager/readme.go.md | 56 ++++ .../mediaservices/resource-manager/readme.md | 55 +--- .../migrate/resource-manager/readme.go.md | 26 ++ .../migrate/resource-manager/readme.md | 35 +-- .../monitor/resource-manager/readme.md | 4 + .../msi/resource-manager/readme.go.md | 26 ++ specification/msi/resource-manager/readme.md | 26 +- .../mysql/resource-manager/readme.go.md | 44 +++ .../mysql/resource-manager/readme.md | 56 +--- .../network/resource-manager/readme.md | 119 +------- .../resource-manager/readme.go.md | 46 +++ .../resource-manager/readme.md | 47 +--- .../data-plane/readme.go.md | 26 ++ .../operationalinsights/data-plane/readme.md | 26 +- .../resource-manager/readme.go.md | 36 +++ .../resource-manager/readme.md | 104 +++---- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 27 +- .../policyinsights/resource-manager/readme.md | 10 +- .../postgresql/resource-manager/readme.go.md | 44 +++ .../postgresql/resource-manager/readme.md | 54 +--- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 34 +-- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 27 +- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 26 +- .../resource-manager/readme.md | 4 + .../resource-manager/readme.go.md | 36 +++ .../resource-manager/readme.md | 36 +-- .../redis/resource-manager/readme.go.md | 68 +++++ .../redis/resource-manager/readme.md | 69 +---- .../relay/resource-manager/readme.go.md | 36 +++ .../relay/resource-manager/readme.md | 37 +-- .../resource-manager/readme.go.md | 36 +++ .../reservations/resource-manager/readme.md | 44 +-- .../resource-manager/readme.go.md | 36 +++ .../resourcehealth/resource-manager/readme.md | 101 +++---- .../resources/resource-manager/readme.go.md | 257 +++++++++++++++++ .../resources/resource-manager/readme.md | 262 +----------------- .../scheduler/resource-manager/readme.go.md | 46 +++ .../scheduler/resource-manager/readme.md | 48 +--- .../search/resource-manager/readme.go.md | 36 +++ .../search/resource-manager/readme.md | 37 +-- .../service-map/resource-manager/readme.go.md | 26 ++ .../service-map/resource-manager/readme.md | 72 ++--- .../servicebus/resource-manager/readme.go.md | 36 +++ .../servicebus/resource-manager/readme.md | 38 +-- .../servicefabric/data-plane/readme.go.md | 35 +++ .../servicefabric/data-plane/readme.md | 41 +-- .../resource-manager/readme.go.md | 46 +++ .../servicefabric/resource-manager/readme.md | 52 +--- .../resource-manager/readme.go.md | 25 ++ .../resource-manager/readme.md | 28 +- .../signalr/resource-manager/readme.go.md | 26 ++ .../signalr/resource-manager/readme.md | 34 +-- .../sql/resource-manager/readme.go.md | 58 ++++ specification/sql/resource-manager/readme.md | 57 +--- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 27 +- .../Microsoft.StorageDataLake/readme.go.md | 26 ++ .../Microsoft.StorageDataLake/readme.md | 25 +- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 70 ++--- .../storagesync/resource-manager/readme.md | 12 +- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 71 ++--- .../resource-manager/readme.go.md | 26 ++ .../resource-manager/readme.md | 27 +- .../resource-manager/readme.go.md | 36 +++ .../subscription/resource-manager/readme.md | 46 +-- .../resource-manager/readme.go.md | 36 +++ .../resource-manager/readme.md | 35 +-- .../resource-manager/readme.go.md | 76 +++++ .../trafficmanager/resource-manager/readme.md | 82 +----- .../resource-manager/readme.go.md | 26 ++ .../visualstudio/resource-manager/readme.md | 27 +- .../web/resource-manager/readme.go.md | 46 +++ specification/web/resource-manager/readme.md | 53 +--- 228 files changed, 4870 insertions(+), 4730 deletions(-) create mode 100644 specification/advisor/resource-manager/readme.go.md create mode 100644 specification/alertsmanagement/resource-manager/readme.go.md create mode 100644 specification/analysisservices/resource-manager/readme.go.md create mode 100644 specification/apimanagement/resource-manager/readme.go.md create mode 100644 specification/applicationinsights/data-plane/readme.go.md create mode 100644 specification/applicationinsights/resource-manager/readme.go.md create mode 100644 specification/authorization/resource-manager/readme.go.md create mode 100644 specification/automation/resource-manager/readme.go.md create mode 100644 specification/azurestack/resource-manager/readme.go.md create mode 100644 specification/batch/data-plane/readme.go.md create mode 100644 specification/batch/resource-manager/readme.go.md create mode 100644 specification/batchai/resource-manager/readme.go.md create mode 100644 specification/billing/resource-manager/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/AutoSuggest/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/ComputerVision/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/ContentModerator/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/CustomImageSearch/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/CustomVision/Prediction/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/CustomVision/Training/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/CustomWebSearch/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/EntitySearch/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/Face/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/ImageSearch/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/LUIS/Authoring/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/LUIS/Runtime/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/NewsSearch/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/SpellCheck/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/TextAnalytics/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/VideoSearch/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/VisualSearch/readme.go.md create mode 100644 specification/cognitiveservices/data-plane/WebSearch/readme.go.md create mode 100644 specification/cognitiveservices/resource-manager/readme.go.md create mode 100644 specification/commerce/resource-manager/readme.go.md create mode 100644 specification/consumption/resource-manager/readme.go.md create mode 100644 specification/containerregistry/resource-manager/readme.go.md create mode 100644 specification/containerservices/resource-manager/readme.go.md create mode 100644 specification/cosmos-db/resource-manager/readme.go.md create mode 100644 specification/customer-insights/resource-manager/readme.go.md create mode 100644 specification/databox/resource-manager/readme.go.md create mode 100644 specification/databricks/resource-manager/readme.go.md create mode 100644 specification/datacatalog/resource-manager/readme.go.md create mode 100644 specification/datafactory/resource-manager/readme.go.md create mode 100644 specification/datalake-analytics/data-plane/readme.go.md create mode 100644 specification/datalake-analytics/resource-manager/readme.go.md create mode 100644 specification/datalake-store/data-plane/readme.go.md create mode 100644 specification/datalake-store/resource-manager/readme.go.md create mode 100644 specification/datamigration/resource-manager/readme.go.md create mode 100644 specification/deploymentmanager/resource-manager/readme.go.md create mode 100644 specification/deviceprovisioningservices/resource-manager/readme.go.md create mode 100644 specification/devspaces/resource-manager/readme.go.md create mode 100644 specification/devtestlabs/resource-manager/readme.go.md create mode 100644 specification/domainservices/resource-manager/readme.go.md create mode 100644 specification/eventgrid/data-plane/readme.go.md create mode 100644 specification/eventgrid/resource-manager/readme.go.md create mode 100644 specification/eventhub/resource-manager/readme.go.md create mode 100644 specification/frontdoor/resource-manager/readme.go.md create mode 100644 specification/graphrbac/data-plane/readme.go.md create mode 100644 specification/hanaonazure/resource-manager/readme.go.md create mode 100644 specification/hdinsight/resource-manager/readme.go.md create mode 100644 specification/iothub/resource-manager/readme.go.md create mode 100644 specification/iotspaces/resource-manager/readme.go.md create mode 100644 specification/keyvault/data-plane/readme.go.md create mode 100644 specification/keyvault/resource-manager/readme.go.md create mode 100644 specification/machinelearning/resource-manager/readme.go.md create mode 100644 specification/machinelearningcompute/resource-manager/readme.go.md create mode 100644 specification/machinelearningexperimentation/resource-manager/readme.go.md create mode 100644 specification/machinelearningservices/resource-manager/readme.go.md create mode 100644 specification/managementpartner/resource-manager/readme.go.md create mode 100644 specification/maps/resource-manager/readme.go.md create mode 100644 specification/marketplaceordering/resource-manager/readme.go.md create mode 100644 specification/mediaservices/resource-manager/readme.go.md create mode 100644 specification/migrate/resource-manager/readme.go.md create mode 100644 specification/msi/resource-manager/readme.go.md create mode 100644 specification/mysql/resource-manager/readme.go.md create mode 100644 specification/notificationhubs/resource-manager/readme.go.md create mode 100644 specification/operationalinsights/data-plane/readme.go.md create mode 100644 specification/operationalinsights/resource-manager/readme.go.md create mode 100644 specification/operationsmanagement/resource-manager/readme.go.md create mode 100644 specification/postgresql/resource-manager/readme.go.md create mode 100644 specification/powerbidedicated/resource-manager/readme.go.md create mode 100644 specification/powerbiembedded/resource-manager/readme.go.md create mode 100644 specification/recoveryservices/resource-manager/readme.go.md create mode 100644 specification/recoveryservicessiterecovery/resource-manager/readme.go.md create mode 100644 specification/redis/resource-manager/readme.go.md create mode 100644 specification/relay/resource-manager/readme.go.md create mode 100644 specification/reservations/resource-manager/readme.go.md create mode 100644 specification/resourcehealth/resource-manager/readme.go.md create mode 100644 specification/resources/resource-manager/readme.go.md create mode 100644 specification/scheduler/resource-manager/readme.go.md create mode 100644 specification/search/resource-manager/readme.go.md create mode 100644 specification/service-map/resource-manager/readme.go.md create mode 100644 specification/servicebus/resource-manager/readme.go.md create mode 100644 specification/servicefabric/data-plane/readme.go.md create mode 100644 specification/servicefabric/resource-manager/readme.go.md create mode 100644 specification/servicefabricmesh/resource-manager/readme.go.md create mode 100644 specification/signalr/resource-manager/readme.go.md create mode 100644 specification/sql/resource-manager/readme.go.md create mode 100644 specification/storSimple1200Series/resource-manager/readme.go.md create mode 100644 specification/storage/data-plane/Microsoft.StorageDataLake/readme.go.md create mode 100644 specification/storageimportexport/resource-manager/readme.go.md create mode 100644 specification/storsimple8000series/resource-manager/readme.go.md create mode 100644 specification/streamanalytics/resource-manager/readme.go.md create mode 100644 specification/subscription/resource-manager/readme.go.md create mode 100644 specification/timeseriesinsights/resource-manager/readme.go.md create mode 100644 specification/trafficmanager/resource-manager/readme.go.md create mode 100644 specification/visualstudio/resource-manager/readme.go.md create mode 100644 specification/web/resource-manager/readme.go.md diff --git a/specification/advisor/resource-manager/readme.go.md b/specification/advisor/resource-manager/readme.go.md new file mode 100644 index 000000000000..f3a01badc29e --- /dev/null +++ b/specification/advisor/resource-manager/readme.go.md @@ -0,0 +1,46 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: advisor + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2017-03 + - tag: package-2016-07-preview +``` + +### Tag: package-2017-04 and go + +These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(go) +output-folder: $(go-sdk-folder)/services/advisor/mgmt/2017-04-19/advisor +``` + +### Tag: package-2017-03 and go + +These settings apply only when `--tag=package-2017-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(go) +output-folder: $(go-sdk-folder)/services/advisor/mgmt/2017-03-31/advisor +``` + +### Tag: package-2016-07-preview and go + +These settings apply only when `--tag=package-2016-07-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-07-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/advisor/mgmt/2016-07-12-preview/advisor +``` \ No newline at end of file diff --git a/specification/advisor/resource-manager/readme.md b/specification/advisor/resource-manager/readme.md index 63eeaa356fa3..b681cc3581ec 100644 --- a/specification/advisor/resource-manager/readme.md +++ b/specification/advisor/resource-manager/readme.md @@ -104,6 +104,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-advisor ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) ## C# @@ -120,55 +123,6 @@ csharp: clear-output-folder: true ``` - -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: advisor - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-04 - - tag: package-2017-03 - - tag: package-2016-07-preview -``` - -### Tag: package-2017-04 and go - -These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-04' && $(go) -output-folder: $(go-sdk-folder)/services/advisor/mgmt/2017-04-19/advisor -``` - -### Tag: package-2017-03 and go - -These settings apply only when `--tag=package-2017-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-03' && $(go) -output-folder: $(go-sdk-folder)/services/advisor/mgmt/2017-03-31/advisor -``` - -### Tag: package-2016-07-preview and go - -These settings apply only when `--tag=package-2016-07-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-07-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/advisor/mgmt/2016-07-12-preview/advisor -``` - - ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/alertsmanagement/resource-manager/readme.go.md b/specification/alertsmanagement/resource-manager/readme.go.md new file mode 100644 index 000000000000..4341e8cb6d5a --- /dev/null +++ b/specification/alertsmanagement/resource-manager/readme.go.md @@ -0,0 +1,25 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: alertsmanagement + clear-output-folder: true +``` + +### Go multi-api +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-05-preview +``` + +### Tag: package-2018-05-preview and go + +These settings apply only when `--tag=package-2018-05-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-05-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-05-05-preview/$(namespace) +``` \ No newline at end of file diff --git a/specification/alertsmanagement/resource-manager/readme.md b/specification/alertsmanagement/resource-manager/readme.md index 35e9e8fbd821..dcc1aebce0dd 100644 --- a/specification/alertsmanagement/resource-manager/readme.md +++ b/specification/alertsmanagement/resource-manager/readme.md @@ -1,12 +1,12 @@ # AlertsManagement - + > see https://aka.ms/autorest This is the AutoRest configuration file for AlerManagement. --- -## Getting Started +## Getting Started To build the SDK for AlertManagement, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -19,7 +19,7 @@ To see additional help and options, run: ## Configuration -### Basic Information +### Basic Information These are the global settings for the AlertManagement API. ``` yaml @@ -62,7 +62,7 @@ swagger-to-sdk: - repo: azure-sdk-for-go ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -103,32 +103,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-alertsmanagement ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: alertsmanagement - clear-output-folder: true -``` - -### Go multi-api -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-05-preview -``` - -### Tag: package-2018-05-preview and go - -These settings apply only when `--tag=package-2018-05-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-05-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-05-05-preview/$(namespace) -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/analysisservices/resource-manager/readme.go.md b/specification/analysisservices/resource-manager/readme.go.md new file mode 100644 index 000000000000..232143d4c5e1 --- /dev/null +++ b/specification/analysisservices/resource-manager/readme.go.md @@ -0,0 +1,56 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: analysisservices + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-08 + - tag: package-2017-08-beta + - tag: package-2017-07 + - tag: package-2016-05 +``` + +### Tag: package-2017-08 and go + +These settings apply only when `--tag=package-2017-08 --go` is specifined on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-08' && $(go) +output-folder: $(go-sdk-folder)/services/analysisservices/mgmt/2017-08-01/analysisservices +``` + +### Tag: package-2017-08-beta and go + +These settings apply only when `--tag=package-2017-08-beta --go` is specifined on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-08-beta' && $(go) +output-folder: $(go-sdk-folder)/services/preview/analysisservices/preview/mgmt/2017-08-01-beta/analysisservices +``` + +### Tag: package-2017-07 and go + +These settings apply only when `--tag=package-2017-07 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-07' && $(go) +output-folder: $(go-sdk-folder)/services/analysisservices/mgmt/2017-07-14/analysisservices +``` + +### Tag: package-2016-05 and go + +These settings apply only when `--tag=package-2016-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-05' && $(go) +output-folder: $(go-sdk-folder)/services/analysisservices/mgmt/2016-05-16/analysisservices +``` \ No newline at end of file diff --git a/specification/analysisservices/resource-manager/readme.md b/specification/analysisservices/resource-manager/readme.md index 5e96e69f552b..c0e289abc7ab 100644 --- a/specification/analysisservices/resource-manager/readme.md +++ b/specification/analysisservices/resource-manager/readme.md @@ -99,139 +99,84 @@ csharp: clear-output-folder: true ``` - ## Go -These settings apply only when `--go` is specified on the command line. +See configuration in [readme.go.md](./readme.go.md) -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: analysisservices - clear-output-folder: true +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.analysisservices +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-analysisservices ``` -### Go multi-api +### Java multi-api -``` yaml $(go) && $(multiapi) +``` yaml $(java) && $(multiapi) batch: + - tag: package-2016-05 + - tag: package-2017-07 - tag: package-2017-08 - tag: package-2017-08-beta - - tag: package-2017-07 - - tag: package-2016-05 ``` -### Tag: package-2017-08 and go +### Tag: package-2016-05 and java -These settings apply only when `--tag=package-2017-08 --go` is specifined on the command line. -Please also specify `--go-sdk-folder=`. +These settings apply only when `--tag=package-2016-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2017-08' && $(go) -output-folder: $(go-sdk-folder)/services/analysisservices/mgmt/2017-08-01/analysisservices +``` yaml $(tag) == 'package-2016-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.analysisservices.v2016_05_16 + output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2016_05_16 +regenerate-manager: true +generate-interface: true ``` -### Tag: package-2017-08-beta and go +### Tag: package-2017-07 and java -These settings apply only when `--tag=package-2017-08-beta --go` is specifined on the command line. -Please also specify `--go-sdk-folder=`. +These settings apply only when `--tag=package-2017-07 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2017-08-beta' && $(go) -output-folder: $(go-sdk-folder)/services/preview/analysisservices/preview/mgmt/2017-08-01-beta/analysisservices +``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.analysisservices.v2017_07_14 + output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2017_07_14 +regenerate-manager: true +generate-interface: true ``` -### Tag: package-2017-07 and go +### Tag: package-2017-08 and java -These settings apply only when `--tag=package-2017-07 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +These settings apply only when `--tag=package-2017-08 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2017-07' && $(go) -output-folder: $(go-sdk-folder)/services/analysisservices/mgmt/2017-07-14/analysisservices +``` yaml $(tag) == 'package-2017-08' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.analysisservices.v2017_08_01 + output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2017_08_01 +regenerate-manager: true +generate-interface: true ``` -### Tag: package-2016-05 and go +### Tag: package-2017-08-beta and java -These settings apply only when `--tag=package-2016-05 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +These settings apply only when `--tag=package-2017-08-beta --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2016-05' && $(go) -output-folder: $(go-sdk-folder)/services/analysisservices/mgmt/2016-05-16/analysisservices +``` yaml $(tag) == 'package-2017-08-beta' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.analysisservices.v2017_08_01_beta + output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2017_08_01_beta +regenerate-manager: true +generate-interface: true ``` -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.analysisservices -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-analysisservices -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2016-05 - - tag: package-2017-07 - - tag: package-2017-08 - - tag: package-2017-08-beta -``` - -### Tag: package-2016-05 and java - -These settings apply only when `--tag=package-2016-05 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2016-05' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.analysisservices.v2016_05_16 - output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2016_05_16 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-07 and java - -These settings apply only when `--tag=package-2017-07 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.analysisservices.v2017_07_14 - output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2017_07_14 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-08 and java - -These settings apply only when `--tag=package-2017-08 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-08' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.analysisservices.v2017_08_01 - output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2017_08_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-08-beta and java - -These settings apply only when `--tag=package-2017-08-beta --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-08-beta' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.analysisservices.v2017_08_01_beta - output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2017_08_01_beta -regenerate-manager: true -generate-interface: true -``` - - diff --git a/specification/apimanagement/resource-manager/readme.go.md b/specification/apimanagement/resource-manager/readme.go.md new file mode 100644 index 000000000000..b270126aca42 --- /dev/null +++ b/specification/apimanagement/resource-manager/readme.go.md @@ -0,0 +1,66 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: apimanagement + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-06-preview + - tag: package-2018-01 + - tag: package-2017-03 + - tag: package-2016-10 + - tag: package-2016-07 +``` + +### Tag: package-2018-06-preview and go + +These settings apply only when `--tag=package-2018-06-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement +``` + +### Tag: package-2018-01 and go + +These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(go) +output-folder: $(go-sdk-folder)/services/preview/apimanagement/mgmt/2018-01-01/apimanagement +``` + +### Tag: package-2017-03 and go + +These settings apply only when `--tag=package-2017-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(go) +output-folder: $(go-sdk-folder)/services/apimanagement/mgmt/2017-03-01/apimanagement +``` + +### Tag: package-2016-10 and go + +These settings apply only when `--tag=package-2016-10 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(go) +output-folder: $(go-sdk-folder)/services/apimanagement/mgmt/2016-10-10/apimanagement +``` + +### Tag: package-2016-07 and go + +These settings apply only when `--tag=package-2016-07 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-07' && $(go) +output-folder: $(go-sdk-folder)/services/apimanagement/mgmt/2016-07-07/apimanagement +``` \ No newline at end of file diff --git a/specification/apimanagement/resource-manager/readme.md b/specification/apimanagement/resource-manager/readme.md index 57b1649bb26d..53536c7b7e3a 100644 --- a/specification/apimanagement/resource-manager/readme.md +++ b/specification/apimanagement/resource-manager/readme.md @@ -231,71 +231,7 @@ See configuration in [readme.python.md](./readme.python.md) ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: apimanagement - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-06-preview - - tag: package-2018-01 - - tag: package-2017-03 - - tag: package-2016-10 - - tag: package-2016-07 -``` - -### Tag: package-2018-06-preview and go - -These settings apply only when `--tag=package-2018-06-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-06-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/apimanagement/mgmt/2018-06-01-preview/apimanagement -``` - -### Tag: package-2018-01 and go - -These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-01' && $(go) -output-folder: $(go-sdk-folder)/services/preview/apimanagement/mgmt/2018-01-01/apimanagement -``` - -### Tag: package-2017-03 and go - -These settings apply only when `--tag=package-2017-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-03' && $(go) -output-folder: $(go-sdk-folder)/services/apimanagement/mgmt/2017-03-01/apimanagement -``` - -### Tag: package-2016-10 and go - -These settings apply only when `--tag=package-2016-10 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-10' && $(go) -output-folder: $(go-sdk-folder)/services/apimanagement/mgmt/2016-10-10/apimanagement -``` - -### Tag: package-2016-07 and go - -These settings apply only when `--tag=package-2016-07 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-07' && $(go) -output-folder: $(go-sdk-folder)/services/apimanagement/mgmt/2016-07-07/apimanagement -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/applicationinsights/data-plane/readme.go.md b/specification/applicationinsights/data-plane/readme.go.md new file mode 100644 index 000000000000..b604b3da80f2 --- /dev/null +++ b/specification/applicationinsights/data-plane/readme.go.md @@ -0,0 +1,39 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: insights + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: v1 +``` + +### Tag: v1 and go + +These settings apply only when `--tag=v1 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'v1' && $(go) +output-folder: $(go-sdk-folder)/services/appinsights/v1/insights +``` + +``` yaml $(typescript) +typescript: + package-name: azure-applicationinsights-query + package-version: 1.0.0-Preview-1 + output-folder: $(node-sdks-folder)/lib/services/applicationinsightsQuery/lib + generate-metadata: true + azure-arm: true + add-credentials: true +directive: + - from: swagger-document + where: $.definitions.table.properties.rows.items.items + transform: $.type = "object" +``` \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/readme.md b/specification/applicationinsights/data-plane/readme.md index 16eae313e7c3..c00cfc60a55f 100644 --- a/specification/applicationinsights/data-plane/readme.md +++ b/specification/applicationinsights/data-plane/readme.md @@ -1,5 +1,5 @@ # ApplicationInsights - + > see https://aka.ms/autorest This is the AutoRest configuration file for ApplicationInsightsDataPlane. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for ApplicationInsightsDataPlane. --- -## Getting Started +## Getting Started To build the SDK for ApplicationInsightsDataPlane, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -19,7 +19,7 @@ To see additional help and options, run: ## Configuration -### Basic Information +### Basic Information These are the global settings for the ApplicationInsights API. @@ -67,9 +67,10 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python + - repo: azure-sdk-for-go ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -107,46 +108,9 @@ python: output-folder: $(python-sdks-folder)/azure-applicationinsights ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: insights - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: v1 -``` - -### Tag: v1 and go - -These settings apply only when `--tag=v1 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'v1' && $(go) -output-folder: $(go-sdk-folder)/services/appinsights/v1/insights -``` - -``` yaml $(typescript) -typescript: - package-name: azure-applicationinsights-query - package-version: 1.0.0-Preview-1 - output-folder: $(node-sdks-folder)/lib/services/applicationinsightsQuery/lib - generate-metadata: true - azure-arm: true - add-credentials: true -directive: - - from: swagger-document - where: $.definitions.table.properties.rows.items.items - transform: $.type = "object" -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/applicationinsights/resource-manager/readme.go.md b/specification/applicationinsights/resource-manager/readme.go.md new file mode 100644 index 000000000000..2833597b23d1 --- /dev/null +++ b/specification/applicationinsights/resource-manager/readme.go.md @@ -0,0 +1,47 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: insights + clear-output-folder: true +``` + +### Go mult-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2015-05 +``` + +### Tag: package-2015-05 and go + +These settings apply only when `--tag=package-2015-05 --go` is specified on he command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-05' && $(go) +output-folder: $(go-sdk-folder)/services/appinsights/mgmt/2015-05-01/insights +``` + +### Tag: schema-2015-05-preview + +These settings apply only when `--tag=schema-2015-05-01` is specified on the +command line. + +This section contains the input swagger files that are used when generating +resource manager schemas for version 2015-05-01. Note that many of our +pre-existing APIs are note currently compatible with ARM schemas, upon any +updates applied to our services we will bring them up to compliance. + +``` yaml $(tag) == 'schema-2015-05-01' +input-file: + - ./Microsoft.Insights/stable/2015-05-01/aiOperations_API.json + - ./Microsoft.Insights/stable/2015-05-01/components_API.json + - ./Microsoft.Insights/stable/2015-05-01/webTests_API.json + - ./Microsoft.Insights/stable/2015-05-01/workbooks_API.json + +override-info: + title: ApplicationInsightsManagementClient +``` diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 45c4fd90e929..d4065382b17d 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -38,7 +38,7 @@ directive: where: - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge"].post reason: Original creation of the service did not comply with current ARM schema standards. The team is aware of it and any future updates should rectify the issue. - + - suppress: TrackedResourceListByImmediateParent where: - $.definitions @@ -322,6 +322,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-applicationinsights ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) ## C# @@ -337,53 +340,6 @@ csharp: output-folder: $(csharp-sdks-folder)/ApplicationInsights/Management.ApplicationInsights/Generated clear-output-folder: true ``` -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: insights - clear-output-folder: true -``` - -### Go mult-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2015-05 -``` - -### Tag: package-2015-05 and go - -These settings apply only when `--tag=package-2015-05 --go` is specified on he command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-05' && $(go) -output-folder: $(go-sdk-folder)/services/appinsights/mgmt/2015-05-01/insights -``` - -### Tag: schema-2015-05-preview - -These settings apply only when `--tag=schema-2015-05-01` is specified on the -command line. - -This section contains the input swagger files that are used when generating -resource manager schemas for version 2015-05-01. Note that many of our -pre-existing APIs are note currently compatible with ARM schemas, upon any -updates applied to our services we will bring them up to compliance. - -``` yaml $(tag) == 'schema-2015-05-01' -input-file: - - ./Microsoft.Insights/stable/2015-05-01/aiOperations_API.json - - ./Microsoft.Insights/stable/2015-05-01/components_API.json - - ./Microsoft.Insights/stable/2015-05-01/webTests_API.json - - ./Microsoft.Insights/stable/2015-05-01/workbooks_API.json - -override-info: - title: ApplicationInsightsManagementClient -``` ## Java diff --git a/specification/authorization/resource-manager/readme.go.md b/specification/authorization/resource-manager/readme.go.md new file mode 100644 index 000000000000..9af69a7cd850 --- /dev/null +++ b/specification/authorization/resource-manager/readme.go.md @@ -0,0 +1,56 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: authorization + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2015-07 + - tag: package-2017-10-01-preview + - tag: package-2018-01-01-preview + - tag: package-2018-09-01-preview +``` + +### Tag: package-2015-07 and go + +These settings apply only when `--tag=package-2015-07 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-07' && $(go) +output-folder: $(go-sdk-folder)/services/authorization/mgmt/2015-07-01/authorization +``` + +### Tag: package-2017-10-01-preview and go + +These settings apply only when `--tag=package-2017-10-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-10-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/authorization/mgmt/2017-10-01-preview/authorization +``` + +### Tag: package-2018-01-01-preview and go + +These settings apply only when `--tag=package-2018-01-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-01-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/authorization/mgmt/2018-01-01-preview/authorization +``` + +### Tag: package-2018-09-01-preview and go + +These settings apply only when `--tag=package-2018-09-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-09-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/authorization/mgmt/2018-09-01-preview/authorization +``` \ No newline at end of file diff --git a/specification/authorization/resource-manager/readme.md b/specification/authorization/resource-manager/readme.md index 277ce8ac828e..e2eaa8ba206d 100644 --- a/specification/authorization/resource-manager/readme.md +++ b/specification/authorization/resource-manager/readme.md @@ -162,60 +162,7 @@ swagger-to-sdk: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: authorization - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2015-07 - - tag: package-2017-10-01-preview - - tag: package-2018-01-01-preview - - tag: package-2018-09-01-preview -``` - -### Tag: package-2015-07 and go - -These settings apply only when `--tag=package-2015-07 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-07' && $(go) -output-folder: $(go-sdk-folder)/services/authorization/mgmt/2015-07-01/authorization -``` - -### Tag: package-2017-10-01-preview and go - -These settings apply only when `--tag=package-2017-10-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-10-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/authorization/mgmt/2017-10-01-preview/authorization -``` - -### Tag: package-2018-01-01-preview and go - -These settings apply only when `--tag=package-2018-01-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-01-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/authorization/mgmt/2018-01-01-preview/authorization -``` - -### Tag: package-2018-09-01-preview and go - -These settings apply only when `--tag=package-2018-09-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-09-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/authorization/mgmt/2018-09-01-preview/authorization -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/automation/resource-manager/readme.go.md b/specification/automation/resource-manager/readme.go.md new file mode 100644 index 000000000000..019ddd33b441 --- /dev/null +++ b/specification/automation/resource-manager/readme.go.md @@ -0,0 +1,56 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: automation + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2015-10 + - tag: package-2017-05-preview + - tag: package-2018-01-preview + - tag: package-2018-06-preview +``` + +### Tag: package-2015-10 and go + +These settings apply only when `--tag=package-2015-10 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-10' && $(go) +output-folder: $(go-sdk-folder)/services/automation/mgmt/2015-10-31/automation +``` + +### Tag: package-2017-05-preview and go + +These settings apply only when `--tag=package-2017-05-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-05-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/automation/mgmt/2017-05-15-preview/automation +``` + +### Tag: package-2018-01-preview and go + +These settings apply only when `--tag=package-2018-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/automation/mgmt/2018-01-preview/automation +``` + +### Tag: package-2018-06-preview and go + +These settings apply only when `--tag=package-2018-06-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/automation/mgmt/2018-06-preview/automation +``` \ No newline at end of file diff --git a/specification/automation/resource-manager/readme.md b/specification/automation/resource-manager/readme.md index c4c3d846a108..f422d6dad137 100644 --- a/specification/automation/resource-manager/readme.md +++ b/specification/automation/resource-manager/readme.md @@ -246,60 +246,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: automation - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2015-10 - - tag: package-2017-05-preview - - tag: package-2018-01-preview - - tag: package-2018-06-preview -``` - -### Tag: package-2015-10 and go - -These settings apply only when `--tag=package-2015-10 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-10' && $(go) -output-folder: $(go-sdk-folder)/services/automation/mgmt/2015-10-31/automation -``` - -### Tag: package-2017-05-preview and go - -These settings apply only when `--tag=package-2017-05-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-05-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/automation/mgmt/2017-05-15-preview/automation -``` - -### Tag: package-2018-01-preview and go - -These settings apply only when `--tag=package-2018-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/automation/mgmt/2018-01-preview/automation -``` - -### Tag: package-2018-06-preview and go - -These settings apply only when `--tag=package-2018-06-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-06-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/automation/mgmt/2018-06-preview/automation -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/azurestack/resource-manager/readme.go.md b/specification/azurestack/resource-manager/readme.go.md new file mode 100644 index 000000000000..6f8306627a08 --- /dev/null +++ b/specification/azurestack/resource-manager/readme.go.md @@ -0,0 +1,40 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: azurestack +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-06-01 +``` + +### Tag: package-2017-06-01 and go + +These settings apply only when `--tag=package-2017-06-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-06-01' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2017-06-01/$(namespace) +``` + +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + package-name: azure-mgmt-azurestack + no-namespace-folders: true + clear-output-folder: true +``` \ No newline at end of file diff --git a/specification/azurestack/resource-manager/readme.md b/specification/azurestack/resource-manager/readme.md index a22bcb1bf82d..5c8eb0772f03 100644 --- a/specification/azurestack/resource-manager/readme.md +++ b/specification/azurestack/resource-manager/readme.md @@ -94,44 +94,7 @@ csharp: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: azurestack -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-06-01 -``` - -### Tag: package-2017-06-01 and go - -These settings apply only when `--tag=package-2017-06-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-06-01' && $(go) -output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2017-06-01/$(namespace) -``` - -## Python - -These settings apply only when `--python` is specified on the command line. - -``` yaml $(python) -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - package-name: azure-mgmt-azurestack - no-namespace-folders: true - clear-output-folder: true -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/batch/data-plane/readme.go.md b/specification/batch/data-plane/readme.go.md new file mode 100644 index 000000000000..66e4dfb74c66 --- /dev/null +++ b/specification/batch/data-plane/readme.go.md @@ -0,0 +1,100 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: batch +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-05.5.0 + - tag: package-2018-03.6.1 + - tag: package-2018-08.7.0 +``` + +### Tag: package-2018-08.7.0 and go + +These settings apply only when `--tag=package-2018-08.7.0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-08.7.0' && $(go) +output-folder: $(go-sdk-folder)/services/batch/2018-08-01.7.0/batch +``` + +### Tag: package-2018-03.6.1 and go + +These settings apply only when `--tag=package-2018-03.6.1 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-03.6.1' && $(go) +output-folder: $(go-sdk-folder)/services/batch/2018-03-01.6.1/batch +``` + +### Tag: package-2017-09.6.0 and go + +These settings apply only when `--tag=package-2017-09.6.0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-09.6.0' && $(go) +output-folder: $(go-sdk-folder)/services/batch/2017-09-01.6.0/batch +``` + +### Tag: package-2017-06.5.1 and go + +These settings apply only when `--tag=package-2017-06.5.1 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-06.5.1' && $(go) +output-folder: $(go-sdk-folder)/services/batch/2017-06-01.5.1/batch +``` + +### Tag: package-2017-05.5.0 and go + +These settings apply only when `--tag=package-2017-05.5.0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-05.5.0' && $(go) +output-folder: $(go-sdk-folder)/services/batch/2017-05-01.5.0/batch +``` + +### Tag: package-2017-01.4.0 and go + +These settings apply only when `--tag=package-2017-01.4.0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-01.4.0' && $(go) +output-folder: $(go-sdk-folder)/services/batch/2017-01-01.4.0/batch +``` + +### Tag: package-2016-07.3.1 and go + +These settings apply only when `--tag=package-2016-07.3.1 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2016-07.3.1' && $(go) +output-folder: $(go-sdk-folder)/services/batch/2016-07-01.3.1/batch +``` + +### Tag: package-2016-02.3.0 and go + +These settings apply only when `--tag=package-2016-02.3.0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2016-02.3.0' && $(go) +output-folder: $(go-sdk-folder)/services/batch/2016-02-01.3.0/batch +``` + +### Tag: package-2015-12.2.2 and go + +These settings apply only when `--tag=package-2017-05.5.0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-05.5.0' && $(go) +output-folder: $(go-sdk-folder)/services/batch/2015-12-01.2.2/batch +``` \ No newline at end of file diff --git a/specification/batch/data-plane/readme.md b/specification/batch/data-plane/readme.md index 1f92c5cfa469..ce6f6a94e685 100644 --- a/specification/batch/data-plane/readme.md +++ b/specification/batch/data-plane/readme.md @@ -276,6 +276,10 @@ python: output-folder: $(python-sdks-folder)/azure-batch ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. @@ -292,108 +296,6 @@ nodejs: clear-output-folder: true ``` -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: batch -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-05.5.0 - - tag: package-2018-03.6.1 - - tag: package-2018-08.7.0 -``` - -### Tag: package-2018-08.7.0 and go - -These settings apply only when `--tag=package-2018-08.7.0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-08.7.0' && $(go) -output-folder: $(go-sdk-folder)/services/batch/2018-08-01.7.0/batch -``` - -### Tag: package-2018-03.6.1 and go - -These settings apply only when `--tag=package-2018-03.6.1 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-03.6.1' && $(go) -output-folder: $(go-sdk-folder)/services/batch/2018-03-01.6.1/batch -``` - -### Tag: package-2017-09.6.0 and go - -These settings apply only when `--tag=package-2017-09.6.0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-09.6.0' && $(go) -output-folder: $(go-sdk-folder)/services/batch/2017-09-01.6.0/batch -``` - -### Tag: package-2017-06.5.1 and go - -These settings apply only when `--tag=package-2017-06.5.1 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-06.5.1' && $(go) -output-folder: $(go-sdk-folder)/services/batch/2017-06-01.5.1/batch -``` - -### Tag: package-2017-05.5.0 and go - -These settings apply only when `--tag=package-2017-05.5.0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-05.5.0' && $(go) -output-folder: $(go-sdk-folder)/services/batch/2017-05-01.5.0/batch -``` - -### Tag: package-2017-01.4.0 and go - -These settings apply only when `--tag=package-2017-01.4.0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-01.4.0' && $(go) -output-folder: $(go-sdk-folder)/services/batch/2017-01-01.4.0/batch -``` - -### Tag: package-2016-07.3.1 and go - -These settings apply only when `--tag=package-2016-07.3.1 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2016-07.3.1' && $(go) -output-folder: $(go-sdk-folder)/services/batch/2016-07-01.3.1/batch -``` - -### Tag: package-2016-02.3.0 and go - -These settings apply only when `--tag=package-2016-02.3.0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2016-02.3.0' && $(go) -output-folder: $(go-sdk-folder)/services/batch/2016-02-01.3.0/batch -``` - -### Tag: package-2015-12.2.2 and go - -These settings apply only when `--tag=package-2017-05.5.0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-05.5.0' && $(go) -output-folder: $(go-sdk-folder)/services/batch/2015-12-01.2.2/batch -``` - - ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/batch/resource-manager/readme.go.md b/specification/batch/resource-manager/readme.go.md new file mode 100644 index 000000000000..c30483870e7e --- /dev/null +++ b/specification/batch/resource-manager/readme.go.md @@ -0,0 +1,57 @@ + + +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: batch + clear-output-folder: true +``` + +### Go multi-api +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-09 + - tag: package-2017-05 + - tag: package-2017-01 + - tag: package-2015-12 +``` + +### Tag: package-2017-09 and go + +These settings apply only when `--tag=package-2017-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-09' && $(go) +output-folder: $(go-sdk-folder)/services/batch/mgmt/2017-09-01/batch +``` + +### Tag: package-2017-05 and go + +These settings apply only when `--tag=package-2017-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-05' && $(go) +output-folder: $(go-sdk-folder)/services/batch/mgmt/2017-05-01/batch +``` + +### Tag: package-2017-01 and go + +These settings apply only when `--tag=package-2017-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-01' && $(go) +output-folder: $(go-sdk-folder)/services/batch/mgmt/2017-01-01/batch +``` + +### Tag: package-2015-12 and go + +These settings apply only when `--tag=package-2015-12 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-12' && $(go) +output-folder: $(go-sdk-folder)/services/batch/mgmt/2015-12-01/batch +``` diff --git a/specification/batch/resource-manager/readme.md b/specification/batch/resource-manager/readme.md index 2f4df18a329b..4a68131db865 100644 --- a/specification/batch/resource-manager/readme.md +++ b/specification/batch/resource-manager/readme.md @@ -140,6 +140,10 @@ csharp: clear-output-folder: true ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Python These settings apply only when `--python` is specified on the command line. @@ -167,64 +171,6 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-batch ``` - -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: batch - clear-output-folder: true -``` - -### Go multi-api -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-09 - - tag: package-2017-05 - - tag: package-2017-01 - - tag: package-2015-12 -``` - -### Tag: package-2017-09 and go - -These settings apply only when `--tag=package-2017-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-09' && $(go) -output-folder: $(go-sdk-folder)/services/batch/mgmt/2017-09-01/batch -``` - -### Tag: package-2017-05 and go - -These settings apply only when `--tag=package-2017-05 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-05' && $(go) -output-folder: $(go-sdk-folder)/services/batch/mgmt/2017-05-01/batch -``` - -### Tag: package-2017-01 and go - -These settings apply only when `--tag=package-2017-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-01' && $(go) -output-folder: $(go-sdk-folder)/services/batch/mgmt/2017-01-01/batch -``` - -### Tag: package-2015-12 and go - -These settings apply only when `--tag=package-2015-12 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-12' && $(go) -output-folder: $(go-sdk-folder)/services/batch/mgmt/2015-12-01/batch -``` - - ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/batchai/resource-manager/readme.go.md b/specification/batchai/resource-manager/readme.go.md new file mode 100644 index 000000000000..0636756c057b --- /dev/null +++ b/specification/batchai/resource-manager/readme.go.md @@ -0,0 +1,46 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: batchai +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-09-preview + - tag: package-2018-03 + - tag: package-2018-05 +``` + +### Tag: package-2017-09-preview and go + +These settings apply only when `--tag=package-2017-09-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-09-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/batchai/mgmt/2017-09-preview/batchai +``` + +### Tag: package-2018-03 and go + +These settings apply only when `--tag=package-2018-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-03' && $(go) +output-folder: $(go-sdk-folder)/services/batchai/mgmt/2018-03-01/batchai +``` + +### Tag: package-2018-05 and go + +These settings apply only when `--tag=package-2018-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-05' && $(go) +output-folder: $(go-sdk-folder)/services/batchai/mgmt/2018-05-01/batchai +``` \ No newline at end of file diff --git a/specification/batchai/resource-manager/readme.md b/specification/batchai/resource-manager/readme.md index 16ddf36b1a0d..a4ad3d9685d9 100644 --- a/specification/batchai/resource-manager/readme.md +++ b/specification/batchai/resource-manager/readme.md @@ -117,50 +117,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: batchai -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-09-preview - - tag: package-2018-03 - - tag: package-2018-05 -``` - -### Tag: package-2017-09-preview and go - -These settings apply only when `--tag=package-2017-09-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-09-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/batchai/mgmt/2017-09-preview/batchai -``` - -### Tag: package-2018-03 and go - -These settings apply only when `--tag=package-2018-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-03' && $(go) -output-folder: $(go-sdk-folder)/services/batchai/mgmt/2018-03-01/batchai -``` - -### Tag: package-2018-05 and go - -These settings apply only when `--tag=package-2018-05 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-05' && $(go) -output-folder: $(go-sdk-folder)/services/batchai/mgmt/2018-05-01/batchai -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/billing/resource-manager/readme.go.md b/specification/billing/resource-manager/readme.go.md new file mode 100644 index 000000000000..a91c35bf6d07 --- /dev/null +++ b/specification/billing/resource-manager/readme.go.md @@ -0,0 +1,46 @@ + +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: billing + clear-output-folder: true +``` + +### Go multi-api +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-03-preview + - tag: package-2017-04-preview + - tag: package-2017-02-preview +``` + +### Tag: package-2018-03-preview and go + +These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-03-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/billing/mgmt/2018-03-01-preview/billing +``` + +### Tag: package-2017-04-preview and go + +These settings apply only when `--tag=package-2017-04-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-04-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/billing/mgmt/2017-04-24-preview/billing +``` + +### Tag: package-2017-02-preview and go + +These settings apply only when `--tag=package-2017-02-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-02-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/billing/mgmt/2017-02-27-preview/billing +``` \ No newline at end of file diff --git a/specification/billing/resource-manager/readme.md b/specification/billing/resource-manager/readme.md index 06bd750d35f7..4dcee309a8b3 100644 --- a/specification/billing/resource-manager/readme.md +++ b/specification/billing/resource-manager/readme.md @@ -92,6 +92,10 @@ csharp: clear-output-folder: true ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Python These settings apply only when `--python` is specified on the command line. @@ -120,54 +124,6 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-billing ``` - -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: billing - clear-output-folder: true -``` - -### Go multi-api -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-03-preview - - tag: package-2017-04-preview - - tag: package-2017-02-preview -``` - -### Tag: package-2018-03-preview and go - -These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-03-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/billing/mgmt/2018-03-01-preview/billing -``` - -### Tag: package-2017-04-preview and go - -These settings apply only when `--tag=package-2017-04-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-04-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/billing/mgmt/2017-04-24-preview/billing -``` - -### Tag: package-2017-02-preview and go - -These settings apply only when `--tag=package-2017-02-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-02-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/billing/mgmt/2017-02-27-preview/billing -``` - - ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/blueprint/resource-manager/readme.md b/specification/blueprint/resource-manager/readme.md index 950bd2c2fda0..e13d9aaf0dfd 100644 --- a/specification/blueprint/resource-manager/readme.md +++ b/specification/blueprint/resource-manager/readme.md @@ -96,6 +96,10 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-blueprint ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/botservice/resource-manager/readme.md b/specification/botservice/resource-manager/readme.md index 00ca7eeb6255..d9621f5b4be9 100644 --- a/specification/botservice/resource-manager/readme.md +++ b/specification/botservice/resource-manager/readme.md @@ -1,5 +1,5 @@ # BotService - + > see https://aka.ms/autorest This is the AutoRest configuration file for BotService. @@ -41,7 +41,7 @@ regenerate-manager: true generate-interface: true ``` -## Getting Started +## Getting Started To build the SDK for BotService, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -55,7 +55,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the BotService API. ``` yaml @@ -120,7 +120,7 @@ swagger-to-sdk: - repo: azure-sdk-for-go ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -134,6 +134,10 @@ csharp: clear-output-folder: true ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Python See readme.python.md file. diff --git a/specification/cognitiveservices/data-plane/AutoSuggest/readme.go.md b/specification/cognitiveservices/data-plane/AutoSuggest/readme.go.md new file mode 100644 index 000000000000..ac5717009fbb --- /dev/null +++ b/specification/cognitiveservices/data-plane/AutoSuggest/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: autosuggest + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/autosuggest +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/AutoSuggest/readme.md b/specification/cognitiveservices/data-plane/AutoSuggest/readme.md index 1febb3331bac..fa68a292805e 100644 --- a/specification/cognitiveservices/data-plane/AutoSuggest/readme.md +++ b/specification/cognitiveservices/data-plane/AutoSuggest/readme.md @@ -82,31 +82,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: autosuggest - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/autosuggest -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/ComputerVision/readme.go.md b/specification/cognitiveservices/data-plane/ComputerVision/readme.go.md new file mode 100644 index 000000000000..9124717c3762 --- /dev/null +++ b/specification/cognitiveservices/data-plane/ComputerVision/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: computervision + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_2_0 +``` + +### Tag: release_2_0 and go + +These settings apply only when `--tag=release_2_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_2_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.0/computervision +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/ComputerVision/readme.md b/specification/cognitiveservices/data-plane/ComputerVision/readme.md index 6a7dc3febccf..76fa408192f6 100644 --- a/specification/cognitiveservices/data-plane/ComputerVision/readme.md +++ b/specification/cognitiveservices/data-plane/ComputerVision/readme.md @@ -92,31 +92,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: computervision - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_2_0 -``` - -### Tag: release_2_0 and go - -These settings apply only when `--tag=release_2_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_2_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.0/computervision -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/ContentModerator/readme.go.md b/specification/cognitiveservices/data-plane/ContentModerator/readme.go.md new file mode 100644 index 000000000000..7ad062a1bd04 --- /dev/null +++ b/specification/cognitiveservices/data-plane/ContentModerator/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: contentmoderator + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/contentmoderator +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/ContentModerator/readme.md b/specification/cognitiveservices/data-plane/ContentModerator/readme.md index 2d531f01202b..3a88fc613123 100644 --- a/specification/cognitiveservices/data-plane/ContentModerator/readme.md +++ b/specification/cognitiveservices/data-plane/ContentModerator/readme.md @@ -89,31 +89,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: contentmoderator - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/contentmoderator -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/CustomImageSearch/readme.go.md b/specification/cognitiveservices/data-plane/CustomImageSearch/readme.go.md new file mode 100644 index 000000000000..2ac1aa780d5e --- /dev/null +++ b/specification/cognitiveservices/data-plane/CustomImageSearch/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: customimagesearch + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/customimagesearch +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/CustomImageSearch/readme.md b/specification/cognitiveservices/data-plane/CustomImageSearch/readme.md index 0babb830e27c..4f7e162b6a46 100644 --- a/specification/cognitiveservices/data-plane/CustomImageSearch/readme.md +++ b/specification/cognitiveservices/data-plane/CustomImageSearch/readme.md @@ -72,33 +72,6 @@ python: output-folder: $(python-sdks-folder)/azure-cognitiveservices-search-customimagesearch ``` -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: customimagesearch - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/customimagesearch -``` - ## Suppressions Suppressing errors due to API design: ``` yaml @@ -107,6 +80,9 @@ directive: reason: _type is a polymorphic discriminator that can't be changed. ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/CustomVision/Prediction/readme.go.md b/specification/cognitiveservices/data-plane/CustomVision/Prediction/readme.go.md new file mode 100644 index 000000000000..f37ddd4038bc --- /dev/null +++ b/specification/cognitiveservices/data-plane/CustomVision/Prediction/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: prediction + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.1/customvision/$(namespace) +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/CustomVision/Prediction/readme.md b/specification/cognitiveservices/data-plane/CustomVision/Prediction/readme.md index ba75914f85de..f3e3c623891c 100644 --- a/specification/cognitiveservices/data-plane/CustomVision/Prediction/readme.md +++ b/specification/cognitiveservices/data-plane/CustomVision/Prediction/readme.md @@ -48,8 +48,8 @@ swagger-to-sdk: ## CSharp Settings These settings apply only when `--csharp` is specified on the command line. -``` yaml $(csharp) -csharp: +``` yaml $(csharp) +csharp: sync-methods: all license-header: MICROSOFT_MIT_NO_VERSION azure-arm: false @@ -86,31 +86,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: prediction - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.1/customvision/$(namespace) -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/CustomVision/Training/readme.go.md b/specification/cognitiveservices/data-plane/CustomVision/Training/readme.go.md new file mode 100644 index 000000000000..3ca63efd9bfb --- /dev/null +++ b/specification/cognitiveservices/data-plane/CustomVision/Training/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: training + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 + - tag: release_2_1 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.2/customvision/$(namespace) +``` + +### Tag: release_2_1 and go + +These settings apply only when `--tag=release_2_1 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_2_1' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.1/customvision/$(namespace) +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/CustomVision/Training/readme.md b/specification/cognitiveservices/data-plane/CustomVision/Training/readme.md index 6bd7275f0655..50ef559e634b 100644 --- a/specification/cognitiveservices/data-plane/CustomVision/Training/readme.md +++ b/specification/cognitiveservices/data-plane/CustomVision/Training/readme.md @@ -54,8 +54,8 @@ swagger-to-sdk: ## CSharp Settings These settings apply only when `--csharp` is specified on the command line. -``` yaml $(csharp) -csharp: +``` yaml $(csharp) +csharp: sync-methods: all license-header: MICROSOFT_MIT_NO_VERSION azure-arm: false @@ -93,40 +93,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: training - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 - - tag: release_2_1 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.2/customvision/$(namespace) -``` - -### Tag: release_2_1 and go - -These settings apply only when `--tag=release_2_1 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_2_1' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.1/customvision/$(namespace) -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/CustomWebSearch/readme.go.md b/specification/cognitiveservices/data-plane/CustomWebSearch/readme.go.md new file mode 100644 index 000000000000..887e585e375e --- /dev/null +++ b/specification/cognitiveservices/data-plane/CustomWebSearch/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: customsearch + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/customsearch +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/CustomWebSearch/readme.md b/specification/cognitiveservices/data-plane/CustomWebSearch/readme.md index 4de3f40edad3..2c25c9db9c86 100644 --- a/specification/cognitiveservices/data-plane/CustomWebSearch/readme.md +++ b/specification/cognitiveservices/data-plane/CustomWebSearch/readme.md @@ -75,33 +75,6 @@ python: output-folder: $(python-sdks-folder)/azure-cognitiveservices-search-customsearch ``` -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: customsearch - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/customsearch -``` - ## Suppressions Suppressing errors due to API design: ``` yaml @@ -110,6 +83,9 @@ directive: reason: _type is a polymorphic discriminator that can't be changed. ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/EntitySearch/readme.go.md b/specification/cognitiveservices/data-plane/EntitySearch/readme.go.md new file mode 100644 index 000000000000..2b549deca132 --- /dev/null +++ b/specification/cognitiveservices/data-plane/EntitySearch/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: entitysearch + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/entitysearch +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/EntitySearch/readme.md b/specification/cognitiveservices/data-plane/EntitySearch/readme.md index f55dc630ea08..10e231e19d1a 100644 --- a/specification/cognitiveservices/data-plane/EntitySearch/readme.md +++ b/specification/cognitiveservices/data-plane/EntitySearch/readme.md @@ -75,31 +75,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: entitysearch - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/entitysearch -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/Face/readme.go.md b/specification/cognitiveservices/data-plane/Face/readme.go.md new file mode 100644 index 000000000000..1138d38aa78b --- /dev/null +++ b/specification/cognitiveservices/data-plane/Face/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: face + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/face +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/Face/readme.md b/specification/cognitiveservices/data-plane/Face/readme.md index 5c8ccf20dc8a..043487a1c87b 100644 --- a/specification/cognitiveservices/data-plane/Face/readme.md +++ b/specification/cognitiveservices/data-plane/Face/readme.md @@ -79,31 +79,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: face - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/face -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/ImageSearch/readme.go.md b/specification/cognitiveservices/data-plane/ImageSearch/readme.go.md new file mode 100644 index 000000000000..649465d69f2b --- /dev/null +++ b/specification/cognitiveservices/data-plane/ImageSearch/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: imagesearch + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/imagesearch +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/ImageSearch/readme.md b/specification/cognitiveservices/data-plane/ImageSearch/readme.md index 9bb44157ef38..aaa0ccc09bcd 100644 --- a/specification/cognitiveservices/data-plane/ImageSearch/readme.md +++ b/specification/cognitiveservices/data-plane/ImageSearch/readme.md @@ -74,33 +74,6 @@ python: output-folder: $(python-sdks-folder)/azure-cognitiveservices-search-imagesearch ``` -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: imagesearch - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/imagesearch -``` - ## Suppressions Suppressing errors due to API design: ``` yaml @@ -109,6 +82,9 @@ directive: reason: _type is a polymorphic discriminator that can't be changed. ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/readme.go.md b/specification/cognitiveservices/data-plane/LUIS/Authoring/readme.go.md new file mode 100644 index 000000000000..1bd6bea985e6 --- /dev/null +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: authoring + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: authoring_2_0 +``` + +### Tag: authoring_2_0 and go + +These settings apply only when `--tag=authoring_2_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'authoring_2_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.0/luis/$(namespace) +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/readme.md b/specification/cognitiveservices/data-plane/LUIS/Authoring/readme.md index ce0e2b543774..bb35d7240112 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/readme.md +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/readme.md @@ -77,31 +77,7 @@ csharp: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: authoring - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: authoring_2_0 -``` - -### Tag: authoring_2_0 and go - -These settings apply only when `--tag=authoring_2_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'authoring_2_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.0/luis/$(namespace) -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/LUIS/Runtime/readme.go.md b/specification/cognitiveservices/data-plane/LUIS/Runtime/readme.go.md new file mode 100644 index 000000000000..db37cb83cab8 --- /dev/null +++ b/specification/cognitiveservices/data-plane/LUIS/Runtime/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: runtime + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: runtime_2_0 +``` + +### Tag: runtime_2_0 and go + +These settings apply only when `--tag=runtime_2_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'runtime_2_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.0/luis/runtime +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/LUIS/Runtime/readme.md b/specification/cognitiveservices/data-plane/LUIS/Runtime/readme.md index a9389a7cc28e..278d367e5d95 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Runtime/readme.md +++ b/specification/cognitiveservices/data-plane/LUIS/Runtime/readme.md @@ -64,31 +64,7 @@ directive: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: runtime - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: runtime_2_0 -``` - -### Tag: runtime_2_0 and go - -These settings apply only when `--tag=runtime_2_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'runtime_2_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.0/luis/runtime -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/NewsSearch/readme.go.md b/specification/cognitiveservices/data-plane/NewsSearch/readme.go.md new file mode 100644 index 000000000000..2dcc27dc3444 --- /dev/null +++ b/specification/cognitiveservices/data-plane/NewsSearch/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: newssearch + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/newssearch +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/NewsSearch/readme.md b/specification/cognitiveservices/data-plane/NewsSearch/readme.md index f67edcdc06c9..9df4ff55d5ad 100644 --- a/specification/cognitiveservices/data-plane/NewsSearch/readme.md +++ b/specification/cognitiveservices/data-plane/NewsSearch/readme.md @@ -85,31 +85,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: newssearch - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/newssearch -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/SpellCheck/readme.go.md b/specification/cognitiveservices/data-plane/SpellCheck/readme.go.md new file mode 100644 index 000000000000..1cb46fc4af9d --- /dev/null +++ b/specification/cognitiveservices/data-plane/SpellCheck/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: spellcheck + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/spellcheck +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/SpellCheck/readme.md b/specification/cognitiveservices/data-plane/SpellCheck/readme.md index 59dd20fa22af..33db78c23264 100644 --- a/specification/cognitiveservices/data-plane/SpellCheck/readme.md +++ b/specification/cognitiveservices/data-plane/SpellCheck/readme.md @@ -76,31 +76,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: spellcheck - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/spellcheck -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/readme.go.md b/specification/cognitiveservices/data-plane/TextAnalytics/readme.go.md new file mode 100644 index 000000000000..32891f10fc35 --- /dev/null +++ b/specification/cognitiveservices/data-plane/TextAnalytics/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: textanalytics + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_2_0 + - tag: release_2_1 +``` + +### Tag: release_2_0 and go + +These settings apply only when `--tag=release_2_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_2_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.0/textanalytics +``` + +### Tag: release_2_1 and go + +These settings apply only when `--tag=release_2_1 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_2_1' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.1/textanalytics +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/readme.md b/specification/cognitiveservices/data-plane/TextAnalytics/readme.md index 137950e39873..603fec1d97af 100644 --- a/specification/cognitiveservices/data-plane/TextAnalytics/readme.md +++ b/specification/cognitiveservices/data-plane/TextAnalytics/readme.md @@ -201,40 +201,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: textanalytics - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_2_0 - - tag: release_2_1 -``` - -### Tag: release_2_0 and go - -These settings apply only when `--tag=release_2_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_2_1' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.0/textanalytics -``` - -### Tag: release_2_1 and go - -These settings apply only when `--tag=release_2_1 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_2_1' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.1/textanalytics -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/VideoSearch/readme.go.md b/specification/cognitiveservices/data-plane/VideoSearch/readme.go.md new file mode 100644 index 000000000000..421d7c322eb1 --- /dev/null +++ b/specification/cognitiveservices/data-plane/VideoSearch/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: videosearch + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/videosearch +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/VideoSearch/readme.md b/specification/cognitiveservices/data-plane/VideoSearch/readme.md index d791055165a0..d4bdd6d4de8a 100644 --- a/specification/cognitiveservices/data-plane/VideoSearch/readme.md +++ b/specification/cognitiveservices/data-plane/VideoSearch/readme.md @@ -76,31 +76,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: videosearch - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/videosearch -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/VisualSearch/readme.go.md b/specification/cognitiveservices/data-plane/VisualSearch/readme.go.md new file mode 100644 index 000000000000..f5241d4cf945 --- /dev/null +++ b/specification/cognitiveservices/data-plane/VisualSearch/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: visualsearch + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/preview/cognitiveservices/v1.0/$(namespace) +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/VisualSearch/readme.md b/specification/cognitiveservices/data-plane/VisualSearch/readme.md index 85d43b586109..5b0b4d0cb399 100644 --- a/specification/cognitiveservices/data-plane/VisualSearch/readme.md +++ b/specification/cognitiveservices/data-plane/VisualSearch/readme.md @@ -41,8 +41,8 @@ swagger-to-sdk: ## CSharp Settings These settings apply only when `--csharp` is specified on the command line. -``` yaml $(csharp) -csharp: +``` yaml $(csharp) +csharp: namespace: Microsoft.Azure.CognitiveServices.Search.VisualSearch output-folder: $(csharp-sdks-folder)/CognitiveServices/dataPlane/Search/Search/Generated/VisualSearch sync-methods: none @@ -77,30 +77,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: visualsearch - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/preview/cognitiveservices/v1.0/$(namespace) -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/data-plane/WebSearch/readme.go.md b/specification/cognitiveservices/data-plane/WebSearch/readme.go.md new file mode 100644 index 000000000000..4e93b4eade7f --- /dev/null +++ b/specification/cognitiveservices/data-plane/WebSearch/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: websearch + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: release_1_0 +``` + +### Tag: release_1_0 and go + +These settings apply only when `--tag=release_1_0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'release_1_0' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/websearch +``` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/WebSearch/readme.md b/specification/cognitiveservices/data-plane/WebSearch/readme.md index ef4b7eb48573..707ed35c0f41 100644 --- a/specification/cognitiveservices/data-plane/WebSearch/readme.md +++ b/specification/cognitiveservices/data-plane/WebSearch/readme.md @@ -77,31 +77,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: websearch - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: release_1_0 -``` - -### Tag: release_1_0 and go - -These settings apply only when `--tag=release_1_0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'release_1_0' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.0/websearch -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cognitiveservices/resource-manager/readme.go.md b/specification/cognitiveservices/resource-manager/readme.go.md new file mode 100644 index 000000000000..141f6be9e803 --- /dev/null +++ b/specification/cognitiveservices/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: cognitiveservices + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2016-02-preview +``` + +### Tag: package-2017-04 and go + +These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(go) +output-folder: $(go-sdk-folder)/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices +``` + +### Tag: package-2016-02-preview and go + +These settings apply only when `--tag=package-2016-02-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-02-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/cognitiveservices/preview/mgmt/2016-02-01-preview/cognitiveservices +``` diff --git a/specification/cognitiveservices/resource-manager/readme.md b/specification/cognitiveservices/resource-manager/readme.md index e0b15a12effb..1f8d0a78c3a4 100644 --- a/specification/cognitiveservices/resource-manager/readme.md +++ b/specification/cognitiveservices/resource-manager/readme.md @@ -85,44 +85,9 @@ csharp: clear-output-folder: true ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: cognitiveservices - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-04 - - tag: package-2016-02-preview -``` - -### Tag: package-2017-04 and go - -These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-04' && $(go) -output-folder: $(go-sdk-folder)/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices -``` - -### Tag: package-2016-02-preview and go - -These settings apply only when `--tag=package-2016-02-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-02-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/cognitiveservices/preview/mgmt/2016-02-01-preview/cognitiveservices -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/commerce/resource-manager/readme.go.md b/specification/commerce/resource-manager/readme.go.md new file mode 100644 index 000000000000..f9d6e9bc12c4 --- /dev/null +++ b/specification/commerce/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: commerce + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2015-06-preview +``` + +### Tag: package-2015-06-preview and go + +These settings apply only when `--tag=package-2015-06-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-06-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/commerce/mgmt/2015-06-01-preview/commerce +``` \ No newline at end of file diff --git a/specification/commerce/resource-manager/readme.md b/specification/commerce/resource-manager/readme.md index b007fe0c7294..0ef46de40068 100644 --- a/specification/commerce/resource-manager/readme.md +++ b/specification/commerce/resource-manager/readme.md @@ -87,34 +87,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-commerce ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: commerce - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2015-06-preview -``` - -### Tag: package-2015-06-preview and go - -These settings apply only when `--tag=package-2015-06-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-06-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/commerce/mgmt/2015-06-01-preview/commerce -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md index 12591b3719f4..84d30596a34c 100644 --- a/specification/compute/resource-manager/readme.md +++ b/specification/compute/resource-manager/readme.md @@ -487,6 +487,9 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_compute'] ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/consumption/resource-manager/readme.go.md b/specification/consumption/resource-manager/readme.go.md new file mode 100644 index 000000000000..3b50049acfc8 --- /dev/null +++ b/specification/consumption/resource-manager/readme.go.md @@ -0,0 +1,89 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: consumption + clear-output-folder: true +``` + +### Go multi-api +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-04-preview + - tag: package-2017-11 + - tag: package-2017-12-preview + - tag: package-2018-01 + - tag: package-2018-03 + - tag: package-2018-05 + - tag: package-2018-06 + - tag: package-2018-08 +``` + + +### Tag: package-2017-04-preview and go + +These settings apply only when `--tag=package-2017-04-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-04-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/consumption/mgmt/2017-04-24-preview/consumption +``` + +### Tag: package-2017-11 and go +These settings apply only when `--tag=package-2017-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-11' && $(go) +output-folder: $(go-sdk-folder)/services/consumption/mgmt/2017-11-30/consumption +``` + +### Tag: package-2017-12-preview and go +These settings apply only when `--tag=package-2017-12-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-12-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/consumption/mgmt/2017-12-30-preview/consumption +``` + +### Tag: package-2018-01 and go +These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(go) +output-folder: $(go-sdk-folder)/services/consumption/mgmt/2018-01-31/consumption +``` + +### Tag: package-2018-03 and go +These settings apply only when `--tag=package-2018-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(go) +output-folder: $(go-sdk-folder)/services/consumption/mgmt/2018-03-31/consumption +``` + +### Tag: package-2018-05 and go +These settings apply only when `--tag=package-2018-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-05' && $(go) +output-folder: $(go-sdk-folder)/services/consumption/mgmt/2018-05-31/consumption +``` + +### Tag: package-2018-06 and go +These settings apply only when `--tag=package-2018-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-06' && $(go) +output-folder: $(go-sdk-folder)/services/consumption/mgmt/2018-06-30/consumption +``` + +### Tag: package-2018-08 and go +These settings apply only when `--tag=package-2018-08 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-08' && $(go) +output-folder: $(go-sdk-folder)/services/consumption/mgmt/2018-08-31/consumption +``` \ No newline at end of file diff --git a/specification/consumption/resource-manager/readme.md b/specification/consumption/resource-manager/readme.md index 50c9f200602d..0020bd34a577 100644 --- a/specification/consumption/resource-manager/readme.md +++ b/specification/consumption/resource-manager/readme.md @@ -179,97 +179,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-consumption ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: consumption - clear-output-folder: true -``` - -### Go multi-api -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-04-preview - - tag: package-2017-11 - - tag: package-2017-12-preview - - tag: package-2018-01 - - tag: package-2018-03 - - tag: package-2018-05 - - tag: package-2018-06 - - tag: package-2018-08 -``` - - -### Tag: package-2017-04-preview and go - -These settings apply only when `--tag=package-2017-04-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-04-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/consumption/mgmt/2017-04-24-preview/consumption -``` - -### Tag: package-2017-11 and go -These settings apply only when `--tag=package-2017-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-11' && $(go) -output-folder: $(go-sdk-folder)/services/consumption/mgmt/2017-11-30/consumption -``` - -### Tag: package-2017-12-preview and go -These settings apply only when `--tag=package-2017-12-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-12-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/consumption/mgmt/2017-12-30-preview/consumption -``` - -### Tag: package-2018-01 and go -These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-01' && $(go) -output-folder: $(go-sdk-folder)/services/consumption/mgmt/2018-01-31/consumption -``` - -### Tag: package-2018-03 and go -These settings apply only when `--tag=package-2018-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-03' && $(go) -output-folder: $(go-sdk-folder)/services/consumption/mgmt/2018-03-31/consumption -``` - -### Tag: package-2018-05 and go -These settings apply only when `--tag=package-2018-05 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-05' && $(go) -output-folder: $(go-sdk-folder)/services/consumption/mgmt/2018-05-31/consumption -``` - -### Tag: package-2018-06 and go -These settings apply only when `--tag=package-2018-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-06' && $(go) -output-folder: $(go-sdk-folder)/services/consumption/mgmt/2018-06-30/consumption -``` - -### Tag: package-2018-08 and go -These settings apply only when `--tag=package-2018-08 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-08' && $(go) -output-folder: $(go-sdk-folder)/services/consumption/mgmt/2018-08-31/consumption -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/containerinstance/resource-manager/readme.md b/specification/containerinstance/resource-manager/readme.md index a2b641fda938..fdee750c9f25 100644 --- a/specification/containerinstance/resource-manager/readme.md +++ b/specification/containerinstance/resource-manager/readme.md @@ -177,6 +177,10 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-containerinstance ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/containerregistry/resource-manager/readme.go.md b/specification/containerregistry/resource-manager/readme.go.md new file mode 100644 index 000000000000..5a7ba85613f7 --- /dev/null +++ b/specification/containerregistry/resource-manager/readme.go.md @@ -0,0 +1,76 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: containerregistry + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-09 + - tag: package-2018-02-preview + - tag: package-2017-10 + - tag: package-2017-06-preview + - tag: package-2017-03 + - tag: package-2016-06-preview +``` + +### Tag: package-2018-09 and go + +These settings apply only when `--tag=package-2018-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-09' && $(go) +output-folder: $(go-sdk-folder)/services/containerregistry/mgmt/2018-09-01/containerregistry +``` + +### Tag: package-2018-02-preview and go + +These settings apply only when `--tag=package-2018-02-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-02-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/containerregistry/mgmt/2018-02-01/containerregistry +``` + +### Tag: package-2017-10 and go + +These settings apply only when `--tag=package-2017-10 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(go) +output-folder: $(go-sdk-folder)/services/containerregistry/mgmt/2017-10-01/containerregistry +``` + +### Tag: package-2017-06-preview and go + +These settings apply only when `--tag=package-2017-06-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-06-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/containerregistry/mgmt/2017-06-01-preview/containerregistry +``` + +### Tag: package-2017-03 and go + +These settings apply only when `--tag=package-2017-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(go) +output-folder: $(go-sdk-folder)/services/containerregistry/mgmt/2017-03-01/containerregistry +``` + +### Tag: package-2016-06-preview and go + +These settings apply only when `--tag=package-2016-06-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-06-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/containerregistry/mgmt/2016-06-27-preview/containerregistry +``` \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md index 5cfae82d4da0..1cb88238a4e8 100644 --- a/specification/containerregistry/resource-manager/readme.md +++ b/specification/containerregistry/resource-manager/readme.md @@ -117,7 +117,7 @@ Please also specify `--csharp-sdks-folder=`. - -``` yaml $(tag) == 'package-2018-09' && $(go) -output-folder: $(go-sdk-folder)/services/containerregistry/mgmt/2018-09-01/containerregistry -``` - -### Tag: package-2018-02-preview and go - -These settings apply only when `--tag=package-2018-02-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-02-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/containerregistry/mgmt/2018-02-01/containerregistry -``` - -### Tag: package-2017-10 and go - -These settings apply only when `--tag=package-2017-10 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-10' && $(go) -output-folder: $(go-sdk-folder)/services/containerregistry/mgmt/2017-10-01/containerregistry -``` - -### Tag: package-2017-06-preview and go - -These settings apply only when `--tag=package-2017-06-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-06-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/containerregistry/mgmt/2017-06-01-preview/containerregistry -``` - -### Tag: package-2017-03 and go - -These settings apply only when `--tag=package-2017-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-03' && $(go) -output-folder: $(go-sdk-folder)/services/containerregistry/mgmt/2017-03-01/containerregistry -``` - -### Tag: package-2016-06-preview and go - -These settings apply only when `--tag=package-2016-06-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-06-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/containerregistry/mgmt/2016-06-27-preview/containerregistry -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/containerservices/resource-manager/readme.go.md b/specification/containerservices/resource-manager/readme.go.md new file mode 100644 index 000000000000..ee6ef1d97125 --- /dev/null +++ b/specification/containerservices/resource-manager/readme.go.md @@ -0,0 +1,59 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-03 + - tag: package-2017-09 + - tag: package-2017-08 + - tag: package-2017-07 +``` + +### Tag: package-2018-03 and go + +These settings apply only when `--tag=package-2018-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-03' && $(go) +namespace: containerservice +output-folder: $(go-sdk-folder)/services/containerservice/mgmt/2018-03-31/containerservice +``` + +### Tag: package-2017-09 and go + +These settings apply only when `--tag=package-2017-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-09' && $(go) +namespace: containerservice +output-folder: $(go-sdk-folder)/services/containerservice/mgmt/2017-09-30/containerservice +``` + +### Tag: package-2017-08 and go + +These settings apply only when `--tag=package-2017-08 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-08' && $(go) +namespace: containerservice +output-folder: $(go-sdk-folder)/services/containerservice/mgmt/2017-08-31/containerservice +``` + +### Tag: package-2017-07 and go + +These settings apply only when `--tag=package-2017-07 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-07' && $(go) +namespace: containerservice +output-folder: $(go-sdk-folder)/services/containerservice/mgmt/2017-07-01/containerservice +``` \ No newline at end of file diff --git a/specification/containerservices/resource-manager/readme.md b/specification/containerservices/resource-manager/readme.md index 0a85d3b35182..02fb75fa813c 100644 --- a/specification/containerservices/resource-manager/readme.md +++ b/specification/containerservices/resource-manager/readme.md @@ -144,67 +144,6 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_container_service'] ``` - -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-03 - - tag: package-2017-09 - - tag: package-2017-08 - - tag: package-2017-07 -``` - -### Tag: package-2018-03 and go - -These settings apply only when `--tag=package-2018-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-03' && $(go) -namespace: containerservice -output-folder: $(go-sdk-folder)/services/containerservice/mgmt/2018-03-31/containerservice -``` - -### Tag: package-2017-09 and go - -These settings apply only when `--tag=package-2017-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-09' && $(go) -namespace: containerservice -output-folder: $(go-sdk-folder)/services/containerservice/mgmt/2017-09-30/containerservice -``` - -### Tag: package-2017-08 and go - -These settings apply only when `--tag=package-2017-08 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-08' && $(go) -namespace: containerservice -output-folder: $(go-sdk-folder)/services/containerservice/mgmt/2017-08-31/containerservice -``` - -### Tag: package-2017-07 and go - -These settings apply only when `--tag=package-2017-07 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-07' && $(go) -namespace: containerservice -output-folder: $(go-sdk-folder)/services/containerservice/mgmt/2017-07-01/containerservice -``` - ## Python These settings apply only when `--python` is specified on the command line. @@ -233,6 +172,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-containerservice ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cosmos-db/resource-manager/readme.go.md b/specification/cosmos-db/resource-manager/readme.go.md new file mode 100644 index 000000000000..e204a4a863e2 --- /dev/null +++ b/specification/cosmos-db/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: documentdb + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2015-04 +``` + +### Tag: package-2015-04 and go + +These settings apply only when `--tag=package-2015-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-04' && $(go) +output-folder: $(go-sdk-folder)/services/cosmos-db/mgmt/2015-04-08/documentdb +``` \ No newline at end of file diff --git a/specification/cosmos-db/resource-manager/readme.md b/specification/cosmos-db/resource-manager/readme.md index abb18ec08e80..24b564b9affa 100644 --- a/specification/cosmos-db/resource-manager/readme.md +++ b/specification/cosmos-db/resource-manager/readme.md @@ -132,31 +132,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: documentdb - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2015-04 -``` - -### Tag: package-2015-04 and go - -These settings apply only when `--tag=package-2015-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-04' && $(go) -output-folder: $(go-sdk-folder)/services/cosmos-db/mgmt/2015-04-08/documentdb -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/cost-management/resource-manager/readme.md b/specification/cost-management/resource-manager/readme.md index c1451b8a4a27..d7bae3938af8 100644 --- a/specification/cost-management/resource-manager/readme.md +++ b/specification/cost-management/resource-manager/readme.md @@ -106,6 +106,10 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-costmanagement ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/customer-insights/resource-manager/readme.go.md b/specification/customer-insights/resource-manager/readme.go.md new file mode 100644 index 000000000000..70a540809822 --- /dev/null +++ b/specification/customer-insights/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: customerinsights + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2017-01 +``` + +### Tag: package-2017-04 and go + +These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(go) +output-folder: $(go-sdk-folder)/services/customerinsights/mgmt/2017-04-26/customerinsights +``` + +### Tag: package-2017-01 and go + +These settings apply only when `--tag=package-2017-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-01' && $(go) +output-folder: $(go-sdk-folder)/services/customerinsights/mgmt/2017-01-01/customerinsights +``` diff --git a/specification/customer-insights/resource-manager/readme.md b/specification/customer-insights/resource-manager/readme.md index 8cc231b53c5d..0be756284aac 100644 --- a/specification/customer-insights/resource-manager/readme.md +++ b/specification/customer-insights/resource-manager/readme.md @@ -83,91 +83,56 @@ csharp: clear-output-folder: true ``` - ## Go -These settings apply only when `--go` is specified on the command line. +See configuration in [readme.go.md](./readme.go.md) -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: customerinsights - clear-output-folder: true +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.customerinsights +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-customerinsights ``` -### Go multi-api +### Java multi-api -``` yaml $(go) && $(multiapi) +``` yaml $(java) && $(multiapi) batch: - - tag: package-2017-04 - tag: package-2017-01 + - tag: package-2017-04 ``` -### Tag: package-2017-04 and go +### Tag: package-2017-01 and java -These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +These settings apply only when `--tag=package-2017-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2017-04' && $(go) -output-folder: $(go-sdk-folder)/services/customerinsights/mgmt/2017-04-26/customerinsights +``` yaml $(tag) == 'package-2017-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.customerinsights.v2017_01_01 + output-folder: $(azure-libraries-for-java-folder)/customerinsights/resource-manager/v2017_01_01 +regenerate-manager: true +generate-interface: true ``` -### Tag: package-2017-01 and go +### Tag: package-2017-04 and java -These settings apply only when `--tag=package-2017-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +These settings apply only when `--tag=package-2017-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2017-01' && $(go) -output-folder: $(go-sdk-folder)/services/customerinsights/mgmt/2017-01-01/customerinsights +``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.customerinsights.v2017_04_26 + output-folder: $(azure-libraries-for-java-folder)/customerinsights/resource-manager/v2017_04_26 +regenerate-manager: true +generate-interface: true ``` -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.customerinsights -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-customerinsights -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2017-01 - - tag: package-2017-04 -``` - -### Tag: package-2017-01 and java - -These settings apply only when `--tag=package-2017-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.customerinsights.v2017_01_01 - output-folder: $(azure-libraries-for-java-folder)/customerinsights/resource-manager/v2017_01_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-04 and java - -These settings apply only when `--tag=package-2017-04 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.customerinsights.v2017_04_26 - output-folder: $(azure-libraries-for-java-folder)/customerinsights/resource-manager/v2017_04_26 -regenerate-manager: true -generate-interface: true -``` - - diff --git a/specification/databox/resource-manager/readme.go.md b/specification/databox/resource-manager/readme.go.md new file mode 100644 index 000000000000..2898c03f0e75 --- /dev/null +++ b/specification/databox/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: databox + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-01 +``` + +### Tag: package-2018-01 and go + +These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(go) +output-folder: $(go-sdk-folder)/services/databox/mgmt/2018-01-01/databox +``` \ No newline at end of file diff --git a/specification/databox/resource-manager/readme.md b/specification/databox/resource-manager/readme.md index f809fa3409d9..1e1fcd82b5ce 100644 --- a/specification/databox/resource-manager/readme.md +++ b/specification/databox/resource-manager/readme.md @@ -1,5 +1,5 @@ # DataBox - + > see https://aka.ms/autorest This is the AutoRest configuration file for DataBox. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for DataBox. --- -## Getting Started +## Getting Started To build the SDK for DataBox, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -21,7 +21,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the DataBox API. ``` yaml @@ -58,7 +58,7 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_databox'] ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -102,33 +102,6 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-databox ``` -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: databox - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-01 -``` - -### Tag: package-2018-01 and go - -These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-01' && $(go) -output-folder: $(go-sdk-folder)/services/databox/mgmt/2018-01-01/databox -``` - ## Ruby These settings apply only when `--ruby` is specified on the command line. @@ -156,6 +129,10 @@ namespace: "Azure::Compute::Mgmt::V2018_01_01" output-folder: $(ruby-sdks-folder)/management/azure_mgmt_databox/lib ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/databricks/resource-manager/readme.go.md b/specification/databricks/resource-manager/readme.go.md new file mode 100644 index 000000000000..9dbacacbe15e --- /dev/null +++ b/specification/databricks/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: databricks +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-04-01 +``` + +### Tag: package-2018-04-01 and go + +These settings apply only when `--tag=package-2018-04-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-04-01' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-04-01/$(namespace) +``` \ No newline at end of file diff --git a/specification/databricks/resource-manager/readme.md b/specification/databricks/resource-manager/readme.md index afd1f9ec3282..eb5aeda1f3b6 100644 --- a/specification/databricks/resource-manager/readme.md +++ b/specification/databricks/resource-manager/readme.md @@ -1,5 +1,5 @@ # Databricks - + > see https://aka.ms/autorest This is the AutoRest configuration file for Databricks. @@ -7,29 +7,29 @@ This is the AutoRest configuration file for Databricks. --- - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2018-04-01 -``` - -### Tag: package-2018-04-01 and java - -These settings apply only when `--tag=package-2018-04-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2018-04-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.databricks.v2018_04_01 - output-folder: $(azure-libraries-for-java-folder)/databricks/resource-manager/v2018_04_01 -regenerate-manager: true -generate-interface: true -``` - - -## Getting Started + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-04-01 +``` + +### Tag: package-2018-04-01 and java + +These settings apply only when `--tag=package-2018-04-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-04-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.databricks.v2018_04_01 + output-folder: $(azure-libraries-for-java-folder)/databricks/resource-manager/v2018_04_01 +regenerate-manager: true +generate-interface: true +``` + + +## Getting Started To build the SDK for Databricks, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -43,7 +43,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the Databricks API. ``` yaml @@ -75,27 +75,4 @@ swagger-to-sdk: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: databricks -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-04-01 -``` - -### Tag: package-2018-04-01 and go - -These settings apply only when `--tag=package-2018-04-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-04-01' && $(go) -output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-04-01/$(namespace) -``` +See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file diff --git a/specification/datacatalog/resource-manager/readme.go.md b/specification/datacatalog/resource-manager/readme.go.md new file mode 100644 index 000000000000..132414c66822 --- /dev/null +++ b/specification/datacatalog/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: datacatalog +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2016-03-30 +``` + +### Tag: package-2016-03-30 and go + +These settings apply only when `--tag=package-2016-03-30 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2016-03-30' && $(go) +output-folder: $(go-sdk-folder)/services/datacatalog/mgmt/2016-03-30/datacatalog +``` \ No newline at end of file diff --git a/specification/datacatalog/resource-manager/readme.md b/specification/datacatalog/resource-manager/readme.md index d3404517387e..24a896b5e0a6 100644 --- a/specification/datacatalog/resource-manager/readme.md +++ b/specification/datacatalog/resource-manager/readme.md @@ -74,18 +74,18 @@ csharp: ``` yaml directive: - suppress: R3018 # EnumInsteadOfBoolean - where: + where: - $.definitions.ADCCatalogProperties.properties.successfullyProvisioned - $.definitions.ADCCatalogProperties.properties.enableAutomaticUnitAdjustment from: datacatalog.json reason: Booleans are used to indicate binary states of the property, enum is not appropriate. - suppress: R3027 # TrackedResourceListByResourceGroup - where: + where: - $.definitions.ADCCatalog from: datacatalog.json reason: Catalog is per tenant level resources. - suppress: R3028 # TrackedResourceListBySubscription - where: + where: - $.definitions.ADCCatalog from: datacatalog.json reason: Catalog can only be listed by resource group. @@ -93,31 +93,7 @@ directive: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: datacatalog -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2016-03-30 -``` - -### Tag: package-2016-03-30 and go - -These settings apply only when `--tag=package-2016-03-30 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2016-03-30' && $(go) -output-folder: $(go-sdk-folder)/services/datacatalog/mgmt/2016-03-30/datacatalog -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/datafactory/resource-manager/readme.go.md b/specification/datafactory/resource-manager/readme.go.md new file mode 100644 index 000000000000..ca674e88f90e --- /dev/null +++ b/specification/datafactory/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: datafactory + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-09-preview + - tag: package-2018-06 +``` + +### Tag: package-2017-09-preview and go + +These settings apply only when `--tag=package-2017-09-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-09-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory +``` + +### Tag: package-2018-06 and go + +These settings apply only when `--tag=package-2018-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-06' && $(go) +output-folder: $(go-sdk-folder)/services/datafactory/mgmt/2018-06-01/datafactory +``` \ No newline at end of file diff --git a/specification/datafactory/resource-manager/readme.md b/specification/datafactory/resource-manager/readme.md index 9369892e1d55..7f6bd5156c45 100644 --- a/specification/datafactory/resource-manager/readme.md +++ b/specification/datafactory/resource-manager/readme.md @@ -108,43 +108,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-datafactory ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: datafactory - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-09-preview - - tag: package-2018-06 -``` - -### Tag: package-2017-09-preview and go - -These settings apply only when `--tag=package-2017-09-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-09-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/datafactory/mgmt/2017-09-01-preview/datafactory -``` - -### Tag: package-2018-06 and go - -These settings apply only when `--tag=package-2018-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-06' && $(go) -output-folder: $(go-sdk-folder)/services/datafactory/mgmt/2018-06-01/datafactory -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/datalake-analytics/data-plane/readme.go.md b/specification/datalake-analytics/data-plane/readme.go.md new file mode 100644 index 000000000000..f1db44019308 --- /dev/null +++ b/specification/datalake-analytics/data-plane/readme.go.md @@ -0,0 +1,81 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-job-2017-09-preview + - tag: package-catalog-2016-11 + - tag: package-job-2016-11 + - tag: package-job-2016-03-preview + - tag: package-job-2015-11-preview + - tag: package-catalog-2015-10-preview +``` + +### Tag: package-job-2017-09-preview and go + +These settings apply only when `--tag=package-job-2017-09-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-job-2017-09-preview' && $(go) +namespace: job +output-folder: $(go-sdk-folder)/services/preview/datalake/analytics/2017-09-01-preview/job +``` + +### Tag: package-catalog-2016-11 and go + +These settings apply only when `--tag=package-catalog-2015-10 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-catalog-2016-11' && $(go) +namespace: catalog +output-folder: $(go-sdk-folder)/services/datalake/analytics/2016-11-01-preview/catalog +``` + +### Tag: package-job-2016-11 and go + +These settings apply only when `--tag=package-job-2016-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-job-2016-11' && $(go) +namespace: job +output-folder: $(go-sdk-folder)/services/datalake/analytics/2016-11-01/job +``` + +### Tag: package-job-2016-03-preview and go + +These settings apply only when `--tag=package-job-2016-03-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-job-2016-03-preview' && $(go) +namespace: job +output-folder: $(go-sdk-folder)/services/preview/datalake/analytics/2016-03-20-preview/job +``` + +### Tag: package-job-2015-11-preview and go + +These settings apply only when `--tag=package-job-2015-11-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-job-2015-11-preview' && $(go) +namespace: job +output-folder: $(go-sdk-folder)/services/preview/datalake/analytics/2015-11-01-preview/job +``` + +### Tag: package-catalog-2015-10-preview and go + +These settings apply only when `--tag=package-catalog-2015-10-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-catalog-2015-10-preview' && $(go) +namespace: catalog +output-folder: $(go-sdk-folder)/services/preview/datalake/analytics/2015-10-01-preview/catalog +``` \ No newline at end of file diff --git a/specification/datalake-analytics/data-plane/readme.md b/specification/datalake-analytics/data-plane/readme.md index cd45e1b0db51..52dac03831e4 100644 --- a/specification/datalake-analytics/data-plane/readme.md +++ b/specification/datalake-analytics/data-plane/readme.md @@ -161,89 +161,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/catalog ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-job-2017-09-preview - - tag: package-catalog-2016-11 - - tag: package-job-2016-11 - - tag: package-job-2016-03-preview - - tag: package-job-2015-11-preview - - tag: package-catalog-2015-10-preview -``` - -### Tag: package-job-2017-09-preview and go - -These settings apply only when `--tag=package-job-2017-09-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-job-2017-09-preview' && $(go) -namespace: job -output-folder: $(go-sdk-folder)/services/preview/datalake/analytics/2017-09-01-preview/job -``` - -### Tag: package-catalog-2016-11 and go - -These settings apply only when `--tag=package-catalog-2015-10 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-catalog-2016-11' && $(go) -namespace: catalog -output-folder: $(go-sdk-folder)/services/datalake/analytics/2016-11-01-preview/catalog -``` - -### Tag: package-job-2016-11 and go - -These settings apply only when `--tag=package-job-2016-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-job-2016-11' && $(go) -namespace: job -output-folder: $(go-sdk-folder)/services/datalake/analytics/2016-11-01/job -``` - -### Tag: package-job-2016-03-preview and go - -These settings apply only when `--tag=package-job-2016-03-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-job-2016-03-preview' && $(go) -namespace: job -output-folder: $(go-sdk-folder)/services/preview/datalake/analytics/2016-03-20-preview/job -``` - -### Tag: package-job-2015-11-preview and go - -These settings apply only when `--tag=package-job-2015-11-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-job-2015-11-preview' && $(go) -namespace: job -output-folder: $(go-sdk-folder)/services/preview/datalake/analytics/2015-11-01-preview/job -``` - -### Tag: package-catalog-2015-10-preview and go - -These settings apply only when `--tag=package-catalog-2015-10-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-catalog-2015-10-preview' && $(go) -namespace: catalog -output-folder: $(go-sdk-folder)/services/preview/datalake/analytics/2015-10-01-preview/catalog -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/datalake-analytics/resource-manager/readme.go.md b/specification/datalake-analytics/resource-manager/readme.go.md new file mode 100644 index 000000000000..77dc8e6a4dcf --- /dev/null +++ b/specification/datalake-analytics/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: account + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2016-11 + - tag: package-2015-10-preview +``` + +### Tag: package-2016-11 and go + +These settings apply only when `--tag=package-2016-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-11' && $(go) +output-folder: $(go-sdk-folder)/services/datalake/analytics/mgmt/2016-11-01/account +``` + +### Tag: package-2015-10-preview and go + +These settings apply only when `--tag=package-2015-10-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-10-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/datalake/analytics/mgmt/2015-10-01-preview/account +``` \ No newline at end of file diff --git a/specification/datalake-analytics/resource-manager/readme.md b/specification/datalake-analytics/resource-manager/readme.md index d7976a7dd397..52298f2e6b9f 100644 --- a/specification/datalake-analytics/resource-manager/readme.md +++ b/specification/datalake-analytics/resource-manager/readme.md @@ -114,44 +114,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/account ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: account - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2016-11 - - tag: package-2015-10-preview -``` - -### Tag: package-2016-11 and go - -These settings apply only when `--tag=package-2016-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-11' && $(go) -output-folder: $(go-sdk-folder)/services/datalake/analytics/mgmt/2016-11-01/account -``` - -### Tag: package-2015-10-preview and go - -These settings apply only when `--tag=package-2015-10-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-10-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/datalake/analytics/mgmt/2015-10-01-preview/account -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/datalake-store/data-plane/readme.go.md b/specification/datalake-store/data-plane/readme.go.md new file mode 100644 index 000000000000..3080e120d0e7 --- /dev/null +++ b/specification/datalake-store/data-plane/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: filesystem + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2016-11 + - tag: package-2015-10-preview +``` + +### Tag: package-2016-11 and go + +These settings apply only when `--tag=package-2016-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-11' && $(go) +output-folder: $(go-sdk-folder)/services/datalake/store/2016-11-01/filesystem +``` + +### Tag: package-2015-10-preview and go + +These settings apply only when `--tag=package-2015-10-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-10-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/datalake/store/2015-10-01-preview/filesystem +``` \ No newline at end of file diff --git a/specification/datalake-store/data-plane/readme.md b/specification/datalake-store/data-plane/readme.md index fd7048489cf1..27b4ea9cb201 100644 --- a/specification/datalake-store/data-plane/readme.md +++ b/specification/datalake-store/data-plane/readme.md @@ -77,44 +77,9 @@ csharp: output-folder: $(csharp-sdks-folder)/DataLake.Store/Management.DataLake.Store/Generated ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: filesystem - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2016-11 - - tag: package-2015-10-preview -``` - -### Tag: package-2016-11 and go - -These settings apply only when `--tag=package-2016-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-11' && $(go) -output-folder: $(go-sdk-folder)/services/datalake/store/2016-11-01/filesystem -``` - -### Tag: package-2015-10-preview and go - -These settings apply only when `--tag=package-2015-10-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-10-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/datalake/store/2015-10-01-preview/filesystem -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/datalake-store/resource-manager/readme.go.md b/specification/datalake-store/resource-manager/readme.go.md new file mode 100644 index 000000000000..3d5bdac19554 --- /dev/null +++ b/specification/datalake-store/resource-manager/readme.go.md @@ -0,0 +1,37 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: account + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2016-11 + - tag: package-2015-10-preview +``` + +### Tag: package-2016-11 and go + +These settings apply only when `--tag=package-2016-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-11' && $(go) +output-folder: $(go-sdk-folder)/services/datalake/store/mgmt/2016-11-01/account +``` + +### Tag: package-2015-10-preview and go + +These settings apply only when `--tag=package-2015-10-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-10-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/datalake/store/mgmt/2015-10-01-preview/account +``` + diff --git a/specification/datalake-store/resource-manager/readme.md b/specification/datalake-store/resource-manager/readme.md index 13f59d596055..fec1f3db43bc 100644 --- a/specification/datalake-store/resource-manager/readme.md +++ b/specification/datalake-store/resource-manager/readme.md @@ -126,44 +126,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-datalake-store ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: account - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2016-11 - - tag: package-2015-10-preview -``` - -### Tag: package-2016-11 and go - -These settings apply only when `--tag=package-2016-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-11' && $(go) -output-folder: $(go-sdk-folder)/services/datalake/store/mgmt/2016-11-01/account -``` - -### Tag: package-2015-10-preview and go - -These settings apply only when `--tag=package-2015-10-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-10-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/datalake/store/mgmt/2015-10-01-preview/account -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/datamigration/resource-manager/readme.go.md b/specification/datamigration/resource-manager/readme.go.md new file mode 100644 index 000000000000..4138138231dc --- /dev/null +++ b/specification/datamigration/resource-manager/readme.go.md @@ -0,0 +1,37 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: datamigration +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-11-15-preview + - tag: package-2018-03-31-preview +``` + + +### Tag: package-2017-11-15-preview and go + +These settings apply only when `--tag=package-2017-11-15-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-11-15-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration +``` + +### Tag: package-2018-03-31-preview and go + +These settings apply only when `--tag=package-2018-03-31-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-03-31-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-03-31-preview/$(namespace) +``` \ No newline at end of file diff --git a/specification/datamigration/resource-manager/readme.md b/specification/datamigration/resource-manager/readme.md index e49cb5aeb082..4e468cb9b04f 100644 --- a/specification/datamigration/resource-manager/readme.md +++ b/specification/datamigration/resource-manager/readme.md @@ -1,5 +1,5 @@ # Azure Database Migration Service - + > see https://aka.ms/autorest This is the AutoRest configuration file for Azure Database Migration Service. @@ -8,7 +8,7 @@ The Data Migration RP comprises of APIs that enable a customer to manage the ser --- -## Getting Started +## Getting Started To build the SDK for Compute, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -21,7 +21,7 @@ To see additional help and options, run: ## Configuration -### Basic Information +### Basic Information These are the global settings for the Database Migration Service API. ``` yaml @@ -206,41 +206,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: datamigration -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-11-15-preview - - tag: package-2018-03-31-preview -``` - - -### Tag: package-2017-11-15-preview and go - -These settings apply only when `--tag=package-2017-11-15-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-11-15-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/datamigration/mgmt/2017-11-15-preview/datamigration -``` - -### Tag: package-2018-03-31-preview and go - -These settings apply only when `--tag=package-2018-03-31-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-03-31-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-03-31-preview/$(namespace) -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/deploymentmanager/resource-manager/readme.go.md b/specification/deploymentmanager/resource-manager/readme.go.md new file mode 100644 index 000000000000..2c376876800d --- /dev/null +++ b/specification/deploymentmanager/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: deploymentmanager + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-09-01-preview +``` + +### Tag: package-2018-09-01-preview and go + +These settings apply only when `--tag=package-2018-09-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-09-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/deploymentmanager/mgmt/2018-09-01-preview/deploymentmanager +``` \ No newline at end of file diff --git a/specification/deploymentmanager/resource-manager/readme.md b/specification/deploymentmanager/resource-manager/readme.md index 0e882cb25ada..149bc096b02f 100644 --- a/specification/deploymentmanager/resource-manager/readme.md +++ b/specification/deploymentmanager/resource-manager/readme.md @@ -38,13 +38,13 @@ directive: reason: Not available during preview. - suppress: TrackedResourcePatchOperation reason: Not available at this time. - from: deploymentmanager.json + from: deploymentmanager.json - suppress: TrackedResourceListBySubscription reason: Not available at this time. - from: deploymentmanager.json + from: deploymentmanager.json - suppress: TrackedResourceListByResourceGroup reason: Not available at this time. - from: deploymentmanager.json + from: deploymentmanager.json - suppress: TrackedResourceGetOperation reason: The rollout resource has a get operation. The request and response types are separated for clarity. where: $.definitions.RolloutRequest @@ -95,8 +95,8 @@ csharp: namespace: Microsoft.Azure.Management.DeploymentManager payload-flattening-threshold: 2 output-folder: $(csharp-sdks-folder)/DeploymentManager/Management/Generated - clear-output-folder: true -``` + clear-output-folder: true +``` ## Python @@ -127,34 +127,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-deploymentmanager ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: deploymentmanager - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-09-01-preview -``` - -### Tag: package-2018-09-01-preview and go - -These settings apply only when `--tag=package-2018-09-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-09-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/deploymentmanager/mgmt/2018-09-01-preview/deploymentmanager -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/deviceprovisioningservices/resource-manager/readme.go.md b/specification/deviceprovisioningservices/resource-manager/readme.go.md new file mode 100644 index 000000000000..3293281bbdf0 --- /dev/null +++ b/specification/deviceprovisioningservices/resource-manager/readme.go.md @@ -0,0 +1,47 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: iothub +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-11 + - tag: package-2017-08 + - tag: package-2018-01 +``` + + +### Tag: package-2018-01 and go + +These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-01' && $(go) +output-folder: $(go-sdk-folder)/services/provisioningservices/mgmt/2018-01-22/iothub +``` + +### Tag: package-2017-11 and go + +These settings apply only when `--tag=package-2017-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-11' && $(go) +output-folder: $(go-sdk-folder)/services/provisioningservices/mgmt/2017-11-15/iothub +``` + +### Tag: package-2017-08 and go + +These settings apply only when `--tag=package-2017-08 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-08' && $(go) +output-folder: $(go-sdk-folder)/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub +``` diff --git a/specification/deviceprovisioningservices/resource-manager/readme.md b/specification/deviceprovisioningservices/resource-manager/readme.md index d1bc9143a85a..51d04514cdef 100644 --- a/specification/deviceprovisioningservices/resource-manager/readme.md +++ b/specification/deviceprovisioningservices/resource-manager/readme.md @@ -1,5 +1,5 @@ # Device Provisioning Services - + > see https://aka.ms/autorest This is the AutoRest configuration file for Device Provisioning Services. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for Device Provisioning Services. --- -## Getting Started +## Getting Started To build the SDK for DeviceProvisioningServices, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -19,7 +19,7 @@ To see additional help and options, run: ## Configuration -### Basic Information +### Basic Information These are the global settings for the API. ``` yaml @@ -71,7 +71,7 @@ swagger-to-sdk: ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -114,51 +114,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: iothub -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-11 - - tag: package-2017-08 - - tag: package-2018-01 -``` - - -### Tag: package-2018-01 and go - -These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-01' && $(go) -output-folder: $(go-sdk-folder)/services/provisioningservices/mgmt/2018-01-22/iothub -``` - -### Tag: package-2017-11 and go - -These settings apply only when `--tag=package-2017-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-11' && $(go) -output-folder: $(go-sdk-folder)/services/provisioningservices/mgmt/2017-11-15/iothub -``` - -### Tag: package-2017-08 and go - -These settings apply only when `--tag=package-2017-08 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-08' && $(go) -output-folder: $(go-sdk-folder)/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/devspaces/resource-manager/readme.go.md b/specification/devspaces/resource-manager/readme.go.md new file mode 100644 index 000000000000..38d4496042d2 --- /dev/null +++ b/specification/devspaces/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: devspaces + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-06-01-preview +``` + +### Tag: package-2018-06-01-preview and go + +These settings apply only when `--tag=package-2018-06-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-06-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-06-01-preview/$(namespace) +``` \ No newline at end of file diff --git a/specification/devspaces/resource-manager/readme.md b/specification/devspaces/resource-manager/readme.md index 934055b60ac8..a78af131cec3 100644 --- a/specification/devspaces/resource-manager/readme.md +++ b/specification/devspaces/resource-manager/readme.md @@ -72,30 +72,7 @@ csharp: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: devspaces - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-06-01-preview -``` - -### Tag: package-2018-06-01-preview and go - -These settings apply only when `--tag=package-2018-06-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-06-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-06-01-preview/$(namespace) -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/devtestlabs/resource-manager/readme.go.md b/specification/devtestlabs/resource-manager/readme.go.md new file mode 100644 index 000000000000..42b799d93af4 --- /dev/null +++ b/specification/devtestlabs/resource-manager/readme.go.md @@ -0,0 +1,37 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: dtl + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2016-05 + - tag: package-2015-05-preview +``` + + +### Tag: package-2016-05 and go + +These settings apply only when `--tag=package-2016-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-05' && $(go) +output-folder: $(go-sdk-folder)/services/devtestlabs/mgmt/2016-05-15/dtl +``` + +### Tag: package-2015-05-preview and go + +These settings apply only when `--tag=package-2015-05-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-05-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/devtestlabs/mgmt/2015-05-21-preview/dtl +``` diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md index 9f28a653a8ab..32cf82104313 100644 --- a/specification/devtestlabs/resource-manager/readme.md +++ b/specification/devtestlabs/resource-manager/readme.md @@ -111,45 +111,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-devtestlabs ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: dtl - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2016-05 - - tag: package-2015-05-preview -``` - - -### Tag: package-2016-05 and go - -These settings apply only when `--tag=package-2016-05 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-05' && $(go) -output-folder: $(go-sdk-folder)/services/devtestlabs/mgmt/2016-05-15/dtl -``` - -### Tag: package-2015-05-preview and go - -These settings apply only when `--tag=package-2015-05-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-05-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/devtestlabs/mgmt/2015-05-21-preview/dtl -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/domainservices/resource-manager/readme.go.md b/specification/domainservices/resource-manager/readme.go.md new file mode 100644 index 000000000000..3d029e13cd92 --- /dev/null +++ b/specification/domainservices/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: aad + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-01 + - tag: package-2017-06 +``` + +### Tag: package-2017-01 and go + +These settings apply only when `--tag=package-2017-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-01' && $(go) +output-folder: $(go-sdk-folder)/services/domainservices/mgmt/2017-01-01/aad +``` + +### Tag: package-2017-06 and go + +These settings apply only when `--tag=package-2017-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-06' && $(go) +output-folder: $(go-sdk-folder)/services/domainservices/mgmt/2017-06-01/aad +``` \ No newline at end of file diff --git a/specification/domainservices/resource-manager/readme.md b/specification/domainservices/resource-manager/readme.md index a8ab06845828..437f25267d6f 100644 --- a/specification/domainservices/resource-manager/readme.md +++ b/specification/domainservices/resource-manager/readme.md @@ -77,43 +77,9 @@ csharp: clear-output-folder: true ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: aad - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-01 - - tag: package-2017-06 -``` - -### Tag: package-2017-01 and go - -These settings apply only when `--tag=package-2017-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-01' && $(go) -output-folder: $(go-sdk-folder)/services/domainservices/mgmt/2017-01-01/aad -``` - -### Tag: package-2017-06 and go - -These settings apply only when `--tag=package-2017-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-06' && $(go) -output-folder: $(go-sdk-folder)/services/domainservices/mgmt/2017-06-01/aad -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/eventgrid/data-plane/readme.go.md b/specification/eventgrid/data-plane/readme.go.md new file mode 100644 index 000000000000..2f1bb91cbe64 --- /dev/null +++ b/specification/eventgrid/data-plane/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: eventgrid + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-01 +``` + +### Tag: package-2018-01 and go + +These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(go) +output-folder: $(go-sdk-folder)/services/eventgrid/2018-01-01/eventgrid +``` \ No newline at end of file diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md index f506f4e8d7ae..a89791987567 100644 --- a/specification/eventgrid/data-plane/readme.md +++ b/specification/eventgrid/data-plane/readme.md @@ -119,31 +119,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: eventgrid - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-01 -``` - -### Tag: package-2018-01 and go - -These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-01' && $(go) -output-folder: $(go-sdk-folder)/services/eventgrid/2018-01-01/eventgrid -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/eventgrid/resource-manager/readme.go.md b/specification/eventgrid/resource-manager/readme.go.md new file mode 100644 index 000000000000..9c9107f1a6f1 --- /dev/null +++ b/specification/eventgrid/resource-manager/readme.go.md @@ -0,0 +1,56 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: eventgrid + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-05-preview + - tag: package-2018-01 + - tag: package-2017-09-preview + - tag: package-2017-06-preview +``` + +### Tag: package-2018-05-preview and go + +These settings apply only when `--tag=package-2018-05-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-05-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid +``` + +### Tag: package-2018-01 and go + +These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(go) +output-folder: $(go-sdk-folder)/services/eventgrid/mgmt/2018-01-01/eventgrid +``` + +### Tag: package-2017-09-preview and go + +These settings apply only when `--tag=package-2017-09-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-09-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid +``` + +### Tag: package-2017-06-preview and go + +These settings apply only when `--tag=package-2017-06-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-06-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/eventgrid/mgmt/2017-06-15-preview/eventgrid +``` diff --git a/specification/eventgrid/resource-manager/readme.md b/specification/eventgrid/resource-manager/readme.md index 7063fd8e81bd..1627e5f970ac 100644 --- a/specification/eventgrid/resource-manager/readme.md +++ b/specification/eventgrid/resource-manager/readme.md @@ -146,61 +146,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: eventgrid - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-05-preview - - tag: package-2018-01 - - tag: package-2017-09-preview - - tag: package-2017-06-preview -``` - -### Tag: package-2018-05-preview and go - -These settings apply only when `--tag=package-2018-05-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-05-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid -``` - -### Tag: package-2018-01 and go - -These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-01' && $(go) -output-folder: $(go-sdk-folder)/services/eventgrid/mgmt/2018-01-01/eventgrid -``` - -### Tag: package-2017-09-preview and go - -These settings apply only when `--tag=package-2017-09-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-09-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid -``` - -### Tag: package-2017-06-preview and go - -These settings apply only when `--tag=package-2017-06-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-06-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/eventgrid/mgmt/2017-06-15-preview/eventgrid -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/eventhub/resource-manager/readme.go.md b/specification/eventhub/resource-manager/readme.go.md new file mode 100644 index 000000000000..882dcab613e0 --- /dev/null +++ b/specification/eventhub/resource-manager/readme.go.md @@ -0,0 +1,46 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: eventhub + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2015-08 + - tag: package-2018-01-preview +``` + +### Tag: package-2017-04 and go + +These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(go) +output-folder: $(go-sdk-folder)/services/eventhub/mgmt/2017-04-01/eventhub +``` + +### Tag: package-2018-01-preview and go + +These settings apply only when `--tag=package-2018-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub +``` + +### Tag: package-2015-08 and go + +These settings apply only when `--tag=package-2015-08 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-08' && $(go) +output-folder: $(go-sdk-folder)/services/eventhub/mgmt/2015-08-01/eventhub +``` \ No newline at end of file diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md index 65f0235a7309..0397664933f2 100644 --- a/specification/eventhub/resource-manager/readme.md +++ b/specification/eventhub/resource-manager/readme.md @@ -133,54 +133,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-eventhub ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: eventhub - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-04 - - tag: package-2015-08 - - tag: package-2018-01-preview -``` - -### Tag: package-2017-04 and go - -These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-04' && $(go) -output-folder: $(go-sdk-folder)/services/eventhub/mgmt/2017-04-01/eventhub -``` - -### Tag: package-2018-01-preview and go - -These settings apply only when `--tag=package-2018-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/eventhub/mgmt/2018-01-01-preview/eventhub -``` - -### Tag: package-2015-08 and go - -These settings apply only when `--tag=package-2015-08 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-08' && $(go) -output-folder: $(go-sdk-folder)/services/eventhub/mgmt/2015-08-01/eventhub -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/frontdoor/resource-manager/readme.go.md b/specification/frontdoor/resource-manager/readme.go.md new file mode 100644 index 000000000000..c86aa4d364ca --- /dev/null +++ b/specification/frontdoor/resource-manager/readme.go.md @@ -0,0 +1,27 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: frontdoor + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-08-preview +``` + + +### Tag: package-2018-08-preview and go + +These settings apply only when `--tag=package-2018-08-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-08-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor +``` \ No newline at end of file diff --git a/specification/frontdoor/resource-manager/readme.md b/specification/frontdoor/resource-manager/readme.md index 8742b239359e..86076a3edc54 100644 --- a/specification/frontdoor/resource-manager/readme.md +++ b/specification/frontdoor/resource-manager/readme.md @@ -79,35 +79,9 @@ csharp: clear-output-folder: true ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: frontdoor - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-08-preview -``` - - -### Tag: package-2018-08-preview and go - -These settings apply only when `--tag=package-2018-08-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-08-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/graphrbac/data-plane/readme.go.md b/specification/graphrbac/data-plane/readme.go.md new file mode 100644 index 000000000000..60c0a6b315d4 --- /dev/null +++ b/specification/graphrbac/data-plane/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: graphrbac + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: "1.6" +``` + +### Tag: 1.6 and go + +These settings apply only when `--tag=1.6 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == '1.6' && $(go) +output-folder: $(go-sdk-folder)/services/graphrbac/1.6/graphrbac +``` \ No newline at end of file diff --git a/specification/graphrbac/data-plane/readme.md b/specification/graphrbac/data-plane/readme.md index 51b73c704bf7..5cef291f2971 100644 --- a/specification/graphrbac/data-plane/readme.md +++ b/specification/graphrbac/data-plane/readme.md @@ -102,34 +102,6 @@ python: output-folder: $(python-sdks-folder)/azure-graphrbac ``` - -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: graphrbac - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: "1.6" -``` - -### Tag: 1.6 and go - -These settings apply only when `--tag=1.6 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == '1.6' && $(go) -output-folder: $(go-sdk-folder)/services/graphrbac/1.6/graphrbac -``` - ## Python These settings apply only when `--python` is specified on the command line. @@ -143,6 +115,9 @@ python: namespace: azure.graphrbac ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/hanaonazure/resource-manager/readme.go.md b/specification/hanaonazure/resource-manager/readme.go.md new file mode 100644 index 000000000000..2adee1e36972 --- /dev/null +++ b/specification/hanaonazure/resource-manager/readme.go.md @@ -0,0 +1,25 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: hanaonazure + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-11 +``` + +### Tag: package-2017-11 + +These settings apply only when `--tag=package-2017-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-11' && $(go) +output-folder: $(go-sdk-folder)/services/preview/hanaonazure/mgmt/2017-11-03-preview/hanaonazure +``` \ No newline at end of file diff --git a/specification/hanaonazure/resource-manager/readme.md b/specification/hanaonazure/resource-manager/readme.md index 713838b0cace..766a61653138 100644 --- a/specification/hanaonazure/resource-manager/readme.md +++ b/specification/hanaonazure/resource-manager/readme.md @@ -7,7 +7,7 @@ This is the AutoRest configuration file for HanaOnAzure. --- -## Getting Started +## Getting Started To build the SDK for HanaOnAzure, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -85,32 +85,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-hanaonazure ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: hanaonazure - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-11 -``` - -### Tag: package-2017-11 - -These settings apply only when `--tag=package-2017-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-11' && $(go) -output-folder: $(go-sdk-folder)/services/preview/hanaonazure/mgmt/2017-11-03-preview/hanaonazure -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/hdinsight/resource-manager/readme.go.md b/specification/hdinsight/resource-manager/readme.go.md new file mode 100644 index 000000000000..ed502362781a --- /dev/null +++ b/specification/hdinsight/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: hdinsight + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-06-preview + - tag: package-2015-03-preview +``` + +### Tag: package-2018-06-preview and go + +These settings apply only when `--tag=package-2018-06-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight +``` + +### Tag: package-2015-03-preview and go + +These settings apply only when `--tag=package-2015-03-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-03-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/hdinsight/mgmt/2015-03-01-preview/hdinsight +``` \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/readme.md b/specification/hdinsight/resource-manager/readme.md index fb7120669a8a..8ce6801c4aba 100644 --- a/specification/hdinsight/resource-manager/readme.md +++ b/specification/hdinsight/resource-manager/readme.md @@ -105,41 +105,7 @@ See configuration in [readme.python.md](./readme.python.md) ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: hdinsight - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-06-preview - - tag: package-2015-03-preview -``` - -### Tag: package-2018-06-preview and go - -These settings apply only when `--tag=package-2018-06-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-06-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight -``` - -### Tag: package-2015-03-preview and go - -These settings apply only when `--tag=package-2015-03-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-03-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/hdinsight/mgmt/2015-03-01-preview/hdinsight -``` - +See configuration in [readme.go.md](./readme.go.md) ## C# diff --git a/specification/iotcentral/resource-manager/readme.md b/specification/iotcentral/resource-manager/readme.md index 8baaf800b310..1e02068f8b46 100644 --- a/specification/iotcentral/resource-manager/readme.md +++ b/specification/iotcentral/resource-manager/readme.md @@ -77,6 +77,10 @@ csharp: clear-output-folder: true ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/iothub/resource-manager/readme.go.md b/specification/iothub/resource-manager/readme.go.md new file mode 100644 index 000000000000..06d3b3146948 --- /dev/null +++ b/specification/iothub/resource-manager/readme.go.md @@ -0,0 +1,65 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: devices + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-04 + - tag: package-2018-01 + - tag: package-2017-07 + - tag: package-2017-01 + - tag: package-2016-02 +``` +### Tag: package-2018-04 and go + +These settings apply only when `--tag=package-2018-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(go) +output-folder: $(go-sdk-folder)/services/iothub/mgmt/2018-04-01/devices +``` + +### Tag: package-2018-01 and go + +These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(go) +output-folder: $(go-sdk-folder)/services/iothub/mgmt/2018-01-22/devices +``` + +### Tag: package-2017-07 and go + +These settings apply only when `--tag=package-2017-07 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-07' && $(go) +output-folder: $(go-sdk-folder)/services/iothub/mgmt/2017-07-01/devices +``` + +### Tag: package-2017-01 and go + +These settings apply only when `--tag=package-2017-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-01' && $(go) +output-folder: $(go-sdk-folder)/services/iothub/mgmt/2017-01-19/devices +``` + +### Tag: package-2016-02 and go + +These settings apply only when `--tag=package-2016-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-02' && $(go) +output-folder: $(go-sdk-folder)/services/iothub/mgmt/2016-02-03/devices +``` \ No newline at end of file diff --git a/specification/iothub/resource-manager/readme.md b/specification/iothub/resource-manager/readme.md index 196fe2baaef4..5c2cf51859ae 100644 --- a/specification/iothub/resource-manager/readme.md +++ b/specification/iothub/resource-manager/readme.md @@ -109,73 +109,9 @@ csharp: clear-output-folder: true ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: devices - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-04 - - tag: package-2018-01 - - tag: package-2017-07 - - tag: package-2017-01 - - tag: package-2016-02 -``` -### Tag: package-2018-04 and go - -These settings apply only when `--tag=package-2018-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-04' && $(go) -output-folder: $(go-sdk-folder)/services/iothub/mgmt/2018-04-01/devices -``` - -### Tag: package-2018-01 and go - -These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-01' && $(go) -output-folder: $(go-sdk-folder)/services/iothub/mgmt/2018-01-22/devices -``` - -### Tag: package-2017-07 and go - -These settings apply only when `--tag=package-2017-07 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-07' && $(go) -output-folder: $(go-sdk-folder)/services/iothub/mgmt/2017-07-01/devices -``` - -### Tag: package-2017-01 and go - -These settings apply only when `--tag=package-2017-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-01' && $(go) -output-folder: $(go-sdk-folder)/services/iothub/mgmt/2017-01-19/devices -``` - -### Tag: package-2016-02 and go - -These settings apply only when `--tag=package-2016-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-02' && $(go) -output-folder: $(go-sdk-folder)/services/iothub/mgmt/2016-02-03/devices -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/iotspaces/resource-manager/readme.go.md b/specification/iotspaces/resource-manager/readme.go.md new file mode 100644 index 000000000000..012dc608367f --- /dev/null +++ b/specification/iotspaces/resource-manager/readme.go.md @@ -0,0 +1,27 @@ +## Go + + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: iotspaces +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-10-preview +``` + +### Tag: package-2017-10-preview and go + +These settings apply only when `--tag=package-2017-10-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-10-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-10-01-preview/$(namespace) +``` diff --git a/specification/iotspaces/resource-manager/readme.md b/specification/iotspaces/resource-manager/readme.md index efbb91da2023..b9eb33a963f8 100644 --- a/specification/iotspaces/resource-manager/readme.md +++ b/specification/iotspaces/resource-manager/readme.md @@ -55,7 +55,7 @@ tag: package-2017-10-preview These settings apply only when `--tag=package-2017-10-preview` is specified on the command line. ``` yaml $(tag) == 'package-2017-10-preview' -input-file: +input-file: - Microsoft.IoTSpaces/preview/2017-10-01-preview/iotspaces.json ``` @@ -89,27 +89,4 @@ csharp: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: iotspaces -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-10-preview -``` - -### Tag: package-2017-10-preview and go - -These settings apply only when `--tag=package-2017-10-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-10-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-10-01-preview/$(namespace) -``` +See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file diff --git a/specification/keyvault/data-plane/readme.go.md b/specification/keyvault/data-plane/readme.go.md new file mode 100644 index 000000000000..e434e1b9f73d --- /dev/null +++ b/specification/keyvault/data-plane/readme.go.md @@ -0,0 +1,46 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: keyvault + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-7.0 + - tag: package-2016-10 + - tag: package-2015-06 +``` + +### Tag: package-7.0 and go + +These settings apply only when `--tag=package-7.0 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-7.0' && $(go) +output-folder: $(go-sdk-folder)/services/keyvault/v7.0/keyvault +``` + +### Tag: package-2016-10 and go + +These settings apply only when `--tag=package-2016-10 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(go) +output-folder: $(go-sdk-folder)/services/keyvault/2016-10-01/keyvault +``` + +### Tag: package-2015-06 and go + +These settings apply only when `--tag=package-2015-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-06' && $(go) +output-folder: $(go-sdk-folder)/services/keyvault/2015-06-01/keyvault +``` \ No newline at end of file diff --git a/specification/keyvault/data-plane/readme.md b/specification/keyvault/data-plane/readme.md index ef7c2619a661..5795338b2b97 100644 --- a/specification/keyvault/data-plane/readme.md +++ b/specification/keyvault/data-plane/readme.md @@ -93,51 +93,7 @@ csharp: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: keyvault - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-7.0 - - tag: package-2016-10 - - tag: package-2015-06 -``` - -### Tag: package-7.0 and go - -These settings apply only when `--tag=package-7.0 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-7.0' && $(go) -output-folder: $(go-sdk-folder)/services/keyvault/v7.0/keyvault -``` - -### Tag: package-2016-10 and go - -These settings apply only when `--tag=package-2016-10 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-10' && $(go) -output-folder: $(go-sdk-folder)/services/keyvault/2016-10-01/keyvault -``` - -### Tag: package-2015-06 and go - -These settings apply only when `--tag=package-2015-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-06' && $(go) -output-folder: $(go-sdk-folder)/services/keyvault/2015-06-01/keyvault -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/keyvault/resource-manager/readme.go.md b/specification/keyvault/resource-manager/readme.go.md new file mode 100644 index 000000000000..fbe039b4db18 --- /dev/null +++ b/specification/keyvault/resource-manager/readme.go.md @@ -0,0 +1,46 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: keyvault + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-02 + - tag: package-2016-10 + - tag: package-2015-06 +``` + +### Tag: package-2018-02 and go + +These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(go) +output-folder: $(go-sdk-folder)/services/keyvault/mgmt/2018-02-14/keyvault +``` + +### Tag: package-2016-10 and go + +These settings apply only when `--tag=package-2016-10 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(go) +output-folder: $(go-sdk-folder)/services/keyvault/mgmt/2016-10-01/keyvault +``` + +### Tag: package-2015-06 and go + +These settings apply only when `--tag=package-2015-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-06' && $(go) +output-folder: $(go-sdk-folder)/services/keyvault/mgmt/2015-06-01/keyvault +``` \ No newline at end of file diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md index cf64670f0600..20bab62a7b4a 100644 --- a/specification/keyvault/resource-manager/readme.md +++ b/specification/keyvault/resource-manager/readme.md @@ -86,54 +86,9 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_key_vault'] ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: keyvault - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-02 - - tag: package-2016-10 - - tag: package-2015-06 -``` - -### Tag: package-2018-02 and go - -These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-02' && $(go) -output-folder: $(go-sdk-folder)/services/keyvault/mgmt/2018-02-14/keyvault -``` - -### Tag: package-2016-10 and go - -These settings apply only when `--tag=package-2016-10 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-10' && $(go) -output-folder: $(go-sdk-folder)/services/keyvault/mgmt/2016-10-01/keyvault -``` - -### Tag: package-2015-06 and go - -These settings apply only when `--tag=package-2015-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-06' && $(go) -output-folder: $(go-sdk-folder)/services/keyvault/mgmt/2015-06-01/keyvault -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/logic/resource-manager/readme.md b/specification/logic/resource-manager/readme.md index 196a16f22d9f..510cdd301557 100644 --- a/specification/logic/resource-manager/readme.md +++ b/specification/logic/resource-manager/readme.md @@ -140,6 +140,10 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-logic ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/machinelearning/resource-manager/readme.go.md b/specification/machinelearning/resource-manager/readme.go.md new file mode 100644 index 000000000000..cfa6ca768a27 --- /dev/null +++ b/specification/machinelearning/resource-manager/readme.go.md @@ -0,0 +1,59 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-webservices-2017-01 + - tag: package-webservices-2016-05-preview + - tag: package-workspaces-2016-04 + - tag: package-commitmentPlans-2016-05-preview +``` + +### Tag: package-webservices-2017-01 and go + +These settings apply only when `--tag=package-webservices-2017-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-webservices-2017-01' && $(go) +namespace: webservices +output-folder: $(go-sdk-folder)/services/machinelearning/mgmt/2017-01-01/webservices +``` + +### Tag: package-webservices-2016-05-preview and go + +These settings apply only when `--tag=package-webservices-2016-05-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-webservices-2016-05-preview' && $(go) +namespace: webservices +output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2016-05-01-preview/webservices +``` + +### Tag: package-workspaces-2016-04 and go + +These settings apply only when `--tag=package-workspaces-2016-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-workspaces-2016-04' && $(go) +namespace: workspaces +output-folder: $(go-sdk-folder)/services/machinelearning/mgmt/2016-04-01/workspaces +``` + +### Tag: package-commitmentPlans-2016-05-preview and go + +These settings apply only when `--tag=package-commitmentPlans-2016-05-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-commitmentPlans-2016-05-preview' && $(go) +namespace: commitmentplans +output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2016-05-01-preview/commitmentplans +``` \ No newline at end of file diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md index 9035176ae8d8..904f711f65b6 100644 --- a/specification/machinelearning/resource-manager/readme.md +++ b/specification/machinelearning/resource-manager/readme.md @@ -119,153 +119,95 @@ batch: output-folder: $(csharp-sdks-folder)/MachineLearning/Management.MachineLearning/Generated/Workspaces ``` - ## Go -These settings apply only when `--go` is specified on the command line. +See configuration in [readme.go.md](./readme.go.md) -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true -``` +## Java -### Go multi-api +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. -``` yaml $(go) && $(multiapi) -batch: - - tag: package-webservices-2017-01 - - tag: package-webservices-2016-05-preview - - tag: package-workspaces-2016-04 - - tag: package-commitmentPlans-2016-05-preview +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.machinelearning +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning ``` -### Tag: package-webservices-2017-01 and go +# Validation -These settings apply only when `--tag=package-webservices-2017-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +Since this RP has no unique default package, iterate over all of them for validation: -``` yaml $(tag) == 'package-webservices-2017-01' && $(go) -namespace: webservices -output-folder: $(go-sdk-folder)/services/machinelearning/mgmt/2017-01-01/webservices +``` yaml $(validation) +batch: + - package-webservices: true + - package-commitmentPlans: true + - package-workspaces: true ``` -### Tag: package-webservices-2016-05-preview and go - -These settings apply only when `--tag=package-webservices-2016-05-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +### Java multi-api -``` yaml $(tag) == 'package-webservices-2016-05-preview' && $(go) -namespace: webservices -output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2016-05-01-preview/webservices +``` yaml $(java) && $(multiapi) +batch: + - tag: package-webservices-2017-01 + - tag: package-commitmentPlans-2016-05-preview + - tag: package-webservices-2016-05-preview + - tag: package-workspaces-2016-04 ``` -### Tag: package-workspaces-2016-04 and go +### Tag: package-webservices-2017-01 and java -These settings apply only when `--tag=package-workspaces-2016-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +These settings apply only when `--tag=package-webservices-2017-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-workspaces-2016-04' && $(go) -namespace: workspaces -output-folder: $(go-sdk-folder)/services/machinelearning/mgmt/2016-04-01/workspaces +``` yaml $(tag) == 'package-webservices-2017-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearning.v2017_01_01 + output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2017_01_01 +regenerate-manager: true +generate-interface: true ``` -### Tag: package-commitmentPlans-2016-05-preview and go +### Tag: package-commitmentPlans-2016-05-preview and java -These settings apply only when `--tag=package-commitmentPlans-2016-05-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +These settings apply only when `--tag=package-commitmentPlans-2016-05-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-commitmentPlans-2016-05-preview' && $(go) -namespace: commitmentplans -output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2016-05-01-preview/commitmentplans +``` yaml $(tag) == 'package-commitmentPlans-2016-05-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearning.v2016_05_01_preview + output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2016_05_01_preview +regenerate-manager: true +generate-interface: true ``` +### Tag: package-webservices-2016-05-preview and java -## Java +These settings apply only when `--tag=package-webservices-2016-05-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.machinelearning -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning +``` yaml $(tag) == 'package-webservices-2016-05-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearning.v2016_05_01_preview + output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2016_05_01_preview +regenerate-manager: true +generate-interface: true ``` -# Validation +### Tag: package-workspaces-2016-04 and java -Since this RP has no unique default package, iterate over all of them for validation: +These settings apply only when `--tag=package-workspaces-2016-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(validation) -batch: - - package-webservices: true - - package-commitmentPlans: true - - package-workspaces: true +``` yaml $(tag) == 'package-workspaces-2016-04' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearning.v2016_04_01 + output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2016_04_01 +regenerate-manager: true +generate-interface: true ``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-webservices-2017-01 - - tag: package-commitmentPlans-2016-05-preview - - tag: package-webservices-2016-05-preview - - tag: package-workspaces-2016-04 -``` - -### Tag: package-webservices-2017-01 and java - -These settings apply only when `--tag=package-webservices-2017-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-webservices-2017-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.machinelearning.v2017_01_01 - output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2017_01_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-commitmentPlans-2016-05-preview and java - -These settings apply only when `--tag=package-commitmentPlans-2016-05-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-commitmentPlans-2016-05-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.machinelearning.v2016_05_01_preview - output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2016_05_01_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-webservices-2016-05-preview and java - -These settings apply only when `--tag=package-webservices-2016-05-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-webservices-2016-05-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.machinelearning.v2016_05_01_preview - output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2016_05_01_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-workspaces-2016-04 and java - -These settings apply only when `--tag=package-workspaces-2016-04 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-workspaces-2016-04' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.machinelearning.v2016_04_01 - output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2016_04_01 -regenerate-manager: true -generate-interface: true -``` - - + + diff --git a/specification/machinelearningcompute/resource-manager/readme.go.md b/specification/machinelearningcompute/resource-manager/readme.go.md new file mode 100644 index 000000000000..4bae91b878b4 --- /dev/null +++ b/specification/machinelearningcompute/resource-manager/readme.go.md @@ -0,0 +1,35 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: compute +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-08-preview +``` + +### Tag: package-2017-08-preview and go + +These settings apply only when `--tag=package-2017-08-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-08-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2017-08-01-preview/compute +``` + +### Tag: package-2017-06-preview and go + +These settings apply only when `--tag=package-package-2017-06-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-06-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2017-06-01-preview/compute +``` \ No newline at end of file diff --git a/specification/machinelearningcompute/resource-manager/readme.md b/specification/machinelearningcompute/resource-manager/readme.md index 573f91990c05..1dd6b6d8155d 100644 --- a/specification/machinelearningcompute/resource-manager/readme.md +++ b/specification/machinelearningcompute/resource-manager/readme.md @@ -111,40 +111,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: compute -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-08-preview -``` - -### Tag: package-2017-08-preview and go - -These settings apply only when `--tag=package-2017-08-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-08-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2017-08-01-preview/compute -``` - -### Tag: package-2017-06-preview and go - -These settings apply only when `--tag=package-package-2017-06-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-06-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2017-06-01-preview/compute -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/machinelearningexperimentation/resource-manager/readme.go.md b/specification/machinelearningexperimentation/resource-manager/readme.go.md new file mode 100644 index 000000000000..f20f62ce84cd --- /dev/null +++ b/specification/machinelearningexperimentation/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: experimentation +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-05-preview +``` + +### Tag: package-2017-05-preview and go + +These settings apply only when `--tag=package-2017-05-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-05-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2017-05-01-preview/experimentation +``` \ No newline at end of file diff --git a/specification/machinelearningexperimentation/resource-manager/readme.md b/specification/machinelearningexperimentation/resource-manager/readme.md index 2db43935130b..9d264f6a2b22 100644 --- a/specification/machinelearningexperimentation/resource-manager/readme.md +++ b/specification/machinelearningexperimentation/resource-manager/readme.md @@ -1,5 +1,5 @@ # MachineLearningExperimentation - + > see https://aka.ms/autorest This is the AutoRest configuration file for Machine Learning Experimentation. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for Machine Learning Experimentation. --- -## Getting Started +## Getting Started To build the SDK for EventHub, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -21,7 +21,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the Machine Learning Experimentation API. ``` yaml @@ -54,7 +54,7 @@ swagger-to-sdk: ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -67,33 +67,10 @@ csharp: output-folder: $(csharp-sdks-folder)/MachineLearningExperimentation/Management.MachineLearningExperimentation/Generated clear-output-folder: true ``` -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: experimentation -``` -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-05-preview -``` - -### Tag: package-2017-05-preview and go - -These settings apply only when `--tag=package-2017-05-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-05-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2017-05-01-preview/experimentation -``` +## Go +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/machinelearningservices/resource-manager/readme.go.md b/specification/machinelearningservices/resource-manager/readme.go.md new file mode 100644 index 000000000000..356c469d26f2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: services +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-03-preview +``` + +### Tag: package-2018-03-preview and go + +These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-03-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2018-03-01-preview/services +``` \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index a916d4644c31..62b9fb08bb59 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -1,5 +1,5 @@ # MachineLearningServices - + > see https://aka.ms/autorest This is the AutoRest configuration file for Machine Learning Services. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for Machine Learning Services. --- -## Getting Started +## Getting Started To build the SDK for EventHub, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -21,7 +21,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the Machine Learning Services API. ``` yaml @@ -55,7 +55,7 @@ swagger-to-sdk: ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -99,31 +99,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: services -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-03-preview -``` - -### Tag: package-2018-03-preview and go - -These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-03-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2018-03-01-preview/services -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/managementgroups/resource-manager/readme.md b/specification/managementgroups/resource-manager/readme.md index 9ccb7e28993e..cf35ab6d8df6 100644 --- a/specification/managementgroups/resource-manager/readme.md +++ b/specification/managementgroups/resource-manager/readme.md @@ -1,5 +1,5 @@ # Management Groups - + > see https://aka.ms/autorest This is the AutoRest configuration file for Management Groups. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for Management Groups. --- -## Getting Started +## Getting Started To build the SDK for Management Groups, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -19,7 +19,7 @@ To see additional help and options, run: ## Configuration -### Basic Information +### Basic Information These are the global settings for the API. ``` yaml @@ -74,7 +74,7 @@ swagger-to-sdk: - repo: azure-sdk-for-go ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -115,6 +115,10 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-managementgroups ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/managementpartner/resource-manager/readme.go.md b/specification/managementpartner/resource-manager/readme.go.md new file mode 100644 index 000000000000..ab863a798565 --- /dev/null +++ b/specification/managementpartner/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: managementpartner +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-02 +``` + +### Tag: package-2018-02 and go + +These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-02' && $(go) +output-folder: $(go-sdk-folder)/services/preview/managementpartner/mgmt/2018-02-01/managementpartner +``` diff --git a/specification/managementpartner/resource-manager/readme.md b/specification/managementpartner/resource-manager/readme.md index 942cfb72fcca..19b5d2a34c7b 100644 --- a/specification/managementpartner/resource-manager/readme.md +++ b/specification/managementpartner/resource-manager/readme.md @@ -1,5 +1,5 @@ # ManagementPartner - + > see https://aka.ms/autorest This is the AutoRest configuration file for ManagementPartner RP. @@ -29,7 +29,7 @@ generate-interface: true ``` -## Getting Started +## Getting Started To build the SDK for ManagementPartner, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -43,7 +43,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the ManagementPartner API. ``` yaml @@ -75,7 +75,7 @@ swagger-to-sdk: - repo: azure-sdk-for-go ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -89,33 +89,6 @@ csharp: clear-output-folder: true ``` -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: managementpartner -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-02 -``` - -### Tag: package-2018-02 and go - -These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-02' && $(go) -output-folder: $(go-sdk-folder)/services/preview/managementpartner/mgmt/2018-02-01/managementpartner -``` - ## Python These settings apply only when `--python` is specified on the command line. @@ -143,3 +116,7 @@ python: basic-setup-py: true output-folder: $(python-sdks-folder)/azure-mgmt-managementpartner ``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file diff --git a/specification/maps/resource-manager/readme.go.md b/specification/maps/resource-manager/readme.go.md new file mode 100644 index 000000000000..6b2ecf9a39b3 --- /dev/null +++ b/specification/maps/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: maps +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-05 + - tag: package-2017-01 +``` + +### Tag: package-2018-05 and go + +These settings apply only when `--tag=package-2018-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-05' && $(go) +output-folder: $(go-sdk-folder)/services/maps/mgmt/2018-05-01/maps +``` + +### Tag: package-2017-01 and go + +These settings apply only when `--tag=package-2017-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-01' && $(go) +output-folder: $(go-sdk-folder)/services/maps/mgmt/2017-01-01-preview/maps +``` \ No newline at end of file diff --git a/specification/maps/resource-manager/readme.md b/specification/maps/resource-manager/readme.md index a57263546a2f..cd9799d123e9 100644 --- a/specification/maps/resource-manager/readme.md +++ b/specification/maps/resource-manager/readme.md @@ -1,11 +1,11 @@ # Maps - + > see https://aka.ms/autorest This is the AutoRest configuration file for Maps. --- -## Getting Started +## Getting Started To build the SDK for Maps, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -19,7 +19,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the Maps API. ``` yaml @@ -62,7 +62,7 @@ swagger-to-sdk: ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -82,41 +82,7 @@ See configuration in [readme.python.md](./readme.python.md) ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: maps -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-05 - - tag: package-2017-01 -``` - -### Tag: package-2018-05 and go - -These settings apply only when `--tag=package-2018-05 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-05' && $(go) -output-folder: $(go-sdk-folder)/services/maps/mgmt/2018-05-01/maps -``` - -### Tag: package-2017-01 and go - -These settings apply only when `--tag=package-2017-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-01' && $(go) -output-folder: $(go-sdk-folder)/services/maps/mgmt/2017-01-01-preview/maps -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/mariadb/resource-manager/readme.md b/specification/mariadb/resource-manager/readme.md index eac723a7186b..4d0f4c21f584 100644 --- a/specification/mariadb/resource-manager/readme.md +++ b/specification/mariadb/resource-manager/readme.md @@ -31,14 +31,14 @@ openapi-type: arm tag: package-2018-06-01-preview ``` -### Tag: package-2018-06-01-preview +### Tag: package-2018-06-01-preview -These settings apply only when `--tag=package-2018-06-01-preview` is specified on the command line. +These settings apply only when `--tag=package-2018-06-01-preview` is specified on the command line. -``` yaml $(tag) == 'package-2018-06-01-preview' -input-file: -- Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json -``` +``` yaml $(tag) == 'package-2018-06-01-preview' +input-file: +- Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json +``` --- @@ -101,6 +101,10 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-rdbms ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/marketplaceordering/resource-manager/readme.go.md b/specification/marketplaceordering/resource-manager/readme.go.md new file mode 100644 index 000000000000..8cd63593d4e3 --- /dev/null +++ b/specification/marketplaceordering/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: marketplaceordering + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2015-06-01 +``` + +### Tag: package-2015-06-01 and go + +These settings apply only when `--tag=package-2015-06-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-06-01' && $(go) +output-folder: $(go-sdk-folder)/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering +``` \ No newline at end of file diff --git a/specification/marketplaceordering/resource-manager/readme.md b/specification/marketplaceordering/resource-manager/readme.md index db60e8a525ba..8dfe15fd622a 100644 --- a/specification/marketplaceordering/resource-manager/readme.md +++ b/specification/marketplaceordering/resource-manager/readme.md @@ -154,31 +154,7 @@ directive: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: marketplaceordering - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2015-06-01 -``` - -### Tag: package-2015-06-01 and go - -These settings apply only when `--tag=package-2015-06-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-06-01' && $(go) -output-folder: $(go-sdk-folder)/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/mediaservices/resource-manager/readme.go.md b/specification/mediaservices/resource-manager/readme.go.md new file mode 100644 index 000000000000..d4ef0a113377 --- /dev/null +++ b/specification/mediaservices/resource-manager/readme.go.md @@ -0,0 +1,56 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: media + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2015-10 + - tag: package-2018-03-preview + - tag: package-2018-06-preview + - tag: package-2018-07 +``` + +### Tag: package-2015-10 and go + +These settings apply only when `--tag=package-2015-10 --go` is specified on the command line. +Please also specify the `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-10' && $(go) +output-folder: $(go-sdk-folder)/services/mediaservices/mgmt/2015-10-01/media +``` + +### Tag: package-2018-03-preview and go + +These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line. +Please also specify the `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-03-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/mediaservices/mgmt/2018-03-30-preview/media +``` + +### Tag: package-2018-06-preview and go + +These settings apply only when `--tag=package-2018-06-preview --go` is specified on the command line. +Please also specify the `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/mediaservices/mgmt/2018-06-01-preview/media +``` + +### Tag: package-2018-07 and go + +These settings apply only when `--tag=package-2018-07 --go` is specified on the command line. +Please also specify the `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-07' && $(go) +output-folder: $(go-sdk-folder)/services/mediaservices/mgmt/2018-07-01/media +``` \ No newline at end of file diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md index 818f9ec21bd0..b3dde5f9ce5d 100644 --- a/specification/mediaservices/resource-manager/readme.md +++ b/specification/mediaservices/resource-manager/readme.md @@ -149,60 +149,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: media - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2015-10 - - tag: package-2018-03-preview - - tag: package-2018-06-preview - - tag: package-2018-07 -``` - -### Tag: package-2015-10 and go - -These settings apply only when `--tag=package-2015-10 --go` is specified on the command line. -Please also specify the `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-10' && $(go) -output-folder: $(go-sdk-folder)/services/mediaservices/mgmt/2015-10-01/media -``` - -### Tag: package-2018-03-preview and go - -These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line. -Please also specify the `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-03-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/mediaservices/mgmt/2018-03-30-preview/media -``` - -### Tag: package-2018-06-preview and go - -These settings apply only when `--tag=package-2018-06-preview --go` is specified on the command line. -Please also specify the `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-06-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/mediaservices/mgmt/2018-06-01-preview/media -``` - -### Tag: package-2018-07 and go - -These settings apply only when `--tag=package-2018-07 --go` is specified on the command line. -Please also specify the `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-07' && $(go) -output-folder: $(go-sdk-folder)/services/mediaservices/mgmt/2018-07-01/media -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/migrate/resource-manager/readme.go.md b/specification/migrate/resource-manager/readme.go.md new file mode 100644 index 000000000000..636e72175e29 --- /dev/null +++ b/specification/migrate/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: migrate +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-02 +``` + +### Tag: package-2018-02 and go + +These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-02' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-02-02/$(namespace) +``` diff --git a/specification/migrate/resource-manager/readme.md b/specification/migrate/resource-manager/readme.md index 1f8e8fbb65b6..8b2fd1e3a528 100644 --- a/specification/migrate/resource-manager/readme.md +++ b/specification/migrate/resource-manager/readme.md @@ -1,5 +1,5 @@ -# Azure Migrate - +# Azure Migrate + > see https://aka.ms/autorest This is the AutoRest configuration file for Azure Migrate. @@ -27,7 +27,7 @@ generate-interface: true ``` -## Getting Started +## Getting Started To build the SDK for Migrate, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -41,7 +41,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the API. ``` yaml @@ -56,7 +56,7 @@ These settings apply only when `--tag=package-2018-02` is specified on the comma ``` yaml $(tag) == 'package-2018-02' input-file: -- Microsoft.Migrate/stable/2018-02-02/migrate.json +- Microsoft.Migrate/stable/2018-02-02/migrate.json ``` # Code Generation @@ -73,27 +73,4 @@ swagger-to-sdk: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: migrate -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-02 -``` - -### Tag: package-2018-02 and go - -These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-02' && $(go) -output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-02-02/$(namespace) -``` +See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index 70c315b1f802..76155f9aa92d 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -312,6 +312,10 @@ csharp: See configuration in [readme.python.md](./readme.python.md) +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/msi/resource-manager/readme.go.md b/specification/msi/resource-manager/readme.go.md new file mode 100644 index 000000000000..8d248ccf2e90 --- /dev/null +++ b/specification/msi/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: msi + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2015-08-31-preview +``` + +### Tag: package-2015-08-31-preview and go + +These settings apply only when `--tag=package-2015-08-31-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-08-31-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/msi/mgmt/2015-08-31-preview/msi +``` \ No newline at end of file diff --git a/specification/msi/resource-manager/readme.md b/specification/msi/resource-manager/readme.md index 71d08c613f60..9c46d160c4c0 100644 --- a/specification/msi/resource-manager/readme.md +++ b/specification/msi/resource-manager/readme.md @@ -98,31 +98,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: msi - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2015-08-31-preview -``` - -### Tag: package-2015-08-31-preview and go - -These settings apply only when `--tag=package-2015-08-31-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-08-31-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/msi/mgmt/2015-08-31-preview/msi -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/mysql/resource-manager/readme.go.md b/specification/mysql/resource-manager/readme.go.md new file mode 100644 index 000000000000..0bff6e075d94 --- /dev/null +++ b/specification/mysql/resource-manager/readme.go.md @@ -0,0 +1,44 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: mysql + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-12-01 +``` + +### Tag: package-2017-04-preview and go + +These settings apply only when `--tag=package-2017-04-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-04-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/mysql/mgmt/2017-04-30-preview/mysql +``` + +### Tag: package-2017-12-01-preview and go + +These settings apply only when `--tag=package-2017-12-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-12-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/mysql/mgmt/2017-12-01-preview/mysql +``` + +### Tag: package-2017-12-01 and go + +These settings apply only when `--tag=package-2017-12-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-12-01' && $(go) +output-folder: $(go-sdk-folder)/services/mysql/mgmt/2017-12-01/mysql +``` \ No newline at end of file diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md index b217c7331710..ece9f0278508 100644 --- a/specification/mysql/resource-manager/readme.md +++ b/specification/mysql/resource-manager/readme.md @@ -50,14 +50,14 @@ input-file: ``` -### Tag: package-2017-12-01 +### Tag: package-2017-12-01 -These settings apply only when `--tag=package-2017-12-01` is specified on the command line. +These settings apply only when `--tag=package-2017-12-01` is specified on the command line. -``` yaml $(tag) == 'package-2017-12-01' -input-file: -- Microsoft.DBforMySQL/stable/2017-12-01/mysql.json -``` +``` yaml $(tag) == 'package-2017-12-01' +input-file: +- Microsoft.DBforMySQL/stable/2017-12-01/mysql.json +``` --- @@ -120,51 +120,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-rdbms ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: mysql - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-12-01 -``` - -### Tag: package-2017-04-preview and go - -These settings apply only when `--tag=package-2017-04-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-04-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/mysql/mgmt/2017-04-30-preview/mysql -``` - -### Tag: package-2017-12-01-preview and go - -These settings apply only when `--tag=package-2017-12-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-12-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/mysql/mgmt/2017-12-01-preview/mysql -``` - -### Tag: package-2017-12-01 and go - -These settings apply only when `--tag=package-2017-12-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-12-01' && $(go) -output-folder: $(go-sdk-folder)/services/mysql/mgmt/2017-12-01/mysql -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 5a40523ec00f..c23bf2ccdf3f 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -677,7 +677,7 @@ directive: reason: name, id and type properties are inherited from the upper level - suppress: RequiredPropertiesMissingInResourceModel from: publicIpPrefix.json - reason: name, id and type properties are inherited from the upper level + reason: name, id and type properties are inherited from the upper level - suppress: RequiredPropertiesMissingInResourceModel from: routeFilter.json reason: name, id and type properties are inherited from the upper level @@ -787,122 +787,9 @@ directive: reason: Accidentally shipped with wrong casing - however fixing the casing is introducing a breaking change which is worse than living with the naming violation ``` -### Tag: package-2018-01 and go - -These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-01' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2018-01-01/network -``` - -### Tag: package-2017-11 and go - -These settings apply only when `--tag=package-2017-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-11' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2017-11-01/network -``` - -### Tag: package-2017-10 and go - -These settings apply only when `--tag=package-2017-10 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-10' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2017-10-01/network -``` - -### Tag: package-2017-09 and go - -These settings apply only when `--tag=package-2017-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-09' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2017-09-01/network -``` - -### Tag: package-2017-08 and go - -These settings apply only when `--tag=package-2017-08 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-08' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2017-08-01/network -``` - -### Tag: package-2017-06 and go - -These settings apply only when `--tag=package-2017-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-06' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2017-06-01/network -``` - -### Tag: package-2017-03 and go - -These settings apply only when `--tag=package-2017-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +## Go -``` yaml $(tag) == 'package-2017-03' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2017-03-01/network -``` - -### Tag: package-2016-12 and go - -These settings apply only when `--tag=package-2016-12 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-12' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2016-12-01/network -``` - -### Tag: package-2016-09 and go - -These settings apply only when `--tag=package-2016-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-09' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2016-09-01/network -``` - -### Tag: package-2016-06 and go - -These settings apply only when `--tag=package-2016-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-06' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2016-06-01/network -``` - -### Tag: package-2016-03 and go - -These settings apply only when `--tag=package-2016-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-03' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2016-03-30/network -``` - -### Tag: package-2015-06split and go - -These settings apply only when `--tag=package-2015-06split --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-06split' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2015-06-15/network -``` - -### Tag: package-2015-05-preview and go - -These settings apply only when `--tag=package-2015-05-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-05-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/network/mgmt/2015-05-01-preview/network -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/notificationhubs/resource-manager/readme.go.md b/specification/notificationhubs/resource-manager/readme.go.md new file mode 100644 index 000000000000..566538339c38 --- /dev/null +++ b/specification/notificationhubs/resource-manager/readme.go.md @@ -0,0 +1,46 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: notificationhubs + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2016-03 + - tag: package-2014-09 +``` + +### Tag: package-2017-04 and go + +These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(go) +output-folder: $(go-sdk-folder)/services/notificationhubs/mgmt/2017-04-01/notificationhubs +``` + +### Tag: package-2016-03 and go + +These settings apply only when `--tag=package-2016-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-03' && $(go) +output-folder: $(go-sdk-folder)/services/notificationhubs/mgmt/2016-03-01/notificationhubs +``` + +### Tag: package-2014-09 and go + +These settings apply only when `--tag=package-2014-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2014-09' && $(go) +output-folder: $(go-sdk-folder)/services/notificationhubs/mgmt/2014-09-01/notificationhubs +``` \ No newline at end of file diff --git a/specification/notificationhubs/resource-manager/readme.md b/specification/notificationhubs/resource-manager/readme.md index 77bcf3aefbc2..e56d18d6c01b 100644 --- a/specification/notificationhubs/resource-manager/readme.md +++ b/specification/notificationhubs/resource-manager/readme.md @@ -136,54 +136,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-notificationhubs ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: notificationhubs - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-04 - - tag: package-2016-03 - - tag: package-2014-09 -``` - -### Tag: package-2017-04 and go - -These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-04' && $(go) -output-folder: $(go-sdk-folder)/services/notificationhubs/mgmt/2017-04-01/notificationhubs -``` - -### Tag: package-2016-03 and go - -These settings apply only when `--tag=package-2016-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-03' && $(go) -output-folder: $(go-sdk-folder)/services/notificationhubs/mgmt/2016-03-01/notificationhubs -``` - -### Tag: package-2014-09 and go - -These settings apply only when `--tag=package-2014-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2014-09' && $(go) -output-folder: $(go-sdk-folder)/services/notificationhubs/mgmt/2014-09-01/notificationhubs -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/operationalinsights/data-plane/readme.go.md b/specification/operationalinsights/data-plane/readme.go.md new file mode 100644 index 000000000000..f6bf347ef4b0 --- /dev/null +++ b/specification/operationalinsights/data-plane/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: operationalinsights +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: v1 +``` + +### Tag: v1 and go + +These settings apply only when `--tag=v1 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='v1' && $(go) +output-folder: $(go-sdk-folder)/services/operationalinsights/v1/operationalinsights +``` \ No newline at end of file diff --git a/specification/operationalinsights/data-plane/readme.md b/specification/operationalinsights/data-plane/readme.md index e04d2aec9922..0090c2e259d6 100644 --- a/specification/operationalinsights/data-plane/readme.md +++ b/specification/operationalinsights/data-plane/readme.md @@ -114,31 +114,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: operationalinsights -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: v1 -``` - -### Tag: v1 and go - -These settings apply only when `--tag=v1 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='v1' && $(go) -output-folder: $(go-sdk-folder)/services/operationalinsights/v1/operationalinsights -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/operationalinsights/resource-manager/readme.go.md b/specification/operationalinsights/resource-manager/readme.go.md new file mode 100644 index 000000000000..dbfdc7c30296 --- /dev/null +++ b/specification/operationalinsights/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: operationalinsights + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2015-03 + - tag: package-2015-11-preview +``` + +### Tag: package-2015-03 and go + +These settings apply only when `--tag=package-2015-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-03' && $(go) +output-folder: $(go-sdk-folder)/services/operationalinsights/mgmt/2015-03-20/operationalinsights +``` + +### Tag: package-2015-11-preview and go + +These settings apply only when `--tag=package-2015-11-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-11-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights +``` \ No newline at end of file diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index 9f787300d0c9..28313e9e3b8d 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -115,95 +115,61 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-loganalytics ``` - ## Go -These settings apply only when `--go` is specified on the command line. +See configuration in [readme.go.md](./readme.go.md) -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: operationalinsights - clear-output-folder: true -``` +## Java -### Go multi-api +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2015-03 - - tag: package-2015-11-preview +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.operationalinsights +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-operationalinsights ``` -### Tag: package-2015-03 and go -These settings apply only when `--tag=package-2015-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. -``` yaml $(tag) == 'package-2015-03' && $(go) -output-folder: $(go-sdk-folder)/services/operationalinsights/mgmt/2015-03-20/operationalinsights +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-03 + - tag: package-2015-11-preview ``` -### Tag: package-2015-11-preview and go +### Tag: package-2015-03 and java -These settings apply only when `--tag=package-2015-11-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +These settings apply only when `--tag=package-2015-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2015-11-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights +``` yaml $(tag) == 'package-2015-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.operationalinsights.v2015_03_20 + output-folder: $(azure-libraries-for-java-folder)/operationalinsights/resource-manager/v2015_03_20 +regenerate-manager: true +generate-interface: true ``` -## Java +### Tag: package-2015-11-preview and java -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. +These settings apply only when `--tag=package-2015-11-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.operationalinsights -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-operationalinsights +``` yaml $(tag) == 'package-2015-11-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.operationalinsights.v2015_11_01_preview + output-folder: $(azure-libraries-for-java-folder)/operationalinsights/resource-manager/v2015_11_01_preview +regenerate-manager: true +generate-interface: true ``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2015-03 - - tag: package-2015-11-preview -``` - -### Tag: package-2015-03 and java - -These settings apply only when `--tag=package-2015-03 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2015-03' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.operationalinsights.v2015_03_20 - output-folder: $(azure-libraries-for-java-folder)/operationalinsights/resource-manager/v2015_03_20 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2015-11-preview and java - -These settings apply only when `--tag=package-2015-11-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2015-11-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.operationalinsights.v2015_11_01_preview - output-folder: $(azure-libraries-for-java-folder)/operationalinsights/resource-manager/v2015_11_01_preview -regenerate-manager: true -generate-interface: true -``` - - ## Suppression ``` yaml diff --git a/specification/operationsmanagement/resource-manager/readme.go.md b/specification/operationsmanagement/resource-manager/readme.go.md new file mode 100644 index 000000000000..c654780780cb --- /dev/null +++ b/specification/operationsmanagement/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: operationsmanagement + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2015-11-preview +``` + +### Tag: package-2015-11-preview and go + +These settings apply only when `--tag=package-2015-11-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-11-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement +``` \ No newline at end of file diff --git a/specification/operationsmanagement/resource-manager/readme.md b/specification/operationsmanagement/resource-manager/readme.md index 8117bace92e6..8f94ba3b5031 100644 --- a/specification/operationsmanagement/resource-manager/readme.md +++ b/specification/operationsmanagement/resource-manager/readme.md @@ -74,34 +74,9 @@ csharp: clear-output-folder: true ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: operationsmanagement - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2015-11-preview -``` - -### Tag: package-2015-11-preview and go - -These settings apply only when `--tag=package-2015-11-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-11-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/policyinsights/resource-manager/readme.md b/specification/policyinsights/resource-manager/readme.md index 73a3531d80ad..dbc22768317e 100644 --- a/specification/policyinsights/resource-manager/readme.md +++ b/specification/policyinsights/resource-manager/readme.md @@ -1,5 +1,5 @@ # PolicyInsights - + > see https://aka.ms/autorest This is the AutoRest configuration file for PolicyInsights. @@ -21,7 +21,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the PolicyInsights API. ``` yaml @@ -131,7 +131,7 @@ swagger-to-sdk: ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -172,6 +172,10 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-policyinsights ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/postgresql/resource-manager/readme.go.md b/specification/postgresql/resource-manager/readme.go.md new file mode 100644 index 000000000000..9edf1639725b --- /dev/null +++ b/specification/postgresql/resource-manager/readme.go.md @@ -0,0 +1,44 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: postgresql + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-12-01 +``` + +### Tag: package-2017-04-preview and go + +These settings apply only when `--tag=package-2017-04-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-04-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/postgresql/mgmt/2017-04-30-preview/postgresql +``` + +### Tag: package-2017-12-01-preview and go + +These settings apply only when `--tag=package-2017-12-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-12-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/postgresql/mgmt/2017-12-01-preview/postgresql +``` + +### Tag: package-2017-12-01 and go + +These settings apply only when `--tag=package-2017-12-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-12-01' && $(go) +output-folder: $(go-sdk-folder)/services/postgresql/mgmt/2017-12-01/postgresql +``` \ No newline at end of file diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index f5c3d789670e..2517a301cf1e 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -50,15 +50,15 @@ input-file: - Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json ``` -### Tag: package-2017-12-01 +### Tag: package-2017-12-01 -These settings apply only when `--tag=package-2017-12-01` is specified on the command line. +These settings apply only when `--tag=package-2017-12-01` is specified on the command line. -``` yaml $(tag) == 'package-2017-12-01' -input-file: +``` yaml $(tag) == 'package-2017-12-01' +input-file: - Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json -``` +``` --- @@ -120,51 +120,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-rdbms ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: postgresql - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-12-01 -``` - -### Tag: package-2017-04-preview and go - -These settings apply only when `--tag=package-2017-04-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-04-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/postgresql/mgmt/2017-04-30-preview/postgresql -``` - -### Tag: package-2017-12-01-preview and go - -These settings apply only when `--tag=package-2017-12-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-12-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/postgresql/mgmt/2017-12-01-preview/postgresql -``` - -### Tag: package-2017-12-01 and go - -These settings apply only when `--tag=package-2017-12-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-12-01' && $(go) -output-folder: $(go-sdk-folder)/services/postgresql/mgmt/2017-12-01/postgresql -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/powerbidedicated/resource-manager/readme.go.md b/specification/powerbidedicated/resource-manager/readme.go.md new file mode 100644 index 000000000000..8dcabfd40fb9 --- /dev/null +++ b/specification/powerbidedicated/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: powerbidedicated +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-10-01 +``` + +### Tag: package-2017-10-01 and go + +These settings apply only when `--tag=package-2017-10-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-10-01' && $(go) +output-folder: $(go-sdk-folder)/services/powerbidedicated/mgmt/2017-10-01/powerbidedicated +``` \ No newline at end of file diff --git a/specification/powerbidedicated/resource-manager/readme.md b/specification/powerbidedicated/resource-manager/readme.md index 4571aaeeef56..65743191cf24 100644 --- a/specification/powerbidedicated/resource-manager/readme.md +++ b/specification/powerbidedicated/resource-manager/readme.md @@ -1,5 +1,5 @@ # PowerBIDedicated - + > see https://aka.ms/autorest This is the AutoRest configuration file for PowerBIDedicated. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for PowerBIDedicated. --- -## Getting Started +## Getting Started To build the SDK for PowerBIDedicated, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -21,7 +21,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the PowerBIDedicated API. ``` yaml @@ -53,7 +53,7 @@ swagger-to-sdk: - repo: azure-sdk-for-go ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -69,31 +69,7 @@ csharp: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: powerbidedicated -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-10-01 -``` - -### Tag: package-2017-10-01 and go - -These settings apply only when `--tag=package-2017-10-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-10-01' && $(go) -output-folder: $(go-sdk-folder)/services/powerbidedicated/mgmt/2017-10-01/powerbidedicated -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/powerbiembedded/resource-manager/readme.go.md b/specification/powerbiembedded/resource-manager/readme.go.md new file mode 100644 index 000000000000..0c2017402450 --- /dev/null +++ b/specification/powerbiembedded/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: powerbiembedded + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2016-01 +``` + +### Tag: package-2016-01 and go + +These settings apply only when `--tag=package-2016-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-01' && $(go) +output-folder: $(go-sdk-folder)/services/powerbiembedded/mgmt/2016-01-29/powerbiembedded +``` \ No newline at end of file diff --git a/specification/powerbiembedded/resource-manager/readme.md b/specification/powerbiembedded/resource-manager/readme.md index 18c73dbe54b0..4aec1d90cdf4 100644 --- a/specification/powerbiembedded/resource-manager/readme.md +++ b/specification/powerbiembedded/resource-manager/readme.md @@ -103,34 +103,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-powerbiembedded ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: powerbiembedded - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2016-01 -``` - -### Tag: package-2016-01 and go - -These settings apply only when `--tag=package-2016-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-01' && $(go) -output-folder: $(go-sdk-folder)/services/powerbiembedded/mgmt/2016-01-29/powerbiembedded -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/recoveryservices/resource-manager/readme.go.md b/specification/recoveryservices/resource-manager/readme.go.md new file mode 100644 index 000000000000..8cc96757a872 --- /dev/null +++ b/specification/recoveryservices/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: recoveryservices +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2016-06 +``` + +### Tag: package-2016-06 and go + +These settings apply only when `--tag=package-2016-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2016-06' && $(go) +output-folder: $(go-sdk-folder)/services/recoveryservices/mgmt/2016-06-01/recoveryservices +``` diff --git a/specification/recoveryservices/resource-manager/readme.md b/specification/recoveryservices/resource-manager/readme.md index db306432a8fd..12b4a484e8bf 100644 --- a/specification/recoveryservices/resource-manager/readme.md +++ b/specification/recoveryservices/resource-manager/readme.md @@ -109,31 +109,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: recoveryservices -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2016-06 -``` - -### Tag: package-2016-06 and go - -These settings apply only when `--tag=package-2016-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2016-06' && $(go) -output-folder: $(go-sdk-folder)/services/recoveryservices/mgmt/2016-06-01/recoveryservices -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md index d0c28babaa2f..b4a49d1081af 100644 --- a/specification/recoveryservicesbackup/resource-manager/readme.md +++ b/specification/recoveryservicesbackup/resource-manager/readme.md @@ -157,6 +157,10 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-recoveryservicesbackup ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.go.md b/specification/recoveryservicessiterecovery/resource-manager/readme.go.md new file mode 100644 index 000000000000..0c15c329665a --- /dev/null +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: siterecovery +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-01 + - tag: package-2016-08 +``` + +### Tag: package-2018-01 and go + +These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-01' && $(go) +output-folder: $(go-sdk-folder)/services/recoveryservices/mgmt/2018-01-10/siterecovery +``` + +### Tag: package-2016-08 and go + +These settings apply only when `--tag=package-2016-08 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2016-08' && $(go) +output-folder: $(go-sdk-folder)/services/recoveryservices/mgmt/2016-08-10/siterecovery +``` \ No newline at end of file diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.md b/specification/recoveryservicessiterecovery/resource-manager/readme.md index c4ba9710f9ef..27d1b8d698a4 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/readme.md +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.md @@ -85,41 +85,7 @@ csharp: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: siterecovery -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-01 - - tag: package-2016-08 -``` - -### Tag: package-2018-01 and go - -These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-01' && $(go) -output-folder: $(go-sdk-folder)/services/recoveryservices/mgmt/2018-01-10/siterecovery -``` - -### Tag: package-2016-08 and go - -These settings apply only when `--tag=package-2016-08 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2016-08' && $(go) -output-folder: $(go-sdk-folder)/services/recoveryservices/mgmt/2016-08-10/siterecovery -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/redis/resource-manager/readme.go.md b/specification/redis/resource-manager/readme.go.md new file mode 100644 index 000000000000..37451b0182ab --- /dev/null +++ b/specification/redis/resource-manager/readme.go.md @@ -0,0 +1,68 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: redis + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-03 + - tag: package-2017-10 + - tag: package-2017-02 + - tag: package-2016-04 + - tag: package-2015-08 +``` + +### Tag: package-2018-03 and go + +These settings apply only when `--tag=package-2018-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(go) +output-folder: $(go-sdk-folder)/services/redis/mgmt/2018-03-01/redis +``` + + +### Tag: package-2017-10 and go + +These settings apply only when `--tag=package-2017-10 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(go) +output-folder: $(go-sdk-folder)/services/redis/mgmt/2017-10-01/redis +``` + + +### Tag: package-2017-02 and go + +These settings apply only when `--tag=package-2017-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-02' && $(go) +output-folder: $(go-sdk-folder)/services/redis/mgmt/2017-02-01/redis +``` + +### Tag: package-2016-04 and go + +These settings apply only when `--tag=package-2016-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-04' && $(go) +output-folder: $(go-sdk-folder)/services/redis/mgmt/2016-04-01/redis +``` + +### Tag: package-2015-08 and go + +These settings apply only when `--tag=package-2015-08 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-08' && $(go) +output-folder: $(go-sdk-folder)/services/redis/mgmt/2015-08-01/redis +``` \ No newline at end of file diff --git a/specification/redis/resource-manager/readme.md b/specification/redis/resource-manager/readme.md index 2dd0fc43e918..780bbdb28129 100644 --- a/specification/redis/resource-manager/readme.md +++ b/specification/redis/resource-manager/readme.md @@ -142,76 +142,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-redis ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: redis - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-03 - - tag: package-2017-10 - - tag: package-2017-02 - - tag: package-2016-04 - - tag: package-2015-08 -``` - -### Tag: package-2018-03 and go - -These settings apply only when `--tag=package-2018-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-03' && $(go) -output-folder: $(go-sdk-folder)/services/redis/mgmt/2018-03-01/redis -``` - - -### Tag: package-2017-10 and go - -These settings apply only when `--tag=package-2017-10 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-10' && $(go) -output-folder: $(go-sdk-folder)/services/redis/mgmt/2017-10-01/redis -``` - - -### Tag: package-2017-02 and go - -These settings apply only when `--tag=package-2017-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-02' && $(go) -output-folder: $(go-sdk-folder)/services/redis/mgmt/2017-02-01/redis -``` - -### Tag: package-2016-04 and go - -These settings apply only when `--tag=package-2016-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-04' && $(go) -output-folder: $(go-sdk-folder)/services/redis/mgmt/2016-04-01/redis -``` - -### Tag: package-2015-08 and go - -These settings apply only when `--tag=package-2015-08 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-08' && $(go) -output-folder: $(go-sdk-folder)/services/redis/mgmt/2015-08-01/redis -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/relay/resource-manager/readme.go.md b/specification/relay/resource-manager/readme.go.md new file mode 100644 index 000000000000..910ccc4aeb65 --- /dev/null +++ b/specification/relay/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: relay + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2016-07 +``` + +### Tag: package-2017-04 and go + +These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(go) +output-folder: $(go-sdk-folder)/services/relay/mgmt/2017-04-01/relay +``` + +### Tag: package-2016-07 and go + +These settings apply only when `--tag=package-2016-07 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-07' && $(go) +output-folder: $(go-sdk-folder)/services/relay/mgmt/2016-07-01/relay +``` \ No newline at end of file diff --git a/specification/relay/resource-manager/readme.md b/specification/relay/resource-manager/readme.md index 389b4c7fad25..b10437649218 100644 --- a/specification/relay/resource-manager/readme.md +++ b/specification/relay/resource-manager/readme.md @@ -112,44 +112,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-relay ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: relay - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-04 - - tag: package-2016-07 -``` - -### Tag: package-2017-04 and go - -These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-04' && $(go) -output-folder: $(go-sdk-folder)/services/relay/mgmt/2017-04-01/relay -``` - -### Tag: package-2016-07 and go - -These settings apply only when `--tag=package-2016-07 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-07' && $(go) -output-folder: $(go-sdk-folder)/services/relay/mgmt/2016-07-01/relay -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/reservations/resource-manager/readme.go.md b/specification/reservations/resource-manager/readme.go.md new file mode 100644 index 000000000000..53d09695b932 --- /dev/null +++ b/specification/reservations/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: reservations +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-06 + - tag: package-2017-11 +``` + +### Tag: package-2018-06 and go + +These settings apply only when `--tag=package-2018-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-06' && $(go) +output-folder: $(go-sdk-folder)/services/reservations/mgmt/2018-06-01/reservations +``` + +### Tag: package-2017-11 and go + +These settings apply only when `--tag=package-2017-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-11' && $(go) +output-folder: $(go-sdk-folder)/services/reservations/mgmt/2017-11-01/reservations +``` \ No newline at end of file diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index f49f339df3cf..1ca04b9730e8 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -1,5 +1,5 @@ # Reservations - + > see https://aka.ms/autorest This is the AutoRest configuration file for Reservations RP. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for Reservations RP. --- -## Getting Started +## Getting Started To build the SDK for Reservations, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -21,7 +21,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the Reservations API. ``` yaml @@ -62,7 +62,7 @@ swagger-to-sdk: - repo: azure-sdk-for-go ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -104,40 +104,6 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-reservations ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: reservations -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-06 - - tag: package-2017-11 -``` - -### Tag: package-2018-06 and go - -These settings apply only when `--tag=package-2018-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-06' && $(go) -output-folder: $(go-sdk-folder)/services/reservations/mgmt/2018-06-01/reservations -``` - -### Tag: package-2017-11 and go - -These settings apply only when `--tag=package-2017-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-11' && $(go) -output-folder: $(go-sdk-folder)/services/reservations/mgmt/2017-11-01/reservations -``` \ No newline at end of file +See configuration in [readme.go.md](./readme.go.md) diff --git a/specification/resourcehealth/resource-manager/readme.go.md b/specification/resourcehealth/resource-manager/readme.go.md new file mode 100644 index 000000000000..435aad512b86 --- /dev/null +++ b/specification/resourcehealth/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: resourcehealth + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-07 + - tag: package-2015-01 +``` + +### Tag: package-2017-07 and go + +These settings apply only when `--tag=package-2017-07 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-07' && $(go) +output-folder: $(go-sdk-folder)/services/resourcehealth/mgmt/2017-07-01/resourcehealth +``` + +### Tag: package-2015-01 and go + +These settings apply only when `--tag=package-2015-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-01' && $(go) +output-folder: $(go-sdk-folder)/services/resourcehealth/mgmt/2015-01-01/resourcehealth +``` diff --git a/specification/resourcehealth/resource-manager/readme.md b/specification/resourcehealth/resource-manager/readme.md index 78d0b0498bca..3aaa8c2df463 100644 --- a/specification/resourcehealth/resource-manager/readme.md +++ b/specification/resourcehealth/resource-manager/readme.md @@ -65,91 +65,56 @@ swagger-to-sdk: - repo: azure-sdk-for-node ``` - ## Go -These settings apply only when `--go` is specified on the command line. +See configuration in [readme.go.md](./readme.go.md) + +## Java -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: resourcehealth - clear-output-folder: true +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.resourcehealth +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resourcehealth ``` -### Go multi-api +### Java multi-api -``` yaml $(go) && $(multiapi) +``` yaml $(java) && $(multiapi) batch: - tag: package-2017-07 - tag: package-2015-01 ``` -### Tag: package-2017-07 and go +### Tag: package-2017-07 and java -These settings apply only when `--tag=package-2017-07 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +These settings apply only when `--tag=package-2017-07 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2017-07' && $(go) -output-folder: $(go-sdk-folder)/services/resourcehealth/mgmt/2017-07-01/resourcehealth +``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.resourcehealth.v2017_07_01 + output-folder: $(azure-libraries-for-java-folder)/resourcehealth/resource-manager/v2017_07_01 +regenerate-manager: true +generate-interface: true ``` -### Tag: package-2015-01 and go +### Tag: package-2015-01 and java -These settings apply only when `--tag=package-2015-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +These settings apply only when `--tag=package-2015-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2015-01' && $(go) -output-folder: $(go-sdk-folder)/services/resourcehealth/mgmt/2015-01-01/resourcehealth +``` yaml $(tag) == 'package-2015-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.resourcehealth.v2015_01_01 + output-folder: $(azure-libraries-for-java-folder)/resourcehealth/resource-manager/v2015_01_01 +regenerate-manager: true +generate-interface: true ``` -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.resourcehealth -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resourcehealth -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2017-07 - - tag: package-2015-01 -``` - -### Tag: package-2017-07 and java - -These settings apply only when `--tag=package-2017-07 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.resourcehealth.v2017_07_01 - output-folder: $(azure-libraries-for-java-folder)/resourcehealth/resource-manager/v2017_07_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2015-01 and java - -These settings apply only when `--tag=package-2015-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2015-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.resourcehealth.v2015_01_01 - output-folder: $(azure-libraries-for-java-folder)/resourcehealth/resource-manager/v2015_01_01 -regenerate-manager: true -generate-interface: true -``` - - diff --git a/specification/resources/resource-manager/readme.go.md b/specification/resources/resource-manager/readme.go.md new file mode 100644 index 000000000000..16bc293c784c --- /dev/null +++ b/specification/resources/resource-manager/readme.go.md @@ -0,0 +1,257 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-features-2015-12 + - tag: package-locks-2016-09 + - tag: package-locks-2015-01 + - tag: package-policy-2018-05 + - tag: package-policy-2018-03 + - tag: package-policy-2017-06 + - tag: package-policy-2016-12 + - tag: package-policy-2016-04 + - tag: package-policy-2015-10 + - tag: package-resources-2018-05 + - tag: package-resources-2018-02 + - tag: package-resources-2017-05 + - tag: package-resources-2016-09 + - tag: package-resources-2016-07 + - tag: package-resources-2016-02 + - tag: package-resources-2015-11 + - tag: package-subscriptions-2016-06 + - tag: package-subscriptions-2015-11 + - tag: package-links-2016-09 + - tag: package-managedapplications-2018-06 + - tag: package-managedapplications-2017-09 + - tag: package-managedapplications-2016-09 +``` + +### Tag: package-features-2015-12 and go + +These settings apply only when `--tag=package-features-2015-12 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-features-2015-12' && $(go) +namespace: features +output-folder: $(go-sdk-folder)/services/resources/mgmt/2015-12-01/features +``` + +### Tag: package-locks-2016-09 and go + +These settings apply only when `--tag=package-locks-2016-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' && $(go) +namespace: locks +output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-09-01/locks +``` + +### Tag: package-locks-2015-01 and go + +These settings apply only when `--tag=package-locks-2015-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-locks-2015-01' && $(go) +namespace: locks +output-folder: $(go-sdk-folder)/services/resources/mgmt/2015-01-01/locks +``` + +### Tag: package-policy-2018-05 and go + +These settings apply only when `--tag=package-policy-2018-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-policy-2018-05' && $(go) +namespace: policy +output-folder: $(go-sdk-folder)/services/resources/mgmt/2018-05-01/policy +``` + +### Tag: package-policy-2018-03 and go + +These settings apply only when `--tag=package-policy-2018-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-policy-2018-03' && $(go) +namespace: policy +output-folder: $(go-sdk-folder)/services/resources/mgmt/2018-03-01/policy +``` + +### Tag: package-policy-2017-06 and go + +These settings apply only when `--tag=package-policy-2017-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-policy-2017-06' && $(go) +namespace: policy +output-folder: $(go-sdk-folder)/services/preview/resources/mgmt/2017-06-01-preview/policy +``` + +### Tag: package-policy-2016-12 and go + +These settings apply only when `--tag=package-policy-2016-12 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-policy-2016-12' && $(go) +namespace: policy +output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-12-01/policy +``` + +### Tag: package-policy-2016-04 and go + +These settings apply only when `--tag=package-policy-2016-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-policy-2016-04' && $(go) +namespace: policy +output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-04-01/policy +``` + +### Tag: package-policy-2015-10 and go + +These settings apply only when `--tag=package-policy-2015-10 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-policy-2015-10' && $(go) +namespace: policy +output-folder: $(go-sdk-folder)/services/preview/resources/mgmt/2015-10-01-preview/policy +``` + +### Tag: package-resources-2018-05 and go + +These settings apply only when `--tag=package-resources-2018-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-resources-2018-05' && $(go) +namespace: resources +output-folder: $(go-sdk-folder)/services/resources/mgmt/2018-05-01/resources +``` + +### Tag: package-resources-2018-02 and go + +These settings apply only when `--tag=package-resources-2018-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-resources-2018-02' && $(go) +namespace: resources +output-folder: $(go-sdk-folder)/services/resources/mgmt/2018-02-01/resources +``` + +### Tag: package-resources-2017-05 and go + +These settings apply only when `--tag=package-resources-2017-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-resources-2017-05' && $(go) +namespace: resources +output-folder: $(go-sdk-folder)/services/resources/mgmt/2017-05-10/resources +``` + +### Tag: package-resources-2016-09 and go + +These settings apply only when `--tag=package-resources-2016-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-resources-2016-09' && $(go) +namespace: resources +output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-09-01/resources +``` + +### Tag: package-resources-2016-07 and go + +These settings apply only when `--tag=package-resources-2016-07 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-resources-2016-07' && $(go) +namespace: resources +output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-07-01/resources +``` + +### Tag: package-resources-2016-02 and go + +These settings apply only when `--tag=package-resources-2016-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-resources-2016-02' && $(go) +namespace: resources +output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-02-01/resources +``` + +### Tag: package-resources-2015-11 and go + +These settings apply only when `--tag=package-resources-2015-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-resources-2015-11' && $(go) +namespace: resources +output-folder: $(go-sdk-folder)/services/resources/mgmt/2015-11-01/resources +``` + +### Tag: package-subscriptions-2016-06 and go + +These settings apply only when `--tag=package-subscriptions-2016-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2016-06' && $(go) +namespace: subscriptions +output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-06-01/subscriptions +``` + +### Tag: package-subscriptions-2015-11 and go + +These settings apply only when `--tag=package-subscriptions-2015-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2015-11' && $(go) +namespace: subscriptions +output-folder: $(go-sdk-folder)/services/resources/mgmt/2015-11-01/subscriptions +``` + +### Tag: package-links-2016-09 and go + +These settings apply only when `--tag=package-links-2016-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-links-2016-09' && $(go) +namespace: links +output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-09-01/links +``` + +### Tag: package-managedapplications-2018-06 and go + +These settings apply only when `--tag=package-managedapplications-2018-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2018-06' && $(go) +namespace: managedapplications +output-folder: $(go-sdk-folder)/services/resources/mgmt/2018-06-01/managedapplications +``` + +### Tag: package-managedapplications-2017-09 and go + +These settings apply only when `--tag=package-managedapplications-2017-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2017-09' && $(go) +namespace: managedapplications +output-folder: $(go-sdk-folder)/services/resources/mgmt/2017-09-01/managedapplications +``` + +### Tag: package-managedapplications-2016-09 and go + +These settings apply only when `--tag=package-managedapplications-2016-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2016-09' && $(go) +namespace: managedapplications +output-folder: $(go-sdk-folder)/services/preview/resources/mgmt/2016-09-01-preview/managedapplications +``` \ No newline at end of file diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 44c9511af1b0..2c5a4cbf39e1 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -349,264 +349,6 @@ swagger-to-sdk: - repo: azure-sdk-for-node ``` -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-features-2015-12 - - tag: package-locks-2016-09 - - tag: package-locks-2015-01 - - tag: package-policy-2018-05 - - tag: package-policy-2018-03 - - tag: package-policy-2017-06 - - tag: package-policy-2016-12 - - tag: package-policy-2016-04 - - tag: package-policy-2015-10 - - tag: package-resources-2018-05 - - tag: package-resources-2018-02 - - tag: package-resources-2017-05 - - tag: package-resources-2016-09 - - tag: package-resources-2016-07 - - tag: package-resources-2016-02 - - tag: package-resources-2015-11 - - tag: package-subscriptions-2016-06 - - tag: package-subscriptions-2015-11 - - tag: package-links-2016-09 - - tag: package-managedapplications-2018-06 - - tag: package-managedapplications-2017-09 - - tag: package-managedapplications-2016-09 -``` - -### Tag: package-features-2015-12 and go - -These settings apply only when `--tag=package-features-2015-12 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-features-2015-12' && $(go) -namespace: features -output-folder: $(go-sdk-folder)/services/resources/mgmt/2015-12-01/features -``` - -### Tag: package-locks-2016-09 and go - -These settings apply only when `--tag=package-locks-2016-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-locks-2016-09' && $(go) -namespace: locks -output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-09-01/locks -``` - -### Tag: package-locks-2015-01 and go - -These settings apply only when `--tag=package-locks-2015-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-locks-2015-01' && $(go) -namespace: locks -output-folder: $(go-sdk-folder)/services/resources/mgmt/2015-01-01/locks -``` - -### Tag: package-policy-2018-05 and go - -These settings apply only when `--tag=package-policy-2018-05 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-policy-2018-05' && $(go) -namespace: policy -output-folder: $(go-sdk-folder)/services/resources/mgmt/2018-05-01/policy -``` - -### Tag: package-policy-2018-03 and go - -These settings apply only when `--tag=package-policy-2018-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-policy-2018-03' && $(go) -namespace: policy -output-folder: $(go-sdk-folder)/services/resources/mgmt/2018-03-01/policy -``` - -### Tag: package-policy-2017-06 and go - -These settings apply only when `--tag=package-policy-2017-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-policy-2017-06' && $(go) -namespace: policy -output-folder: $(go-sdk-folder)/services/preview/resources/mgmt/2017-06-01-preview/policy -``` - -### Tag: package-policy-2016-12 and go - -These settings apply only when `--tag=package-policy-2016-12 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-policy-2016-12' && $(go) -namespace: policy -output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-12-01/policy -``` - -### Tag: package-policy-2016-04 and go - -These settings apply only when `--tag=package-policy-2016-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-policy-2016-04' && $(go) -namespace: policy -output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-04-01/policy -``` - -### Tag: package-policy-2015-10 and go - -These settings apply only when `--tag=package-policy-2015-10 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-policy-2015-10' && $(go) -namespace: policy -output-folder: $(go-sdk-folder)/services/preview/resources/mgmt/2015-10-01-preview/policy -``` - -### Tag: package-resources-2018-05 and go - -These settings apply only when `--tag=package-resources-2018-05 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-resources-2018-05' && $(go) -namespace: resources -output-folder: $(go-sdk-folder)/services/resources/mgmt/2018-05-01/resources -``` - -### Tag: package-resources-2018-02 and go - -These settings apply only when `--tag=package-resources-2018-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-resources-2018-02' && $(go) -namespace: resources -output-folder: $(go-sdk-folder)/services/resources/mgmt/2018-02-01/resources -``` - -### Tag: package-resources-2017-05 and go - -These settings apply only when `--tag=package-resources-2017-05 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-resources-2017-05' && $(go) -namespace: resources -output-folder: $(go-sdk-folder)/services/resources/mgmt/2017-05-10/resources -``` - -### Tag: package-resources-2016-09 and go - -These settings apply only when `--tag=package-resources-2016-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-resources-2016-09' && $(go) -namespace: resources -output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-09-01/resources -``` - -### Tag: package-resources-2016-07 and go - -These settings apply only when `--tag=package-resources-2016-07 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-resources-2016-07' && $(go) -namespace: resources -output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-07-01/resources -``` - -### Tag: package-resources-2016-02 and go - -These settings apply only when `--tag=package-resources-2016-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-resources-2016-02' && $(go) -namespace: resources -output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-02-01/resources -``` - -### Tag: package-resources-2015-11 and go - -These settings apply only when `--tag=package-resources-2015-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-resources-2015-11' && $(go) -namespace: resources -output-folder: $(go-sdk-folder)/services/resources/mgmt/2015-11-01/resources -``` - -### Tag: package-subscriptions-2016-06 and go - -These settings apply only when `--tag=package-subscriptions-2016-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2016-06' && $(go) -namespace: subscriptions -output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-06-01/subscriptions -``` - -### Tag: package-subscriptions-2015-11 and go - -These settings apply only when `--tag=package-subscriptions-2015-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-subscriptions-2015-11' && $(go) -namespace: subscriptions -output-folder: $(go-sdk-folder)/services/resources/mgmt/2015-11-01/subscriptions -``` - -### Tag: package-links-2016-09 and go - -These settings apply only when `--tag=package-links-2016-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-links-2016-09' && $(go) -namespace: links -output-folder: $(go-sdk-folder)/services/resources/mgmt/2016-09-01/links -``` - -### Tag: package-managedapplications-2018-06 and go - -These settings apply only when `--tag=package-managedapplications-2018-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2018-06' && $(go) -namespace: managedapplications -output-folder: $(go-sdk-folder)/services/resources/mgmt/2018-06-01/managedapplications -``` - -### Tag: package-managedapplications-2017-09 and go - -These settings apply only when `--tag=package-managedapplications-2017-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2017-09' && $(go) -namespace: managedapplications -output-folder: $(go-sdk-folder)/services/resources/mgmt/2017-09-01/managedapplications -``` - -### Tag: package-managedapplications-2016-09 and go - -These settings apply only when `--tag=package-managedapplications-2016-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-managedapplications-2016-09' && $(go) -namespace: managedapplications -output-folder: $(go-sdk-folder)/services/preview/resources/mgmt/2016-09-01-preview/managedapplications -``` - ## Python These settings apply only when `--python` is specified on the command line. @@ -847,6 +589,10 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-resource/azure/mgmt/resource/subscriptions/v2016_06_01 ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/scheduler/resource-manager/readme.go.md b/specification/scheduler/resource-manager/readme.go.md new file mode 100644 index 000000000000..174ee8650589 --- /dev/null +++ b/specification/scheduler/resource-manager/readme.go.md @@ -0,0 +1,46 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: scheduler + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2016-03 + - tag: package-2016-01 + - tag: package-2014-08-preview +``` + +### Tag: package-2016-03 and go + +These settings apply only when `--tag=package-2016-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-03' && $(go) +output-folder: $(go-sdk-folder)/services/scheduler/mgmt/2016-03-01/scheduler +``` + +### Tag: package-2016-01 and go + +These settings apply only when `--tag=package-2016-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-01' && $(go) +output-folder: $(go-sdk-folder)/services/scheduler/mgmt/2016-01-01/scheduler +``` + +### Tag: package-2014-08-preview and go + +These settings apply only when `--tag=package-2014-08-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2014-08-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/scheduler/mgmt/2014-08-01-preview/scheduler +``` \ No newline at end of file diff --git a/specification/scheduler/resource-manager/readme.md b/specification/scheduler/resource-manager/readme.md index 4d51ad0688ff..95e5f9580043 100644 --- a/specification/scheduler/resource-manager/readme.md +++ b/specification/scheduler/resource-manager/readme.md @@ -120,55 +120,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-scheduler ``` - - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: scheduler - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2016-03 - - tag: package-2016-01 - - tag: package-2014-08-preview -``` - -### Tag: package-2016-03 and go - -These settings apply only when `--tag=package-2016-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-03' && $(go) -output-folder: $(go-sdk-folder)/services/scheduler/mgmt/2016-03-01/scheduler -``` - -### Tag: package-2016-01 and go - -These settings apply only when `--tag=package-2016-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-01' && $(go) -output-folder: $(go-sdk-folder)/services/scheduler/mgmt/2016-01-01/scheduler -``` - -### Tag: package-2014-08-preview and go - -These settings apply only when `--tag=package-2014-08-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2014-08-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/scheduler/mgmt/2014-08-01-preview/scheduler -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/search/resource-manager/readme.go.md b/specification/search/resource-manager/readme.go.md new file mode 100644 index 000000000000..51c5902a0e34 --- /dev/null +++ b/specification/search/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: search + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2015-08 + - tag: package-2015-02 +``` + +### Tag: package-2015-08 and go + +These settings apply only when `--tag=package-2015-08 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-08' && $(go) +output-folder: $(go-sdk-folder)/services/search/mgmt/2015-08-19/search +``` + +### Tag: package-2015-02 and go + +These settings apply only when `--tag=package-2015-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-02' && $(go) +output-folder: $(go-sdk-folder)/services/search/mgmt/2015-02-28/search +``` diff --git a/specification/search/resource-manager/readme.md b/specification/search/resource-manager/readme.md index 7400907dbc7b..9ee7f0fb7007 100644 --- a/specification/search/resource-manager/readme.md +++ b/specification/search/resource-manager/readme.md @@ -111,44 +111,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-search ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: search - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2015-08 - - tag: package-2015-02 -``` - -### Tag: package-2015-08 and go - -These settings apply only when `--tag=package-2015-08 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-08' && $(go) -output-folder: $(go-sdk-folder)/services/search/mgmt/2015-08-19/search -``` - -### Tag: package-2015-02 and go - -These settings apply only when `--tag=package-2015-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-02' && $(go) -output-folder: $(go-sdk-folder)/services/search/mgmt/2015-02-28/search -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/service-map/resource-manager/readme.go.md b/specification/service-map/resource-manager/readme.go.md new file mode 100644 index 000000000000..422e153aba01 --- /dev/null +++ b/specification/service-map/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: servicemap + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2015-11-preview +``` + +### Tag: package-2015-11-preview and go + +These settings apply only when `--tag=package-2015-11-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-11-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/operationalinsights/mgmt/2015-11-01-preview/servicemap +``` \ No newline at end of file diff --git a/specification/service-map/resource-manager/readme.md b/specification/service-map/resource-manager/readme.md index 8f967023e64a..f0e54e50087f 100644 --- a/specification/service-map/resource-manager/readme.md +++ b/specification/service-map/resource-manager/readme.md @@ -27,7 +27,7 @@ Suppressed Rule | Reason R3023 OperationsAPIImplementation | Service map is sharing RP with Log Analytics, so this operaration won't reach ServiceMap's service endpoint. Hence this rule is not applicable. ```yaml -model-validator: true +model-validator: true semantic-validator: true azure-validator: true directive: @@ -71,31 +71,7 @@ swagger-to-sdk: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: servicemap - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2015-11-preview -``` - -### Tag: package-2015-11-preview and go - -These settings apply only when `--tag=package-2015-11-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-11-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/operationalinsights/mgmt/2015-11-01-preview/servicemap -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java @@ -110,25 +86,25 @@ license-header: MICROSOFT_MIT_NO_CODEGEN payload-flattening-threshold: 1 output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-operationalinsights/servicemap ``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2015-11-preview -``` - -### Tag: package-2015-11-preview and java - -These settings apply only when `--tag=package-2015-11-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2015-11-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.servicemap.v2015_11_01_preview - output-folder: $(azure-libraries-for-java-folder)/servicemap/resource-manager/v2015_11_01_preview -regenerate-manager: true -generate-interface: true -``` - - + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-11-preview +``` + +### Tag: package-2015-11-preview and java + +These settings apply only when `--tag=package-2015-11-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-11-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.servicemap.v2015_11_01_preview + output-folder: $(azure-libraries-for-java-folder)/servicemap/resource-manager/v2015_11_01_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/servicebus/resource-manager/readme.go.md b/specification/servicebus/resource-manager/readme.go.md new file mode 100644 index 000000000000..56591081a84e --- /dev/null +++ b/specification/servicebus/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: servicebus + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2015-08 +``` + +### Tag: package-2017-04 and go + +These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(go) +output-folder: $(go-sdk-folder)/services/servicebus/mgmt/2017-04-01/servicebus +``` + +### Tag: package-2015-08 and go + +These settings apply only when `--tag=package-2015-08 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-08' && $(go) +output-folder: $(go-sdk-folder)/services/servicebus/mgmt/2015-08-01/servicebus +``` \ No newline at end of file diff --git a/specification/servicebus/resource-manager/readme.md b/specification/servicebus/resource-manager/readme.md index 177b7a11dac5..f2e986889629 100644 --- a/specification/servicebus/resource-manager/readme.md +++ b/specification/servicebus/resource-manager/readme.md @@ -125,45 +125,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-servicebus ``` - - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: servicebus - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-04 - - tag: package-2015-08 -``` - -### Tag: package-2017-04 and go - -These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-04' && $(go) -output-folder: $(go-sdk-folder)/services/servicebus/mgmt/2017-04-01/servicebus -``` - -### Tag: package-2015-08 and go - -These settings apply only when `--tag=package-2015-08 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-08' && $(go) -output-folder: $(go-sdk-folder)/services/servicebus/mgmt/2015-08-01/servicebus -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/servicefabric/data-plane/readme.go.md b/specification/servicefabric/data-plane/readme.go.md new file mode 100644 index 000000000000..35d0d265cbd4 --- /dev/null +++ b/specification/servicefabric/data-plane/readme.go.md @@ -0,0 +1,35 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: servicefabric + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: "6.2" + - tag: "6.3" +``` + +### Tag: 6.2 and go + +These settings apply only when `--tag=6.2 --go` is specified on the command line. + +``` yaml $(tag) == '6.2' && $(go) +output-folder: $(go-sdk-folder)/services/servicefabric/6.2/servicefabric +``` + + +### Tag: 6.3 and go + +These settings apply only when `--tag=6.3 --go` is specified on the command line. + +``` yaml $(tag) == '6.2' && $(go) +output-folder: $(go-sdk-folder)/services/servicefabric/6.3/servicefabric +``` \ No newline at end of file diff --git a/specification/servicefabric/data-plane/readme.md b/specification/servicefabric/data-plane/readme.md index 27baeb09ef37..508790912694 100644 --- a/specification/servicefabric/data-plane/readme.md +++ b/specification/servicefabric/data-plane/readme.md @@ -37,11 +37,11 @@ directive: - suppress: ListInOperationName reason: The operation names follow the Service Fabric Client API operation names from the existing .NET SDK. - suppress: GetInOperationName - reason: The operation names follow the Service Fabric Client API operation names from the existing .NET SDK. + reason: The operation names follow the Service Fabric Client API operation names from the existing .NET SDK. - suppress: PutInOperationName reason: The operation names follow the Service Fabric Client API operation names from the existing .NET SDK. - suppress: HttpsSupportedScheme - reason: Service Fabric clusters are owned by the users and they can be configured to have a secure or un-secure client connection endpoint. + reason: Service Fabric clusters are owned by the users and they can be configured to have a secure or un-secure client connection endpoint. - suppress: LongRunningOperationsWithLongRunningExtension reason: Service Fabric platform has already established pattern for paged responses based on ContinuationToken parameter. - suppress: SecurityDefinitionsStructure @@ -53,7 +53,7 @@ directive: - suppress: APIVersionPattern reason: The URL scheme for Service Fabric does not follow Azure Service rules. Service Fabric supports various functions on different entities that are modeled using POST. - suppress: DefinitionsPropertiesNamesCamelCase - reason: The property names for Service Fabric follow the naming scheme of existing property names in our client SDK and concepts. + reason: The property names for Service Fabric follow the naming scheme of existing property names in our client SDK and concepts. - suppress: GuidUsage reason: The IDs of the service partition in Service Fabric are GUIDs. - suppress: EnumInsteadOfBoolean @@ -129,42 +129,9 @@ python: output-folder: $(python-sdks-folder)/azure-servicefabric ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: servicefabric - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: "6.2" - - tag: "6.3" -``` - -### Tag: 6.2 and go - -These settings apply only when `--tag=6.2 --go` is specified on the command line. - -``` yaml $(tag) == '6.2' && $(go) -output-folder: $(go-sdk-folder)/services/servicefabric/6.2/servicefabric -``` - - -### Tag: 6.3 and go - -These settings apply only when `--tag=6.3 --go` is specified on the command line. - -``` yaml $(tag) == '6.2' && $(go) -output-folder: $(go-sdk-folder)/services/servicefabric/6.3/servicefabric -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/servicefabric/resource-manager/readme.go.md b/specification/servicefabric/resource-manager/readme.go.md new file mode 100644 index 000000000000..856e1f4be023 --- /dev/null +++ b/specification/servicefabric/resource-manager/readme.go.md @@ -0,0 +1,46 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: servicefabric + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-02 + - tag: package-2017-07 + - tag: package-2016-09 +``` + +### Tag: package-2018-02 and go + +These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(go) +output-folder: $(go-sdk-folder)/services/servicefabric/mgmt/2018-02-01/servicefabric +``` + +### Tag: package-2017-07 and go + +These settings apply only when `--tag=package-2017-07 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-07' && $(go) +output-folder: $(go-sdk-folder)/services/preview/servicefabric/mgmt/2017-07-01-preview/servicefabric +``` + +### Tag: package-2016-09 and go + +These settings apply only when `--tag=package-2016-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-09' && $(go) +output-folder: $(go-sdk-folder)/services/servicefabric/mgmt/2016-09-01/servicefabric +``` \ No newline at end of file diff --git a/specification/servicefabric/resource-manager/readme.md b/specification/servicefabric/resource-manager/readme.md index 4a3c6047d962..1b8ab11cf894 100644 --- a/specification/servicefabric/resource-manager/readme.md +++ b/specification/servicefabric/resource-manager/readme.md @@ -1,5 +1,5 @@ # ServiceFabric - + > see https://aka.ms/autorest This is the AutoRest configuration file for Service Fabric. @@ -21,7 +21,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the ServiceFabricManagementClient API. ``` yaml @@ -152,55 +152,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-servicefabric ``` - - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: servicefabric - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-02 - - tag: package-2017-07 - - tag: package-2016-09 -``` - -### Tag: package-2018-02 and go - -These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-02' && $(go) -output-folder: $(go-sdk-folder)/services/servicefabric/mgmt/2018-02-01/servicefabric -``` - -### Tag: package-2017-07 and go - -These settings apply only when `--tag=package-2017-07 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-07' && $(go) -output-folder: $(go-sdk-folder)/services/preview/servicefabric/mgmt/2017-07-01-preview/servicefabric -``` - -### Tag: package-2016-09 and go - -These settings apply only when `--tag=package-2016-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-09' && $(go) -output-folder: $(go-sdk-folder)/services/servicefabric/mgmt/2016-09-01/servicefabric -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/servicefabricmesh/resource-manager/readme.go.md b/specification/servicefabricmesh/resource-manager/readme.go.md new file mode 100644 index 000000000000..0d7e2f7170a3 --- /dev/null +++ b/specification/servicefabricmesh/resource-manager/readme.go.md @@ -0,0 +1,25 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: servicefabricmesh + clear-output-folder: true +``` +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-07-01-preview +``` + +### Tag: package-2018-07-01-preview and go + +These settings apply only when `--tag=package-2018-07-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-07-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/servicefabricmesh/mgmt/2018-07-01-preview/servicefabricmesh +``` \ No newline at end of file diff --git a/specification/servicefabricmesh/resource-manager/readme.md b/specification/servicefabricmesh/resource-manager/readme.md index a789db75ef22..2bd7287a3f94 100644 --- a/specification/servicefabricmesh/resource-manager/readme.md +++ b/specification/servicefabricmesh/resource-manager/readme.md @@ -6,7 +6,7 @@ This is the AutoRest configuration file for Azure Service Fabric Mesh. Azure Service Fabric Mesh is fully managed service where developers can build and deploy mission critical applications without managing any infrastructure such as VMs, storage, or networking. Mesh is a serverless environment for applications built from microservices. -[Azure Service Fabric](http://aka.ms/ServiceFabric) is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices. +[Azure Service Fabric](http://aka.ms/ServiceFabric) is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices. --- @@ -69,7 +69,7 @@ swagger-to-sdk: ## C# -These settings apply only when `--csharp` is specified on the command line. +These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. ``` yaml $(csharp) @@ -107,31 +107,11 @@ python: basic-setup-py: true output-folder: $(python-sdks-folder)/azure-mgmt-servicefabricmesh ``` -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: servicefabricmesh - clear-output-folder: true -``` -### Go multi-api -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-07-01-preview -``` - -### Tag: package-2018-07-01-preview and go +## Go -These settings apply only when `--tag=package-2018-07-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +See configuration in [readme.go.md](./readme.go.md) -``` yaml $(tag) == 'package-2018-07-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/servicefabricmesh/mgmt/2018-07-01-preview/servicefabricmesh -``` ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/signalr/resource-manager/readme.go.md b/specification/signalr/resource-manager/readme.go.md new file mode 100644 index 000000000000..4cc076090c60 --- /dev/null +++ b/specification/signalr/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: signalr + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-03-01-preview +``` + +### Tag: package-2018-03-01-preview and go + +These settings apply only when `--tag=package-2018-03-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-03-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/signalr/mgmt/2018-03-01-preview/signalr +``` diff --git a/specification/signalr/resource-manager/readme.md b/specification/signalr/resource-manager/readme.md index 9f4517f0e619..f23c4577a714 100644 --- a/specification/signalr/resource-manager/readme.md +++ b/specification/signalr/resource-manager/readme.md @@ -1,5 +1,5 @@ # SignalR - + > see https://aka.ms/autorest This is the AutoRest configuration file for SignalR. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for SignalR. --- -## Getting Started +## Getting Started To build the SDK for SignalR, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -21,7 +21,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the SignalR API. ``` yaml @@ -88,33 +88,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-signalr ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: signalr - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-03-01-preview -``` - -### Tag: package-2018-03-01-preview and go - -These settings apply only when `--tag=package-2018-03-01-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-03-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/signalr/mgmt/2018-03-01-preview/signalr -``` +See configuration in [readme.go.md](./readme.go.md) ## Java @@ -150,7 +126,7 @@ regenerate-manager: true generate-interface: true ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. diff --git a/specification/sql/resource-manager/readme.go.md b/specification/sql/resource-manager/readme.go.md new file mode 100644 index 000000000000..30493fa00b03 --- /dev/null +++ b/specification/sql/resource-manager/readme.go.md @@ -0,0 +1,58 @@ +### Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: sql + clear-output-folder: true +``` + +#### Go multi-api + +From api-version 2017-10 and onwards, only pure package versions should be used. Composite package versions are used for earlier api-versions (2017-03 and earlier) in order to ensure backwards compatibility with previously released versions of Go SDK, + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-pure-2017-10-preview + - tag: package-2017-03-preview + - tag: package-2015-05-preview + - tag: package-2014-04 +``` + +#### Tag: package-pure-2017-10-preview and go + +These settings apply only when `--tag=package-2017-10-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-pure-2017-10-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/sql/mgmt/2017-10-01-preview/sql +``` + +#### Tag: package-2017-03-preview and go + +These settings apply only when `--tag=package-2017-03-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-03-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/sql/mgmt/2017-03-01-preview/sql +``` + +#### Tag: package-2015-05-preview and go + +These settings apply only when `--tag=package-2015-05-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-05-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/sql/mgmt/2015-05-01-preview/sql +``` + +#### Tag: package-2014-04 and go + +These settings apply only when `--tag=package-2014-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2014-04' && $(go) +output-folder: $(go-sdk-folder)/services/sql/mgmt/2014-04-01/sql +``` diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index 4e5466897624..2916781f0c36 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -608,62 +608,7 @@ python: ### Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: sql - clear-output-folder: true -``` - -#### Go multi-api - -From api-version 2017-10 and onwards, only pure package versions should be used. Composite package versions are used for earlier api-versions (2017-03 and earlier) in order to ensure backwards compatibility with previously released versions of Go SDK, - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-pure-2017-10-preview - - tag: package-2017-03-preview - - tag: package-2015-05-preview - - tag: package-2014-04 -``` - -#### Tag: package-pure-2017-10-preview and go - -These settings apply only when `--tag=package-2017-10-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-pure-2017-10-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/sql/mgmt/2017-10-01-preview/sql -``` - -#### Tag: package-2017-03-preview and go - -These settings apply only when `--tag=package-2017-03-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-03-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/sql/mgmt/2017-03-01-preview/sql -``` - -#### Tag: package-2015-05-preview and go - -These settings apply only when `--tag=package-2015-05-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-05-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/sql/mgmt/2015-05-01-preview/sql -``` - -#### Tag: package-2014-04 and go - -These settings apply only when `--tag=package-2014-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2014-04' && $(go) -output-folder: $(go-sdk-folder)/services/sql/mgmt/2014-04-01/sql -``` +See configuration in [readme.go.md](./readme.go.md) ### Java diff --git a/specification/storSimple1200Series/resource-manager/readme.go.md b/specification/storSimple1200Series/resource-manager/readme.go.md new file mode 100644 index 000000000000..eafdccb53154 --- /dev/null +++ b/specification/storSimple1200Series/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: storsimple + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2016-10 +``` + +### Tag: package-2016-10 and go + +These settings apply only when `--tag=package-2016-10 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(go) +output-folder: $(go-sdk-folder)/services/storsimple1200series/mgmt/2016-10-01/storsimple +``` diff --git a/specification/storSimple1200Series/resource-manager/readme.md b/specification/storSimple1200Series/resource-manager/readme.md index db1040fa71f8..ff2ffc98a7b4 100644 --- a/specification/storSimple1200Series/resource-manager/readme.md +++ b/specification/storSimple1200Series/resource-manager/readme.md @@ -76,34 +76,9 @@ csharp: clear-output-folder: true ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: storsimple - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2016-10 -``` - -### Tag: package-2016-10 and go - -These settings apply only when `--tag=package-2016-10 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-10' && $(go) -output-folder: $(go-sdk-folder)/services/storsimple1200series/mgmt/2016-10-01/storsimple -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/storage/data-plane/Microsoft.StorageDataLake/readme.go.md b/specification/storage/data-plane/Microsoft.StorageDataLake/readme.go.md new file mode 100644 index 000000000000..2926d56977e4 --- /dev/null +++ b/specification/storage/data-plane/Microsoft.StorageDataLake/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: storagedatalake + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-06-preview +``` + +### Tag: package-2018-06-preview and go + +These settings apply only when `--tag=package-2018-06-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(go) +output-folder: $(go-sdk-folder)/services/storage/datalake/2018-06-17/storagedatalake +``` \ No newline at end of file diff --git a/specification/storage/data-plane/Microsoft.StorageDataLake/readme.md b/specification/storage/data-plane/Microsoft.StorageDataLake/readme.md index 5cf5432c5f85..d34d381b0442 100644 --- a/specification/storage/data-plane/Microsoft.StorageDataLake/readme.md +++ b/specification/storage/data-plane/Microsoft.StorageDataLake/readme.md @@ -102,30 +102,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: storagedatalake - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-06-preview -``` - -### Tag: package-2018-06-preview and go - -These settings apply only when `--tag=package-2018-06-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-06-preview' && $(go) -output-folder: $(go-sdk-folder)/services/storage/datalake/2018-06-17/storagedatalake -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/storageimportexport/resource-manager/readme.go.md b/specification/storageimportexport/resource-manager/readme.go.md new file mode 100644 index 000000000000..f3f51ebfb5b6 --- /dev/null +++ b/specification/storageimportexport/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: storageimportexport + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2016-11 +``` + +### Tag: package-2016-11 and go + +These settings apply only when `--tag=package-2016-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-11' && $(go) +output-folder: $(go-sdk-folder)/services/storageimportexport/mgmt/2016-11-01/storageimportexport +``` \ No newline at end of file diff --git a/specification/storageimportexport/resource-manager/readme.md b/specification/storageimportexport/resource-manager/readme.md index 945dcacc96c4..21ca2b606c6c 100644 --- a/specification/storageimportexport/resource-manager/readme.md +++ b/specification/storageimportexport/resource-manager/readme.md @@ -56,31 +56,7 @@ swagger-to-sdk: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: storageimportexport - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2016-11 -``` - -### Tag: package-2016-11 and go - -These settings apply only when `--tag=package-2016-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-11' && $(go) -output-folder: $(go-sdk-folder)/services/storageimportexport/mgmt/2016-11-01/storageimportexport -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java @@ -95,25 +71,25 @@ license-header: MICROSOFT_MIT_NO_CODEGEN payload-flattening-threshold: 1 output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storageimportexport ``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2016-11 -``` - -### Tag: package-2016-11 and java - -These settings apply only when `--tag=package-2016-11 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2016-11' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.storageimportexport.v2016_11_01 - output-folder: $(azure-libraries-for-java-folder)/storageimportexport/resource-manager/v2016_11_01 -regenerate-manager: true -generate-interface: true -``` - - + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-11 +``` + +### Tag: package-2016-11 and java + +These settings apply only when `--tag=package-2016-11 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-11' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.storageimportexport.v2016_11_01 + output-folder: $(azure-libraries-for-java-folder)/storageimportexport/resource-manager/v2016_11_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/storagesync/resource-manager/readme.md b/specification/storagesync/resource-manager/readme.md index 3c3a6b903690..7fae03156702 100644 --- a/specification/storagesync/resource-manager/readme.md +++ b/specification/storagesync/resource-manager/readme.md @@ -1,5 +1,5 @@ # StorageSync - + > see https://aka.ms/autorest This is the AutoRest configuration file for StorageSync. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for StorageSync. --- -## Getting Started +## Getting Started To build the SDK for Storage, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -21,7 +21,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the Storage Sync API. ``` yaml @@ -87,7 +87,7 @@ swagger-to-sdk: - repo: azure-sdk-for-node ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -130,6 +130,10 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-storagesync ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/storsimple8000series/resource-manager/readme.go.md b/specification/storsimple8000series/resource-manager/readme.go.md new file mode 100644 index 000000000000..bfc55fea0e48 --- /dev/null +++ b/specification/storsimple8000series/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: storsimple + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-06 +``` + +### Tag: package-2017-06 and go + +These settings apply only when `--tag=package-2017-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-06' && $(go) +output-folder: $(go-sdk-folder)/services/storsimple8000series/mgmt/2017-06-01/storsimple +``` \ No newline at end of file diff --git a/specification/storsimple8000series/resource-manager/readme.md b/specification/storsimple8000series/resource-manager/readme.md index a0636c29b01c..15f37b88a71b 100644 --- a/specification/storsimple8000series/resource-manager/readme.md +++ b/specification/storsimple8000series/resource-manager/readme.md @@ -76,34 +76,9 @@ csharp: clear-output-folder: true ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: storsimple - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-06 -``` - -### Tag: package-2017-06 and go - -These settings apply only when `--tag=package-2017-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-06' && $(go) -output-folder: $(go-sdk-folder)/services/storsimple8000series/mgmt/2017-06-01/storsimple -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java @@ -118,25 +93,25 @@ license-header: MICROSOFT_MIT_NO_CODEGEN payload-flattening-threshold: 1 output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storsimple8000series ``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2017-06 -``` - -### Tag: package-2017-06 and java - -These settings apply only when `--tag=package-2017-06 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-06' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.storsimple.v2017_06_01 - output-folder: $(azure-libraries-for-java-folder)/storsimple/resource-manager/v2017_06_01 -regenerate-manager: true -generate-interface: true -``` - - + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-06 +``` + +### Tag: package-2017-06 and java + +These settings apply only when `--tag=package-2017-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-06' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.storsimple.v2017_06_01 + output-folder: $(azure-libraries-for-java-folder)/storsimple/resource-manager/v2017_06_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/streamanalytics/resource-manager/readme.go.md b/specification/streamanalytics/resource-manager/readme.go.md new file mode 100644 index 000000000000..e07dea42439e --- /dev/null +++ b/specification/streamanalytics/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: streamanalytics + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2016-03 +``` + +### Tag: package-2016-03 and go + +These settings apply only when `--tag=package-2016-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-03' && $(go) +output-folder: $(go-sdk-folder)/services/streamanalytics/mgmt/2016-03-01/streamanalytics +``` diff --git a/specification/streamanalytics/resource-manager/readme.md b/specification/streamanalytics/resource-manager/readme.md index fe106986895a..f91a1fb2788d 100644 --- a/specification/streamanalytics/resource-manager/readme.md +++ b/specification/streamanalytics/resource-manager/readme.md @@ -81,34 +81,9 @@ csharp: clear-output-folder: true ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: streamanalytics - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2016-03 -``` - -### Tag: package-2016-03 and go - -These settings apply only when `--tag=package-2016-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-03' && $(go) -output-folder: $(go-sdk-folder)/services/streamanalytics/mgmt/2016-03-01/streamanalytics -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/subscription/resource-manager/readme.go.md b/specification/subscription/resource-manager/readme.go.md new file mode 100644 index 000000000000..09340223e241 --- /dev/null +++ b/specification/subscription/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: subscription +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-03-preview + - tag: package-2017-11-preview +``` + +### Tag: package-2018-03-preview and go + +These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2018-03-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/subscription/mgmt/2018-03-01-preview/subscription +``` + +### Tag: package-2017-11-preview and go + +These settings apply only when `--tag=package-2017-11-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-11-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/subscription/mgmt/2017-11-01-preview/subscription +``` \ No newline at end of file diff --git a/specification/subscription/resource-manager/readme.md b/specification/subscription/resource-manager/readme.md index feb1ad5fb2ca..74498b7f5e58 100644 --- a/specification/subscription/resource-manager/readme.md +++ b/specification/subscription/resource-manager/readme.md @@ -1,5 +1,5 @@ # Subscription - + > see https://aka.ms/autorest This is the AutoRest configuration file for Subscription. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for Subscription. --- -## Getting Started +## Getting Started To build the SDK for Subscription, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -20,13 +20,13 @@ To see additional help and options, run: ## Configuration ## Suppression -``` yaml -directive: +``` yaml +directive: - suppress: R2059 ``` -### Basic Information +### Basic Information These are the global settings for the Subscription API. ``` yaml @@ -103,41 +103,7 @@ python: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: subscription -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-03-preview - - tag: package-2017-11-preview -``` - -### Tag: package-2018-03-preview and go - -These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2018-03-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/subscription/mgmt/2018-03-01-preview/subscription -``` - -### Tag: package-2017-11-preview and go - -These settings apply only when `--tag=package-2017-11-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-11-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/subscription/mgmt/2017-11-01-preview/subscription -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/timeseriesinsights/resource-manager/readme.go.md b/specification/timeseriesinsights/resource-manager/readme.go.md new file mode 100644 index 000000000000..dab0535c68ca --- /dev/null +++ b/specification/timeseriesinsights/resource-manager/readme.go.md @@ -0,0 +1,36 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: timeseriesinsights +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-11-15 + - tag: package-2017-02-preview +``` + +### Tag: package-2017-11-15 and go + +These settings apply only when `--tag=package-2017-11-15 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-11-15' && $(go) +output-folder: $(go-sdk-folder)/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights +``` + +### Tag: package-2017-02-preview and go + +These settings apply only when `--tag=package-2017-02-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2017-02-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/timeseriesinsights/mgmt/2017-02-28-preview/timeseriesinsights +``` \ No newline at end of file diff --git a/specification/timeseriesinsights/resource-manager/readme.md b/specification/timeseriesinsights/resource-manager/readme.md index b15504e6250b..95dee2ea7dd3 100644 --- a/specification/timeseriesinsights/resource-manager/readme.md +++ b/specification/timeseriesinsights/resource-manager/readme.md @@ -83,40 +83,7 @@ swagger-to-sdk: ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true - namespace: timeseriesinsights -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-11-15 - - tag: package-2017-02-preview -``` - -### Tag: package-2017-11-15 and go - -These settings apply only when `--tag=package-2017-11-15 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-11-15' && $(go) -output-folder: $(go-sdk-folder)/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights -``` - -### Tag: package-2017-02-preview and go - -These settings apply only when `--tag=package-2017-02-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag)=='package-2017-02-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/timeseriesinsights/mgmt/2017-02-28-preview/timeseriesinsights -``` +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/trafficmanager/resource-manager/readme.go.md b/specification/trafficmanager/resource-manager/readme.go.md new file mode 100644 index 000000000000..bb66cbf980fe --- /dev/null +++ b/specification/trafficmanager/resource-manager/readme.go.md @@ -0,0 +1,76 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: trafficmanager + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-03 + - tag: package-2018-02 + - tag: package-2017-09-preview + - tag: package-2017-05 + - tag: package-2017-03 + - tag: package-2015-11 +``` + +### Tag: package-2018-03 and go + +These settings apply only when `--tag=package-2018-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(go) +output-folder: $(go-sdk-folder)/services/trafficmanager/mgmt/2018-03-01/trafficmanager +``` + +### Tag: package-2018-02 and go + +These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(go) +output-folder: $(go-sdk-folder)/services/trafficmanager/mgmt/2018-02-01/trafficmanager +``` + +### Tag: package-2017-09-preview and go + +These settings apply only when `--tag=package-2017-09-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-09-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager +``` + +### Tag: package-2017-05 and go + +These settings apply only when `--tag=package-2017-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-05' && $(go) +output-folder: $(go-sdk-folder)/services/trafficmanager/mgmt/2017-05-01/trafficmanager +``` + +### Tag: package-2017-03 and go + +These settings apply only when `--tag=package-2017-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(go) +output-folder: $(go-sdk-folder)/services/trafficmanager/mgmt/2017-03-01/trafficmanager +``` + +### Tag: package-2015-11 and go + +These settings apply only when `--tag=package-2015-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-11' && $(go) +output-folder: $(go-sdk-folder)/services/trafficmanager/mgmt/2015-11-01/trafficmanager +``` \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/readme.md b/specification/trafficmanager/resource-manager/readme.md index 497a6d066bd1..82e4c3822794 100644 --- a/specification/trafficmanager/resource-manager/readme.md +++ b/specification/trafficmanager/resource-manager/readme.md @@ -92,7 +92,7 @@ directive: - suppress: R3023 reason: it's implemented in the main network spec approved-by: "@fearthecowboy" - + - where: $.paths["/providers/Microsoft.Network/checkTrafficManagerNameAvailability"].post.operationId suppress: R2066 reason: the name does include it. @@ -106,7 +106,7 @@ directive: suppress: R3006 reason: Existing API; can't change without breaking API. Will consider in future API version approved-by: "@fearthecowboy" - + ``` ### Tag: package-2017-09-preview @@ -226,85 +226,9 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-trafficmanager ``` - - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: trafficmanager - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-03 - - tag: package-2018-02 - - tag: package-2017-09-preview - - tag: package-2017-05 - - tag: package-2017-03 - - tag: package-2015-11 -``` - -### Tag: package-2018-03 and go - -These settings apply only when `--tag=package-2018-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-03' && $(go) -output-folder: $(go-sdk-folder)/services/trafficmanager/mgmt/2018-03-01/trafficmanager -``` - -### Tag: package-2018-02 and go - -These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-02' && $(go) -output-folder: $(go-sdk-folder)/services/trafficmanager/mgmt/2018-02-01/trafficmanager -``` - -### Tag: package-2017-09-preview and go - -These settings apply only when `--tag=package-2017-09-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-09-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/trafficmanager/mgmt/2017-09-01-preview/trafficmanager -``` - -### Tag: package-2017-05 and go - -These settings apply only when `--tag=package-2017-05 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-05' && $(go) -output-folder: $(go-sdk-folder)/services/trafficmanager/mgmt/2017-05-01/trafficmanager -``` - -### Tag: package-2017-03 and go - -These settings apply only when `--tag=package-2017-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-03' && $(go) -output-folder: $(go-sdk-folder)/services/trafficmanager/mgmt/2017-03-01/trafficmanager -``` - -### Tag: package-2015-11 and go - -These settings apply only when `--tag=package-2015-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-11' && $(go) -output-folder: $(go-sdk-folder)/services/trafficmanager/mgmt/2015-11-01/trafficmanager -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/visualstudio/resource-manager/readme.go.md b/specification/visualstudio/resource-manager/readme.go.md new file mode 100644 index 000000000000..d96115cfd69c --- /dev/null +++ b/specification/visualstudio/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: visualstudio + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2014-04-preview +``` + +### Tag: package-2014-04-preview and go + +These settings apply only when `--tag=package-2014-04-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2014-04-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio +``` \ No newline at end of file diff --git a/specification/visualstudio/resource-manager/readme.md b/specification/visualstudio/resource-manager/readme.md index 367e3cce6f8f..273fce78f603 100644 --- a/specification/visualstudio/resource-manager/readme.md +++ b/specification/visualstudio/resource-manager/readme.md @@ -62,34 +62,9 @@ swagger-to-sdk: - repo: azure-sdk-for-js ``` - ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: visualstudio - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2014-04-preview -``` - -### Tag: package-2014-04-preview and go - -These settings apply only when `--tag=package-2014-04-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2014-04-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/visualstudio/mgmt/2014-04-01-preview/visualstudio -``` - +See configuration in [readme.go.md](./readme.go.md) ## Java diff --git a/specification/web/resource-manager/readme.go.md b/specification/web/resource-manager/readme.go.md new file mode 100644 index 000000000000..3b7622dcea27 --- /dev/null +++ b/specification/web/resource-manager/readme.go.md @@ -0,0 +1,46 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: web + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-02 + - tag: package-2016-09 + - tag: package-2015-08-preview +``` + +### Tag: package-2018-02 and go + +These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(go) +output-folder: $(go-sdk-folder)/services/web/mgmt/2018-02-01/web +``` + +### Tag: package-2016-09 and go + +These settings apply only when `--tag=package-2016-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-09' && $(go) +output-folder: $(go-sdk-folder)/services/web/mgmt/2016-09-01/web +``` + +### Tag: package-2015-08-preview and go + +These settings apply only when `--tag=package-2015-08-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-08-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/web/mgmt/2015-08-preview/web +``` diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md index 6b16c4eda059..35ada8e4b8f8 100644 --- a/specification/web/resource-manager/readme.md +++ b/specification/web/resource-manager/readme.md @@ -319,55 +319,6 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-web ``` - -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: web - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-02 - - tag: package-2016-09 - - tag: package-2015-08-preview -``` - -### Tag: package-2018-02 and go - -These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-02' && $(go) -output-folder: $(go-sdk-folder)/services/web/mgmt/2018-02-01/web -``` - -### Tag: package-2016-09 and go - -These settings apply only when `--tag=package-2016-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-09' && $(go) -output-folder: $(go-sdk-folder)/services/web/mgmt/2016-09-01/web -``` - -### Tag: package-2015-08-preview and go - -These settings apply only when `--tag=package-2015-08-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-08-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/web/mgmt/2015-08-preview/web -``` - - ## Python These settings apply only when `--python` is specified on the command line. @@ -381,6 +332,10 @@ python: namespace: azure.mgmt.web ``` +## Go + +See configuration in [readme.go.md](./readme.go.md) + ## Java