Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding IsZoneResilientProvisioningAllowed property in the response for location capabilities api #30867

Open
wants to merge 47 commits into
base: release-sql-Microsoft.Sql-2024-08-01-preview
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
0f4607b
Add typespec-csharp config for .NET SDK code generation (#30736)
gerrytan Sep 27, 2024
937a533
mgmt, codesigning, update tspconfig (#30744)
weidongxu-microsoft Sep 27, 2024
dc48f08
[Service Linker] add 24-07-01-preview api version (#30743)
brycechen1849 Sep 27, 2024
b3f9d4c
Abhi580 migrate microsoft.migrate nonbreaking 2023 05 01 preview (#28…
abhi580 Sep 27, 2024
39d220a
remove examples-dir from python tspconfig (#30768)
ChenxiJiang333 Sep 27, 2024
169aed4
BilingRP subscrption api swagger update for offerId for 2024-04-01 (#…
rishavMS Sep 27, 2024
50b2c19
add directive for containerservice (#30772)
kazrael2119 Sep 27, 2024
1999e40
DNS Resolver Release 2023-07-01-Preview with new DNS Security Policy …
jamesvoongms Sep 27, 2024
44a7e86
Add new API version 2024-09-01 for Microsoft.Cdn (#30309)
gubalasu Sep 27, 2024
1686039
Files Provisioned Billing V2 updates (#30752)
seanmcc-msft Sep 27, 2024
9d04781
Review request for Microsoft.Devices to add version preview/2025-02-0…
yijinglu-microsoft Sep 27, 2024
ea4fa55
update document for DPG sdk-automation (#30457)
pshao25 Sep 29, 2024
ae78c34
Fix PGSQL V2 missing auth type (#30552)
tsaiggo Sep 29, 2024
9a1180d
New API Version From 2024-04-01, Including Total Minutes Indexed (#30…
t-ivrihikri Sep 29, 2024
a7f22b7
Pre GA readiness changes (#30685)
manishpatil8149 Sep 30, 2024
19600b1
Added Azure Container Instance API Version 2024-10-01-preview (#30569)
MicroJamesLim Sep 30, 2024
99e66c3
Updated Go sdk support owner (#30801)
raych1 Sep 30, 2024
7bcd659
[TypeSpecValidation] Apply "all" suppressions when core files changed…
mikeharder Sep 30, 2024
f942179
feat(azurearcdata): Welcome 2024-05-01-preview (#30613)
swells Sep 30, 2024
38fbce5
Add 2024-10-01-preview dataplane API version to the DevCenter (#30696)
snehanagendra Sep 30, 2024
4ff23ed
[Health Insights] New preview version 2024-08-01-preview (#30675)
reutgross Oct 1, 2024
dc3c275
Upgrade dependencies (#30818)
mikeharder Oct 1, 2024
313ef27
[dependabot] Upgrade all packages under @azure-tools and @typespec sc…
mikeharder Oct 1, 2024
7ee5d62
Bump the typespec group with 2 updates (#30819)
dependabot[bot] Oct 1, 2024
d5e7ea8
Added support for NGroups operations (#30379)
saprakas Oct 2, 2024
45ddb11
[ProtectedFiles] Always allow changes from bot account 'azure-sdk' (#…
mikeharder Oct 2, 2024
228a056
[ProtectedFiles] Skip steps instead of job (#30827)
mikeharder Oct 2, 2024
27fabfc
[ProtectedFiles] Log message for user 'azure-sdk' (#30828)
mikeharder Oct 2, 2024
bab2516
Changing the version of DistributedAvailabilityGroups API for Azure …
jovancevic123 Oct 2, 2024
3b93aaa
Use 1ES pool for Ubuntu images (#30822)
mikeharder Oct 2, 2024
380b558
Add AOAI 2024-09-01-preview API version (#30821)
YunsongB Oct 2, 2024
8db3b5b
Updating the API specification for confidential ledger for custom end…
amruthashree18 Oct 2, 2024
153eacc
[SCVMM] Make the request body optional for VirtualMachineInstances/St…
sidsinghms Oct 3, 2024
517a570
Change 'The asynchronous responses are stored for 14 days.' to 24 day…
stevemunk Oct 3, 2024
ddabbe9
[.npmrc] Restore trailing newline accidentally removed in #30290 (#30…
mikeharder Oct 3, 2024
40c0d28
- Converting Authoring Analyzeconversations of 2023-04-15-preview and…
amber-ccc Oct 3, 2024
7596e3a
AIO M3 preview (#30429)
nonsocode Oct 3, 2024
cde2129
Remove out of date codeowners (#30848)
benbp Oct 3, 2024
95f6074
Review request for Microsoft.DBforPostgreSQL to add stable release of…
nasc17 Oct 3, 2024
2ff865f
Add new api version and schema changes for resource manager in new AP…
xudong-an Oct 3, 2024
aeb2e05
Onboard Liftr Neon Postgres service (#30806)
almasak Oct 4, 2024
99e9fcd
Changed 24 days to 24 hours. (#30856)
stevemunk Oct 4, 2024
3bed98a
fix wrong para position for the newly added params for AOAI (#30849)
yuanzhuangyuanzhuang Oct 4, 2024
a4bf7a2
Release search azure.search preview: 2024-11-01-preview (#30485)
jonathanserbent Oct 4, 2024
30ecdd9
Fleet GA API version "2024-11-01" (#30568)
rahuls-microsoft Oct 4, 2024
5878127
Added: Note that sunrise and sunset times not returned when solar day…
stevemunk Oct 4, 2024
2d83740
adding IsZoneResilientProvisioningAllowed
Oct 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .azure-pipelines/azure-pipelines-data-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ schedules:
always: true

pool:
name: azsdk-pool-mms-ubuntu-2204-general
vmImage: 'Ubuntu-22.04'

variables:
Expand Down
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
/specification/deviceregistry/ @marcodalessandro @rohankhandelwal @riteshrao

# PRLabel: %Device Update
/specification/deviceupdate/data-plane/ @mikekistler @Azure/api-stewardship-board
/specification/deviceupdate/data-plane/ @Azure/api-stewardship-board

/specification/documentdb/ @dmakwana

Expand Down Expand Up @@ -142,7 +142,7 @@
/specification/keyvault/ @heaths @randallilama @jlichwa

# PRLabel: %Load Test Service
/specification/loadtestservice/data-plane/ @mikekistler @Azure/api-stewardship-board
/specification/loadtestservice/data-plane/ @Azure/api-stewardship-board

# PRLabel: %Logic App
/specification/logic/ @pankajsn @tonytang-microsoft-com
Expand Down Expand Up @@ -182,7 +182,7 @@
/specification/powerbidedicated/ @tarostok

# PRLabel: %Purview
/specification/purview/data-plane @mikekistler @Azure/api-stewardship-board
/specification/purview/data-plane @Azure/api-stewardship-board

# PRLabel: %PostgreSQL
/specification/postgresql/** @Azure/azure-sdk-write-postgresql
Expand Down Expand Up @@ -288,4 +288,4 @@
/.github/ @weshaggard @mikeharder @benbp
/eng/ @weshaggard @mikeharder @benbp
/scripts/ @weshaggard @mikeharder
/.github/CODEOWNERS @Azure/azure-sdk-eng
/.github/CODEOWNERS @Azure/azure-sdk-eng
7 changes: 6 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@ updates:
schedule:
interval: "daily"
allow:
- dependency-name: "@azure-tools/typespec-client-generator-cli"
- dependency-name: "@azure-tools/*"
- dependency-name: "@typespec/*"
groups:
typespec:
patterns:
- "*"
52 changes: 30 additions & 22 deletions .github/workflows/protected-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,34 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
# Required since "HEAD^" is passed to Get-ChangedFiles
fetch-depth: 2

- name: Detect changes to protected files
run: |
. eng/scripts/ChangedFiles-Functions.ps1

$protectedFiles = @("package.json", "package-lock.json")
$changedFiles = @(Get-ChangedFiles -baseCommitish HEAD^ -targetCommitish HEAD -diffFilter "")
$matchedFiles = @($protectedFiles | Where-Object { $changedFiles -contains $_})

if ($matchedFiles.Count -gt 0) {
foreach ($file in $matchedFiles) {
Write-Output "::error file=$file::File '$file' should only be updated by the Azure SDK team. If intentional, the PR may be merged by the Azure SDK team via bypassing the branch protections."
# Allow bot account 'azure-sdk' to update protected files.
# Since check is required, the job itself cannot be skipped.
- name: Allow bot account 'azure-sdk'
if: github.event.pull_request.user.login == 'azure-sdk'
run: echo "Bot account 'azure-sdk' is allowed to update protected files"

- uses: actions/checkout@v4
if: github.event.pull_request.user.login != 'azure-sdk'
with:
# Required since "HEAD^" is passed to Get-ChangedFiles
fetch-depth: 2

- name: Detect changes to protected files
if: github.event.pull_request.user.login != 'azure-sdk'
run: |
. eng/scripts/ChangedFiles-Functions.ps1

$protectedFiles = @("package.json", "package-lock.json")
$changedFiles = @(Get-ChangedFiles -baseCommitish HEAD^ -targetCommitish HEAD -diffFilter "")
$matchedFiles = @($protectedFiles | Where-Object { $changedFiles -contains $_})

if ($matchedFiles.Count -gt 0) {
foreach ($file in $matchedFiles) {
Write-Output "::error file=$file::File '$file' should only be updated by the Azure SDK team. If intentional, the PR may be merged by the Azure SDK team via bypassing the branch protections."
}
exit 1
}
else {
Write-Output "No changes to protected files: [$($protectedFiles -join ', ')]"
}
exit 1
}
else {
Write-Output "No changes to protected files: [$($protectedFiles -join ', ')]"
}
shell: pwsh
shell: pwsh
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Azure OpenAPI"

pool:
name: azsdk-pool-mms-ubuntu-2004-general
vmImage: 'Ubuntu-20.04'

trigger:
Expand Down
34 changes: 33 additions & 1 deletion cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,21 @@
"typescript"
],
"overrides": [
{
"filename": "**/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/**/*.json",
"words": [
"azurearcdata"
]
},
{
"filename": "**/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/**/*.json",
"words": [
"SSRS",
"SSAS",
"SSIS",
"PBIRS"
]
},
{
"filename": "**/specification/batch/**/*.json",
"words": [
Expand Down Expand Up @@ -193,6 +208,12 @@
"Noreuse"
]
},
{
"filename": "**/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/**/containerInstance.json",
"words": [
"ngroups"
]
},
{
"filename": "**/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/**/*json",
"words": [
Expand Down Expand Up @@ -1218,7 +1239,12 @@
"vectorizing",
"onelake",
"tiktoken",
"Matryoshka"
"Matryoshka",
"rescore",
"rescoring",
"rescored",
"maxcharlength",
"submode"
]
},
{
Expand Down Expand Up @@ -1381,6 +1407,12 @@
"rerank"
]
},
{
"filename": "**/specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/**/*.json",
"words": [
"wandb"
]
},
{
"filename": "**/specification/communication/data-plane/CallAutomation/**/*.json",
"words": [
Expand Down
2 changes: 1 addition & 1 deletion documentation/ci-fix.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ If you have an issue or with any of checks listed in the first column of the tab

| Check name | Owner |
|-----------------------------------|----------------|
| `SDK azure-sdk-for-go` | Ray Chen |
| `SDK azure-sdk-for-go` | Chenjie Shi |
| `SDK azure-sdk-for-java` | Weidong Xu |
| `SDK azure-sdk-for-js` | Qiaoqiao Zhang |
| `SDK azure-sdk-for-net` | Wei Hu |
Expand Down
28 changes: 10 additions & 18 deletions documentation/onboard-dpg-in-sdkautomation/.net/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
# Add Autorest Configuration of .Net SDK
# Add TypeSpec Configuration of .Net SDK

## Parameter Description
Please copy the following configuration into `tspconfig.yaml` in your spec folder and replace `package-dir` and `namespace` to your own values.

- `<ServiceName>`: The RP name, which is usually same as folder name in swagger.
- `<NameSpace>`: Python package name.
- `<Title>`: SDK Client Name. It's optional if there is a title defined in spec readme.md file.

## Autorest Configuration
Please copy the following configuration into spec PR comment.
~~~
# azure-sdk-for-net-track2
``` yaml
title: <Title>
output-folder: sdk/<ServiceName>/<NameSpace>
require:
- specification/<RPName>/data-plane/readme.md
"@azure-tools/typespec-csharp":
package-dir: "Azure.AI.Vision.Face"
flavor: azure
namespace: "{package-dir}"
```
~~~
- `title`: If it's already defined in spec readme.md, you don't need to define it here again. (By default, there is no `title` defined in spec readme.md in multi client scenario.)
- `output-folder`: The relative path of destination to generate SDK.
- `require`: The item of the value is the relative path of spec readme.md file.

- `package-dir`: Name of your package directory. It should be several parts concatenated with `.` and all the paerts should be pascal case.
- `flavor`: Always `azure` for Azure SDK.
- `namespace`: Should be the same as `package-dir`.
6 changes: 5 additions & 1 deletion eng/scripts/Get-TypeSpec-Folders.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ Set-StrictMode -Version 3
. $PSScriptRoot/ChangedFiles-Functions.ps1

$repoPath = Resolve-Path "$PSScriptRoot/../.."

$checkAllPath = ((Get-ChildItem "specification" -Directory).Name -replace '^', 'specification/') -replace '$', '/'
$checkedAll = $false

if ($CheckAll) {
$changedFiles = $checkAllPath
$checkedAll = $true
}
else {
$changedFiles = @(Get-ChangedFiles -baseCommitish $BaseCommitish -targetCommitish $TargetCommitish -diffFilter "")
Expand All @@ -21,6 +24,7 @@ else {
if ($coreChangedFiles) {
Write-Verbose "Found changes to core eng or root files so checking all specs."
$changedFiles = $checkAllPath
$checkedAll = $true
}
else {
$changedFiles = Get-ChangedFilesUnderSpecification $changedFiles
Expand Down Expand Up @@ -49,4 +53,4 @@ foreach ($skippedTypespecFolder in $skippedTypespecFolders | Select-Object -Uniq

$typespecFolders = $typespecFolders | ForEach-Object { [IO.Path]::GetRelativePath($repoPath, $_) -replace '\\', '/' } | Sort-Object -Unique

return $typespecFolders
return @($typespecFolders, $checkedAll)
4 changes: 2 additions & 2 deletions eng/scripts/TypeSpec-Validation.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ param (
. $PSScriptRoot/Logging-Functions.ps1
. $PSScriptRoot/Suppressions-Functions.ps1

$typespecFolders = &"$PSScriptRoot/Get-TypeSpec-Folders.ps1" -BaseCommitish:$BaseCommitish -TargetCommitish:$TargetCommitish -CheckAll:$CheckAll
$typespecFolders, $checkedAll = &"$PSScriptRoot/Get-TypeSpec-Folders.ps1" -BaseCommitish:$BaseCommitish -TargetCommitish:$TargetCommitish -CheckAll:$CheckAll

$typespecFoldersWithFailures = @()
if ($typespecFolders) {
$typespecFolders = $typespecFolders.Split('',[System.StringSplitOptions]::RemoveEmptyEntries)
foreach ($typespecFolder in $typespecFolders) {
LogGroupStart "Validating $typespecFolder"

if ($CheckAll) {
if ($checkedAll) {
$suppression = Get-Suppression "TypeSpecValidationAll" $typespecFolder
if ($suppression) {
$reason = $suppression["reason"] ?? "<no reason specified>"
Expand Down
2 changes: 1 addition & 1 deletion eng/tools/specs-model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@vitest/coverage-v8": "^2.0.4",
"eslint": "^8.57.0",
"eslint-plugin-unicorn": "^54.0.0",
"typescript": "~5.5.4",
"typescript": "~5.6.2",
"typescript-eslint": "^7.16.0",
"vitest": "^2.0.4"
}
Expand Down
2 changes: 1 addition & 1 deletion eng/tools/suppressions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"devDependencies": {
"@types/node": "^18.19.31",
"@vitest/coverage-v8": "^2.0.4",
"typescript": "~5.5.4",
"typescript": "~5.6.2",
"vitest": "^2.0.4"
}
}
2 changes: 1 addition & 1 deletion eng/tools/tsp-client-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"devDependencies": {
"@types/node": "^18.19.31",
"execa": "^9.3.0",
"typescript": "~5.5.4",
"typescript": "~5.6.2",
"vitest": "^2.0.4"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion eng/tools/typespec-requirement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"devDependencies": {
"@types/node": "^18.19.31",
"execa": "^9.3.0",
"typescript": "~5.5.4",
"typescript": "~5.6.2",
"vitest": "^2.0.4"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion eng/tools/typespec-validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"@types/node": "^18.19.31",
"@vitest/coverage-v8": "^2.0.4",
"typescript": "~5.5.4",
"typescript": "~5.6.2",
"vitest": "^2.0.4"
},
"scripts": {
Expand Down
Loading
Loading