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 570708ee7971..b30fe93357c3 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
@@ -994,6 +994,7 @@ public partial class HDInsightStorageAccountInfo
{
public HDInsightStorageAccountInfo() { }
public string Container { get { throw null; } set { } }
+ public bool? EnableSecureChannel { get { throw null; } set { } }
public string Fileshare { get { throw null; } set { } }
public string FileSystem { get { throw null; } set { } }
public bool? IsDefault { get { throw null; } set { } }
diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/ArmHDInsightModelFactory.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/ArmHDInsightModelFactory.cs
index 71aaa5d2beb4..82413a39d85f 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/ArmHDInsightModelFactory.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/ArmHDInsightModelFactory.cs
@@ -19,6 +19,49 @@ namespace Azure.ResourceManager.HDInsight.Models
/// Model factory for models.
public static partial class ArmHDInsightModelFactory
{
+ /// Initializes a new instance of HDInsightApplicationData.
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The ETag for the application.
+ /// The tags for the application.
+ /// The properties of the application.
+ /// A new instance for mocking.
+ public static HDInsightApplicationData HDInsightApplicationData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, ETag? etag = null, IDictionary tags = null, HDInsightApplicationProperties properties = null)
+ {
+ tags ??= new Dictionary();
+
+ return new HDInsightApplicationData(id, name, resourceType, systemData, etag, tags, properties);
+ }
+
+ /// Initializes a new instance of HDInsightApplicationProperties.
+ /// The list of roles in the cluster.
+ /// The list of install script actions.
+ /// The list of uninstall script actions.
+ /// The list of application HTTPS endpoints.
+ /// The list of application SSH endpoints.
+ /// The provisioning state of the application.
+ /// The application type.
+ /// The application state.
+ /// The list of errors.
+ /// The application create date time.
+ /// The marketplace identifier.
+ /// The private link configurations.
+ /// A new instance for mocking.
+ public static HDInsightApplicationProperties HDInsightApplicationProperties(IEnumerable computeRoles = null, IEnumerable installScriptActions = null, IEnumerable uninstallScriptActions = null, IEnumerable httpsEndpoints = null, IEnumerable sshEndpoints = null, string provisioningState = null, string applicationType = null, string applicationState = null, IEnumerable errors = null, DateTimeOffset? createdOn = null, string marketplaceIdentifier = null, IEnumerable privateLinkConfigurations = null)
+ {
+ computeRoles ??= new List();
+ installScriptActions ??= new List();
+ uninstallScriptActions ??= new List();
+ httpsEndpoints ??= new List();
+ sshEndpoints ??= new List();
+ errors ??= new List();
+ privateLinkConfigurations ??= new List();
+
+ return new HDInsightApplicationProperties(computeRoles != null ? new ComputeProfile(computeRoles?.ToList()) : null, installScriptActions?.ToList(), uninstallScriptActions?.ToList(), httpsEndpoints?.ToList(), sshEndpoints?.ToList(), provisioningState, applicationType, applicationState, errors?.ToList(), createdOn, marketplaceIdentifier, privateLinkConfigurations?.ToList());
+ }
+
/// Initializes a new instance of HDInsightClusterDataDiskGroup.
/// The number of disks per node.
/// ReadOnly. The storage account type. Do not set this value.
@@ -29,6 +72,36 @@ public static HDInsightClusterDataDiskGroup HDInsightClusterDataDiskGroup(int? d
return new HDInsightClusterDataDiskGroup(disksPerNode, storageAccountType, diskSizeInGB);
}
+ /// Initializes a new instance of RuntimeScriptAction.
+ /// The name of the script action.
+ /// The URI to the script.
+ /// The parameters for the script.
+ /// The list of roles where script will be executed.
+ /// The application name of the script action, if any.
+ /// A new instance for mocking.
+ public static RuntimeScriptAction RuntimeScriptAction(string name = null, Uri uri = null, string parameters = null, IEnumerable roles = null, string applicationName = null)
+ {
+ roles ??= new List();
+
+ return new RuntimeScriptAction(name, uri, parameters, roles?.ToList(), applicationName);
+ }
+
+ /// Initializes a new instance of HDInsightApplicationHttpsEndpoint.
+ /// The list of access modes for the application.
+ /// The location of the endpoint.
+ /// The destination port to connect to.
+ /// The public port to connect to.
+ /// The private ip address of the endpoint.
+ /// The subdomain suffix of the application.
+ /// The value indicates whether to disable GatewayAuth.
+ /// A new instance for mocking.
+ public static HDInsightApplicationHttpsEndpoint HDInsightApplicationHttpsEndpoint(IEnumerable accessModes = null, string endpointLocation = null, int? destinationPort = null, int? publicPort = null, IPAddress privateIPAddress = null, string subDomainSuffix = null, bool? disableGatewayAuth = null)
+ {
+ accessModes ??= new List();
+
+ return new HDInsightApplicationHttpsEndpoint(accessModes?.ToList(), endpointLocation, destinationPort, publicPort, privateIPAddress, subDomainSuffix, disableGatewayAuth);
+ }
+
/// Initializes a new instance of HDInsightPrivateLinkConfiguration.
/// The private link configuration id.
/// The name of private link configuration.
@@ -59,6 +132,15 @@ public static HDInsightIPConfiguration HDInsightIPConfiguration(ResourceIdentifi
return new HDInsightIPConfiguration(id, name, resourceType, provisioningState, isPrimary, privateIPAddress, privateIPAllocationMethod, subnetId != null ? ResourceManagerModelFactory.WritableSubResource(subnetId) : null);
}
+ /// Initializes a new instance of HDInsightAsyncOperationResult.
+ /// The async operation state.
+ /// The operation error information.
+ /// A new instance for mocking.
+ public static HDInsightAsyncOperationResult HDInsightAsyncOperationResult(HDInsightAsyncOperationState? status = null, ResponseError error = null)
+ {
+ return new HDInsightAsyncOperationResult(status, error);
+ }
+
/// Initializes a new instance of HDInsightClusterData.
/// The id.
/// The name.
@@ -132,86 +214,33 @@ public static HDInsightPrivateEndpointConnectionData HDInsightPrivateEndpointCon
return new HDInsightPrivateEndpointConnectionData(id, name, resourceType, systemData, privateEndpointId != null ? ResourceManagerModelFactory.SubResource(privateEndpointId) : null, connectionState, linkIdentifier, provisioningState);
}
- /// Initializes a new instance of HDInsightAsyncOperationResult.
- /// The async operation state.
- /// The operation error information.
- /// A new instance for mocking.
- public static HDInsightAsyncOperationResult HDInsightAsyncOperationResult(HDInsightAsyncOperationState? status = null, ResponseError error = null)
- {
- return new HDInsightAsyncOperationResult(status, error);
- }
-
- /// Initializes a new instance of HDInsightApplicationData.
- /// The id.
- /// The name.
- /// The resourceType.
- /// The systemData.
- /// The ETag for the application.
- /// The tags for the application.
- /// The properties of the application.
- /// A new instance for mocking.
- public static HDInsightApplicationData HDInsightApplicationData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, ETag? etag = null, IDictionary tags = null, HDInsightApplicationProperties properties = null)
- {
- tags ??= new Dictionary();
-
- return new HDInsightApplicationData(id, name, resourceType, systemData, etag, tags, properties);
- }
-
- /// Initializes a new instance of HDInsightApplicationProperties.
- /// The list of roles in the cluster.
- /// The list of install script actions.
- /// The list of uninstall script actions.
- /// The list of application HTTPS endpoints.
- /// The list of application SSH endpoints.
- /// The provisioning state of the application.
- /// The application type.
- /// The application state.
- /// The list of errors.
- /// The application create date time.
- /// The marketplace identifier.
- /// The private link configurations.
- /// A new instance for mocking.
- public static HDInsightApplicationProperties HDInsightApplicationProperties(IEnumerable computeRoles = null, IEnumerable installScriptActions = null, IEnumerable uninstallScriptActions = null, IEnumerable httpsEndpoints = null, IEnumerable sshEndpoints = null, string provisioningState = null, string applicationType = null, string applicationState = null, IEnumerable errors = null, DateTimeOffset? createdOn = null, string marketplaceIdentifier = null, IEnumerable privateLinkConfigurations = null)
+ /// Initializes a new instance of HDInsightClusterConfigurations.
+ /// The configuration object for the specified configuration for the specified cluster.
+ /// A new instance for mocking.
+ public static HDInsightClusterConfigurations HDInsightClusterConfigurations(IReadOnlyDictionary> configurations = null)
{
- computeRoles ??= new List();
- installScriptActions ??= new List();
- uninstallScriptActions ??= new List();
- httpsEndpoints ??= new List();
- sshEndpoints ??= new List();
- errors ??= new List();
- privateLinkConfigurations ??= new List();
+ configurations ??= new Dictionary>();
- return new HDInsightApplicationProperties(computeRoles != null ? new ComputeProfile(computeRoles?.ToList()) : null, installScriptActions?.ToList(), uninstallScriptActions?.ToList(), httpsEndpoints?.ToList(), sshEndpoints?.ToList(), provisioningState, applicationType, applicationState, errors?.ToList(), createdOn, marketplaceIdentifier, privateLinkConfigurations?.ToList());
+ return new HDInsightClusterConfigurations(configurations);
}
- /// Initializes a new instance of RuntimeScriptAction.
- /// The name of the script action.
- /// The URI to the script.
- /// The parameters for the script.
- /// The list of roles where script will be executed.
- /// The application name of the script action, if any.
- /// A new instance for mocking.
- public static RuntimeScriptAction RuntimeScriptAction(string name = null, Uri uri = null, string parameters = null, IEnumerable roles = null, string applicationName = null)
+ /// Initializes a new instance of HDInsightClusterExtensionStatus.
+ /// The status of the monitor on the HDInsight cluster.
+ /// The workspace ID of the monitor on the HDInsight cluster.
+ /// A new instance for mocking.
+ public static HDInsightClusterExtensionStatus HDInsightClusterExtensionStatus(bool? isClusterMonitoringEnabled = null, string workspaceId = null)
{
- roles ??= new List();
-
- return new RuntimeScriptAction(name, uri, parameters, roles?.ToList(), applicationName);
+ return new HDInsightClusterExtensionStatus(isClusterMonitoringEnabled, workspaceId);
}
- /// Initializes a new instance of HDInsightApplicationHttpsEndpoint.
- /// The list of access modes for the application.
- /// The location of the endpoint.
- /// The destination port to connect to.
- /// The public port to connect to.
- /// The private ip address of the endpoint.
- /// The subdomain suffix of the application.
- /// The value indicates whether to disable GatewayAuth.
- /// A new instance for mocking.
- public static HDInsightApplicationHttpsEndpoint HDInsightApplicationHttpsEndpoint(IEnumerable accessModes = null, string endpointLocation = null, int? destinationPort = null, int? publicPort = null, IPAddress privateIPAddress = null, string subDomainSuffix = null, bool? disableGatewayAuth = null)
+ /// Initializes a new instance of HDInsightAzureMonitorExtensionStatus.
+ /// The status of the monitor on the HDInsight cluster.
+ /// The workspace ID of the monitor on the HDInsight cluster.
+ /// The selected configurations.
+ /// A new instance for mocking.
+ public static HDInsightAzureMonitorExtensionStatus HDInsightAzureMonitorExtensionStatus(bool? isClusterMonitoringEnabled = null, string workspaceId = null, HDInsightAzureMonitorSelectedConfigurations selectedConfigurations = null)
{
- accessModes ??= new List();
-
- return new HDInsightApplicationHttpsEndpoint(accessModes?.ToList(), endpointLocation, destinationPort, publicPort, privateIPAddress, subDomainSuffix, disableGatewayAuth);
+ return new HDInsightAzureMonitorExtensionStatus(isClusterMonitoringEnabled, workspaceId, selectedConfigurations);
}
/// Initializes a new instance of HDInsightCapabilitiesResult.
@@ -447,33 +476,21 @@ public static HDInsightClusterAaddsDetail HDInsightClusterAaddsDetail(string dom
return new HDInsightClusterAaddsDetail(domainName, isInitialSyncComplete, isLdapsEnabled, ldapsPublicCertificateInBase64, resourceId, subnetId, tenantId);
}
- /// Initializes a new instance of HDInsightClusterConfigurations.
- /// The configuration object for the specified configuration for the specified cluster.
- /// A new instance for mocking.
- public static HDInsightClusterConfigurations HDInsightClusterConfigurations(IReadOnlyDictionary> configurations = null)
- {
- configurations ??= new Dictionary>();
-
- return new HDInsightClusterConfigurations(configurations);
- }
-
- /// Initializes a new instance of HDInsightClusterExtensionStatus.
- /// The status of the monitor on the HDInsight cluster.
- /// The workspace ID of the monitor on the HDInsight cluster.
- /// A new instance for mocking.
- public static HDInsightClusterExtensionStatus HDInsightClusterExtensionStatus(bool? isClusterMonitoringEnabled = null, string workspaceId = null)
+ /// Initializes a new instance of HDInsightPrivateLinkResourceData.
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The private link resource group id.
+ /// The private link resource required member names.
+ /// The private link resource Private link DNS zone name.
+ /// A new instance for mocking.
+ public static HDInsightPrivateLinkResourceData HDInsightPrivateLinkResourceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string groupId = null, IEnumerable requiredMembers = null, IEnumerable requiredZoneNames = null)
{
- return new HDInsightClusterExtensionStatus(isClusterMonitoringEnabled, workspaceId);
- }
+ requiredMembers ??= new List();
+ requiredZoneNames ??= new List();
- /// Initializes a new instance of HDInsightAzureMonitorExtensionStatus.
- /// The status of the monitor on the HDInsight cluster.
- /// The workspace ID of the monitor on the HDInsight cluster.
- /// The selected configurations.
- /// A new instance for mocking.
- public static HDInsightAzureMonitorExtensionStatus HDInsightAzureMonitorExtensionStatus(bool? isClusterMonitoringEnabled = null, string workspaceId = null, HDInsightAzureMonitorSelectedConfigurations selectedConfigurations = null)
- {
- return new HDInsightAzureMonitorExtensionStatus(isClusterMonitoringEnabled, workspaceId, selectedConfigurations);
+ return new HDInsightPrivateLinkResourceData(id, name, resourceType, systemData, groupId, requiredMembers?.ToList(), requiredZoneNames?.ToList());
}
/// Initializes a new instance of RuntimeScriptActionDetail.
@@ -516,22 +533,5 @@ public static HDInsightClusterHostInfo HDInsightClusterHostInfo(string name = nu
{
return new HDInsightClusterHostInfo(name, fqdn, effectiveDiskEncryptionKeyUri);
}
-
- /// Initializes a new instance of HDInsightPrivateLinkResourceData.
- /// The id.
- /// The name.
- /// The resourceType.
- /// The systemData.
- /// The private link resource group id.
- /// The private link resource required member names.
- /// The private link resource Private link DNS zone name.
- /// A new instance for mocking.
- public static HDInsightPrivateLinkResourceData HDInsightPrivateLinkResourceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string groupId = null, IEnumerable requiredMembers = null, IEnumerable requiredZoneNames = null)
- {
- requiredMembers ??= new List();
- requiredZoneNames ??= new List();
-
- return new HDInsightPrivateLinkResourceData(id, name, resourceType, systemData, groupId, requiredMembers?.ToList(), requiredZoneNames?.ToList());
- }
}
}
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 a325db9259c7..cd9ce4463aac 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/HDInsightExtensions.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Extensions/HDInsightExtensions.cs
@@ -50,39 +50,39 @@ private static SubscriptionResourceExtensionClient GetSubscriptionResourceExtens
return new SubscriptionResourceExtensionClient(client, scope);
});
}
- #region HDInsightClusterResource
+ #region HDInsightApplicationResource
///
- /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
- /// You can use to create a from its components.
+ /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
+ /// You can use to create a from its components.
///
/// The instance the method will execute against.
/// The resource ID of the resource to get.
- /// Returns a object.
- public static HDInsightClusterResource GetHDInsightClusterResource(this ArmClient client, ResourceIdentifier id)
+ /// Returns a object.
+ public static HDInsightApplicationResource GetHDInsightApplicationResource(this ArmClient client, ResourceIdentifier id)
{
return client.GetResourceClient(() =>
{
- HDInsightClusterResource.ValidateResourceId(id);
- return new HDInsightClusterResource(client, id);
+ HDInsightApplicationResource.ValidateResourceId(id);
+ return new HDInsightApplicationResource(client, id);
}
);
}
#endregion
- #region HDInsightApplicationResource
+ #region HDInsightClusterResource
///
- /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
- /// You can use to create a from its components.
+ /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
+ /// You can use to create a from its components.
///
/// The instance the method will execute against.
/// The resource ID of the resource to get.
- /// Returns a object.
- public static HDInsightApplicationResource GetHDInsightApplicationResource(this ArmClient client, ResourceIdentifier id)
+ /// Returns a object.
+ public static HDInsightClusterResource GetHDInsightClusterResource(this ArmClient client, ResourceIdentifier id)
{
return client.GetResourceClient(() =>
{
- HDInsightApplicationResource.ValidateResourceId(id);
- return new HDInsightApplicationResource(client, id);
+ HDInsightClusterResource.ValidateResourceId(id);
+ return new HDInsightClusterResource(client, id);
}
);
}
diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightStorageAccountInfo.Serialization.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightStorageAccountInfo.Serialization.cs
index 301267f9a7c8..b8aff0c6ef5c 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightStorageAccountInfo.Serialization.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightStorageAccountInfo.Serialization.cs
@@ -74,6 +74,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
writer.WritePropertyName("fileshare"u8);
writer.WriteStringValue(Fileshare);
}
+ if (Optional.IsDefined(EnableSecureChannel))
+ {
+ writer.WritePropertyName("enableSecureChannel"u8);
+ writer.WriteBooleanValue(EnableSecureChannel.Value);
+ }
writer.WriteEndObject();
}
@@ -92,6 +97,7 @@ internal static HDInsightStorageAccountInfo DeserializeHDInsightStorageAccountIn
Optional msiResourceId = default;
Optional saskey = default;
Optional fileshare = default;
+ Optional enableSecureChannel = default;
foreach (var property in element.EnumerateObject())
{
if (property.NameEquals("name"u8))
@@ -153,8 +159,17 @@ internal static HDInsightStorageAccountInfo DeserializeHDInsightStorageAccountIn
fileshare = property.Value.GetString();
continue;
}
+ if (property.NameEquals("enableSecureChannel"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ enableSecureChannel = property.Value.GetBoolean();
+ continue;
+ }
}
- return new HDInsightStorageAccountInfo(name.Value, Optional.ToNullable(isDefault), container.Value, fileSystem.Value, key.Value, resourceId.Value, msiResourceId.Value, saskey.Value, fileshare.Value);
+ return new HDInsightStorageAccountInfo(name.Value, Optional.ToNullable(isDefault), container.Value, fileSystem.Value, key.Value, resourceId.Value, msiResourceId.Value, saskey.Value, fileshare.Value, Optional.ToNullable(enableSecureChannel));
}
}
}
diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightStorageAccountInfo.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightStorageAccountInfo.cs
index a1ac6cd9563c..b0ca80fe7e4d 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightStorageAccountInfo.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/Models/HDInsightStorageAccountInfo.cs
@@ -27,7 +27,8 @@ public HDInsightStorageAccountInfo()
/// The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
/// The shared access signature key.
/// The file share name.
- internal HDInsightStorageAccountInfo(string name, bool? isDefault, string container, string fileSystem, string key, ResourceIdentifier resourceId, ResourceIdentifier msiResourceId, string sasKey, string fileshare)
+ /// Enable secure channel or not, it's an optional field. Default value is false when cluster version < 5.1 and true when cluster version >= 5.1 ,.
+ internal HDInsightStorageAccountInfo(string name, bool? isDefault, string container, string fileSystem, string key, ResourceIdentifier resourceId, ResourceIdentifier msiResourceId, string sasKey, string fileshare, bool? enableSecureChannel)
{
Name = name;
IsDefault = isDefault;
@@ -38,6 +39,7 @@ internal HDInsightStorageAccountInfo(string name, bool? isDefault, string contai
MsiResourceId = msiResourceId;
SasKey = sasKey;
Fileshare = fileshare;
+ EnableSecureChannel = enableSecureChannel;
}
/// The name of the storage account.
@@ -58,5 +60,7 @@ internal HDInsightStorageAccountInfo(string name, bool? isDefault, string contai
public string SasKey { get; set; }
/// The file share name.
public string Fileshare { get; set; }
+ /// Enable secure channel or not, it's an optional field. Default value is false when cluster version < 5.1 and true when cluster version >= 5.1 ,.
+ public bool? EnableSecureChannel { get; set; }
}
}
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 d4e082c17325..4de37b26751a 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ApplicationsRestOperations.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ApplicationsRestOperations.cs
@@ -33,7 +33,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 ?? "2021-06-01";
+ _apiVersion = apiVersion ?? "2023-04-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 4af091611ccc..5b70dd0751fe 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ClustersRestOperations.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ClustersRestOperations.cs
@@ -33,7 +33,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 ?? "2021-06-01";
+ _apiVersion = apiVersion ?? "2023-04-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 0762620283d3..ef09f6573202 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ConfigurationsRestOperations.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ConfigurationsRestOperations.cs
@@ -34,7 +34,7 @@ public ConfigurationsRestOperations(HttpPipeline pipeline, string applicationId,
{
_pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline));
_endpoint = endpoint ?? new Uri("https://management.azure.com");
- _apiVersion = apiVersion ?? "2021-06-01";
+ _apiVersion = apiVersion ?? "2023-04-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 7c161189c2b3..a4c18500cfc2 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ExtensionsRestOperations.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ExtensionsRestOperations.cs
@@ -33,7 +33,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 ?? "2021-06-01";
+ _apiVersion = apiVersion ?? "2023-04-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 b747d5a8a674..70743fe7262d 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/LocationsRestOperations.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/LocationsRestOperations.cs
@@ -33,7 +33,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 ?? "2021-06-01";
+ _apiVersion = apiVersion ?? "2023-04-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 85e7d903a50b..618b03c22c78 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs
@@ -33,7 +33,7 @@ public PrivateEndpointConnectionsRestOperations(HttpPipeline pipeline, string ap
{
_pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline));
_endpoint = endpoint ?? new Uri("https://management.azure.com");
- _apiVersion = apiVersion ?? "2021-06-01";
+ _apiVersion = apiVersion ?? "2023-04-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 fb89a6a0cb20..fdc2969b78ab 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs
@@ -33,7 +33,7 @@ public PrivateLinkResourcesRestOperations(HttpPipeline pipeline, string applicat
{
_pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline));
_endpoint = endpoint ?? new Uri("https://management.azure.com");
- _apiVersion = apiVersion ?? "2021-06-01";
+ _apiVersion = apiVersion ?? "2023-04-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 2bce669533df..ec51a5cdabdb 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ScriptActionsRestOperations.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ScriptActionsRestOperations.cs
@@ -33,7 +33,7 @@ public ScriptActionsRestOperations(HttpPipeline pipeline, string applicationId,
{
_pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline));
_endpoint = endpoint ?? new Uri("https://management.azure.com");
- _apiVersion = apiVersion ?? "2021-06-01";
+ _apiVersion = apiVersion ?? "2023-04-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 17217609edcc..86d6db9fc549 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ScriptExecutionHistoryRestOperations.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/ScriptExecutionHistoryRestOperations.cs
@@ -33,7 +33,7 @@ public ScriptExecutionHistoryRestOperations(HttpPipeline pipeline, string applic
{
_pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline));
_endpoint = endpoint ?? new Uri("https://management.azure.com");
- _apiVersion = apiVersion ?? "2021-06-01";
+ _apiVersion = apiVersion ?? "2023-04-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 a5a44ff90032..79903df52cd2 100644
--- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/VirtualMachinesRestOperations.cs
+++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/src/Generated/RestOperations/VirtualMachinesRestOperations.cs
@@ -34,7 +34,7 @@ public VirtualMachinesRestOperations(HttpPipeline pipeline, string applicationId
{
_pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline));
_endpoint = endpoint ?? new Uri("https://management.azure.com");
- _apiVersion = apiVersion ?? "2021-06-01";
+ _apiVersion = apiVersion ?? "2023-04-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 b2a2e2e78150..9cbcd39467bf 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/bab2f4389eb5ca73cdf366ec0a4af3f3eb6e1f6d/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
skip-csproj: true