Skip to content

Commit

Permalink
[IotCentral] Code generated tool updated from autorest.csharp to auto…
Browse files Browse the repository at this point in the history
…rest.powershell (#26765)

* Code generated tool updated from autorest.csharp to autorest.powershell.

* Code generated tool updated from autorest.csharp to autorest.powershell.

* remove changelog
  • Loading branch information
lijinpei2008 authored Nov 29, 2024
1 parent 9522c24 commit 78d4f78
Show file tree
Hide file tree
Showing 29 changed files with 2,829 additions and 2,618 deletions.
1,331 changes: 741 additions & 590 deletions src/IotCentral/IotCentral.Management.Sdk/Generated/AppsOperations.cs

Large diffs are not rendered by default.

1,064 changes: 496 additions & 568 deletions src/IotCentral/IotCentral.Management.Sdk/Generated/AppsOperationsExtensions.cs

Large diffs are not rendered by default.

215 changes: 106 additions & 109 deletions src/IotCentral/IotCentral.Management.Sdk/Generated/IAppsOperations.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Microsoft.Azure.Management.IotCentral
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using Newtonsoft.Json;

/// <summary>
/// Use this API to manage IoT Central Applications in your Azure
/// subscription.
/// Use this API to manage IoT Central Applications in your Azure subscription.
/// </summary>
public partial interface IIotCentralClient : System.IDisposable
public partial interface IIotCentralClient : System.IDisposable
{
/// <summary>
/// The base URI of the service.
Expand All @@ -29,56 +22,61 @@ public partial interface IIotCentralClient : System.IDisposable
/// <summary>
/// Gets or sets json serialization settings.
/// </summary>
JsonSerializerSettings SerializationSettings { get; }
Newtonsoft.Json.JsonSerializerSettings SerializationSettings { get; }

/// <summary>
/// Gets or sets json deserialization settings.
/// </summary>
JsonSerializerSettings DeserializationSettings { get; }
Newtonsoft.Json.JsonSerializerSettings DeserializationSettings { get; }

/// <summary>
/// Credentials needed for the client to connect to Azure.
/// </summary>
ServiceClientCredentials Credentials { get; }
Microsoft.Rest.ServiceClientCredentials Credentials { get;}


/// <summary>
/// The subscription identifier.
/// The API version to use for this operation.
/// </summary>
string SubscriptionId { get; set; }
string ApiVersion { get;}


/// <summary>
/// The version of the API.
/// The subscription identifier.
/// </summary>
string ApiVersion { get; }
string SubscriptionId { get; set;}


/// <summary>
/// The preferred language for the response.
/// </summary>
string AcceptLanguage { get; set; }
string AcceptLanguage { get; set;}


/// <summary>
/// The retry timeout in seconds for Long Running Operations. Default
/// value is 30.
/// /// value is 30.
/// </summary>
int? LongRunningOperationRetryTimeout { get; set; }
int? LongRunningOperationRetryTimeout { get; set;}


/// <summary>
/// Whether a unique x-ms-client-request-id should be generated. When
/// set to true a unique x-ms-client-request-id value is generated and
/// included in each request. Default is true.
/// /// set to true a unique x-ms-client-request-id value is generated and
/// /// included in each request. Default is true.
/// </summary>
bool? GenerateClientRequestId { get; set; }
bool? GenerateClientRequestId { get; set;}


/// <summary>
/// Gets the IAppsOperations.
/// Gets the IAppsOperations
/// </summary>
IAppsOperations Apps { get; }

/// <summary>
/// Gets the IOperations.
/// Gets the IOperations
/// </summary>
IOperations Operations { get; }

}
}
}
40 changes: 15 additions & 25 deletions src/IotCentral/IotCentral.Management.Sdk/Generated/IOperations.cs
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Microsoft.Azure.Management.IotCentral
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// Operations operations.
/// </summary>
public partial interface IOperations
{
/// <summary>
/// Lists all of the available IoT Central Resource Provider
/// operations.
/// Lists all of the available IoT Central Resource Provider operations.
/// </summary>
/// <remarks>
/// Lists all of the available IoT Central Resource Provider operations.
/// </remarks>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
Expand All @@ -39,14 +31,14 @@ public partial interface IOperations
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<Operation>>> ListWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
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));

/// <summary>
/// Lists all of the available IoT Central Resource Provider
/// operations.
/// Lists all of the available IoT Central Resource Provider operations.
/// </summary>
/// <remarks>
/// Lists all of the available IoT Central Resource Provider operations.
/// </remarks>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </param>
Expand All @@ -62,9 +54,7 @@ public partial interface IOperations
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<Operation>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
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));

}
}
}
Loading

0 comments on commit 78d4f78

Please sign in to comment.