Skip to content

Commit 95897f5

Browse files
authored
[SSH] Update ssh.helper generated code (#27222)
1 parent 25dc8c6 commit 95897f5

File tree

418 files changed

+20504
-16349
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

418 files changed

+20504
-16349
lines changed

src/Ssh/Ssh.Helpers/Compute/ComputeManagementClient.cs

Lines changed: 84 additions & 102 deletions
Large diffs are not rendered by default.
Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
1-
// <auto-generated>
21
// Copyright (c) Microsoft Corporation. All rights reserved.
3-
// Licensed under the MIT License. See License.txt in the project root for
4-
// license information.
5-
//
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
63
// Code generated by Microsoft (R) AutoRest Code Generator.
7-
// Changes may cause incorrect behavior and will be lost if the code is
8-
// regenerated.
9-
// </auto-generated>
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
105

116
namespace Microsoft.Azure.PowerShell.Ssh.Helpers.Compute
127
{
138
using Microsoft.Rest;
149
using Microsoft.Rest.Azure;
1510
using Models;
16-
using Newtonsoft.Json;
1711

1812
/// <summary>
1913
/// The Compute Management Client.
2014
/// </summary>
21-
public partial interface IComputeManagementClient : System.IDisposable
15+
public partial interface IComputeManagementClient : System.IDisposable
2216
{
2317
/// <summary>
2418
/// The base URI of the service.
@@ -28,53 +22,58 @@ public partial interface IComputeManagementClient : System.IDisposable
2822
/// <summary>
2923
/// Gets or sets json serialization settings.
3024
/// </summary>
31-
JsonSerializerSettings SerializationSettings { get; }
25+
Newtonsoft.Json.JsonSerializerSettings SerializationSettings { get; }
3226

3327
/// <summary>
3428
/// Gets or sets json deserialization settings.
3529
/// </summary>
36-
JsonSerializerSettings DeserializationSettings { get; }
30+
Newtonsoft.Json.JsonSerializerSettings DeserializationSettings { get; }
3731

3832
/// <summary>
3933
/// Credentials needed for the client to connect to Azure.
4034
/// </summary>
41-
ServiceClientCredentials Credentials { get; }
35+
Microsoft.Rest.ServiceClientCredentials Credentials { get;}
36+
4237

4338
/// <summary>
44-
/// Subscription credentials which uniquely identify Microsoft Azure
45-
/// subscription. The subscription ID forms part of the URI for every
46-
/// service call.
39+
/// The API version to use for this operation.
4740
/// </summary>
48-
string SubscriptionId { get; set; }
41+
string ApiVersion { get;}
42+
4943

5044
/// <summary>
51-
/// Client Api Version.
45+
/// Subscription credentials which uniquely identify Microsoft Azure
46+
/// subscription. The subscription ID forms part of the URI for every service
47+
/// call.
5248
/// </summary>
53-
string ApiVersion { get; }
49+
string SubscriptionId { get; set;}
50+
5451

5552
/// <summary>
5653
/// The preferred language for the response.
5754
/// </summary>
58-
string AcceptLanguage { get; set; }
55+
string AcceptLanguage { get; set;}
56+
5957

6058
/// <summary>
6159
/// The retry timeout in seconds for Long Running Operations. Default
62-
/// value is 30.
60+
/// /// value is 30.
6361
/// </summary>
64-
int? LongRunningOperationRetryTimeout { get; set; }
62+
int? LongRunningOperationRetryTimeout { get; set;}
63+
6564

6665
/// <summary>
6766
/// Whether a unique x-ms-client-request-id should be generated. When
68-
/// set to true a unique x-ms-client-request-id value is generated and
69-
/// included in each request. Default is true.
67+
/// /// set to true a unique x-ms-client-request-id value is generated and
68+
/// /// included in each request. Default is true.
7069
/// </summary>
71-
bool? GenerateClientRequestId { get; set; }
70+
bool? GenerateClientRequestId { get; set;}
7271

7372

7473
/// <summary>
75-
/// Gets the IVirtualMachinesOperations.
74+
/// Gets the IVirtualMachinesOperations
7675
/// </summary>
7776
IVirtualMachinesOperations VirtualMachines { get; }
7877

7978
}
80-
}
79+
}
Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,38 @@
1-
// <auto-generated>
21
// Copyright (c) Microsoft Corporation. All rights reserved.
3-
// Licensed under the MIT License. See License.txt in the project root for
4-
// license information.
5-
//
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
63
// Code generated by Microsoft (R) AutoRest Code Generator.
7-
// Changes may cause incorrect behavior and will be lost if the code is
8-
// regenerated.
9-
// </auto-generated>
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
105

116
namespace Microsoft.Azure.PowerShell.Ssh.Helpers.Compute
127
{
13-
using Microsoft.Rest;
148
using Microsoft.Rest.Azure;
159
using Models;
16-
using System.Collections;
17-
using System.Collections.Generic;
18-
using System.Threading;
19-
using System.Threading.Tasks;
2010

2111
/// <summary>
2212
/// VirtualMachinesOperations operations.
2313
/// </summary>
2414
public partial interface IVirtualMachinesOperations
2515
{
2616
/// <summary>
27-
/// Retrieves information about the model view or the instance view of
28-
/// a virtual machine.
17+
/// Retrieves information about the model view or the instance view of a
18+
/// virtual machine.
2919
/// </summary>
20+
/// <remarks>
21+
/// Retrieves information about the model view or the instance view of a
22+
/// virtual machine.
23+
/// </remarks>
3024
/// <param name='resourceGroupName'>
3125
/// The name of the resource group.
3226
/// </param>
3327
/// <param name='vmName'>
3428
/// The name of the virtual machine.
3529
/// </param>
3630
/// <param name='expand'>
37-
/// The expand expression to apply on the operation. 'InstanceView'
38-
/// retrieves a snapshot of the runtime properties of the virtual
39-
/// machine that is managed by the platform and can change outside of
40-
/// control plane operations. 'UserData' retrieves the UserData
41-
/// property as part of the VM model view that was provided by the user
42-
/// during the VM Create/Update operation. Possible values include:
43-
/// 'instanceView', 'userData'
31+
/// The expand expression to apply on the operation. &#39;InstanceView&#39; retrieves a
32+
/// snapshot of the runtime properties of the virtual machine that is managed
33+
/// by the platform and can change outside of control plane operations.
34+
/// &#39;UserData&#39; retrieves the UserData property as part of the VM model view
35+
/// that was provided by the user during the VM Create/Update operation.
4436
/// </param>
4537
/// <param name='customHeaders'>
4638
/// The headers that will be added to request.
@@ -54,9 +46,7 @@ public partial interface IVirtualMachinesOperations
5446
/// <exception cref="Microsoft.Rest.SerializationException">
5547
/// Thrown when unable to deserialize the response
5648
/// </exception>
57-
/// <exception cref="Microsoft.Rest.ValidationException">
58-
/// Thrown when a required parameter is null
59-
/// </exception>
60-
Task<AzureOperationResponse<VirtualMachine>> GetWithHttpMessagesAsync(string resourceGroupName, string vmName, InstanceViewTypes? expand = default(InstanceViewTypes?), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
49+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<VirtualMachine>> GetWithHttpMessagesAsync(string resourceGroupName, string vmName, InstanceViewTypes? expand = default(InstanceViewTypes?), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
50+
6151
}
62-
}
52+
}
Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
1-
// <auto-generated>
21
// Copyright (c) Microsoft Corporation. All rights reserved.
3-
// Licensed under the MIT License. See License.txt in the project root for
4-
// license information.
5-
//
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
63
// Code generated by Microsoft (R) AutoRest Code Generator.
7-
// Changes may cause incorrect behavior and will be lost if the code is
8-
// regenerated.
9-
// </auto-generated>
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
105

116
namespace Microsoft.Azure.PowerShell.Ssh.Helpers.Compute.Models
127
{
13-
using Newtonsoft.Json;
148
using System.Linq;
159

1610
/// <summary>
17-
/// Enables or disables a capability on the virtual machine or virtual
18-
/// machine scale set.
11+
/// Enables or disables a capability on the virtual machine or virtual machine
12+
/// scale set.
1913
/// </summary>
2014
public partial class AdditionalCapabilities
2115
{
@@ -30,17 +24,21 @@ public AdditionalCapabilities()
3024
/// <summary>
3125
/// Initializes a new instance of the AdditionalCapabilities class.
3226
/// </summary>
33-
/// <param name="ultraSSDEnabled">The flag that enables or disables a
34-
/// capability to have one or more managed data disks with UltraSSD_LRS
35-
/// storage account type on the VM or VMSS. Managed disks with storage
36-
/// account type UltraSSD_LRS can be added to a virtual machine or
37-
/// virtual machine scale set only if this property is enabled.</param>
38-
/// <param name="hibernationEnabled">The flag that enables or disables
39-
/// hibernation capability on the VM.</param>
40-
public AdditionalCapabilities(bool? ultraSSDEnabled = default(bool?), bool? hibernationEnabled = default(bool?))
27+
28+
/// <param name="ultraSsdEnabled">The flag that enables or disables a capability to have one or more managed
29+
/// data disks with UltraSSD_LRS storage account type on the VM or VMSS.
30+
/// Managed disks with storage account type UltraSSD_LRS can be added to a
31+
/// virtual machine or virtual machine scale set only if this property is
32+
/// enabled.
33+
/// </param>
34+
35+
/// <param name="hibernationEnabled">The flag that enables or disables hibernation capability on the VM.
36+
/// </param>
37+
public AdditionalCapabilities(bool? ultraSsdEnabled = default(bool?), bool? hibernationEnabled = default(bool?))
38+
4139
{
42-
UltraSSDEnabled = ultraSSDEnabled;
43-
HibernationEnabled = hibernationEnabled;
40+
this.UltraSsdEnabled = ultraSsdEnabled;
41+
this.HibernationEnabled = hibernationEnabled;
4442
CustomInit();
4543
}
4644

@@ -49,22 +47,22 @@ public AdditionalCapabilities()
4947
/// </summary>
5048
partial void CustomInit();
5149

50+
5251
/// <summary>
53-
/// Gets or sets the flag that enables or disables a capability to have
54-
/// one or more managed data disks with UltraSSD_LRS storage account
55-
/// type on the VM or VMSS. Managed disks with storage account type
56-
/// UltraSSD_LRS can be added to a virtual machine or virtual machine
57-
/// scale set only if this property is enabled.
52+
/// Gets or sets the flag that enables or disables a capability to have one or
53+
/// more managed data disks with UltraSSD_LRS storage account type on the VM or
54+
/// VMSS. Managed disks with storage account type UltraSSD_LRS can be added to
55+
/// a virtual machine or virtual machine scale set only if this property is
56+
/// enabled.
5857
/// </summary>
59-
[JsonProperty(PropertyName = "ultraSSDEnabled")]
60-
public bool? UltraSSDEnabled { get; set; }
58+
[Newtonsoft.Json.JsonProperty(PropertyName = "ultraSSDEnabled")]
59+
public bool? UltraSsdEnabled {get; set; }
6160

6261
/// <summary>
63-
/// Gets or sets the flag that enables or disables hibernation
64-
/// capability on the VM.
62+
/// Gets or sets the flag that enables or disables hibernation capability on
63+
/// the VM.
6564
/// </summary>
66-
[JsonProperty(PropertyName = "hibernationEnabled")]
67-
public bool? HibernationEnabled { get; set; }
68-
65+
[Newtonsoft.Json.JsonProperty(PropertyName = "hibernationEnabled")]
66+
public bool? HibernationEnabled {get; set; }
6967
}
70-
}
68+
}

0 commit comments

Comments
 (0)