Skip to content

Commit bf47443

Browse files
committed
Merge branch 'main' into release/storage/stg99
2 parents c41cda9 + c53fe6c commit bf47443

File tree

7,469 files changed

+513376
-311915
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,469 files changed

+513376
-311915
lines changed

.github/CODEOWNERS

Lines changed: 73 additions & 77 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: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## SDK release
2+
3+
There are two tools to help with SDK releases:
4+
- Check SDK release readiness
5+
- Release SDK
6+
7+
### Check SDK Release Readiness
8+
Run `CheckPackageReleaseReadiness` to verify if the package is ready for release. This tool checks:
9+
- API review status
10+
- Change log status
11+
- Package name approval(If package is new and releasing a preview version)
12+
- Release date is set in release tracker
13+
14+
### Release SDK
15+
Run `ReleasePackage` to release the package. This tool requires package name and language as inputs. It will:
16+
- Check if the package is ready for release
17+
- Identify the release pipeline
18+
- Trigger the release pipeline.
19+
User needs to approve the release stage in the pipeline after it is triggered.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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

.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: 44 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": [
@@ -1602,8 +1623,9 @@
16021623
{
16031624
"filename": "**/sdk/containerinstance/**/*.cs",
16041625
"words": [
1605-
"Noreuse",
1606-
"Unsecure"
1626+
"noreuse",
1627+
"ngroups",
1628+
"unsecure"
16071629
]
16081630
},
16091631
{
@@ -1713,7 +1735,8 @@
17131735
"filename": "**/sdk/openai/**/*.cs",
17141736
"words": [
17151737
"AOAI",
1716-
"Rerank"
1738+
"Rerank",
1739+
"Evals"
17171740
]
17181741
},
17191742
{
@@ -1728,6 +1751,23 @@
17281751
"prebuilts"
17291752
]
17301753
},
1754+
{
1755+
"filename": "**/sdk/healthinsights/Azure.Health.Insights.RadiologyInsights/**",
1756+
"words": [
1757+
"Ceus",
1758+
"Tonnis",
1759+
"Hnpcc",
1760+
"Ascvd",
1761+
"Mednax",
1762+
"Cusick",
1763+
"Acrad",
1764+
"Kellgren",
1765+
"Frax",
1766+
"Birads",
1767+
"Agatston",
1768+
"Tyrer"
1769+
]
1770+
},
17311771
{
17321772
"filename": "**/sdk/iotoperations/Azure.ResourceManager.IotOperations/api/*.cs",
17331773
"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: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -60,32 +60,23 @@ The software may collect information about you and your use of the software and
6060

6161
Telemetry collection is on by default.
6262

63-
To opt out, you can disable telemetry at client construction. Creating a [synchronous policy](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Pipeline.md#implementing-a-synchronous-policy) in your application gives you access to the headers sent with each request, allowing you to remove the `User-Agent` header containing client telemetry. To use the policy, you will add it to the options for your specific client as part of client creation. This will disable Azure SDK telemetry for all methods in the client. You will need to register the policy with each client created.
64-
6563
> 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.
6664
67-
An example policy implementation looks like:
68-
```C# Snippet:RemoveUserAgentPolicy
69-
public class RemoveUserAgentPolicy : HttpPipelineSynchronousPolicy
70-
{
71-
public override void OnSendingRequest(HttpMessage message)
72-
{
73-
message.Request.Headers.Remove(HttpHeader.Names.UserAgent);
74-
}
75-
}
76-
```
77-
78-
To use it with a client, you would register it to run for every retry attempt as part of your client options:
79-
```C# Snippet:RemoveUserAgentPolicyUse
65+
You can disable telemetry when creating a client by setting the `IsTelemetryEnabled` property in the diagnostics options:
66+
```C#
8067
Uri serviceEndpoint = new Uri("https://example.contoso.com");
8168
TokenCredential credential = new DefaultAzureCredential();
82-
83-
SampleClientOptions clientOptions = new SampleClientOptions();
84-
clientOptions.AddPolicy(new RemoveUserAgentPolicy(), HttpPipelinePosition.PerRetry);
69+
70+
SampleClientOptions clientOptions = new SampleClientOptions()
71+
{
72+
Diagnostics = { IsTelemetryEnabled = false }
73+
};
8574

8675
SampleClient client = new SampleClient(serviceEndpoint, credential, clientOptions);
8776
```
8877

78+
Alternatively, you can disable telemetry globally by setting the `AZURE_TELEMETRY_DISABLED` environment variable to `true` before creating any clients.
79+
8980
### Community
9081

9182
* 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)

common/SmokeTests/SmokeTest/SmokeTest.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
<PackageReference Include="Azure.Messaging.EventHubs.Processor" Version="5.12.1" />
3030
<PackageReference Include="Azure.Security.Keyvault.Secrets" Version="4.7.0" />
3131
<PackageReference Include="Azure.Storage.Blobs" Version="12.24.0" />
32-
<PackageReference Include="Microsoft.Azure.Amqp" Version="2.6.11" />
33-
<PackageReference Include="Microsoft.Azure.Devices" Version="1.40.0" />
34-
<PackageReference Include="Microsoft.Azure.DocumentDB.Core" Version="2.22.0" />
3532
<PackageReference Include="Azure.Template" Version="1.0.3-beta.1218030" />
3633

3734
<!-- This is needed to resolve a build conflict and force the correct version -->

0 commit comments

Comments
 (0)