Skip to content

Commit 4c37d3a

Browse files
authored
Use autorest.powershell to generate management SDK for keyvault (#22374)
* Use autorest.powershell to generate management SDK for keyvault * Skip generated SDK check for Az.keyvault since it is geneated with autorest.powershell
1 parent 71558d0 commit 4c37d3a

File tree

110 files changed

+7432
-7066
lines changed

Some content is hidden

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

110 files changed

+7432
-7066
lines changed
Lines changed: 30 additions & 34 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.KeyVault
127
{
138
using Microsoft.Rest;
149
using Microsoft.Rest.Azure;
1510
using Models;
16-
using Newtonsoft.Json;
1711

1812
/// <summary>
19-
/// The Azure management API provides a RESTful set of web services that
20-
/// interact with Azure Key Vault.
13+
/// The Azure management API provides a RESTful set of web services that interact with Azure Key Vault.
2114
/// </summary>
22-
public partial interface IKeyVaultManagementClient : System.IDisposable
15+
public partial interface IKeyVaultManagementClient : System.IDisposable
2316
{
2417
/// <summary>
2518
/// The base URI of the service.
@@ -29,78 +22,81 @@ public partial interface IKeyVaultManagementClient : 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-
/// Subscription credentials which uniquely identify Microsoft Azure
46-
/// subscription. The subscription ID forms part of the URI for every
47-
/// service call.
39+
/// The API version to use for this operation.
4840
/// </summary>
49-
string SubscriptionId { get; set; }
41+
string ApiVersion { get;}
42+
5043

5144
/// <summary>
52-
/// Client Api Version.
45+
/// Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
5346
/// </summary>
54-
string ApiVersion { get; }
47+
string SubscriptionId { get; set;}
48+
5549

5650
/// <summary>
5751
/// The preferred language for the response.
5852
/// </summary>
59-
string AcceptLanguage { get; set; }
53+
string AcceptLanguage { get; set;}
54+
6055

6156
/// <summary>
6257
/// The retry timeout in seconds for Long Running Operations. Default
6358
/// value is 30.
6459
/// </summary>
65-
int? LongRunningOperationRetryTimeout { get; set; }
60+
int? LongRunningOperationRetryTimeout { get; set;}
61+
6662

6763
/// <summary>
68-
/// Whether a unique x-ms-client-request-id should be generated. When
69-
/// set to true a unique x-ms-client-request-id value is generated and
64+
/// Whether a unique x-ms-client-request-id should be generated. When
65+
/// set to true a unique x-ms-client-request-id value is generated and
7066
/// included in each request. Default is true.
7167
/// </summary>
72-
bool? GenerateClientRequestId { get; set; }
68+
bool? GenerateClientRequestId { get; set;}
7369

7470

7571
/// <summary>
76-
/// Gets the IVaultsOperations.
72+
/// Gets the IVaultsOperations
7773
/// </summary>
7874
IVaultsOperations Vaults { get; }
7975

8076
/// <summary>
81-
/// Gets the IPrivateEndpointConnectionsOperations.
77+
/// Gets the IPrivateEndpointConnectionsOperations
8278
/// </summary>
8379
IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; }
8480

8581
/// <summary>
86-
/// Gets the IPrivateLinkResourcesOperations.
82+
/// Gets the IPrivateLinkResourcesOperations
8783
/// </summary>
8884
IPrivateLinkResourcesOperations PrivateLinkResources { get; }
8985

9086
/// <summary>
91-
/// Gets the IManagedHsmsOperations.
87+
/// Gets the IManagedHsmsOperations
9288
/// </summary>
9389
IManagedHsmsOperations ManagedHsms { get; }
9490

9591
/// <summary>
96-
/// Gets the IMHSMPrivateEndpointConnectionsOperations.
92+
/// Gets the IMhsmPrivateEndpointConnectionsOperations
9793
/// </summary>
98-
IMHSMPrivateEndpointConnectionsOperations MHSMPrivateEndpointConnections { get; }
94+
IMhsmPrivateEndpointConnectionsOperations MhsmPrivateEndpointConnections { get; }
9995

10096
/// <summary>
101-
/// Gets the IMHSMPrivateLinkResourcesOperations.
97+
/// Gets the IMhsmPrivateLinkResourcesOperations
10298
/// </summary>
103-
IMHSMPrivateLinkResourcesOperations MHSMPrivateLinkResources { get; }
99+
IMhsmPrivateLinkResourcesOperations MhsmPrivateLinkResources { get; }
104100

105101
}
106-
}
102+
}
Lines changed: 48 additions & 62 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.KeyVault
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>
22-
/// MHSMPrivateEndpointConnectionsOperations operations.
12+
/// MhsmPrivateEndpointConnectionsOperations operations.
2313
/// </summary>
24-
public partial interface IMHSMPrivateEndpointConnectionsOperations
14+
public partial interface IMhsmPrivateEndpointConnectionsOperations
2515
{
2616
/// <summary>
27-
/// The List operation gets information about the private endpoint
28-
/// connections associated with the managed HSM Pool.
17+
/// The List operation gets information about the private endpoint connections associated with the managed HSM Pool.
2918
/// </summary>
19+
/// <remarks>
20+
/// The List operation gets information about the private endpoint connections associated with the managed HSM Pool.
21+
/// </remarks>
3022
/// <param name='resourceGroupName'>
3123
/// Name of the resource group that contains the managed HSM pool.
3224
/// </param>
@@ -39,59 +31,57 @@ public partial interface IMHSMPrivateEndpointConnectionsOperations
3931
/// <param name='cancellationToken'>
4032
/// The cancellation token.
4133
/// </param>
42-
/// <exception cref="ManagedHsmErrorException">
34+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
4335
/// Thrown when the operation returned an invalid status code
4436
/// </exception>
4537
/// <exception cref="Microsoft.Rest.SerializationException">
4638
/// Thrown when unable to deserialize the response
4739
/// </exception>
48-
/// <exception cref="Microsoft.Rest.ValidationException">
49-
/// Thrown when a required parameter is null
50-
/// </exception>
51-
Task<AzureOperationResponse<IPage<MHSMPrivateEndpointConnection>>> ListByResourceWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
40+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<MhsmPrivateEndpointConnection>>> ListByResourceWithHttpMessagesAsync(string resourceGroupName, string name, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
41+
5242
/// <summary>
53-
/// Gets the specified private endpoint connection associated with the
54-
/// managed HSM Pool.
43+
/// Gets the specified private endpoint connection associated with the managed HSM Pool.
5544
/// </summary>
45+
/// <remarks>
46+
/// Gets the specified private endpoint connection associated with the managed HSM Pool.
47+
/// </remarks>
5648
/// <param name='resourceGroupName'>
5749
/// Name of the resource group that contains the managed HSM pool.
5850
/// </param>
5951
/// <param name='name'>
6052
/// Name of the managed HSM Pool
6153
/// </param>
6254
/// <param name='privateEndpointConnectionName'>
63-
/// Name of the private endpoint connection associated with the managed
64-
/// hsm pool.
55+
/// Name of the private endpoint connection associated with the managed hsm pool.
6556
/// </param>
6657
/// <param name='customHeaders'>
6758
/// The headers that will be added to request.
6859
/// </param>
6960
/// <param name='cancellationToken'>
7061
/// The cancellation token.
7162
/// </param>
72-
/// <exception cref="ManagedHsmErrorException">
63+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
7364
/// Thrown when the operation returned an invalid status code
7465
/// </exception>
7566
/// <exception cref="Microsoft.Rest.SerializationException">
7667
/// Thrown when unable to deserialize the response
7768
/// </exception>
78-
/// <exception cref="Microsoft.Rest.ValidationException">
79-
/// Thrown when a required parameter is null
80-
/// </exception>
81-
Task<AzureOperationResponse<MHSMPrivateEndpointConnection>> GetWithHttpMessagesAsync(string resourceGroupName, string name, string privateEndpointConnectionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
69+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<MhsmPrivateEndpointConnection>> GetWithHttpMessagesAsync(string resourceGroupName, string name, string privateEndpointConnectionName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
70+
8271
/// <summary>
83-
/// Updates the specified private endpoint connection associated with
84-
/// the managed hsm pool.
72+
/// Updates the specified private endpoint connection associated with the managed hsm pool.
8573
/// </summary>
74+
/// <remarks>
75+
/// Updates the specified private endpoint connection associated with the managed hsm pool.
76+
/// </remarks>
8677
/// <param name='resourceGroupName'>
8778
/// Name of the resource group that contains the managed HSM pool.
8879
/// </param>
8980
/// <param name='name'>
9081
/// Name of the managed HSM Pool
9182
/// </param>
9283
/// <param name='privateEndpointConnectionName'>
93-
/// Name of the private endpoint connection associated with the managed
94-
/// hsm pool.
84+
/// Name of the private endpoint connection associated with the managed hsm pool.
9585
/// </param>
9686
/// <param name='properties'>
9787
/// The intended state of private endpoint connection.
@@ -108,23 +98,22 @@ public partial interface IMHSMPrivateEndpointConnectionsOperations
10898
/// <exception cref="Microsoft.Rest.SerializationException">
10999
/// Thrown when unable to deserialize the response
110100
/// </exception>
111-
/// <exception cref="Microsoft.Rest.ValidationException">
112-
/// Thrown when a required parameter is null
113-
/// </exception>
114-
Task<AzureOperationResponse<MHSMPrivateEndpointConnection,MHSMPrivateEndpointConnectionsPutHeaders>> PutWithHttpMessagesAsync(string resourceGroupName, string name, string privateEndpointConnectionName, MHSMPrivateEndpointConnection properties, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
101+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<MhsmPrivateEndpointConnection,MhsmPrivateEndpointConnectionsPutHeaders>> PutWithHttpMessagesAsync(string resourceGroupName, string name, string privateEndpointConnectionName, MhsmPrivateEndpointConnection properties, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
102+
115103
/// <summary>
116-
/// Deletes the specified private endpoint connection associated with
117-
/// the managed hsm pool.
104+
/// Deletes the specified private endpoint connection associated with the managed hsm pool.
118105
/// </summary>
106+
/// <remarks>
107+
/// Deletes the specified private endpoint connection associated with the managed hsm pool.
108+
/// </remarks>
119109
/// <param name='resourceGroupName'>
120110
/// Name of the resource group that contains the managed HSM pool.
121111
/// </param>
122112
/// <param name='name'>
123113
/// Name of the managed HSM Pool
124114
/// </param>
125115
/// <param name='privateEndpointConnectionName'>
126-
/// Name of the private endpoint connection associated with the managed
127-
/// hsm pool.
116+
/// Name of the private endpoint connection associated with the managed hsm pool.
128117
/// </param>
129118
/// <param name='customHeaders'>
130119
/// The headers that will be added to request.
@@ -138,23 +127,22 @@ public partial interface IMHSMPrivateEndpointConnectionsOperations
138127
/// <exception cref="Microsoft.Rest.SerializationException">
139128
/// Thrown when unable to deserialize the response
140129
/// </exception>
141-
/// <exception cref="Microsoft.Rest.ValidationException">
142-
/// Thrown when a required parameter is null
143-
/// </exception>
144-
Task<AzureOperationResponse<MHSMPrivateEndpointConnection,MHSMPrivateEndpointConnectionsDeleteHeaders>> DeleteWithHttpMessagesAsync(string resourceGroupName, string name, string privateEndpointConnectionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
130+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<MhsmPrivateEndpointConnection,MhsmPrivateEndpointConnectionsDeleteHeaders>> DeleteWithHttpMessagesAsync(string resourceGroupName, string name, string privateEndpointConnectionName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
131+
145132
/// <summary>
146-
/// Deletes the specified private endpoint connection associated with
147-
/// the managed hsm pool.
133+
/// Deletes the specified private endpoint connection associated with the managed hsm pool.
148134
/// </summary>
135+
/// <remarks>
136+
/// Deletes the specified private endpoint connection associated with the managed hsm pool.
137+
/// </remarks>
149138
/// <param name='resourceGroupName'>
150139
/// Name of the resource group that contains the managed HSM pool.
151140
/// </param>
152141
/// <param name='name'>
153142
/// Name of the managed HSM Pool
154143
/// </param>
155144
/// <param name='privateEndpointConnectionName'>
156-
/// Name of the private endpoint connection associated with the managed
157-
/// hsm pool.
145+
/// Name of the private endpoint connection associated with the managed hsm pool.
158146
/// </param>
159147
/// <param name='customHeaders'>
160148
/// The headers that will be added to request.
@@ -168,14 +156,14 @@ public partial interface IMHSMPrivateEndpointConnectionsOperations
168156
/// <exception cref="Microsoft.Rest.SerializationException">
169157
/// Thrown when unable to deserialize the response
170158
/// </exception>
171-
/// <exception cref="Microsoft.Rest.ValidationException">
172-
/// Thrown when a required parameter is null
173-
/// </exception>
174-
Task<AzureOperationResponse<MHSMPrivateEndpointConnection,MHSMPrivateEndpointConnectionsDeleteHeaders>> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string name, string privateEndpointConnectionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
159+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<MhsmPrivateEndpointConnection,MhsmPrivateEndpointConnectionsDeleteHeaders>> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string name, string privateEndpointConnectionName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
160+
175161
/// <summary>
176-
/// The List operation gets information about the private endpoint
177-
/// connections associated with the managed HSM Pool.
162+
/// The List operation gets information about the private endpoint connections associated with the managed HSM Pool.
178163
/// </summary>
164+
/// <remarks>
165+
/// The List operation gets information about the private endpoint connections associated with the managed HSM Pool.
166+
/// </remarks>
179167
/// <param name='nextPageLink'>
180168
/// The NextLink from the previous successful call to List operation.
181169
/// </param>
@@ -185,15 +173,13 @@ public partial interface IMHSMPrivateEndpointConnectionsOperations
185173
/// <param name='cancellationToken'>
186174
/// The cancellation token.
187175
/// </param>
188-
/// <exception cref="ManagedHsmErrorException">
176+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
189177
/// Thrown when the operation returned an invalid status code
190178
/// </exception>
191179
/// <exception cref="Microsoft.Rest.SerializationException">
192180
/// Thrown when unable to deserialize the response
193181
/// </exception>
194-
/// <exception cref="Microsoft.Rest.ValidationException">
195-
/// Thrown when a required parameter is null
196-
/// </exception>
197-
Task<AzureOperationResponse<IPage<MHSMPrivateEndpointConnection>>> ListByResourceNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
182+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<MhsmPrivateEndpointConnection>>> ListByResourceNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
183+
198184
}
199-
}
185+
}

0 commit comments

Comments
 (0)