From 70c33833191fe8b25caafc83170f59d10ec00ce6 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 30 Apr 2025 02:19:31 +0000 Subject: [PATCH] CodeGen from PR 33639 in Azure/azure-rest-api-specs Merge ff5dc781f8c2ea1219b1c0aafd0ba5ae62d083bf into b7df8126c6b5cab712e066204a3f28a2717b0a4d --- sdk/durabletask/ci.mgmt.yml | 1 - sdk/pineconevectordb/ci.yml | 35 ------------------- .../Sample_QuotaRequestDetailCollection.cs | 6 ++-- .../Sample_QuotaRequestDetailResource.cs | 2 +- .../Models/ReservationPurchaseContent.cs | 4 +-- .../Generated/Models/ReservedResourceType.cs | 2 +- .../src/autorest.md | 2 +- sdk/storage/ci.yml | 2 ++ 8 files changed, 10 insertions(+), 44 deletions(-) delete mode 100644 sdk/pineconevectordb/ci.yml diff --git a/sdk/durabletask/ci.mgmt.yml b/sdk/durabletask/ci.mgmt.yml index 5f63204cd804..32b11e75b082 100644 --- a/sdk/durabletask/ci.mgmt.yml +++ b/sdk/durabletask/ci.mgmt.yml @@ -1,7 +1,6 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. trigger: none - pr: branches: include: diff --git a/sdk/pineconevectordb/ci.yml b/sdk/pineconevectordb/ci.yml deleted file mode 100644 index 0b8325c8c903..000000000000 --- a/sdk/pineconevectordb/ci.yml +++ /dev/null @@ -1,35 +0,0 @@ -# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - -trigger: - branches: - include: - - main - - hotfix/* - - release/* - paths: - include: - - sdk/pineconevectordb - - sdk/pineconevectordb/ci.yml - - sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDb - -pr: - branches: - include: - - main - - feature/* - - hotfix/* - - release/* - paths: - include: - - sdk/pineconevectordb - - sdk/pineconevectordb/ci.yml - - sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDb - -extends: - template: /eng/pipelines/templates/stages/archetype-sdk-client.yml - parameters: - ServiceDirectory: pineconevectordb - ArtifactName: packages - Artifacts: - - name: Azure.ResourceManager.PineconeVectorDb - safeName: AzureResourceManagerPineconeVectorDb diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailCollection.cs b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailCollection.cs index 29d5f715a670..1d02c29593b5 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailCollection.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailCollection.cs @@ -70,7 +70,7 @@ public async Task Get_QuotaRequestInProgress() // get the collection of this QuotaRequestDetailResource string providerId = "Microsoft.Compute"; - AzureLocation location = new AzureLocation("eastus"); + AzureLocation location = new AzureLocation("westus"); QuotaRequestDetailCollection collection = subscriptionResource.GetQuotaRequestDetails(providerId, location); // invoke the operation @@ -204,7 +204,7 @@ public async Task Exists_QuotaRequestInProgress() // get the collection of this QuotaRequestDetailResource string providerId = "Microsoft.Compute"; - AzureLocation location = new AzureLocation("eastus"); + AzureLocation location = new AzureLocation("westus"); QuotaRequestDetailCollection collection = subscriptionResource.GetQuotaRequestDetails(providerId, location); // invoke the operation @@ -306,7 +306,7 @@ public async Task GetIfExists_QuotaRequestInProgress() // get the collection of this QuotaRequestDetailResource string providerId = "Microsoft.Compute"; - AzureLocation location = new AzureLocation("eastus"); + AzureLocation location = new AzureLocation("westus"); QuotaRequestDetailCollection collection = subscriptionResource.GetQuotaRequestDetails(providerId, location); // invoke the operation diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailResource.cs b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailResource.cs index 85d238dd6de0..96d464f8ca63 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailResource.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailResource.cs @@ -62,7 +62,7 @@ public async Task Get_QuotaRequestInProgress() // for more information of creating QuotaRequestDetailResource, please refer to the document of QuotaRequestDetailResource string subscriptionId = "00000000-0000-0000-0000-000000000000"; string providerId = "Microsoft.Compute"; - AzureLocation location = new AzureLocation("eastus"); + AzureLocation location = new AzureLocation("westus"); Guid id = Guid.Parse("2B5C8515-37D8-4B6A-879B-CD641A2CF605"); ResourceIdentifier quotaRequestDetailResourceId = QuotaRequestDetailResource.CreateResourceIdentifier(subscriptionId, providerId, location, id); QuotaRequestDetailResource quotaRequestDetail = client.GetQuotaRequestDetailResource(quotaRequestDetailResourceId); diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationPurchaseContent.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationPurchaseContent.cs index c6b3aa771377..60defdb00f9c 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationPurchaseContent.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationPurchaseContent.cs @@ -55,7 +55,7 @@ public ReservationPurchaseContent() /// Initializes a new instance of . /// The name of sku. /// The Azure region where the reserved resource lives. - /// The type of the resource that is being reserved. + /// The type of the resource that is being reserved. In addition to below types we have also added the following: OpenAIPTU, MDC, Sentinel. /// Subscription that will be charged for purchasing reservation or savings plan. /// Represent the term of reservation. /// Represent the billing plans. @@ -103,7 +103,7 @@ public string SkuName /// The Azure region where the reserved resource lives. public AzureLocation? Location { get; set; } - /// The type of the resource that is being reserved. + /// The type of the resource that is being reserved. In addition to below types we have also added the following: OpenAIPTU, MDC, Sentinel. public ReservedResourceType? ReservedResourceType { get; set; } /// Subscription that will be charged for purchasing reservation or savings plan. public ResourceIdentifier BillingScopeId { get; set; } diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservedResourceType.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservedResourceType.cs index 4b70eead3c23..102f74bbd2f7 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservedResourceType.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservedResourceType.cs @@ -10,7 +10,7 @@ namespace Azure.ResourceManager.Reservations.Models { - /// The type of the resource that is being reserved. + /// The type of the resource that is being reserved. In addition to below types we have also added the following: OpenAIPTU, MDC, Sentinel. public readonly partial struct ReservedResourceType : IEquatable { private readonly string _value; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/autorest.md b/sdk/reservations/Azure.ResourceManager.Reservations/src/autorest.md index 2867f5b143d2..ebf8605b20fe 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/autorest.md +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/autorest.md @@ -7,7 +7,7 @@ azure-arm: true csharp: true library-name: Reservations namespace: Azure.ResourceManager.Reservations -require: https://github.com/Azure/azure-rest-api-specs/blob/49b2b960e028825de1e3b95568c93ed235354e06/specification/reservations/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/reservations/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true sample-gen: diff --git a/sdk/storage/ci.yml b/sdk/storage/ci.yml index 2ca0501b60bd..4e749e6b85b1 100644 --- a/sdk/storage/ci.yml +++ b/sdk/storage/ci.yml @@ -12,6 +12,8 @@ trigger: - sdk/storage/Azure.Storage.DataMovement/ - sdk/storage/Azure.Storage.DataMovement.Blobs/ - sdk/storage/Azure.Storage.DataMovement.Files/ + exclude: + - sdk/storage/Azure.ResourceManager.Storage/ - sdk/storage/Azure.Storage.DataMovement.Blobs.Files.Shares/ exclude: - sdk/storage/Azure.ResourceManager.Storage/