Skip to content

Commit 6928c27

Browse files
authored
Merge branch 'main' into feature/storage/stg100base2
2 parents 5e408c4 + 0b97625 commit 6928c27

File tree

16,396 files changed

+808710
-486709
lines changed

Some content is hidden

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

16,396 files changed

+808710
-486709
lines changed

.config/1espt/PipelineAutobaseliningConfig.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
## DO NOT MODIFY THIS FILE MANUALLY. This is part of auto-baselining from 1ES Pipeline Templates. Go to [https://aka.ms/1espt-autobaselining] for more details.
2-
1+
## DO NOT MODIFY THIS FILE MANUALLY. This is part of auto-baselining from 1ES Pipeline Templates. Go to [https://aka.ms/1espt-autobaselining] for more details.
2+
33
pipelines:
44
'*':
55
mainPipelineId: 1180

.gitattributes

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* text=auto
1+
* text=auto eol=lf
22

33
*.bmp binary
44
*.dll binary
@@ -12,10 +12,12 @@
1212
*.ismv binary
1313
*.isma binary
1414

15-
*.cs text diff=csharp
16-
*.csproj text=auto
17-
*.sln text=auto eol=crlf
18-
*.sh text=auto eol=lf
15+
*.cs text eol=lf diff=csharp
16+
*.csproj text eol=lf
17+
*.sln text eol=lf
18+
*.sh text eol=lf
19+
*.json text eol=lf
20+
*.bicep text eol=lf
1921

2022
# Automatically collapse Track 2 test recordings in github PRs
2123
**/SessionRecords/**/*.json linguist-generated=true

.github/CODEOWNERS

Lines changed: 294 additions & 295 deletions
Large diffs are not rendered by default.

.github/CODEOWNERS_baseline_errors.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
khmic5 is not a public member of Azure.
22
schaabs is not a public member of Azure.
33
lirenhe is not a public member of Azure.
4+
mconnew is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
45
adamedx is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
56
Azure/aks-pm is an invalid team. Ensure the team exists and has write permissions.
67
liadtal is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
@@ -32,7 +33,6 @@ orhasban is not a public member of Azure.
3233
zoharHenMicrosoft is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
3334
sagivf is not a public member of Azure.
3435
Aviv-Yaniv is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
35-
sijuman is not a public member of Azure.
3636
sarathys is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
3737
rakku-ms is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
3838
rpsqrd is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
@@ -55,7 +55,6 @@ SteveMSFT is an invalid user. Ensure the user exists, is public member of Azure
5555
msyache is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
5656
longli0 is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
5757
ShaoAnLin is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
58-
lulululululu is not a public member of Azure.
5958
ctstone is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
6059
vkurpad is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
6160
conhua is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
@@ -136,7 +135,6 @@ a-t-mason is an invalid user. Ensure the user exists, is public member of Azure
136135
ganzee is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
137136
shawnxzq is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
138137
lmy269 is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
139-
sumantmehtams is not a public member of Azure.
140138
idear1203 is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
141139
rgreenMSFT is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
142140
raedJarrar is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
@@ -191,7 +189,6 @@ ajlam is an invalid user. Ensure the user exists, is public member of Azure and
191189
ambhatna is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
192190
kummanish is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
193191
prbansa is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
194-
akucer is not a public member of Azure.
195192
naiteeks is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
196193
bennage is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
197194
giakas is not a public member of Azure.
@@ -210,7 +207,6 @@ ischrei is an invalid user. Ensure the user exists, is public member of Azure an
210207
danhadari is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
211208
cijothomas is not a public member of Azure.
212209
rajkumar-rangaraj is not a public member of Azure.
213-
TimothyMothra is not a public member of Azure.
214210
crtreasu is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
215211
rgarcia is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
216212
aznetsuppgithub is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.

.github/copilot-instructions.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Project Overview
2+
3+
This repo contains Azure SDKs for various Azure services and tools that generate them.
4+
5+
## Prerequisites
6+
- To use MCP tool calls, PowerShell must be installed. Provide [PowerShell installation instructions](https://learn.microsoft.com/powershell/scripting/install/installing-powershell) if not installed, and recommend restarting the IDE to use the MCP server.
7+
8+
## Folder Structure
9+
10+
- `/eng/packages/http-client-csharp`: Contains the source code of the generator for Azure Data Plane SDKs (aka Azure Generator).
11+
- `/eng/packages/http-client-csharp-mgmt`: Contains the source code of the generator for Azure Management Plane SDKs (aka Azure Management Generator).
12+
- `/sdk`: Contains the individual SDKs for Azure services.
13+
14+
### Azure Generator
15+
16+
- Always run `npm install` in the `/eng/packages/http-client-csharp` directory before running the generator.
17+
- Always run `/eng/packages/http-client-csharp/eng/scripts/Generate.ps1` to regenerate the test projects to validate the result of generator code changes.
18+
19+
### Azure Management Generator
20+
21+
- Always run `npm install` in the `/eng/packages/http-client-csharp-mgmt` directory before running the generator.
22+
- Always run `/eng/packages/http-client-csharp-mgmt/eng/scripts/Generate.ps1` to regenerate the test projects to validate the result of generator code changes.
23+
24+
## SDK release
25+
26+
There are two tools to help with SDK releases:
27+
- Check SDK release readiness
28+
- Release SDK
29+
30+
### Check SDK Release Readiness
31+
Run `CheckPackageReleaseReadiness` to verify if the package is ready for release. This tool checks:
32+
- API review status
33+
- Change log status
34+
- Package name approval(If package is new and releasing a preview version)
35+
- Release date is set in release tracker
36+
37+
### Release SDK
38+
Run `ReleasePackage` to release the package. This tool requires package name and language as inputs. It will:
39+
- Check if the package is ready for release
40+
- Identify the release pipeline
41+
- Trigger the release pipeline.
42+
User needs to approve the release stage in the pipeline after it is triggered.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: "Copilot Setup Steps"
2+
3+
# Automatically run the setup steps when they are changed to allow for easy validation, and
4+
# allow manual testing through the repository's "Actions" tab
5+
on:
6+
workflow_dispatch:
7+
push:
8+
paths:
9+
- .github/workflows/copilot-setup-steps.yml
10+
pull_request:
11+
paths:
12+
- .github/workflows/copilot-setup-steps.yml
13+
14+
jobs:
15+
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
16+
copilot-setup-steps:
17+
runs-on: ubuntu-latest
18+
19+
# Set the permissions to the lowest permissions possible needed for your steps.
20+
# Copilot will be given its own token for its operations.
21+
permissions:
22+
# If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete.
23+
contents: read
24+
25+
# You can define any steps you want, and they will run before the agent starts.
26+
# If you do not check out your code, Copilot will do this for you.
27+
steps:
28+
- name: Checkout code
29+
uses: actions/checkout@v4
30+
31+
- name: Setup .NET
32+
uses: actions/setup-dotnet@v4
33+
with:
34+
dotnet-version: 9.0.x
35+
36+
# Example: Display .NET SDK version
37+
- name: Show .NET SDK version
38+
run: dotnet --version
39+
40+
- name: Install azsdk mcp server
41+
shell: pwsh
42+
run: |
43+
./eng/common/mcp/azure-sdk-mcp.ps1 -InstallDirectory $HOME/bin
44+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ ipch/
6969
# VS Code
7070
**/.vscode/*
7171
!.vscode/cspell.json
72+
!.vscode/mcp.json
7273

7374
# Code analysis
7475
*.CodeAnalysisLog.xml

.vscode/cspell.json

Lines changed: 50 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,14 @@
428428
"tibt"
429429
]
430430
},
431+
{
432+
"filename": "**/sdk/connectedcache/**/*",
433+
"words": [
434+
"Gbps",
435+
"Mbps",
436+
"Eflow"
437+
]
438+
},
431439
{
432440
"filename": "**/sdk/connectedvmwarevsphere/**/*",
433441
"words": [
@@ -1125,6 +1133,7 @@
11251133
"dnsprivateviewocid",
11261134
"Ords",
11271135
"Ocid",
1136+
"Ocids",
11281137
"ncharacter",
11291138
"ocpu",
11301139
"Iorm",
@@ -1135,7 +1144,11 @@
11351144
"Tcps",
11361145
"Ezconnect",
11371146
"Ezconnectplus",
1138-
"Oltp"
1147+
"Oltp",
1148+
"exadb",
1149+
"Exadb",
1150+
"Exascale",
1151+
"exascale"
11391152
]
11401153
},
11411154
{
@@ -1214,6 +1227,14 @@
12141227
"regionality"
12151228
]
12161229
},
1230+
{
1231+
"filename": "**/sdk/provisioning/**/*.cs",
1232+
"words": [
1233+
"Awsec",
1234+
"Freemium",
1235+
"Mibps"
1236+
]
1237+
},
12171238
{
12181239
"filename": "**/sdk/qumulo/**/*",
12191240
"words": [
@@ -1228,6 +1249,12 @@
12281249
"unprovisioning"
12291250
]
12301251
},
1252+
{
1253+
"filename": "**/sdk/recoveryservices/**/*.cs",
1254+
"words": [
1255+
"bcdr",
1256+
]
1257+
},
12311258
{
12321259
"filename": "**/sdk/recoveryservices-backup/**/*.cs",
12331260
"words": [
@@ -1602,8 +1629,9 @@
16021629
{
16031630
"filename": "**/sdk/containerinstance/**/*.cs",
16041631
"words": [
1605-
"Noreuse",
1606-
"Unsecure"
1632+
"noreuse",
1633+
"ngroups",
1634+
"unsecure"
16071635
]
16081636
},
16091637
{
@@ -1713,7 +1741,8 @@
17131741
"filename": "**/sdk/openai/**/*.cs",
17141742
"words": [
17151743
"AOAI",
1716-
"Rerank"
1744+
"Rerank",
1745+
"Evals"
17171746
]
17181747
},
17191748
{
@@ -1728,6 +1757,23 @@
17281757
"prebuilts"
17291758
]
17301759
},
1760+
{
1761+
"filename": "**/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/**",
1762+
"words": [
1763+
"Ceus",
1764+
"Tonnis",
1765+
"Hnpcc",
1766+
"Ascvd",
1767+
"Mednax",
1768+
"Cusick",
1769+
"Acrad",
1770+
"Kellgren",
1771+
"Frax",
1772+
"Birads",
1773+
"Agatston",
1774+
"Tyrer"
1775+
]
1776+
},
17311777
{
17321778
"filename": "**/sdk/iotoperations/Azure.ResourceManager.IotOperations/api/*.cs",
17331779
"words": [

.vscode/mcp.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"servers": {
3+
"azure-sdk-mcp": {
4+
"type": "stdio",
5+
"command": "pwsh",
6+
"args": ["${workspaceFolder}/eng/common/mcp/azure-sdk-mcp.ps1", "-Run"]
7+
},
8+
}
9+
}

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,31 @@ Documentation and code samples for these libraries can be found [here](https://a
5252
* File an issue via [Github Issues](https://github.com/Azure/azure-sdk-for-net/issues/new/choose).
5353
* Check [previous questions](https://stackoverflow.com/questions/tagged/azure+.net) or ask new ones on StackOverflow using `azure` and `.net` tags.
5454

55+
## Data Collection
56+
57+
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described below. You can learn more about data collection and use in the help documentation and Microsoft’s [privacy statement](https://go.microsoft.com/fwlink/?LinkID=824704). For more information on the data collected by the Azure SDK, please visit the [Telemetry Guidelines](https://azure.github.io/azure-sdk/general_azurecore.html#telemetry-policy) page.
58+
59+
### Telemetry Configuration
60+
61+
Telemetry collection is on by default.
62+
63+
> NOTE: `HttpClient` may set default user agent headers as part of the .NET platform behavior. This value does not contain any Azure SDK telemetry information.
64+
65+
You can disable telemetry when creating a client by setting the `IsTelemetryEnabled` property in the diagnostics options:
66+
```C#
67+
Uri serviceEndpoint = new Uri("https://example.contoso.com");
68+
TokenCredential credential = new DefaultAzureCredential();
69+
70+
SampleClientOptions clientOptions = new SampleClientOptions()
71+
{
72+
Diagnostics = { IsTelemetryEnabled = false }
73+
};
74+
75+
SampleClient client = new SampleClient(serviceEndpoint, credential, clientOptions);
76+
```
77+
78+
Alternatively, you can disable telemetry globally by setting the `AZURE_TELEMETRY_DISABLED` environment variable to `true` before creating any clients.
79+
5580
### Community
5681

5782
* Chat with other community members [![Join the chat at https://gitter.im/azure/azure-sdk-for-net](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/azure/azure-sdk-for-net?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

0 commit comments

Comments
 (0)