Skip to content

Commit

Permalink
Revert "Revert "Sync: merge master to compute-2021-03 release branch (#…
Browse files Browse the repository at this point in the history
…14097)" (#14122)"

This reverts commit b9df6bc.
  • Loading branch information
Sandido authored Apr 26, 2021
1 parent b9df6bc commit b9fb467
Show file tree
Hide file tree
Showing 2,576 changed files with 256,481 additions and 8,420 deletions.
8 changes: 7 additions & 1 deletion .github/pull_request_assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
reviewers:
- lmazuel

- rule:
# data-plane PR
paths:
- "specification/**/data-plane/iot**"
reviewers:
- drwill-ms

- rule:
# data-plane PR
paths:
Expand All @@ -35,7 +42,6 @@
- anuchandy
- jhendrixMSFT
- tjprescott


- rule:
paths:
Expand Down
6 changes: 4 additions & 2 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
/specification/analysisservices/ @taiwu
/specification/alertsmanagement/ @ofirmanor @olalavi @erangon @orieldar @ilaizi @shakednai1 @khaboasb @orenhor
/specification/apimanagement/ @promoisha @solankisamir
/specification/applicationinsights/ @alexeldeib @ramthi @markwolff @trask @hectorhdzg @lzchen
/specification/applicationinsights/ @alexeldeib
/specification/applicationinsights/data-plane/Monitor.Exporters/ @ramthi @trask @hectorhdzg @lzchen
/specification/asazure/ @athipp
/specification/authorization/ @darshanhs90 @stankovski
/specification/automation/ @vrdmr
Expand Down Expand Up @@ -62,7 +63,7 @@
/specification/resources/ @Azure/arm-template-deployments @rajshah11 @vivsriaus
/specification/scheduler/ @pinwang81
/specification/search/data-plane/ @brjohnstmsft @arv100kri @bleroy @heaths @AlexGhiondea @Mohit-Chakraborty
/specification/search/resource-manager/ @abhi1509 @miwelsh @tjacobhi
/specification/search/resource-manager/ @abhi1509 @tjacobhi
/specification/serialconsole/ @amitchat @craigw @asinn826
/specification/service-map/ @daveirwin1
/specification/servicebus/ @sazeesha @v-ajnava
Expand All @@ -75,6 +76,7 @@
/specification/storsimple8000series/ @manaas-microsoft
/specification/streamanalytics/ @atpham256
/specification/subscriptions/ @navysingla
/specification/synapse/ @idear1203
/specification/timeseriesinsights/ @sandshadow
/specification/trafficmanager/ @allencal @hrkulkarmsft
/specification/web/ @naveedaz @Azure/azure-app-service-control-plane
Expand Down
13 changes: 13 additions & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"words": [
"Creds",
"partiallycompleted",
"subchannel",
"umls"
],
"dictionaryDefinitions": [
Expand Down Expand Up @@ -229,6 +230,12 @@
"Exprired"
]
},
{
"filename": "**/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/integrationRuntime.json",
"words": [
"Exprired"
]
},
{
"filename": "**/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json",
"words": [
Expand Down Expand Up @@ -285,6 +292,12 @@
"Regenerte"
]
},
{
"filename": "**/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.2/storage.json",
"words": [
"Regenerte"
]
},
{
"filename": "**/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json",
"words": [
Expand Down
22 changes: 20 additions & 2 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ AADDS
aadiam
AADP
AATP
aapl
abcxyz
ABFS
ABGRABGR
Expand Down Expand Up @@ -55,6 +56,7 @@ alertrules
alertsmanagement
alertstate
Alexa
Algo
allowlist
Alon
amazonservices
Expand Down Expand Up @@ -134,6 +136,7 @@ artifacturi
asciifolding
Asns
aspnet
assessmentprojects
Asturian
asyncinfo
asyncoperation
Expand Down Expand Up @@ -211,6 +214,7 @@ backendid
backends
backfilling
Backoff
backplane
backupconfig
backupengine
backupstorageconfig
Expand Down Expand Up @@ -403,6 +407,7 @@ costcenter
costinsights
costmanagement
Couchbase
cpes
cpim
CPIM
Cran
Expand Down Expand Up @@ -574,6 +579,7 @@ Dsms
DTDL
Dtus
duration'PT
dynamicpersongroups
EAPMSCHA
EAPMSCHAP
EAPTLS
Expand Down Expand Up @@ -656,7 +662,6 @@ fatherable
faultable
fconfig
FDID
FDID
fearthecowboy
featurecapabilities
Featurization
Expand Down Expand Up @@ -833,6 +838,7 @@ Imagelist
imagelists
imagesearch
IMDS
importcollectors
importdevices
Inbuild
incomingrelationships
Expand Down Expand Up @@ -913,6 +919,7 @@ JSONLD
Jtoken
jumpbox
jwts
K’iche
Kabuverdianu
Kachin
kafkarest
Expand Down Expand Up @@ -953,8 +960,8 @@ Kubelet
kubenet
kubernetes
kusto
kustooperations
kvset
K’iche
l'avion
labaccounts
labelset
Expand Down Expand Up @@ -1043,6 +1050,7 @@ managecontacts
managedapplications
managedclusters
managedeployments
managedHSMs
managedserviceidentity
managedservices
managee
Expand Down Expand Up @@ -1086,6 +1094,8 @@ metricnamespace
metricsadvisor
metrictype
mgmt
MHSM
MHSMIP
Mibps
microservices
microsofttranslator
Expand Down Expand Up @@ -1621,6 +1631,7 @@ securitydomainuploadoperation
securityinsight
seealso
serialconsole
servercollectors
servererror
serverfarm
serverfarms
Expand Down Expand Up @@ -2083,6 +2094,8 @@ webhostingplans
webjob
webjobs
webproxy
webpubsub
WebPubSub
websearch
webservices
Webspace
Expand Down Expand Up @@ -2137,3 +2150,8 @@ ziplist
Zoho
zoneinfo
zset
testfailover
Orignal
Onprem
targetv
Seleted
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
{
"swagger": "2.0",
"info": {
"version": "2019-12-01",
"title": "YourServiceName",
"description": "Description of the new service"
},
"x-ms-parameterized-host": {
"hostTemplate": "{endpoint}",
"useSchemePrefix": true,
"positionInOperation": "first",
"parameters": [
{
"name": "endpoint",
"description": "The endpoint of the service",
"required": true,
"type": "string",
"in": "path",
"x-ms-skip-url-encoding": true
}
]
},
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/service/{accountName}": {
"get": {
"tags": [
"Tag1"
],
"operationId": "OperationGroup_Get",
"x-ms-examples": {
"BatchAccountDelete": {
"$ref": "./examples/OperationGroupGet.json"
}
},
"description": "This is a sample get operation, please see guidelines in azure-rest-api-specs repository for more info",
"parameters": [
{
"name": "accountName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the storage account."
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Describe the result of a successful operation.",
"schema": {
"$ref": "#/definitions/Result"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
}
},
"definitions": {
"Result": {
"description": "Sample result definition",
"properties": {
"sampleProperty": {
"type": "string",
"description": "Sample property of type string"
}
}
},
"ErrorResponse": {
"description": "Error response.",
"properties": {
"error": {
"$ref": "#/definitions/ErrorDefinition",
"description": "The error details."
}
}
},
"ErrorDefinition": {
"description": "Error definition.",
"properties": {
"code": {
"description": "Service specific error code which serves as the substatus for the HTTP error code.",
"type": "string",
"readOnly": true
},
"message": {
"description": "Description of the error.",
"type": "string",
"readOnly": true
},
"details": {
"description": "Internal error details.",
"type": "array",
"items": {
"$ref": "#/definitions/ErrorDefinition"
},
"readOnly": true
}
}
}
},
"parameters": {
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "The API version to be used with the HTTP request."
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"accountName": "sampleacct",
"api-version": "2019-12-01"
},
"responses": {
"200": {
"body": {
"name": "sampleacct",
"location": "uswest",
"id": "/service/sampleacct",
"type": "Microsoft.YourServiceName/YourServiceName"
}
}
}
}
39 changes: 39 additions & 0 deletions documentation/samplefiles-dp/samplereadme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# [[ServiceName]]

> see https://aka.ms/autorest
This is the AutoRest configuration file for [[ServiceName]].

## Getting Started

To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run:

> `autorest readme.md`
To see additional help and options, run:

> `autorest --help`
For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page.

---

## Configuration

### Basic Information

These are the global settings for the [[ServiceName]].

```yaml
openapi-type: [[OpenApiType]]
tag: package-[[Version]]
```
### Tag: package-[[Version]]
These settings apply only when `--tag=package-[[Version]]` is specified on the command line.

```yaml $(tag) == 'package-[[Version]]'
input-file:
- [[ResourceProviderName]]/[[ReleaseState]]/[[Version]]/[[ServiceName]].json
```
Loading

0 comments on commit b9fb467

Please sign in to comment.