Skip to content

Commit 78d4f78

Browse files
authored
[IotCentral] Code generated tool updated from autorest.csharp to autorest.powershell (#26765)
* Code generated tool updated from autorest.csharp to autorest.powershell. * Code generated tool updated from autorest.csharp to autorest.powershell. * remove changelog
1 parent 9522c24 commit 78d4f78

29 files changed

+2829
-2618
lines changed

src/IotCentral/IotCentral.Management.Sdk/Generated/AppsOperations.cs

Lines changed: 741 additions & 590 deletions
Large diffs are not rendered by default.

src/IotCentral/IotCentral.Management.Sdk/Generated/AppsOperationsExtensions.cs

Lines changed: 496 additions & 568 deletions
Large diffs are not rendered by default.

src/IotCentral/IotCentral.Management.Sdk/Generated/IAppsOperations.cs

Lines changed: 106 additions & 109 deletions
Large diffs are not rendered by default.
Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +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.Management.IotCentral
127
{
138
using Microsoft.Rest;
149
using Microsoft.Rest.Azure;
1510
using Models;
16-
using Newtonsoft.Json;
1711

1812
/// <summary>
19-
/// Use this API to manage IoT Central Applications in your Azure
20-
/// subscription.
13+
/// Use this API to manage IoT Central Applications in your Azure subscription.
2114
/// </summary>
22-
public partial interface IIotCentralClient : System.IDisposable
15+
public partial interface IIotCentralClient : System.IDisposable
2316
{
2417
/// <summary>
2518
/// The base URI of the service.
@@ -29,56 +22,61 @@ public partial interface IIotCentralClient : System.IDisposable
2922
/// <summary>
3023
/// Gets or sets json serialization settings.
3124
/// </summary>
32-
JsonSerializerSettings SerializationSettings { get; }
25+
Newtonsoft.Json.JsonSerializerSettings SerializationSettings { get; }
3326

3427
/// <summary>
3528
/// Gets or sets json deserialization settings.
3629
/// </summary>
37-
JsonSerializerSettings DeserializationSettings { get; }
30+
Newtonsoft.Json.JsonSerializerSettings DeserializationSettings { get; }
3831

3932
/// <summary>
4033
/// Credentials needed for the client to connect to Azure.
4134
/// </summary>
42-
ServiceClientCredentials Credentials { get; }
35+
Microsoft.Rest.ServiceClientCredentials Credentials { get;}
36+
4337

4438
/// <summary>
45-
/// The subscription identifier.
39+
/// The API version to use for this operation.
4640
/// </summary>
47-
string SubscriptionId { get; set; }
41+
string ApiVersion { get;}
42+
4843

4944
/// <summary>
50-
/// The version of the API.
45+
/// The subscription identifier.
5146
/// </summary>
52-
string ApiVersion { get; }
47+
string SubscriptionId { get; set;}
48+
5349

5450
/// <summary>
5551
/// The preferred language for the response.
5652
/// </summary>
57-
string AcceptLanguage { get; set; }
53+
string AcceptLanguage { get; set;}
54+
5855

5956
/// <summary>
6057
/// The retry timeout in seconds for Long Running Operations. Default
61-
/// value is 30.
58+
/// /// value is 30.
6259
/// </summary>
63-
int? LongRunningOperationRetryTimeout { get; set; }
60+
int? LongRunningOperationRetryTimeout { get; set;}
61+
6462

6563
/// <summary>
6664
/// Whether a unique x-ms-client-request-id should be generated. When
67-
/// set to true a unique x-ms-client-request-id value is generated and
68-
/// included in each request. Default is true.
65+
/// /// set to true a unique x-ms-client-request-id value is generated and
66+
/// /// included in each request. Default is true.
6967
/// </summary>
70-
bool? GenerateClientRequestId { get; set; }
68+
bool? GenerateClientRequestId { get; set;}
7169

7270

7371
/// <summary>
74-
/// Gets the IAppsOperations.
72+
/// Gets the IAppsOperations
7573
/// </summary>
7674
IAppsOperations Apps { get; }
7775

7876
/// <summary>
79-
/// Gets the IOperations.
77+
/// Gets the IOperations
8078
/// </summary>
8179
IOperations Operations { get; }
8280

8381
}
84-
}
82+
}
Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,24 @@
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.Management.IotCentral
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
/// Operations operations.
2313
/// </summary>
2414
public partial interface IOperations
2515
{
2616
/// <summary>
27-
/// Lists all of the available IoT Central Resource Provider
28-
/// operations.
17+
/// Lists all of the available IoT Central Resource Provider operations.
2918
/// </summary>
19+
/// <remarks>
20+
/// Lists all of the available IoT Central Resource Provider operations.
21+
/// </remarks>
3022
/// <param name='customHeaders'>
3123
/// The headers that will be added to request.
3224
/// </param>
@@ -39,14 +31,14 @@ public partial interface IOperations
3931
/// <exception cref="Microsoft.Rest.SerializationException">
4032
/// Thrown when unable to deserialize the response
4133
/// </exception>
42-
/// <exception cref="Microsoft.Rest.ValidationException">
43-
/// Thrown when a required parameter is null
44-
/// </exception>
45-
Task<AzureOperationResponse<IPage<Operation>>> ListWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
34+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Operation>>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
35+
4636
/// <summary>
47-
/// Lists all of the available IoT Central Resource Provider
48-
/// operations.
37+
/// Lists all of the available IoT Central Resource Provider operations.
4938
/// </summary>
39+
/// <remarks>
40+
/// Lists all of the available IoT Central Resource Provider operations.
41+
/// </remarks>
5042
/// <param name='nextPageLink'>
5143
/// The NextLink from the previous successful call to List operation.
5244
/// </param>
@@ -62,9 +54,7 @@ public partial interface IOperations
6254
/// <exception cref="Microsoft.Rest.SerializationException">
6355
/// Thrown when unable to deserialize the response
6456
/// </exception>
65-
/// <exception cref="Microsoft.Rest.ValidationException">
66-
/// Thrown when a required parameter is null
67-
/// </exception>
68-
Task<AzureOperationResponse<IPage<Operation>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
57+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Operation>>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
58+
6959
}
70-
}
60+
}

0 commit comments

Comments
 (0)