Skip to content

Commit

Permalink
Merge from latest
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsharm committed Feb 8, 2023
2 parents 9bf6bf3 + 1de0b53 commit 8522d69
Show file tree
Hide file tree
Showing 1,553 changed files with 202,370 additions and 2,925 deletions.
5 changes: 5 additions & 0 deletions .github/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
<tr><td>LintDiff</td><td>[Fix-LintDiff](https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/ci-fix.md#linter-validation)</td><td>high</td></tr></table>
If you need further help, please feedback via [swagger feedback](https://aka.ms/swaggerfeedback).
- rule:
type: label
label: new-rp-namespace
onLabeledComments: "Hi, @{PRAuthor}, our workflow has detected that there is no management SDK ever released for your RP, to further process SDK onboard for your RP, you should have the SDK client library name of your RP reviewed and approved. </br> <b>Action Required</b>: <li> Follow this guidance [Naming for new initial management or client libraries (new SDKs) - Overview (azure.com)](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/821/Naming-for-new-initial-management-or-client-libraries-(new-SDKs)) to create an issue for management client library name arch board review. </li> <li>Paste the issue link that you created in step 1 in this PR</li> </br> <b> Impact</b>: SDK release owner will take the approved management client library name to release SDK. No client library name approval will leads to SDK release delayed."

- rule:
type: PROpen
variables:
Expand Down
1 change: 0 additions & 1 deletion .github/pull_request_assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@

- rule:
paths:
- "**/package.json"
- ".github/**"
- "**/azure-pipelines.yml"
- ".azure-pipelines/**"
Expand Down
10 changes: 9 additions & 1 deletion custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ commandshistory
commitmentplans
Compat
compilationjobs
compilefile
compositeentities
computervision
CONCURRENTAPPEND
Expand Down Expand Up @@ -759,6 +760,7 @@ Failback
failover
Fairplay
Fanout
fareast
farmBeats
FarmBeats
fatherable
Expand Down Expand Up @@ -961,6 +963,7 @@ IDNS
IDPs
IDRG
IKEV
IISAKS
ilearner
illumos
iloveyou
Expand Down Expand Up @@ -2151,6 +2154,7 @@ templeton
temporarydisk
tensorflow
TEPCO's
Tera
teradata
terminatejob
Termlist
Expand Down Expand Up @@ -2680,10 +2684,14 @@ Dryrun
dryrun
Discoverability
Precheck
logbase
Ueba
hotpatching
Offersby
Versionswithin
generatesastoken
updation
interactivequery
interactivequery
tmpfs
npipe
Tmpfs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
]
},
{
"aspect": "generic",
"aspect": "narrative",
"text": "Speaker 3 believes there are 3 remaining bugs.",
"contexts": [
{
Expand Down
2 changes: 1 addition & 1 deletion documentation/Breaking changes guidelines.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<deprecated. For internal contributor, please refer to https://aka.ms/AzBreakingChangesPolicy for the topic>
< Deprecated. For internal contributor, please refer to https://aka.ms/AzBreakingChangesPolicy for the topic. For external contributor, please refer to [Azure's Versioning Breaking Change Policy](https://github.com/Azure/azure-rest-api-specs/files/10553821/Azure.s.Versioning.Policy.pdf) >

# Azure REST API version change guide

Expand Down
2 changes: 1 addition & 1 deletion documentation/ci-fix.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ This validator is to ensure the cadl & swagger files in PR are consistent and th
| Error Code |Severity |Solution |
|---|---|---|
|MissingCadlFile| Error |Adding the related cadl project into {RP-Name} folder, like [Qumulo.Manaement](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/liftrqumulo/Qumulo.Management)|
|MissingExamplesDirectory| Error |The example files should be kept in the 'examples' folder under the cadl project,the cadl-autorest emitter will copy them into the output folder and create corresponding 'x-ms-examples' in the swagger automatically when geneates the swagger, you should also check in it in PR. See [cadl-autorest(https://github.com/Azure/cadl-azure/blob/main/packages/cadl-autorest/README.md#examples-directory)|
|MissingExamplesDirectory| Error |The example files should be kept in the 'examples' folder under the cadl project,the cadl-autorest emitter will copy them into the output folder and create corresponding 'x-ms-examples' in the swagger automatically when geneates the swagger, you should also check in it in PR. See [cadl-autorest](https://github.com/Azure/cadl-azure/blob/main/packages/cadl-autorest/README.md#examples-directory)|
|InConsistentSwagger| Error |The generated swagger is inconsistent with the swagger in PR, so you need to re-generate swagger from cadl project and check in it. For how to generate swagger from cadl project, you can refer to [Complete Example and Generate OpenApi 2.0 spec](https://azure.github.io/cadl-azure/docs/getstarted/azure-resource-manager/step05) |
|SwaggerNotExistInPR| Error |It occurs when there is a cadl file in the PR but the generated swagger is not present in the PR, so you need to add the swagger to the PR. For how to generate swagger from cadl project, you can refer to [Complete Example and Generate OpenApi 2.0 spec](https://azure.github.io/cadl-azure/docs/getstarted/azure-resource-manager/step05) |
|GeneratedSwaggerNotFound| Error | It occurs when there is a cadl file in the PR but there is no swagger produced by the cadl-autorest emitter, so you need to check the cadl-project.yaml to see if it has the wrong configuration,like 'output-dir' or 'azure-resource-provider-folder'. |
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"js-yaml": "^3.13.1",
"json-schema-ref-parser": "^6.1.0",
"mocha": "^9.1.2",
"prettier": "^2.6.2",
"prettier": "^2.7.1",
"ts-node": "^10.1.0",
"tslib": "^1.10.0",
"typescript": "^3.5.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@
"additionalProperties": {
"type": "string"
},
"description": "Custom properties of the API Management service.</br>Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).</br>Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable just TLS 1.1.</br>Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable TLS 1.0 on an API Management service.</br>Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to disable just TLS 1.1 for communications with backends.</br>Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to disable TLS 1.0 for communications with backends.</br>Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable HTTP2 protocol on an API Management service.</br>Not specifying any of these properties on PATCH operation will reset omitted properties' values to their defaults. For all the settings except Http2 the default value is `True` if the service was created on or before April 1st 2018 and `False` otherwise. Http2 setting's default value is `False`.</br></br>You can disable any of next ciphers by using settings `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example, `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. The default value is `true` for them. Note: next ciphers can't be disabled since they are required by Azure CloudService internal components: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384"
"description": "Custom properties of the API Management service.</br>Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).</br>Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable just TLS 1.1.</br>Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable TLS 1.0 on an API Management service.</br>Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to disable just TLS 1.1 for communications with backends.</br>Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to disable TLS 1.0 for communications with backends.</br>Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable HTTP2 protocol on an API Management service.</br>Not specifying any of these properties on PATCH operation will reset omitted properties' values to their defaults. For all the settings except Http2 the default value is `True` if the service was created on or before April 1, 2018 and `False` otherwise. Http2 setting's default value is `False`.</br></br>You can disable any of the following ciphers by using settings `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example, `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. The default value is `true` for them.</br> Note: The following ciphers can't be disabled since they are required by internal platform components: TLS_AES_256_GCM_SHA384,TLS_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
},
"certificates": {
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,7 @@
"description": "Custom Domain of a Container App",
"type": "object",
"required": [
"name",
"certificateId"
"name"
],
"properties": {
"name": {
Expand All @@ -758,7 +757,7 @@
}
},
"certificateId": {
"description": "Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.",
"description": "Resource Id of the Certificate to be bound to this hostname.",
"type": "string"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -860,8 +860,7 @@
"description": "Custom Domain of a Container App",
"type": "object",
"required": [
"name",
"certificateId"
"name"
],
"properties": {
"name": {
Expand All @@ -881,7 +880,7 @@
}
},
"certificateId": {
"description": "Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.",
"description": "Resource Id of the Certificate to be bound to this hostname.",
"type": "string"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,7 @@
"description": "Custom Domain of a Container App",
"type": "object",
"required": [
"name",
"certificateId"
"name"
],
"properties": {
"name": {
Expand All @@ -762,7 +761,7 @@
}
},
"certificateId": {
"description": "Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.",
"description": "Resource Id of the Certificate to be bound to this hostname.",
"type": "string"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg",
"containerAppName": "testcontainerApp0",
"customHostname": "my.name.corp",
"api-version": "2022-03-03"
"api-version": "2022-03-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -882,8 +882,7 @@
"description": "Custom Domain of a Container App",
"type": "object",
"required": [
"name",
"certificateId"
"name"
],
"properties": {
"name": {
Expand All @@ -903,7 +902,7 @@
}
},
"certificateId": {
"description": "Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.",
"description": "Resource Id of the Certificate to be bound to this hostname.",
"type": "string"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,11 @@
}
}
},
"x-ms-examples": {},
"x-ms-examples": {
"Operations_List": {
"$ref": "./examples/OperationsList.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
Expand Down Expand Up @@ -608,7 +612,7 @@
"PrivateEndpointConnections"
],
"operationId": "PrivateEndpointConnections_CreateOrUpdate",
"description": "Update the state of the specified private endpoint connection associated with the configuration store.",
"description": "Update the state of the specified private endpoint connection associated with the configuration store. This operation cannot be used to create a private endpoint connection. Private endpoint connections must be created with the Network resource provider.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
Expand Down Expand Up @@ -660,8 +664,8 @@
}
},
"x-ms-examples": {
"PrivateEndpointConnection_CreateOrUpdate": {
"$ref": "./examples/ConfigurationStoresCreatePrivateEndpointConnection.json"
"PrivateEndpointConnection_Update": {
"$ref": "./examples/ConfigurationStoresUpdatePrivateEndpointConnection.json"
}
},
"x-ms-long-running-operation": true
Expand Down Expand Up @@ -812,58 +816,6 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues": {
"get": {
"tags": [
"KeyValues"
],
"description": "Lists the key-values for a given configuration store.",
"operationId": "KeyValues_ListByConfigurationStore",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ConfigStoreNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "$skipToken",
"in": "query",
"description": "A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "#/definitions/KeyValueListResult"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"KeyValues_ListByConfigurationStore": {
"$ref": "./examples/ConfigurationStoresListKeyValues.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}": {
"get": {
"tags": [
Expand Down Expand Up @@ -1900,6 +1852,7 @@
"description": "Describes a configuration store SKU."
},
"ErrorDetails": {
"type": "object",
"description": "The details of the error.",
"properties": {
"code": {
Expand Down Expand Up @@ -1934,6 +1887,7 @@
}
},
"ErrorAdditionalInfo": {
"type": "object",
"properties": {
"type": {
"readOnly": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-05-01"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-05-01"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-05-01"
}
},
"204": {}
}
}
Loading

0 comments on commit 8522d69

Please sign in to comment.