Skip to content

Commit c6055b2

Browse files
authored
Merge branch 'main' into dev-machinelearningservices-Microsoft.MachineLearningServices-2022-10-01-preview
2 parents 2e9e998 + 2e88f0e commit c6055b2

File tree

7,192 files changed

+994271
-15947
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

7,192 files changed

+994271
-15947
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,7 @@
1-
<i>MSFT employees can try out our new experience at <b>[OpenAPI Hub](https://aka.ms/openapiportal) </b> - one location for using our validation tools and finding your workflow.
2-
</i>
3-
Azure 1st Party Service can try out the [Shift Left](https://aka.ms/ShiftLeft) experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
1+
# Choose a PR Template
42

5-
### Changelog
6-
Add a changelog entry for this PR by answering the following questions:
7-
1. What's the purpose of the update?
8-
- [ ] new service onboarding
9-
- [ ] new API version
10-
- [ ] update existing version for new feature
11-
- [ ] update existing version to fix swagger quality issue in s360
12-
- [ ] Other, please clarify
13-
2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
14-
3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
15-
4. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.
16-
- [ ] SDK of .NET (need service team to ensure code readiness)
17-
- [ ] SDK of Python
18-
- [ ] SDK of Java
19-
- [ ] SDK of Js
20-
- [ ] SDK of Go
21-
- [ ] PowerShell
22-
- [ ] CLI
23-
- [ ] Terraform
24-
- [ ] No refresh required for updates in this PR
3+
Switch to "Preview" on this description then select one of the choices below.
254

26-
### Contribution checklist:
27-
- [ ] I commit to follow the [Breaking Change Policy](http://aka.ms/bcforapi) of "no breaking changes"
28-
- [ ] I have reviewed the [documentation](https://aka.ms/ameonboard) for the workflow.
29-
- [ ] [Validation tools](https://aka.ms/swaggertools) were run on swagger spec(s) and errors have all been fixed in this PR. [How to fix?](https://aka.ms/ci-fix)
5+
<a href="?expand=1&template=data_plane_template.md">Click here</a> to open a PR for a Data Plane API.
306

31-
If any further question about AME onboarding or validation tools, please view the [FAQ](https://aka.ms/faqinprreview).
32-
33-
### ARM API Review Checklist
34-
35-
> **Applicability**: :warning:
36-
>
37-
> If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.
38-
> - Change to data plane APIs
39-
> - Adding new properties
40-
> - All removals
41-
42-
Otherwise your PR may be subject to ARM review requirements. Complete the following:
43-
- [ ] Check this box if any of the following appy to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.
44-
- Adding a new service
45-
- Adding new API(s)
46-
- Adding a new API version
47-
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the [wiki](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/208/OpenAPI-Hub-Adding-new-API-version).
48-
49-
- [ ] Ensure you've reviewed following [guidelines](https://aka.ms/rpguidelines) including [ARM resource provider contract](https://github.com/Azure/azure-resource-manager-rpc) and [REST guidelines](https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md). Estimated time (4 hours). This is required before you can request review from ARM API Review board.
50-
51-
- [ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (*RP Manifest Approvers* team under <ins>Azure Resource Manager service</ins>) from IcM and reach out to them.
52-
53-
### Breaking Change Review Checklist
54-
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the [Breaking Change Policy](http://aka.ms/bcforapi).
55-
- [ ] Removing API(s) in a stable version
56-
- [ ] Removing properties in a stable version
57-
- [ ] Removing API version(s) in a stable version
58-
- [ ] Updating API in a stable or public preview version with Breaking Change Validation errors
59-
- [ ] Updating API(s) in public preview over 1 year (refer to [Retirement of Previews](https://dev.azure.com/msazure/AzureWiki/_wiki/wikis/AzureWiki.wiki/37683/Retirement-of-Previews))
60-
61-
**Action**: to initiate an evaluation of the breaking change, create a new intake using the [template for breaking changes](https://aka.ms/Breakingchangetemplate). Addition details on the process and office hours are on the [Breaking change Wiki](https://dev.azure.com/msazure/AzureWiki/_wiki/wikis/AzureWiki.wiki/37684/Breaking-Changes).
62-
63-
Please follow the link to find more details on [PR review process](https://aka.ms/SwaggerPRReview).
7+
<a href="?expand=1&template=control_plane_template.md">Click here</a> to open a PR for a Control Plane (ARM) API.

.github/comment.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
type: checkbox
44
keywords:
55
- "WaitForARMFeedback"
6-
booleanFilterExpression: "!(ARMSignedOff||ARMChangesRequested||Approved-OkToMerge||WaitForARMRevisit)"
6+
booleanFilterExpression: "!(ARMSignedOff||ARMChangesRequested||Approved-OkToMerge||WaitForARMRevisit||BreakingChangeReviewRequired)"
77
onCheckedLabels:
88
- WaitForARMFeedback
99
- ARMReview
@@ -77,6 +77,13 @@
7777
onLabeledComments: "Please ensure to respond feedbacks from the ARM API reviewer. When you are ready to continue the ARM API review, please remove `ARMChangesRequested`"
7878
onLabeledRemoveLabels:
7979
- WaitForARMFeedback
80+
81+
- rule:
82+
type: label
83+
label: Approved-BreakingChange
84+
booleanFilterExpression: "!(ARMSignedOff||ARMChangesRequested||Approved-OkToMerge||WaitForARMRevisit)&&ARMReview"
85+
onLabeledAddLabels:
86+
- WaitForARMFeedback
8087

8188

8289
- rule:

.github/pull_request_assignment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
# data-plane PR
4747
paths:
4848
- "specification/**/data-plane/**"
49+
- "dev/**/data-plane/**"
4950
reviewers:
5051
- anuchandy
5152
- jhendrixMSFT
@@ -73,7 +74,7 @@
7374

7475

7576
- rule:
76-
paths: "specification/@(providerhub|sql|appplatform|deviceupdate|servicelinker|imagebuilder|throttling)/**"
77+
paths: "specification/@(providerhub|sql|appplatform|deviceupdate|servicelinker|imagebuilder|throttling|secretmanagementtestsvc)/**"
7778
reviewers:
7879
- raych1
7980
- xiaoxuqi-ms

CODEOWNERS

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
# Specification
66
#########
77

8+
#########
9+
# Codeowner assignments are made from the _last_ matching entry in CODEOWNERS, so catch-all entries must come first
10+
#########
11+
/specification/*/data-plane/ @Azure/api-stewardship-board
12+
13+
# PRLabel: %Schema Registry
14+
/specification/schemaregistry/ @hmlam @nickghardwick @lmazuel @deyaaeldeen @JoshLove-msft @swathipil @conniey
15+
816
# PRLabel: %Cognitive Services
917
/dev/cognitiveservices/data-plane/Language/ @assafi @rokulka @ChongTang @annatisch @heaths @deyaaeldeen @kristapratico @mssfang @Azure/api-stewardship-board
1018

@@ -69,7 +77,7 @@
6977
/specification/containerservice/ @palma21 @weinong @seguler @alvinli222 @justindavies @matthchr @robbiezhang @paulgmiller @yizhang4321 @circy9 @qike-ms
7078

7179
# PRLabel: %Cosmos
72-
/specification/cosmos-db/ @dmakwana @MehaKaushik @wmengmsft @shurd
80+
/specification/cosmos-db/ @pjohari-ms @MehaKaushik
7381

7482
# PRLabel: %Customer Insights
7583
/specification/customer-insights/ @tjlvtao
@@ -222,7 +230,7 @@
222230
/specification/subscriptions/ @navysingla
223231

224232
# PRLabel: %Synapses
225-
/specification/synapse/ @idear1203 @wonner
233+
/specification/synapse/ @wonner @yanjungao718
226234

227235
# PRLabel: %TimeseriesInsights
228236
/specification/timeseriesinsights/ @sandshadow
@@ -241,4 +249,3 @@
241249
/specification/**/resource-manager/**/readme.cli.md @jsntcy @qiaozha
242250
/specification/**/resource-manager/**/readme.go.md @ArcturusZhang
243251
/specification/**/resource-manager/**/readme.python.md @msyyc @BigCat20196
244-
/specification/*/data-plane/ @Azure/api-stewardship-board

CONTRIBUTING.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,19 @@ This file provides general guidance for developers that are creating or updating
1111

1212
<!-- toc -->
1313

14-
- [Reporting problems](#reporting-problems)
14+
- [Reporting Problems](#reporting-problems)
1515
- [Avoid Breaking Changes](#avoid-breaking-changes)
1616
- [Design Guidelines](#design-guidelines)
17-
* [Exceptions for consistency within a service](#exceptions-for-consistency-within-a-service)
17+
* [Exceptions for Consistency within a Service](#exceptions-for-consistency-within-a-service)
1818
- [Coding Style](#coding-style)
1919
- [Directory Structure](#directory-structure)
2020
- [Pull Requests](#pull-requests)
21-
- [Pull Request checks](#pull-request-checks)
21+
- [Pull Request Checks](#pull-request-checks)
22+
- [Internal Contribution Guide](#internal-contribution-guide)
2223

2324
<!-- tocstop -->
2425

25-
## Reporting problems
26+
## Reporting Problems
2627

2728
If you discover a problem with a REST API document in this repo, feel free to [open an issue](https://github.com/Azure/azure-rest-api-specs/issues/new). But please do not report issues with service behavior / functionality in this repo.
2829

@@ -40,7 +41,7 @@ There is a [YouTube video series](https://www.youtube.com/watch?v=9Ng00IlBCtw) b
4041

4142
Another resource is the [Considerations for Service Design](https://github.com/microsoft/api-guidelines/blob/vNext/azure/ConsiderationsForServiceDesign.md), which is an introduction to REST API design mainly for services that are just getting started.
4243

43-
### Exceptions for consistency within a service
44+
### Exceptions for Consistency within a Service
4445

4546
There are situations where a service has GA'd their API with design patterns that do not follow our guidelines and it would be a breaking change to adopt the API design in the guidelines.
4647
Because the first rule is to avoid breaking changes and because we want APIs to be consistent within a service, these design patterns are considered the standard for that service and should be followed in all subsequent (non-breaking) versions of that service's REST API.
@@ -70,7 +71,7 @@ If you want to contribute to the repository, follow these steps:
7071

7172
Microsoft employees can try out the experience at [OpenAPI Hub](https://aka.ms/openapihub) for [adding a new API version using OpenAPI Hub](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/208/OpenAPI-Hub-Adding-new-API-version).
7273

73-
## Pull Request checks
74+
## Pull Request Checks
7475

7576
Every PR in this repo will go through a series of PR checks, including:
7677

@@ -90,3 +91,10 @@ Every PR in this repo will go through a series of PR checks, including:
9091

9192
When any of these PR checks fails it will post a comment to the PR with links to information on how to resolve the problem.
9293
There is also the [CI Fix Guide](https://aka.ms/ci-fix) that describes how to fix common PR check failures.
94+
95+
## Internal Contribution Guide
96+
For management plane, please refer to https://aka.ms/rpguidelines;
97+
98+
For data-plane, please refer to [Guide to design and creation of Data Plane REST API and Client Libraries](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/591/Guide-to-design-and-creation-of-Data-Plane-REST-API-and-Client-Libraries);
99+
100+
For contribution access to spec repos, please refer to [Public repo vs. Private repo: To get write access](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/202/Overall-Process-of-Management-Plane-SDK-Onboarding?anchor=2.-create/update-the-openapi-specifications%2C-and-launch-swagger-pr-review)

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ External Contributors can read [Getting Started with OpenAPI Specifications](htt
1717

1818
- **Offerings**, **Skus**, and **Features** - These are distinct entities represented in Eco Manager and Service Tree. While the Offering/Sku/Feature entities and hierarchy represent the externally marketed product, **service/components** entities in service tree represent corresponding engineering entities that together power these external products. Refer to [Product Taxonomy](https://dev.azure.com/msazure/AzureWiki/_wiki/wikis/AzureWiki.wiki/40783/Service-Tree-Product-Taxonomy) for details.
1919

20-
- **Resource Provider** - When a service onboard new functionality onto ARM, it is required to complete [Resource Provider Registration](https://armwiki.azurewebsites.net/rp_onboarding/ResourceProviderRegistration.html). For existing **Resource Provider to Service Mapping**, refer to [Match resource provider to service](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-services-resource-providers#match-resource-provider-to-service)*
20+
- **Resource Provider** - When a service onboards new functionality onto ARM, it is required to complete [Resource Provider Registration](https://armwiki.azurewebsites.net/rp_onboarding/ResourceProviderRegistration.html). For existing **Resource Provider to Service Mapping**, refer to [Match resource provider to service](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-services-resource-providers#match-resource-provider-to-service)*
2121

2222

2323
## Directory Structure
@@ -34,13 +34,13 @@ The structure of the directory should strictly follow these rules:
3434
>
3535
> - An RP folder leads to a separate SDK package. Is it expected to have separate SDK packages for different service/component entities?
3636
> - Service/component entities in one folder share the same versioning cycle. Can service/component entities in one folder share the same version label, and upgrade together in the future?
37-
> - Specification files and AutoRest configuration files in one RP folder are better to refer to files in the same RP folder. Note: Entity type definition that need to be referred cross RP folders should to be placed and maintained under the folder [**common-types**](https://github.com/Azure/azure-rest-api-specs#common-types).
37+
> - Specification files and AutoRest configuration files in one RP folder are better to refer to files in the same RP folder. Note: Entity type definition that needs to be referred cross RP folders should be placed and maintained under the folder [**common-types**](https://github.com/Azure/azure-rest-api-specs#common-types).
3838
> - For more considerations, you may consult the reviewer in API design review. To initiate the review, Please submit an [Azure SDK intake questionnaire](https://aka.ms/sdk-apex).
3939
40-
4. **'resource-manager' and 'data-plane' Folders**: the RPs can put specs in one of two categories: `resource-manager` (for ARM resources) and `data-plane` (for everything else) . There should be an AutoRest configuration file (`readme.md`) for the RP inside both of these folders when present.
40+
4. **'resource-manager' and 'data-plane' Folders**: the RPs can put specs in one of two categories: `resource-manager` (for ARM resources) and `data-plane` (for everything else). There should be an AutoRest configuration file (`readme.md`) for the RP inside both of these folders when present.
4141

4242

43-
5. **'cadl' Folders**: this folder holds CADL specs of either `resource-manager` or `data-plane`. CADL is a language for describing cloud service APIs and generating other API description languages, client and service code, documentation, and other assets. Explore more by visiting the tutorial in the CADL repo: [CADL tutorial](http://aka.ms/cadlTutorial). You can also ask questions for provide feedback in the teams channel [CADL Discussion](https://teams.microsoft.com/l/channel/19%3a906c1efbbec54dc8949ac736633e6bdf%40thread.skype/Cadl%2520Discussion%2520%25F0%259F%2590%25AE?groupId=3e17dcb0-4257-4a30-b843-77f47f1d4121&tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47).
43+
5. **'cadl' Folders**: this folder holds CADL specs of either `resource-manager` or `data-plane`. CADL is a language for describing cloud service APIs and generating other API description languages, client and service code, documentation, and other assets. Explore more by visiting the tutorial in the CADL repo: [CADL tutorial](http://aka.ms/cadlTutorial). You can also ask questions for providing feedback in the teams channel [CADL Discussion](https://teams.microsoft.com/l/channel/19%3a906c1efbbec54dc8949ac736633e6bdf%40thread.skype/Cadl%2520Discussion%2520%25F0%259F%2590%25AE?groupId=3e17dcb0-4257-4a30-b843-77f47f1d4121&tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47).
4444

4545

4646
6. **'Microsoft.{ARMNamespace}' Folders**: the folders are only required under the 'resource-manager' folder, which means only management-plane API specs require to have ARM Namespace in the file path. For ARM Namespace and ARM onboarding, please refer to the ARM wiki of [RP Onboarding](https://armwiki.azurewebsites.net/rp_onboarding/process/onboarding.html#0-on-boarding-meeting).
@@ -56,7 +56,7 @@ The structure of the directory should strictly follow these rules:
5656

5757
9. **'examples' Folders**: the example folder will contain the x-ms-examples files. it will reside under the APIs or Resources' version folders as different APIs or Resource types version can have different examples.
5858

59-
> Note: some general guidance for folder names, file names under `specification`:
59+
> Note: some general guidance for folder names, and file names under `specification`:
6060
>
6161
> - Folder names should be singular (ie, 'profile' not 'profiles' ) -- this removes ambiguity for some non-english speakers.
6262
> - Generic folder names should be lower-case
@@ -110,7 +110,7 @@ The structure should appear like so:
110110
| \---readme.md
111111
```
112112
### Folder Structure for Service Group
113-
If you are working on API specification of a service group, then you may choose to build a folder structure as below. This folder structure brings more flexibility in multiple service teams collaboaration, especially supporting:
113+
If you are working on API specification of a service group, then you may choose to build a folder structure as below. This folder structure brings more flexibility in multiple service teams collaboration, especially supporting:
114114

115115
- To collect API definition of multiple components/services with different versioning cycle in one rp folder
116116
- To share some common entity types among services or components under the same rp folder.
@@ -174,7 +174,7 @@ Specification files and AutoRest configuration files in one RP folder are better
174174

175175

176176
## Next steps
177-
The next step in the process after a spec is completed is to generate SDKs and API reference documentation. If you're Microsoft employee, go to the [Azure SDK - Internal Wiki](https://aka.ms/jointhesdk) for more information.
177+
The next step in the process after a spec is completed is to generate SDKs and API reference documentation. If you're a Microsoft employee, go to the [Azure SDK - Internal Wiki](https://aka.ms/jointhesdk) for more information.
178178

179179
External Contributors can read [Getting Started with OpenAPI Specifications](https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/Getting%20started%20with%20OpenAPI%20specifications.md).
180180

custom-words.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,8 @@ johnsmith
10751075
JSONLD
10761076
Jtoken
10771077
jumpbox
1078+
jwks
1079+
jwks_uri
10781080
jwts
10791081
K’iche
10801082
Kabuverdianu

0 commit comments

Comments
 (0)