Skip to content

Commit

Permalink
CodeGen from PR 12612 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Fix S360 Broken Issues][HDInsight]Fix s360 issues batch3 (Azure#12612)

* Add networkProperties and clusterId

* Add properties: VMGroupName, saskey, fileshare
Change vmSizes to vmsizes, vmSizes_filter to vmsizes_filter to fix S360
issue

* Suppress R4007 DefaultErrorResponseSchema

Co-authored-by: Zhenyu Zhou <[email protected]>
  • Loading branch information
SDKAuto and Zhenyu Zhou committed Jan 29, 2021
1 parent a697af0 commit 91a3ac0
Show file tree
Hide file tree
Showing 14 changed files with 854 additions and 33 deletions.
2 changes: 1 addition & 1 deletion sdk/hdinsight/arm-hdinsight/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2020 Microsoft
Copyright (c) 2021 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class HDInsightManagementClientContext extends msRestAzure.AzureServiceCl
if (!options) {
options = {};
}
if (!options.userAgent) {
if(!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
}
Expand All @@ -52,10 +52,10 @@ export class HDInsightManagementClientContext extends msRestAzure.AzureServiceCl
this.credentials = credentials;
this.subscriptionId = subscriptionId;

if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
this.acceptLanguage = options.acceptLanguage;
}
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
}
}
Expand Down
3 changes: 3 additions & 0 deletions sdk/hdinsight/arm-hdinsight/src/models/applicationsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export {
EncryptionInTransitProperties,
ErrorResponse,
Errors,
ExcludedServicesConfig,
HardwareProfile,
KafkaRestProperties,
LinuxOperatingSystemProfile,
Expand All @@ -48,6 +49,8 @@ export {
SecurityProfile,
SshProfile,
SshPublicKey,
StorageAccount,
StorageProfile,
TrackedResource,
VirtualNetworkProfile
} from "../models/mappers";
2 changes: 2 additions & 0 deletions sdk/hdinsight/arm-hdinsight/src/models/clustersMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export {
ApplicationGetEndpoint,
ApplicationGetHttpsEndpoint,
ApplicationProperties,
AsyncOperationResult,
Autoscale,
AutoscaleCapacity,
AutoscaleConfigurationUpdateParameter,
Expand Down Expand Up @@ -38,6 +39,7 @@ export {
EncryptionInTransitProperties,
ErrorResponse,
Errors,
ExcludedServicesConfig,
ExecuteScriptActionParameters,
GatewaySettings,
HardwareProfile,
Expand Down
Loading

0 comments on commit 91a3ac0

Please sign in to comment.