From 53b14326a9157d60f8649ab02302a789d3af4516 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 12 May 2025 07:27:44 +0000 Subject: [PATCH] CodeGen from PR 34594 in Azure/azure-rest-api-specs Merge 6ca138d789c18702017258454aca412bfc4ce3c5 into c45e699554f6117525c2d1de4846968958f62ce5 --- .../Azure.ResourceManager.HDInsight.net8.0.cs | 14 + ...esourceManager.HDInsight.netstandard2.0.cs | 14 + .../Sample_HDInsightApplicationCollection.cs | 16 +- .../Sample_HDInsightApplicationResource.cs | 10 +- .../Sample_HDInsightClusterCollection.cs | 397 +++++++++++++++++- .../Sample_HDInsightClusterResource.cs | 118 ++++-- ...ightPrivateEndpointConnectionCollection.cs | 10 +- ...nsightPrivateEndpointConnectionResource.cs | 6 +- .../Sample_HDInsightPrivateLinkResource.cs | 2 +- ..._HDInsightPrivateLinkResourceCollection.cs | 8 +- .../Sample_SubscriptionResourceExtensions.cs | 12 +- .../Extensions/HDInsightExtensions.cs | 28 +- .../MockableHDInsightResourceGroupResource.cs | 4 +- .../MockableHDInsightSubscriptionResource.cs | 24 +- .../HDInsightApplicationCollection.cs | 20 +- .../Generated/HDInsightApplicationResource.cs | 28 +- .../Generated/HDInsightClusterCollection.cs | 20 +- .../src/Generated/HDInsightClusterResource.cs | 168 ++++---- ...ightPrivateEndpointConnectionCollection.cs | 20 +- ...nsightPrivateEndpointConnectionResource.cs | 12 +- .../Generated/HDInsightPrivateLinkResource.cs | 4 +- .../HDInsightPrivateLinkResourceCollection.cs | 16 +- .../Models/EntraUserInfo.Serialization.cs | 151 +++++++ .../src/Generated/Models/EntraUserInfo.cs | 73 ++++ .../Generated/Models/HDInsightClusterPatch.cs | 4 +- ...ateGatewaySettingsContent.Serialization.cs | 27 +- ...ightClusterUpdateGatewaySettingsContent.cs | 9 +- .../ApplicationsRestOperations.cs | 2 +- .../RestOperations/ClustersRestOperations.cs | 2 +- .../ConfigurationsRestOperations.cs | 2 +- .../ExtensionsRestOperations.cs | 2 +- .../RestOperations/LocationsRestOperations.cs | 2 +- ...rivateEndpointConnectionsRestOperations.cs | 2 +- .../PrivateLinkResourcesRestOperations.cs | 2 +- .../ScriptActionsRestOperations.cs | 2 +- .../ScriptExecutionHistoryRestOperations.cs | 2 +- .../VirtualMachinesRestOperations.cs | 2 +- .../src/autorest.md | 2 +- sdk/storage/ci.yml | 2 + 39 files changed, 958 insertions(+), 281 deletions(-) create mode 100644 sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/EntraUserInfo.Serialization.cs create mode 100644 sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/EntraUserInfo.cs diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/api/Azure.ResourceManager.HDInsight.net8.0.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/api/Azure.ResourceManager.HDInsight.net8.0.cs index 6de44a984fc1..7d8c608ff68e 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/api/Azure.ResourceManager.HDInsight.net8.0.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/api/Azure.ResourceManager.HDInsight.net8.0.cs @@ -430,6 +430,19 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + public partial class EntraUserInfo : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public EntraUserInfo() { } + public string DisplayName { get { throw null; } set { } } + public string ObjectId { get { throw null; } set { } } + public string Upn { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.HDInsight.Models.EntraUserInfo System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.HDInsight.Models.EntraUserInfo System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class ExcludedServicesConfig : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ExcludedServicesConfig() { } @@ -1041,6 +1054,7 @@ public partial class HDInsightClusterUpdateGatewaySettingsContent : System.Clien public HDInsightClusterUpdateGatewaySettingsContent() { } public bool? IsCredentialEnabled { get { throw null; } set { } } public string Password { get { throw null; } set { } } + public System.Collections.Generic.IList RestAuthEntraUsers { get { throw null; } } public string UserName { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.HDInsight.Models.HDInsightClusterUpdateGatewaySettingsContent System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/api/Azure.ResourceManager.HDInsight.netstandard2.0.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/api/Azure.ResourceManager.HDInsight.netstandard2.0.cs index 6de44a984fc1..7d8c608ff68e 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/api/Azure.ResourceManager.HDInsight.netstandard2.0.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/api/Azure.ResourceManager.HDInsight.netstandard2.0.cs @@ -430,6 +430,19 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + public partial class EntraUserInfo : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public EntraUserInfo() { } + public string DisplayName { get { throw null; } set { } } + public string ObjectId { get { throw null; } set { } } + public string Upn { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.HDInsight.Models.EntraUserInfo System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.HDInsight.Models.EntraUserInfo System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class ExcludedServicesConfig : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ExcludedServicesConfig() { } @@ -1041,6 +1054,7 @@ public partial class HDInsightClusterUpdateGatewaySettingsContent : System.Clien public HDInsightClusterUpdateGatewaySettingsContent() { } public bool? IsCredentialEnabled { get { throw null; } set { } } public string Password { get { throw null; } set { } } + public System.Collections.Generic.IList RestAuthEntraUsers { get { throw null; } } public string UserName { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.HDInsight.Models.HDInsightClusterUpdateGatewaySettingsContent System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationCollection.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationCollection.cs index ab49d28b37cb..af07765f25aa 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationCollection.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_HDInsightApplicationCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateApplication() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateApplication.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateApplication.json // this example is just showing the usage of "Applications_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -80,7 +80,7 @@ public async Task CreateOrUpdate_CreateApplication() [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationOnHDInsightClusterCreationInProgress() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationInProgress.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetApplicationInProgress.json // this example is just showing the usage of "Applications_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -114,7 +114,7 @@ public async Task Get_GetApplicationOnHDInsightClusterCreationInProgress() [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationOnHDInsightClusterSuccessfullyCreated() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationCreated.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetApplicationCreated.json // this example is just showing the usage of "Applications_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -148,7 +148,7 @@ public async Task Get_GetApplicationOnHDInsightClusterSuccessfullyCreated() [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllApplicationsForAnHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetAllApplications.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetAllApplications.json // this example is just showing the usage of "Applications_ListByCluster" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -184,7 +184,7 @@ public async Task GetAll_GetAllApplicationsForAnHDInsightCluster() [Ignore("Only validating compilation of examples")] public async Task Exists_GetApplicationOnHDInsightClusterCreationInProgress() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationInProgress.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetApplicationInProgress.json // this example is just showing the usage of "Applications_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -214,7 +214,7 @@ public async Task Exists_GetApplicationOnHDInsightClusterCreationInProgress() [Ignore("Only validating compilation of examples")] public async Task Exists_GetApplicationOnHDInsightClusterSuccessfullyCreated() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationCreated.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetApplicationCreated.json // this example is just showing the usage of "Applications_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -244,7 +244,7 @@ public async Task Exists_GetApplicationOnHDInsightClusterSuccessfullyCreated() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetApplicationOnHDInsightClusterCreationInProgress() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationInProgress.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetApplicationInProgress.json // this example is just showing the usage of "Applications_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -286,7 +286,7 @@ public async Task GetIfExists_GetApplicationOnHDInsightClusterCreationInProgress [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetApplicationOnHDInsightClusterSuccessfullyCreated() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationCreated.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetApplicationCreated.json // this example is just showing the usage of "Applications_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationResource.cs index 93e87b0a1836..23e9cdbff90e 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationResource.cs @@ -20,7 +20,7 @@ public partial class Sample_HDInsightApplicationResource [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationOnHDInsightClusterCreationInProgress() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationInProgress.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetApplicationInProgress.json // this example is just showing the usage of "Applications_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_GetApplicationOnHDInsightClusterCreationInProgress() [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationOnHDInsightClusterSuccessfullyCreated() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationCreated.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetApplicationCreated.json // this example is just showing the usage of "Applications_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -82,7 +82,7 @@ public async Task Get_GetApplicationOnHDInsightClusterSuccessfullyCreated() [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteApplicationFromHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DeleteApplication.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/DeleteApplication.json // this example is just showing the usage of "Applications_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -109,7 +109,7 @@ public async Task Delete_DeleteApplicationFromHDInsightCluster() [Ignore("Only validating compilation of examples")] public async Task Update_CreateApplication() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateApplication.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateApplication.json // this example is just showing the usage of "Applications_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -166,7 +166,7 @@ public async Task Update_CreateApplication() [Ignore("Only validating compilation of examples")] public async Task GetAzureAsyncOperationStatus_GetTheAzureAsyncOperationStatus() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationCreationAsyncOperationStatus.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetApplicationCreationAsyncOperationStatus.json // this example is just showing the usage of "Applications_GetAzureAsyncOperationStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterCollection.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterCollection.cs index e14a3cc7f16a..edb8f4d5ffca 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterCollection.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterCollection.cs @@ -11,6 +11,7 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HDInsight.Models; +using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using NUnit.Framework; @@ -22,7 +23,7 @@ public partial class Sample_HDInsightClusterCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateHDInsightClusterWithAutoscaleConfiguration() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -149,7 +150,7 @@ public async Task CreateOrUpdate_CreateHDInsightClusterWithAutoscaleConfiguratio [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateHadoopClusterWithAzureDataLakeStorageGen2() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateLinuxHadoopAdlsGen2.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateLinuxHadoopAdlsGen2.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -251,7 +252,7 @@ public async Task CreateOrUpdate_CreateHadoopClusterWithAzureDataLakeStorageGen2 [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateHadoopOnLinuxClusterWithSSHPassword() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateLinuxHadoopSshPassword.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateLinuxHadoopSshPassword.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -353,7 +354,7 @@ public async Task CreateOrUpdate_CreateHadoopOnLinuxClusterWithSSHPassword() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateHadoopOnLinuxClusterWithSSHPublicKey() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateLinuxHadoopSshPublicKey.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateLinuxHadoopSshPublicKey.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -458,7 +459,7 @@ public async Task CreateOrUpdate_CreateHadoopOnLinuxClusterWithSSHPublicKey() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateKafkaClusterWithKafkaRestProxy() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -579,7 +580,7 @@ public async Task CreateOrUpdate_CreateKafkaClusterWithKafkaRestProxy() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSecureHadoopCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateLinuxHadoopSecureHadoop.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateLinuxHadoopSecureHadoop.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -721,7 +722,7 @@ public async Task CreateOrUpdate_CreateSecureHadoopCluster() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSparkOnLinuxClusterWithSSHPassword() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateLinuxSparkSshPassword.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateLinuxSparkSshPassword.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -812,11 +813,113 @@ public async Task CreateOrUpdate_CreateSparkOnLinuxClusterWithSSHPassword() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } + [Test] + [Ignore("Only validating compilation of examples")] + public async Task CreateOrUpdate_CreateClusterWithEntraUser() + { + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateHDInsightClusterWithEntraUser.json + // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this ResourceGroupResource created on azure + // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource + string subscriptionId = "subid"; + string resourceGroupName = "rg1"; + ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); + ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); + + // get the collection of this HDInsightClusterResource + HDInsightClusterCollection collection = resourceGroupResource.GetHDInsightClusters(); + + // invoke the operation + string clusterName = "cluster1"; + HDInsightClusterCreateOrUpdateContent content = new HDInsightClusterCreateOrUpdateContent + { + Properties = new HDInsightClusterCreateOrUpdateProperties + { + ClusterVersion = "5.1", + OSType = HDInsightOSType.Linux, + Tier = HDInsightTier.Standard, + ClusterDefinition = new HDInsightClusterDefinition + { + Kind = "Hadoop", + Configurations = BinaryData.FromObjectAsJson(new + { + gateway = new Dictionary + { + ["restAuthCredential.isEnabled"] = "false", + ["restAuthEntraUsers"] = new object[] + { +new +{ +displayName = "displayName", +objectId = "00000000-0000-0000-0000-000000000000", +upn = "user@microsoft.com", +} + } + }, + }), + }, + ComputeRoles = {new HDInsightClusterRole +{ +Name = "headnode", +TargetInstanceCount = 2, +HardwareVmSize = "Standard_E8_V3", +OSLinuxProfile = new HDInsightLinuxOSProfile +{ +Username = "sshuser", +Password = "**********", +}, +}, new HDInsightClusterRole +{ +Name = "workernode", +TargetInstanceCount = 3, +HardwareVmSize = "Standard_E8_V3", +OSLinuxProfile = new HDInsightLinuxOSProfile +{ +Username = "sshuser", +Password = "**********", +}, +}, new HDInsightClusterRole +{ +Name = "zookeepernode", +TargetInstanceCount = 3, +HardwareVmSize = "Standard_E8_V3", +OSLinuxProfile = new HDInsightLinuxOSProfile +{ +Username = "sshuser", +Password = "**********", +}, +}}, + StorageAccounts = {new HDInsightStorageAccountInfo +{ +Name = "mystorage.blob.core.windows.net", +IsDefault = true, +Container = "containername", +Key = "storagekey", +EnableSecureChannel = true, +}}, + }, + }; + ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, clusterName, content); + HDInsightClusterResource result = lro.Value; + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + HDInsightClusterData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + [Test] [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterWithTLS12() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithTLS12.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateHDInsightClusterWithTLS12.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -912,7 +1015,7 @@ public async Task CreateOrUpdate_CreateClusterWithTLS12() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterWithAvailabilityZones() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithAvailabilityZones.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateHDInsightClusterWithAvailabilityZones.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1055,7 +1158,7 @@ public async Task CreateOrUpdate_CreateClusterWithAvailabilityZones() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterWithComputeIsolationProperties() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithComputeIsolationProperties.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateHDInsightClusterWithComputeIsolationProperties.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1152,7 +1255,7 @@ public async Task CreateOrUpdate_CreateClusterWithComputeIsolationProperties() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterWithEncryptionAtHost() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithEncryptionAtHost.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateHDInsightClusterWithEncryptionAtHost.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1251,7 +1354,7 @@ public async Task CreateOrUpdate_CreateClusterWithEncryptionAtHost() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterWithEncryptionInTransit() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithEncryptionInTransit.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateHDInsightClusterWithEncryptionInTransit.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1347,7 +1450,7 @@ public async Task CreateOrUpdate_CreateClusterWithEncryptionInTransit() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterWithNetworkProperties() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithCustomNetworkProperties.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateHDInsightClusterWithCustomNetworkProperties.json // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1451,11 +1554,265 @@ public async Task CreateOrUpdate_CreateClusterWithNetworkProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } + [Test] + [Ignore("Only validating compilation of examples")] + public async Task CreateOrUpdate_CreateClusterWithStorageADLSGen2MSI() + { + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateHDInsightClusterWithADLSGen2Msi.json + // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this ResourceGroupResource created on azure + // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource + string subscriptionId = "subId"; + string resourceGroupName = "rg1"; + ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); + ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); + + // get the collection of this HDInsightClusterResource + HDInsightClusterCollection collection = resourceGroupResource.GetHDInsightClusters(); + + // invoke the operation + string clusterName = "cluster1"; + HDInsightClusterCreateOrUpdateContent content = new HDInsightClusterCreateOrUpdateContent + { + Tags = +{ +["key1"] = "val1" +}, + Properties = new HDInsightClusterCreateOrUpdateProperties + { + ClusterVersion = "5.1", + OSType = HDInsightOSType.Linux, + Tier = HDInsightTier.Standard, + ClusterDefinition = new HDInsightClusterDefinition + { + Kind = "Hadoop", + Configurations = BinaryData.FromObjectAsJson(new + { + gateway = new Dictionary + { + ["restAuthCredential.isEnabled"] = "true", + ["restAuthCredential.password"] = "**********", + ["restAuthCredential.username"] = "admin" + }, + }), + }, + ComputeRoles = {new HDInsightClusterRole +{ +Name = "headnode", +MinInstanceCount = 1, +TargetInstanceCount = 2, +HardwareVmSize = "Standard_E8_V3", +OSLinuxProfile = new HDInsightLinuxOSProfile +{ +Username = "sshuser", +Password = "**********", +}, +VirtualNetworkProfile = new HDInsightVirtualNetworkProfile +{ +Id = new ResourceIdentifier("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetname"), +Subnet = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet", +}, +ScriptActions = {}, +}, new HDInsightClusterRole +{ +Name = "workernode", +MinInstanceCount = 1, +TargetInstanceCount = 3, +HardwareVmSize = "Standard_E8_V3", +OSLinuxProfile = new HDInsightLinuxOSProfile +{ +Username = "sshuser", +Password = "**********", +}, +VirtualNetworkProfile = new HDInsightVirtualNetworkProfile +{ +Id = new ResourceIdentifier("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetname"), +Subnet = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet", +}, +ScriptActions = {}, +}, new HDInsightClusterRole +{ +Name = "zookeepernode", +MinInstanceCount = 1, +TargetInstanceCount = 3, +HardwareVmSize = "Standard_E8_V3", +OSLinuxProfile = new HDInsightLinuxOSProfile +{ +Username = "sshuser", +Password = "**********", +}, +VirtualNetworkProfile = new HDInsightVirtualNetworkProfile +{ +Id = new ResourceIdentifier("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetname"), +Subnet = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet", +}, +ScriptActions = {}, +}}, + StorageAccounts = {new HDInsightStorageAccountInfo +{ +Name = "mystorage.blob.core.windows.net", +IsDefault = true, +FileSystem = "default", +ResourceId = new ResourceIdentifier("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/mystorage"), +MsiResourceId = new ResourceIdentifier("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/msi"), +}}, + }, + Identity = new ManagedServiceIdentity("UserAssigned") + { + UserAssignedIdentities = +{ +[new ResourceIdentifier("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/msi")] = new UserAssignedIdentity() +}, + }, + }; + ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, clusterName, content); + HDInsightClusterResource result = lro.Value; + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + HDInsightClusterData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task CreateOrUpdate_CreateClusterWithStorageWASBMSI() + { + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateHDInsightClusterWithWasbMsi.json + // this example is just showing the usage of "Clusters_Create" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this ResourceGroupResource created on azure + // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource + string subscriptionId = "subId"; + string resourceGroupName = "rg1"; + ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); + ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); + + // get the collection of this HDInsightClusterResource + HDInsightClusterCollection collection = resourceGroupResource.GetHDInsightClusters(); + + // invoke the operation + string clusterName = "cluster1"; + HDInsightClusterCreateOrUpdateContent content = new HDInsightClusterCreateOrUpdateContent + { + Tags = +{ +["key1"] = "val1" +}, + Properties = new HDInsightClusterCreateOrUpdateProperties + { + ClusterVersion = "5.1", + OSType = HDInsightOSType.Linux, + Tier = HDInsightTier.Standard, + ClusterDefinition = new HDInsightClusterDefinition + { + Kind = "Hadoop", + Configurations = BinaryData.FromObjectAsJson(new + { + gateway = new Dictionary + { + ["restAuthCredential.isEnabled"] = "true", + ["restAuthCredential.password"] = "**********", + ["restAuthCredential.username"] = "admin" + }, + }), + }, + ComputeRoles = {new HDInsightClusterRole +{ +Name = "headnode", +MinInstanceCount = 1, +TargetInstanceCount = 2, +HardwareVmSize = "Standard_E8_V3", +OSLinuxProfile = new HDInsightLinuxOSProfile +{ +Username = "sshuser", +Password = "**********", +}, +VirtualNetworkProfile = new HDInsightVirtualNetworkProfile +{ +Id = new ResourceIdentifier("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetname"), +Subnet = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet", +}, +ScriptActions = {}, +}, new HDInsightClusterRole +{ +Name = "workernode", +MinInstanceCount = 1, +TargetInstanceCount = 3, +HardwareVmSize = "Standard_E8_V3", +OSLinuxProfile = new HDInsightLinuxOSProfile +{ +Username = "sshuser", +Password = "**********", +}, +VirtualNetworkProfile = new HDInsightVirtualNetworkProfile +{ +Id = new ResourceIdentifier("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetname"), +Subnet = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet", +}, +ScriptActions = {}, +}, new HDInsightClusterRole +{ +Name = "zookeepernode", +MinInstanceCount = 1, +TargetInstanceCount = 3, +HardwareVmSize = "Standard_E8_V3", +OSLinuxProfile = new HDInsightLinuxOSProfile +{ +Username = "sshuser", +Password = "**********", +}, +VirtualNetworkProfile = new HDInsightVirtualNetworkProfile +{ +Id = new ResourceIdentifier("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetname"), +Subnet = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet", +}, +ScriptActions = {}, +}}, + StorageAccounts = {new HDInsightStorageAccountInfo +{ +Name = "mystorage.blob.core.windows.net", +IsDefault = true, +Container = "containername", +ResourceId = new ResourceIdentifier("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/mystorage"), +MsiResourceId = new ResourceIdentifier("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/msi"), +}}, + }, + Identity = new ManagedServiceIdentity("UserAssigned") + { + UserAssignedIdentities = +{ +[new ResourceIdentifier("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/msi")] = new UserAssignedIdentity() +}, + }, + }; + ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, clusterName, content); + HDInsightClusterResource result = lro.Value; + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + HDInsightClusterData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + [Test] [Ignore("Only validating compilation of examples")] public async Task Get_GetHadoopOnLinuxCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxHadoopCluster.json // this example is just showing the usage of "Clusters_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1488,7 +1845,7 @@ public async Task Get_GetHadoopOnLinuxCluster() [Ignore("Only validating compilation of examples")] public async Task Get_GetSparkOnLinuxCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxSparkCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxSparkCluster.json // this example is just showing the usage of "Clusters_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1521,7 +1878,7 @@ public async Task Get_GetSparkOnLinuxCluster() [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllHadoopOnLinuxClustersInAResourceGroup() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json // this example is just showing the usage of "Clusters_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1556,7 +1913,7 @@ public async Task GetAll_GetAllHadoopOnLinuxClustersInAResourceGroup() [Ignore("Only validating compilation of examples")] public async Task Exists_GetHadoopOnLinuxCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxHadoopCluster.json // this example is just showing the usage of "Clusters_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1585,7 +1942,7 @@ public async Task Exists_GetHadoopOnLinuxCluster() [Ignore("Only validating compilation of examples")] public async Task Exists_GetSparkOnLinuxCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxSparkCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxSparkCluster.json // this example is just showing the usage of "Clusters_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1614,7 +1971,7 @@ public async Task Exists_GetSparkOnLinuxCluster() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetHadoopOnLinuxCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxHadoopCluster.json // this example is just showing the usage of "Clusters_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1655,7 +2012,7 @@ public async Task GetIfExists_GetHadoopOnLinuxCluster() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSparkOnLinuxCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxSparkCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxSparkCluster.json // this example is just showing the usage of "Clusters_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterResource.cs index 876186133530..c0f4d9cb6019 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterResource.cs @@ -22,7 +22,7 @@ public partial class Sample_HDInsightClusterResource [Ignore("Only validating compilation of examples")] public async Task Get_GetHadoopOnLinuxCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxHadoopCluster.json // this example is just showing the usage of "Clusters_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_GetHadoopOnLinuxCluster() [Ignore("Only validating compilation of examples")] public async Task Get_GetSparkOnLinuxCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxSparkCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxSparkCluster.json // this example is just showing the usage of "Clusters_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -82,7 +82,7 @@ public async Task Get_GetSparkOnLinuxCluster() [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteHadoopOnLinuxCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DeleteLinuxHadoopCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/DeleteLinuxHadoopCluster.json // this example is just showing the usage of "Clusters_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -108,7 +108,7 @@ public async Task Delete_DeleteHadoopOnLinuxCluster() [Ignore("Only validating compilation of examples")] public async Task Update_PatchHDInsightLinuxClusters() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/PatchLinuxHadoopCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/PatchLinuxHadoopCluster.json // this example is just showing the usage of "Clusters_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -146,7 +146,7 @@ public async Task Update_PatchHDInsightLinuxClusters() [Ignore("Only validating compilation of examples")] public async Task Update_PatchHDInsightLinuxClustersWithSystemAssignedMSI() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/PatchLinuxHadoopClusterWithSystemMSI.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/PatchLinuxHadoopClusterWithSystemMSI.json // this example is just showing the usage of "Clusters_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -185,7 +185,7 @@ public async Task Update_PatchHDInsightLinuxClustersWithSystemAssignedMSI() [Ignore("Only validating compilation of examples")] public async Task Resize_ResizeTheWorkerNodesForAHadoopOnLinuxCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/ResizeLinuxHadoopCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/ResizeLinuxHadoopCluster.json // this example is just showing the usage of "Clusters_Resize" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -216,7 +216,7 @@ public async Task Resize_ResizeTheWorkerNodesForAHadoopOnLinuxCluster() [Ignore("Only validating compilation of examples")] public async Task UpdateAutoScaleConfiguration_DisableAutoscaleForTheHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DisableClusterAutoScale.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/DisableClusterAutoScale.json // this example is just showing the usage of "Clusters_UpdateAutoScaleConfiguration" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -244,7 +244,7 @@ public async Task UpdateAutoScaleConfiguration_DisableAutoscaleForTheHDInsightCl [Ignore("Only validating compilation of examples")] public async Task UpdateAutoScaleConfiguration_EnableOrUpdateAutoscaleWithTheLoadBasedConfigurationForHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json // this example is just showing the usage of "Clusters_UpdateAutoScaleConfiguration" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -282,7 +282,7 @@ public async Task UpdateAutoScaleConfiguration_EnableOrUpdateAutoscaleWithTheLoa [Ignore("Only validating compilation of examples")] public async Task UpdateAutoScaleConfiguration_EnableOrUpdateAutoscaleWithTheScheduleBasedConfigurationForHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json // this example is just showing the usage of "Clusters_UpdateAutoScaleConfiguration" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -329,7 +329,7 @@ public async Task UpdateAutoScaleConfiguration_EnableOrUpdateAutoscaleWithTheSch [Ignore("Only validating compilation of examples")] public async Task RotateDiskEncryptionKey_RotateDiskEncryptionKeyOfTheSpecifiedHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json // this example is just showing the usage of "Clusters_RotateDiskEncryptionKey" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -361,7 +361,7 @@ public async Task RotateDiskEncryptionKey_RotateDiskEncryptionKeyOfTheSpecifiedH [Ignore("Only validating compilation of examples")] public async Task GetGatewaySettings_GetHTTPSettings() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Clusters_GetGatewaySettings.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/HDI_Clusters_GetGatewaySettings.json // this example is just showing the usage of "Clusters_GetGatewaySettings" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -387,7 +387,7 @@ public async Task GetGatewaySettings_GetHTTPSettings() [Ignore("Only validating compilation of examples")] public async Task UpdateGatewaySettings_EnableHTTPConnectivity() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json // this example is just showing the usage of "Clusters_UpdateGatewaySettings" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -415,11 +415,47 @@ public async Task UpdateGatewaySettings_EnableHTTPConnectivity() Console.WriteLine("Succeeded"); } + [Test] + [Ignore("Only validating compilation of examples")] + public async Task UpdateGatewaySettings_UpdateEntraUserInHDInsight() + { + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/HDI_Clusters_UpdateGatewaySettings_EntraUser.json + // this example is just showing the usage of "Clusters_UpdateGatewaySettings" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this HDInsightClusterResource created on azure + // for more information of creating HDInsightClusterResource, please refer to the document of HDInsightClusterResource + string subscriptionId = "subid"; + string resourceGroupName = "rg1"; + string clusterName = "cluster1"; + ResourceIdentifier hdInsightClusterResourceId = HDInsightClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, clusterName); + HDInsightClusterResource hdInsightCluster = client.GetHDInsightClusterResource(hdInsightClusterResourceId); + + // invoke the operation + HDInsightClusterUpdateGatewaySettingsContent content = new HDInsightClusterUpdateGatewaySettingsContent + { + IsCredentialEnabled = false, + RestAuthEntraUsers = {new EntraUserInfo +{ +ObjectId = "00000000-0000-0000-0000-000000000000", +DisplayName = "displayName", +Upn = "user@microsoft.com", +}}, + }; + await hdInsightCluster.UpdateGatewaySettingsAsync(WaitUntil.Completed, content); + + Console.WriteLine("Succeeded"); + } + [Test] [Ignore("Only validating compilation of examples")] public async Task GetAsyncOperationStatus_GetAsyncOperationStatusOfCreatingCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetClusterCreatingAsyncOperationStatus.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetClusterCreatingAsyncOperationStatus.json // this example is just showing the usage of "Clusters_GetAzureAsyncOperationStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -446,7 +482,7 @@ public async Task GetAsyncOperationStatus_GetAsyncOperationStatusOfCreatingClust [Ignore("Only validating compilation of examples")] public async Task UpdateIdentityCertificate_UpdateClusterIdentityCertificate() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json // this example is just showing the usage of "Clusters_UpdateIdentityCertificate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -478,7 +514,7 @@ public async Task UpdateIdentityCertificate_UpdateClusterIdentityCertificate() [Ignore("Only validating compilation of examples")] public async Task ExecuteScriptActions_ExecuteScriptActionOnHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/PostExecuteScriptAction.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/PostExecuteScriptAction.json // this example is just showing the usage of "Clusters_ExecuteScriptActions" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -511,7 +547,7 @@ public async Task ExecuteScriptActions_ExecuteScriptActionOnHDInsightCluster() [Ignore("Only validating compilation of examples")] public async Task GetConfiguration_GetAllConfigurationInformation() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Configurations_List.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/HDI_Configurations_List.json // this example is just showing the usage of "Configurations_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -537,7 +573,7 @@ public async Task GetConfiguration_GetAllConfigurationInformation() [Ignore("Only validating compilation of examples")] public async Task UpdateConfiguration_DisableHTTPConnectivity() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/ChangeHttpConnectivityDisable.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/ChangeHttpConnectivityDisable.json // this example is just showing the usage of "Configurations_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -568,7 +604,7 @@ public async Task UpdateConfiguration_DisableHTTPConnectivity() [Ignore("Only validating compilation of examples")] public async Task UpdateConfiguration_EnableHTTPConnectivity() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/ChangeHttpConnectivityEnable.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/ChangeHttpConnectivityEnable.json // this example is just showing the usage of "Configurations_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -601,7 +637,7 @@ public async Task UpdateConfiguration_EnableHTTPConnectivity() [Ignore("Only validating compilation of examples")] public async Task GetConfiguration_GetCoreSiteSettings() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Configurations_Get.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/HDI_Configurations_Get.json // this example is just showing the usage of "Configurations_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -629,7 +665,7 @@ public async Task GetConfiguration_GetCoreSiteSettings() [Ignore("Only validating compilation of examples")] public async Task EnableClusterMonitoringExtension_EnableClusterMonitoring() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableLinuxClusterMonitoring.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/EnableLinuxClusterMonitoring.json // this example is just showing the usage of "Extensions_EnableMonitoring" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -660,7 +696,7 @@ public async Task EnableClusterMonitoringExtension_EnableClusterMonitoring() [Ignore("Only validating compilation of examples")] public async Task GetClusterMonitoringExtensionStatus_GetClusterMonitoringStatus() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxClusterMonitoringStatus.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxClusterMonitoringStatus.json // this example is just showing the usage of "Extensions_GetMonitoringStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -686,7 +722,7 @@ public async Task GetClusterMonitoringExtensionStatus_GetClusterMonitoringStatus [Ignore("Only validating compilation of examples")] public async Task DisableClusterMonitoringExtension_DisableClusterMonitoring() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DisableLinuxClusterMonitoring.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/DisableLinuxClusterMonitoring.json // this example is just showing the usage of "Extensions_DisableMonitoring" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -712,7 +748,7 @@ public async Task DisableClusterMonitoringExtension_DisableClusterMonitoring() [Ignore("Only validating compilation of examples")] public async Task EnableAzureMonitorExtension_EnableAzureMonitor() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableLinuxClusterAzureMonitor.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/EnableLinuxClusterAzureMonitor.json // this example is just showing the usage of "Extensions_EnableAzureMonitor" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -743,7 +779,7 @@ public async Task EnableAzureMonitorExtension_EnableAzureMonitor() [Ignore("Only validating compilation of examples")] public async Task GetAzureMonitorExtensionStatus_GetAzureMonitorStatus() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxClusterAzureMonitorStatus.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxClusterAzureMonitorStatus.json // this example is just showing the usage of "Extensions_GetAzureMonitorStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -769,7 +805,7 @@ public async Task GetAzureMonitorExtensionStatus_GetAzureMonitorStatus() [Ignore("Only validating compilation of examples")] public async Task DisableAzureMonitorExtension_DisableAzureMonitor() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DisableLinuxClusterAzureMonitor.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/DisableLinuxClusterAzureMonitor.json // this example is just showing the usage of "Extensions_DisableAzureMonitor" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -795,7 +831,7 @@ public async Task DisableAzureMonitorExtension_DisableAzureMonitor() [Ignore("Only validating compilation of examples")] public async Task EnableAzureMonitorAgentExtension_EnableAzureMonitoringAgent() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableLinuxClusterAzureMonitorAgent.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/EnableLinuxClusterAzureMonitorAgent.json // this example is just showing the usage of "Extensions_EnableAzureMonitorAgent" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -826,7 +862,7 @@ public async Task EnableAzureMonitorAgentExtension_EnableAzureMonitoringAgent() [Ignore("Only validating compilation of examples")] public async Task GetAzureMonitorAgentStatusExtension_GetAzureMonitorAgentStatus() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxClusterAzureMonitorAgentStatus.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxClusterAzureMonitorAgentStatus.json // this example is just showing the usage of "Extensions_GetAzureMonitorAgentStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -852,7 +888,7 @@ public async Task GetAzureMonitorAgentStatusExtension_GetAzureMonitorAgentStatus [Ignore("Only validating compilation of examples")] public async Task DisableAzureMonitorAgentExtension_DisableAzureMonitorAgent() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DisableLinuxClusterAzureMonitorAgent.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/DisableLinuxClusterAzureMonitorAgent.json // this example is just showing the usage of "Extensions_DisableAzureMonitorAgent" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -878,7 +914,7 @@ public async Task DisableAzureMonitorAgentExtension_DisableAzureMonitorAgent() [Ignore("Only validating compilation of examples")] public async Task CreateExtension_CreateAMonitoringExtensionOnHadoopLinuxCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateExtension.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/CreateExtension.json // this example is just showing the usage of "Extensions_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -910,7 +946,7 @@ public async Task CreateExtension_CreateAMonitoringExtensionOnHadoopLinuxCluster [Ignore("Only validating compilation of examples")] public async Task GetExtension_GetAnExtension() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetExtension.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetExtension.json // this example is just showing the usage of "Extensions_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -937,7 +973,7 @@ public async Task GetExtension_GetAnExtension() [Ignore("Only validating compilation of examples")] public async Task DeleteExtension_DeleteAnExtension() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DeleteExtension.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/DeleteExtension.json // this example is just showing the usage of "Extensions_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -964,7 +1000,7 @@ public async Task DeleteExtension_DeleteAnExtension() [Ignore("Only validating compilation of examples")] public async Task GetExtensionAsyncOperationStatus_GetsTheAzureAsyncOperationStatus() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetExtensionCreationAsyncOperationStatus.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetExtensionCreationAsyncOperationStatus.json // this example is just showing the usage of "Extensions_GetAzureAsyncOperationStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -992,7 +1028,7 @@ public async Task GetExtensionAsyncOperationStatus_GetsTheAzureAsyncOperationSta [Ignore("Only validating compilation of examples")] public async Task DeleteScriptAction_DeleteAScriptActionOnHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DeleteScriptAction.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/DeleteScriptAction.json // this example is just showing the usage of "ScriptActions_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1019,7 +1055,7 @@ public async Task DeleteScriptAction_DeleteAScriptActionOnHDInsightCluster() [Ignore("Only validating compilation of examples")] public async Task GetScriptActions_ListAllPersistedScriptActionsForTheGivenCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopScriptAction.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxHadoopScriptAction.json // this example is just showing the usage of "ScriptActions_ListByCluster" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1048,7 +1084,7 @@ public async Task GetScriptActions_ListAllPersistedScriptActionsForTheGivenClust [Ignore("Only validating compilation of examples")] public async Task GetScriptActionExecutionDetail_GetScriptExecutionHistoryByScriptId() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetScriptActionById.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetScriptActionById.json // this example is just showing the usage of "ScriptActions_GetExecutionDetail" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1075,7 +1111,7 @@ public async Task GetScriptActionExecutionDetail_GetScriptExecutionHistoryByScri [Ignore("Only validating compilation of examples")] public async Task GetScriptActionExecutionAsyncOperationStatus_GetsTheAsyncExecutionOperationStatus() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetScriptExecutionAsyncOperationStatus.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetScriptExecutionAsyncOperationStatus.json // this example is just showing the usage of "ScriptActions_GetExecutionAsyncOperationStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1102,7 +1138,7 @@ public async Task GetScriptActionExecutionAsyncOperationStatus_GetsTheAsyncExecu [Ignore("Only validating compilation of examples")] public async Task GetScriptExecutionHistories_GetScriptExecutionHistoryList() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetScriptExecutionHistory.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetScriptExecutionHistory.json // this example is just showing the usage of "ScriptExecutionHistory_ListByCluster" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1131,7 +1167,7 @@ public async Task GetScriptExecutionHistories_GetScriptExecutionHistoryList() [Ignore("Only validating compilation of examples")] public async Task PromoteScriptExecutionHistory_PromoteAScriptActionOnHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/PromoteLinuxHadoopScriptAction.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/PromoteLinuxHadoopScriptAction.json // this example is just showing the usage of "ScriptExecutionHistory_Promote" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1158,7 +1194,7 @@ public async Task PromoteScriptExecutionHistory_PromoteAScriptActionOnHDInsightC [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineHosts_GetAllHostsInTheCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetClusterVirtualMachines.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetClusterVirtualMachines.json // this example is just showing the usage of "VirtualMachines_ListHosts" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1187,7 +1223,7 @@ public async Task GetVirtualMachineHosts_GetAllHostsInTheCluster() [Ignore("Only validating compilation of examples")] public async Task RestartVirtualMachineHosts_RestartsTheSpecifiedHDInsightClusterHosts() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/RestartVirtualMachinesOperation.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/RestartVirtualMachinesOperation.json // this example is just showing the usage of "VirtualMachines_RestartHosts" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -1214,7 +1250,7 @@ public async Task RestartVirtualMachineHosts_RestartsTheSpecifiedHDInsightCluste [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineAsyncOperationStatus_GetsTheAsyncOperationStatusOfRestartingHost() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetRestartHostsAsyncOperationStatus.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetRestartHostsAsyncOperationStatus.json // this example is just showing the usage of "VirtualMachines_GetAsyncOperationStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionCollection.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionCollection.cs index f5c88b00c606..ba10bfc85b93 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionCollection.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_HDInsightPrivateEndpointConnectionCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveAPrivateEndpointConnectionManually() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/ApprovePrivateEndpointConnection.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/ApprovePrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -60,7 +60,7 @@ public async Task CreateOrUpdate_ApproveAPrivateEndpointConnectionManually() [Ignore("Only validating compilation of examples")] public async Task Get_GetSpecificPrivateEndpointConnectionForASpecificHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateEndpointConnection.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -94,7 +94,7 @@ public async Task Get_GetSpecificPrivateEndpointConnectionForASpecificHDInsightC [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllPrivateEndpointConnectionsForASpecificHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetAllPrivateEndpointConnectionsInCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetAllPrivateEndpointConnectionsInCluster.json // this example is just showing the usage of "PrivateEndpointConnections_ListByCluster" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -130,7 +130,7 @@ public async Task GetAll_GetAllPrivateEndpointConnectionsForASpecificHDInsightCl [Ignore("Only validating compilation of examples")] public async Task Exists_GetSpecificPrivateEndpointConnectionForASpecificHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateEndpointConnection.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -160,7 +160,7 @@ public async Task Exists_GetSpecificPrivateEndpointConnectionForASpecificHDInsig [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSpecificPrivateEndpointConnectionForASpecificHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateEndpointConnection.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionResource.cs index 8e3698edc13a..f41705d815c4 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionResource.cs @@ -20,7 +20,7 @@ public partial class Sample_HDInsightPrivateEndpointConnectionResource [Ignore("Only validating compilation of examples")] public async Task Get_GetSpecificPrivateEndpointConnectionForASpecificHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateEndpointConnection.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_GetSpecificPrivateEndpointConnectionForASpecificHDInsightC [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSpecificPrivateEndpointConnectionForASpecificHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DeletePrivateEndpointConnection.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/DeletePrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_DeleteSpecificPrivateEndpointConnectionForASpecificHDIn [Ignore("Only validating compilation of examples")] public async Task Update_ApproveAPrivateEndpointConnectionManually() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/ApprovePrivateEndpointConnection.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/ApprovePrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResource.cs index ce573412596b..ebd01a057aae 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResource.cs @@ -19,7 +19,7 @@ public partial class Sample_HDInsightPrivateLinkResource [Ignore("Only validating compilation of examples")] public async Task Get_GetSpecificPrivateLinkResourceInASpecificHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateLinkResource.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetPrivateLinkResource.json // this example is just showing the usage of "PrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResourceCollection.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResourceCollection.cs index 55eb92ae78a3..d8c4ab10770a 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResourceCollection.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResourceCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_HDInsightPrivateLinkResourceCollection [Ignore("Only validating compilation of examples")] public async Task Get_GetSpecificPrivateLinkResourceInASpecificHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateLinkResource.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetPrivateLinkResource.json // this example is just showing the usage of "PrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_GetSpecificPrivateLinkResourceInASpecificHDInsightCluster( [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllPrivateLinkResourcesInASpecificHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetAllPrivateLinkResourcesInCluster.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetAllPrivateLinkResourcesInCluster.json // this example is just showing the usage of "PrivateLinkResources_ListByCluster" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -89,7 +89,7 @@ public async Task GetAll_GetAllPrivateLinkResourcesInASpecificHDInsightCluster() [Ignore("Only validating compilation of examples")] public async Task Exists_GetSpecificPrivateLinkResourceInASpecificHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateLinkResource.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetPrivateLinkResource.json // this example is just showing the usage of "PrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -119,7 +119,7 @@ public async Task Exists_GetSpecificPrivateLinkResourceInASpecificHDInsightClust [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSpecificPrivateLinkResourceInASpecificHDInsightCluster() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateLinkResource.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetPrivateLinkResource.json // this example is just showing the usage of "PrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 96ef10b25b69..23f572f57122 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -22,7 +22,7 @@ public partial class Sample_SubscriptionResourceExtensions [Ignore("Only validating compilation of examples")] public async Task GetHDInsightClusters_GetAllHadoopOnLinuxClusters() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopAllClusters.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetLinuxHadoopAllClusters.json // this example is just showing the usage of "Clusters_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task GetHDInsightClusters_GetAllHadoopOnLinuxClusters() [Ignore("Only validating compilation of examples")] public async Task GetHDInsightCapabilities_GetTheSubscriptionCapabilitiesForSpecificLocation() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetHDInsightCapabilities.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetHDInsightCapabilities.json // this example is just showing the usage of "Locations_GetCapabilities" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task GetHDInsightCapabilities_GetTheSubscriptionCapabilitiesForSpec [Ignore("Only validating compilation of examples")] public async Task GetHDInsightUsages_GetTheSubscriptionUsagesForSpecificLocation() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetHDInsightUsages.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/GetHDInsightUsages.json // this example is just showing the usage of "Locations_ListUsages" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -106,7 +106,7 @@ public async Task GetHDInsightUsages_GetTheSubscriptionUsagesForSpecificLocation [Ignore("Only validating compilation of examples")] public async Task GetHDInsightBillingSpecs_GetTheSubscriptionBillingSpecsForTheSpecifiedLocation() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Locations_ListBillingSpecs.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/HDI_Locations_ListBillingSpecs.json // this example is just showing the usage of "Locations_ListBillingSpecs" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -131,7 +131,7 @@ public async Task GetHDInsightBillingSpecs_GetTheSubscriptionBillingSpecsForTheS [Ignore("Only validating compilation of examples")] public async Task CheckHDInsightNameAvailability_GetTheSubscriptionUsagesForSpecificLocation() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Locations_CheckClusterNameAvailability.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/HDI_Locations_CheckClusterNameAvailability.json // this example is just showing the usage of "Locations_CheckNameAvailability" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -161,7 +161,7 @@ public async Task CheckHDInsightNameAvailability_GetTheSubscriptionUsagesForSpec [Ignore("Only validating compilation of examples")] public async Task ValidateHDInsightClusterCreation_GetTheSubscriptionUsagesForSpecificLocation() { - // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Locations_ValidateClusterCreateRequest.json + // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2025-01-15-preview/examples/HDI_Locations_ValidateClusterCreateRequest.json // this example is just showing the usage of "Locations_ValidateClusterCreateRequest" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/HDInsightExtensions.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/HDInsightExtensions.cs index c792e27a1e68..9ebf744f7ef4 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/HDInsightExtensions.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/HDInsightExtensions.cs @@ -139,7 +139,7 @@ public static HDInsightClusterCollection GetHDInsightClusters(this ResourceGroup /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -177,7 +177,7 @@ public static async Task> GetHDInsightCluster /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -215,7 +215,7 @@ public static Response GetHDInsightCluster(this Resour /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -251,7 +251,7 @@ public static AsyncPageable GetHDInsightClustersAsync( /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -287,7 +287,7 @@ public static Pageable GetHDInsightClusters(this Subsc /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -319,7 +319,7 @@ public static async Task> GetHDInsightCapa /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -351,7 +351,7 @@ public static Response GetHDInsightCapabilities(thi /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -384,7 +384,7 @@ public static AsyncPageable GetHDInsightUsagesAsync(this Subscri /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -417,7 +417,7 @@ public static Pageable GetHDInsightUsages(this SubscriptionResou /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -449,7 +449,7 @@ public static async Task> GetHDInsight /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -481,7 +481,7 @@ public static Response GetHDInsightBillingSpecs /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -514,7 +514,7 @@ public static async Task> CheckHDInsig /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -547,7 +547,7 @@ public static Response CheckHDInsightNameAvaila /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -580,7 +580,7 @@ public static async Task> Valid /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/MockableHDInsightResourceGroupResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/MockableHDInsightResourceGroupResource.cs index ec7ff363c8b4..2cb87cefbafa 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/MockableHDInsightResourceGroupResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/MockableHDInsightResourceGroupResource.cs @@ -53,7 +53,7 @@ public virtual HDInsightClusterCollection GetHDInsightClusters() /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -84,7 +84,7 @@ public virtual async Task> GetHDInsightCluste /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/MockableHDInsightSubscriptionResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/MockableHDInsightSubscriptionResource.cs index 9e5248a1538a..acaa849c62ca 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/MockableHDInsightSubscriptionResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/MockableHDInsightSubscriptionResource.cs @@ -59,7 +59,7 @@ private string GetApiVersionOrNull(ResourceType resourceType) /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -89,7 +89,7 @@ public virtual AsyncPageable GetHDInsightClustersAsync /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -119,7 +119,7 @@ public virtual Pageable GetHDInsightClusters(Cancellat /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -154,7 +154,7 @@ public virtual async Task> GetHDInsightCap /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -189,7 +189,7 @@ public virtual Response GetHDInsightCapabilities(Az /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -215,7 +215,7 @@ public virtual AsyncPageable GetHDInsightUsagesAsync(AzureLocati /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -241,7 +241,7 @@ public virtual Pageable GetHDInsightUsages(AzureLocation locatio /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -276,7 +276,7 @@ public virtual async Task> GetHDInsigh /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -311,7 +311,7 @@ public virtual Response GetHDInsightBillingSpec /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -350,7 +350,7 @@ public virtual async Task> CheckHDInsi /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -389,7 +389,7 @@ public virtual Response CheckHDInsightNameAvail /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -428,7 +428,7 @@ public virtual async Task> Vali /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightApplicationCollection.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightApplicationCollection.cs index d9e3ac793cfe..dce673be8c8a 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightApplicationCollection.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightApplicationCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> CreateOrUp /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUnt /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(strin /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string applicationName /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(Cancellat /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationToken c /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string applicationName, Ca /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string applicationName, CancellationToken c /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task> GetIfE /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightApplicationResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightApplicationResource.cs index 7eee37fc508f..65c47bc2c3e9 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightApplicationResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightApplicationResource.cs @@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task> GetAsync(Cance /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -183,7 +183,7 @@ public virtual Response Get(CancellationToken canc /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -225,7 +225,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -267,7 +267,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -313,7 +313,7 @@ public virtual async Task> UpdateAsyn /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -359,7 +359,7 @@ public virtual ArmOperation Update(WaitUntil waitU /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -402,7 +402,7 @@ public virtual async Task> GetAzureAsync /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -445,7 +445,7 @@ public virtual Response GetAzureAsyncOperationSta /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -502,7 +502,7 @@ public virtual async Task> AddTagAsync(st /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -559,7 +559,7 @@ public virtual Response AddTag(string key, string /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -615,7 +615,7 @@ public virtual async Task> SetTagsAsync(I /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -671,7 +671,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -726,7 +726,7 @@ public virtual async Task> RemoveTagAsync /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightClusterCollection.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightClusterCollection.cs index 310f2584d37d..db6eb786d017 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightClusterCollection.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightClusterCollection.cs @@ -66,7 +66,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -115,7 +115,7 @@ public virtual async Task> CreateOrUpdate /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -164,7 +164,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil w /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -209,7 +209,7 @@ public virtual async Task> GetAsync(string cl /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -254,7 +254,7 @@ public virtual Response Get(string clusterName, Cancel /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -284,7 +284,7 @@ public virtual AsyncPageable GetAllAsync(CancellationT /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -314,7 +314,7 @@ public virtual Pageable GetAll(CancellationToken cance /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -357,7 +357,7 @@ public virtual async Task> ExistsAsync(string clusterName, Cancel /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -400,7 +400,7 @@ public virtual Response Exists(string clusterName, CancellationToken cance /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -445,7 +445,7 @@ public virtual async Task> GetIfExist /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightClusterResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightClusterResource.cs index fbc4d9542173..29ef283575f7 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightClusterResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightClusterResource.cs @@ -131,7 +131,7 @@ public virtual HDInsightApplicationCollection GetHDInsightApplications() /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -162,7 +162,7 @@ public virtual async Task> GetHDInsightAp /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -200,7 +200,7 @@ public virtual HDInsightPrivateEndpointConnectionCollection GetHDInsightPrivateE /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -231,7 +231,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -269,7 +269,7 @@ public virtual HDInsightPrivateLinkResourceCollection GetHDInsightPrivateLinkRes /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -300,7 +300,7 @@ public virtual async Task> GetHDInsightPr /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -331,7 +331,7 @@ public virtual Response GetHDInsightPrivateLinkRes /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -371,7 +371,7 @@ public virtual async Task> GetAsync(Cancellat /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -411,7 +411,7 @@ public virtual Response Get(CancellationToken cancella /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -453,7 +453,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -495,7 +495,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -537,7 +537,7 @@ public virtual async Task> UpdateAsync(HDInsi /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -579,7 +579,7 @@ public virtual Response Update(HDInsightClusterPatch p /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -626,7 +626,7 @@ public virtual async Task ResizeAsync(WaitUntil waitUntil, HDInsig /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -673,7 +673,7 @@ public virtual ArmOperation Resize(WaitUntil waitUntil, HDInsightRoleName roleNa /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -720,7 +720,7 @@ public virtual async Task UpdateAutoScaleConfigurationAsync(WaitUn /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -767,7 +767,7 @@ public virtual ArmOperation UpdateAutoScaleConfiguration(WaitUntil waitUntil, HD /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -813,7 +813,7 @@ public virtual async Task RotateDiskEncryptionKeyAsync(WaitUntil w /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -859,7 +859,7 @@ public virtual ArmOperation RotateDiskEncryptionKey(WaitUntil waitUntil, HDInsig /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -897,7 +897,7 @@ public virtual async Task> GetGatewayS /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -935,7 +935,7 @@ public virtual Response GetGatewaySettings(Canc /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -981,7 +981,7 @@ public virtual async Task UpdateGatewaySettingsAsync(WaitUntil wai /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -1027,7 +1027,7 @@ public virtual ArmOperation UpdateGatewaySettings(WaitUntil waitUntil, HDInsight /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -1070,7 +1070,7 @@ public virtual async Task> GetAsyncOpera /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -1113,7 +1113,7 @@ public virtual Response GetAsyncOperationStatus(s /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -1159,7 +1159,7 @@ public virtual async Task UpdateIdentityCertificateAsync(WaitUntil /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -1205,7 +1205,7 @@ public virtual ArmOperation UpdateIdentityCertificate(WaitUntil waitUntil, HDIns /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -1251,7 +1251,7 @@ public virtual async Task ExecuteScriptActionsAsync(WaitUntil wait /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -1297,7 +1297,7 @@ public virtual ArmOperation ExecuteScriptActions(WaitUntil waitUntil, ExecuteScr /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1331,7 +1331,7 @@ public virtual async Task> GetConfigura /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1365,7 +1365,7 @@ public virtual Response GetConfiguration(Cancell /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1410,7 +1410,7 @@ public virtual async Task UpdateConfigurationAsync(WaitUntil waitU /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1455,7 +1455,7 @@ public virtual ArmOperation UpdateConfiguration(WaitUntil waitUntil, string conf /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1494,7 +1494,7 @@ public virtual async Task>> GetConf /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1533,7 +1533,7 @@ public virtual Response> GetConfiguration(st /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1575,7 +1575,7 @@ public virtual async Task EnableClusterMonitoringExtensionAsync(Wa /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1617,7 +1617,7 @@ public virtual ArmOperation EnableClusterMonitoringExtension(WaitUntil waitUntil /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1651,7 +1651,7 @@ public virtual async Task> GetClusterM /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1685,7 +1685,7 @@ public virtual Response GetClusterMonitoringExt /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1723,7 +1723,7 @@ public virtual async Task DisableClusterMonitoringExtensionAsync(W /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1761,7 +1761,7 @@ public virtual ArmOperation DisableClusterMonitoringExtension(WaitUntil waitUnti /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1803,7 +1803,7 @@ public virtual async Task EnableAzureMonitorExtensionAsync(WaitUnt /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1845,7 +1845,7 @@ public virtual ArmOperation EnableAzureMonitorExtension(WaitUntil waitUntil, HDI /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1879,7 +1879,7 @@ public virtual async Task> GetAzu /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1913,7 +1913,7 @@ public virtual Response GetAzureMonitorExt /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1951,7 +1951,7 @@ public virtual async Task DisableAzureMonitorExtensionAsync(WaitUn /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -1989,7 +1989,7 @@ public virtual ArmOperation DisableAzureMonitorExtension(WaitUntil waitUntil, Ca /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2031,7 +2031,7 @@ public virtual async Task EnableAzureMonitorAgentExtensionAsync(Wa /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2073,7 +2073,7 @@ public virtual ArmOperation EnableAzureMonitorAgentExtension(WaitUntil waitUntil /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2107,7 +2107,7 @@ public virtual async Task> GetAzu /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2141,7 +2141,7 @@ public virtual Response GetAzureMonitorAge /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2179,7 +2179,7 @@ public virtual async Task DisableAzureMonitorAgentExtensionAsync(W /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2217,7 +2217,7 @@ public virtual ArmOperation DisableAzureMonitorAgentExtension(WaitUntil waitUnti /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2262,7 +2262,7 @@ public virtual async Task CreateExtensionAsync(WaitUntil waitUntil /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2307,7 +2307,7 @@ public virtual ArmOperation CreateExtension(WaitUntil waitUntil, string extensio /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2346,7 +2346,7 @@ public virtual async Task> GetExtensio /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2385,7 +2385,7 @@ public virtual Response GetExtension(string ext /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2428,7 +2428,7 @@ public virtual async Task DeleteExtensionAsync(WaitUntil waitUntil /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2471,7 +2471,7 @@ public virtual ArmOperation DeleteExtension(WaitUntil waitUntil, string extensio /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2512,7 +2512,7 @@ public virtual async Task> GetExtensionA /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2553,7 +2553,7 @@ public virtual Response GetExtensionAsyncOperatio /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2592,7 +2592,7 @@ public virtual async Task DeleteScriptActionAsync(string scriptName, C /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2631,7 +2631,7 @@ public virtual Response DeleteScriptAction(string scriptName, CancellationToken /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2657,7 +2657,7 @@ public virtual AsyncPageable GetScriptActionsAsync(Ca /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2683,7 +2683,7 @@ public virtual Pageable GetScriptActions(Cancellation /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2722,7 +2722,7 @@ public virtual async Task> GetScriptActionEx /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2761,7 +2761,7 @@ public virtual Response GetScriptActionExecutionDetai /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2800,7 +2800,7 @@ public virtual async Task> GetScriptActi /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2839,7 +2839,7 @@ public virtual Response GetScriptActionExecutionA /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2865,7 +2865,7 @@ public virtual AsyncPageable GetScriptExecutionHistor /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2891,7 +2891,7 @@ public virtual Pageable GetScriptExecutionHistories(C /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2930,7 +2930,7 @@ public virtual async Task PromoteScriptExecutionHistoryAsync(string sc /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2969,7 +2969,7 @@ public virtual Response PromoteScriptExecutionHistory(string scriptExecutionId, /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -2994,7 +2994,7 @@ public virtual AsyncPageable GetVirtualMachineHostsAsy /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -3019,7 +3019,7 @@ public virtual Pageable GetVirtualMachineHosts(Cancell /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -3061,7 +3061,7 @@ public virtual async Task RestartVirtualMachineHostsAsync(WaitUnti /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -3103,7 +3103,7 @@ public virtual ArmOperation RestartVirtualMachineHosts(WaitUntil waitUntil, IEnu /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -3142,7 +3142,7 @@ public virtual async Task> GetVirtualMac /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// @@ -3181,7 +3181,7 @@ public virtual Response GetVirtualMachineAsyncOpe /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -3243,7 +3243,7 @@ public virtual async Task> AddTagAsync(string /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -3305,7 +3305,7 @@ public virtual Response AddTag(string key, string valu /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -3362,7 +3362,7 @@ public virtual async Task> SetTagsAsync(IDict /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -3419,7 +3419,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -3479,7 +3479,7 @@ public virtual async Task> RemoveTagAsync(str /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateEndpointConnectionCollection.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateEndpointConnectionCollection.cs index 582154f95aca..108334d64d5c 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateEndpointConnectionCollection.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateEndpointConnectionCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOr /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string p /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllA /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(Cance /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string privateEndpointConn /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string privateEndpointConnectionName, Cance /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateEndpointConnectionResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateEndpointConnectionResource.cs index 543419eb4ca1..17c7aa0793e8 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateEndpointConnectionResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateEndpointConnectionResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -181,7 +181,7 @@ public virtual Response Get(Cancella /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -311,7 +311,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateLinkResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateLinkResource.cs index fb4e4a0a79d6..6767677ce4a9 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateLinkResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateLinkResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cance /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateLinkResourceCollection.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateLinkResourceCollection.cs index 1b1ad9a86b72..735e5c993d12 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateLinkResourceCollection.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/HDInsightPrivateLinkResourceCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -109,7 +109,7 @@ public virtual async Task> GetAsync(strin /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -154,7 +154,7 @@ public virtual Response Get(string privateLinkReso /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -183,7 +183,7 @@ public virtual AsyncPageable GetAllAsync(Cancellat /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -212,7 +212,7 @@ public virtual Pageable GetAll(CancellationToken c /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -255,7 +255,7 @@ public virtual async Task> ExistsAsync(string privateLinkResource /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -298,7 +298,7 @@ public virtual Response Exists(string privateLinkResourceName, Cancellatio /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource @@ -343,7 +343,7 @@ public virtual async Task> GetIfE /// /// /// Default Api Version - /// 2024-08-01-preview + /// 2025-01-15-preview /// /// /// Resource diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/EntraUserInfo.Serialization.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/EntraUserInfo.Serialization.cs new file mode 100644 index 000000000000..e6ef5b95864a --- /dev/null +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/EntraUserInfo.Serialization.cs @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.HDInsight.Models +{ + public partial class EntraUserInfo : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(EntraUserInfo)} does not support writing '{format}' format."); + } + + if (Optional.IsDefined(ObjectId)) + { + writer.WritePropertyName("objectId"u8); + writer.WriteStringValue(ObjectId); + } + if (Optional.IsDefined(DisplayName)) + { + writer.WritePropertyName("displayName"u8); + writer.WriteStringValue(DisplayName); + } + if (Optional.IsDefined(Upn)) + { + writer.WritePropertyName("upn"u8); + writer.WriteStringValue(Upn); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + EntraUserInfo IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(EntraUserInfo)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeEntraUserInfo(document.RootElement, options); + } + + internal static EntraUserInfo DeserializeEntraUserInfo(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string objectId = default; + string displayName = default; + string upn = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("objectId"u8)) + { + objectId = property.Value.GetString(); + continue; + } + if (property.NameEquals("displayName"u8)) + { + displayName = property.Value.GetString(); + continue; + } + if (property.NameEquals("upn"u8)) + { + upn = property.Value.GetString(); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new EntraUserInfo(objectId, displayName, upn, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, AzureResourceManagerHDInsightContext.Default); + default: + throw new FormatException($"The model {nameof(EntraUserInfo)} does not support writing '{options.Format}' format."); + } + } + + EntraUserInfo IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeEntraUserInfo(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(EntraUserInfo)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/EntraUserInfo.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/EntraUserInfo.cs new file mode 100644 index 000000000000..caea64563941 --- /dev/null +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/EntraUserInfo.cs @@ -0,0 +1,73 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.ResourceManager.HDInsight.Models +{ + /// Details of an Entra user for gateway access. + public partial class EntraUserInfo + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + public EntraUserInfo() + { + } + + /// Initializes a new instance of . + /// The unique object ID of the Entra user or client ID of the enterprise applications. + /// The display name of the Entra user. + /// The User Principal Name (UPN) of the Entra user. It may be empty in certain cases, such as for enterprise applications. + /// Keeps track of any properties unknown to the library. + internal EntraUserInfo(string objectId, string displayName, string upn, IDictionary serializedAdditionalRawData) + { + ObjectId = objectId; + DisplayName = displayName; + Upn = upn; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// The unique object ID of the Entra user or client ID of the enterprise applications. + public string ObjectId { get; set; } + /// The display name of the Entra user. + public string DisplayName { get; set; } + /// The User Principal Name (UPN) of the Entra user. It may be empty in certain cases, such as for enterprise applications. + public string Upn { get; set; } + } +} diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightClusterPatch.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightClusterPatch.cs index cdd0d0f89966..b7bbbf9d7bb4 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightClusterPatch.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightClusterPatch.cs @@ -54,7 +54,7 @@ public HDInsightClusterPatch() /// Initializes a new instance of . /// The resource tags. - /// The identity of the cluster, if configured. + /// The identity of the cluster, if configured. Setting this property will override the existing identity configuration of the cluster. /// Keeps track of any properties unknown to the library. internal HDInsightClusterPatch(IDictionary tags, ManagedServiceIdentity identity, IDictionary serializedAdditionalRawData) { @@ -65,7 +65,7 @@ internal HDInsightClusterPatch(IDictionary tags, ManagedServiceI /// The resource tags. public IDictionary Tags { get; set; } - /// The identity of the cluster, if configured. + /// The identity of the cluster, if configured. Setting this property will override the existing identity configuration of the cluster. public ManagedServiceIdentity Identity { get; set; } } } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightClusterUpdateGatewaySettingsContent.Serialization.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightClusterUpdateGatewaySettingsContent.Serialization.cs index 853f88018442..244e12339b4d 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightClusterUpdateGatewaySettingsContent.Serialization.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightClusterUpdateGatewaySettingsContent.Serialization.cs @@ -49,6 +49,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("restAuthCredential.password"u8); writer.WriteStringValue(Password); } + if (Optional.IsCollectionDefined(RestAuthEntraUsers)) + { + writer.WritePropertyName("restAuthEntraUsers"u8); + writer.WriteStartArray(); + foreach (var item in RestAuthEntraUsers) + { + writer.WriteObjectValue(item, options); + } + writer.WriteEndArray(); + } if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) @@ -89,6 +99,7 @@ internal static HDInsightClusterUpdateGatewaySettingsContent DeserializeHDInsigh bool? restAuthCredentialIsEnabled = default; string restAuthCredentialUsername = default; string restAuthCredentialPassword = default; + IList restAuthEntraUsers = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -112,13 +123,27 @@ internal static HDInsightClusterUpdateGatewaySettingsContent DeserializeHDInsigh restAuthCredentialPassword = property.Value.GetString(); continue; } + if (property.NameEquals("restAuthEntraUsers"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(EntraUserInfo.DeserializeEntraUserInfo(item, options)); + } + restAuthEntraUsers = array; + continue; + } if (options.Format != "W") { rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); } } serializedAdditionalRawData = rawDataDictionary; - return new HDInsightClusterUpdateGatewaySettingsContent(restAuthCredentialIsEnabled, restAuthCredentialUsername, restAuthCredentialPassword, serializedAdditionalRawData); + return new HDInsightClusterUpdateGatewaySettingsContent(restAuthCredentialIsEnabled, restAuthCredentialUsername, restAuthCredentialPassword, restAuthEntraUsers ?? new ChangeTrackingList(), serializedAdditionalRawData); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightClusterUpdateGatewaySettingsContent.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightClusterUpdateGatewaySettingsContent.cs index 7d084f83c366..7d52f5804e05 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightClusterUpdateGatewaySettingsContent.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightClusterUpdateGatewaySettingsContent.cs @@ -10,7 +10,7 @@ namespace Azure.ResourceManager.HDInsight.Models { - /// The update gateway settings request parameters. + /// The update gateway settings request parameters. Note either basic or entra user should be provided at a time. public partial class HDInsightClusterUpdateGatewaySettingsContent { /// @@ -48,18 +48,21 @@ public partial class HDInsightClusterUpdateGatewaySettingsContent /// Initializes a new instance of . public HDInsightClusterUpdateGatewaySettingsContent() { + RestAuthEntraUsers = new ChangeTrackingList(); } /// Initializes a new instance of . /// Indicates whether or not the gateway settings based authorization is enabled. /// The gateway settings user name. /// The gateway settings user password. + /// List of Entra users for gateway access. /// Keeps track of any properties unknown to the library. - internal HDInsightClusterUpdateGatewaySettingsContent(bool? isCredentialEnabled, string userName, string password, IDictionary serializedAdditionalRawData) + internal HDInsightClusterUpdateGatewaySettingsContent(bool? isCredentialEnabled, string userName, string password, IList restAuthEntraUsers, IDictionary serializedAdditionalRawData) { IsCredentialEnabled = isCredentialEnabled; UserName = userName; Password = password; + RestAuthEntraUsers = restAuthEntraUsers; _serializedAdditionalRawData = serializedAdditionalRawData; } @@ -69,5 +72,7 @@ internal HDInsightClusterUpdateGatewaySettingsContent(bool? isCredentialEnabled, public string UserName { get; set; } /// The gateway settings user password. public string Password { get; set; } + /// List of Entra users for gateway access. + public IList RestAuthEntraUsers { get; } } } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ApplicationsRestOperations.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ApplicationsRestOperations.cs index d377ca0938f2..dd8ed013294f 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ApplicationsRestOperations.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ApplicationsRestOperations.cs @@ -32,7 +32,7 @@ public ApplicationsRestOperations(HttpPipeline pipeline, string applicationId, U { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-08-01-preview"; + _apiVersion = apiVersion ?? "2025-01-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ClustersRestOperations.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ClustersRestOperations.cs index b6f58a68699d..b96af7f483cf 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ClustersRestOperations.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ClustersRestOperations.cs @@ -32,7 +32,7 @@ public ClustersRestOperations(HttpPipeline pipeline, string applicationId, Uri e { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-08-01-preview"; + _apiVersion = apiVersion ?? "2025-01-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ConfigurationsRestOperations.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ConfigurationsRestOperations.cs index cda0d8c82cc2..6d23ed3ff66f 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ConfigurationsRestOperations.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ConfigurationsRestOperations.cs @@ -33,7 +33,7 @@ public ConfigurationsRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-08-01-preview"; + _apiVersion = apiVersion ?? "2025-01-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ExtensionsRestOperations.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ExtensionsRestOperations.cs index 01aad220a62b..424c82562322 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ExtensionsRestOperations.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ExtensionsRestOperations.cs @@ -32,7 +32,7 @@ public ExtensionsRestOperations(HttpPipeline pipeline, string applicationId, Uri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-08-01-preview"; + _apiVersion = apiVersion ?? "2025-01-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/LocationsRestOperations.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/LocationsRestOperations.cs index 512a9bd17e02..f8b739953c14 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/LocationsRestOperations.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/LocationsRestOperations.cs @@ -32,7 +32,7 @@ public LocationsRestOperations(HttpPipeline pipeline, string applicationId, Uri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-08-01-preview"; + _apiVersion = apiVersion ?? "2025-01-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs index 2c9d0da34b87..72188c97d08c 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs @@ -32,7 +32,7 @@ public PrivateEndpointConnectionsRestOperations(HttpPipeline pipeline, string ap { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-08-01-preview"; + _apiVersion = apiVersion ?? "2025-01-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs index d6f15367b090..f7907a764535 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs @@ -32,7 +32,7 @@ public PrivateLinkResourcesRestOperations(HttpPipeline pipeline, string applicat { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-08-01-preview"; + _apiVersion = apiVersion ?? "2025-01-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ScriptActionsRestOperations.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ScriptActionsRestOperations.cs index bc53414dc530..7778b1eb461c 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ScriptActionsRestOperations.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ScriptActionsRestOperations.cs @@ -32,7 +32,7 @@ public ScriptActionsRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-08-01-preview"; + _apiVersion = apiVersion ?? "2025-01-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ScriptExecutionHistoryRestOperations.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ScriptExecutionHistoryRestOperations.cs index a5604e97cfed..29e7415040a4 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ScriptExecutionHistoryRestOperations.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ScriptExecutionHistoryRestOperations.cs @@ -32,7 +32,7 @@ public ScriptExecutionHistoryRestOperations(HttpPipeline pipeline, string applic { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-08-01-preview"; + _apiVersion = apiVersion ?? "2025-01-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/VirtualMachinesRestOperations.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/VirtualMachinesRestOperations.cs index afe720dabb2f..24d72d169671 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/VirtualMachinesRestOperations.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/VirtualMachinesRestOperations.cs @@ -33,7 +33,7 @@ public VirtualMachinesRestOperations(HttpPipeline pipeline, string applicationId { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-08-01-preview"; + _apiVersion = apiVersion ?? "2025-01-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/autorest.md b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/autorest.md index 2afe59714c33..bac582ce1153 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/autorest.md +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/autorest.md @@ -8,7 +8,7 @@ azure-arm: true csharp: true library-name: HDInsight namespace: Azure.ResourceManager.HDInsight -require: https://github.com/Azure/azure-rest-api-specs/blob/1c47c885e90f2df94d6f2a70c9caeaf9d258e485/specification/hdinsight/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/hdinsight/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/