Skip to content

Commit 8ac4471

Browse files
authored
[ManagementPartner] Remove Microsoft.Azure.Management.ManagementPartner 1.1.1-preview dependencies on released track 1 sdk (#26098)
* [ManagementPartner] remove ManagementPartner 1.1.1-preview dependency and add Microsoft.Azure.PowerShell.ManagementPartner.Management.Sdk * ManagementPartner changelog
1 parent 5be1a7a commit 8ac4471

28 files changed

+3111
-17
lines changed

src/ManagementPartner/ManagementPartner.Management.Sdk/Generated/ACEProvisioningManagementPartnerAPIClient.cs

Lines changed: 344 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.ManagementPartner
7+
{
8+
using Microsoft.Rest;
9+
using Microsoft.Rest.Azure;
10+
using Models;
11+
12+
/// <summary>
13+
/// This API describe ACE Provisioning ManagementPartner
14+
/// </summary>
15+
public partial interface IACEProvisioningManagementPartnerAPIClient : System.IDisposable
16+
{
17+
/// <summary>
18+
/// The base URI of the service.
19+
/// </summary>
20+
System.Uri BaseUri { get; set; }
21+
22+
/// <summary>
23+
/// Gets or sets json serialization settings.
24+
/// </summary>
25+
Newtonsoft.Json.JsonSerializerSettings SerializationSettings { get; }
26+
27+
/// <summary>
28+
/// Gets or sets json deserialization settings.
29+
/// </summary>
30+
Newtonsoft.Json.JsonSerializerSettings DeserializationSettings { get; }
31+
32+
/// <summary>
33+
/// Credentials needed for the client to connect to Azure.
34+
/// </summary>
35+
Microsoft.Rest.ServiceClientCredentials Credentials { get;}
36+
37+
38+
/// <summary>
39+
/// The API version to use for this operation.
40+
/// </summary>
41+
string ApiVersion { get;}
42+
43+
44+
/// <summary>
45+
/// The preferred language for the response.
46+
/// </summary>
47+
string AcceptLanguage { get; set;}
48+
49+
50+
/// <summary>
51+
/// The retry timeout in seconds for Long Running Operations. Default
52+
/// /// value is 30.
53+
/// </summary>
54+
int? LongRunningOperationRetryTimeout { get; set;}
55+
56+
57+
/// <summary>
58+
/// Whether a unique x-ms-client-request-id should be generated. When
59+
/// /// set to true a unique x-ms-client-request-id value is generated and
60+
/// /// included in each request. Default is true.
61+
/// </summary>
62+
bool? GenerateClientRequestId { get; set;}
63+
64+
65+
/// <summary>
66+
/// Gets the IPartnerOperations
67+
/// </summary>
68+
IPartnerOperations Partner { get; }
69+
70+
/// <summary>
71+
/// Gets the IOperationOperations
72+
/// </summary>
73+
IOperationOperations Operation { get; }
74+
75+
/// <summary>
76+
/// Gets the IPartnersOperations
77+
/// </summary>
78+
IPartnersOperations Partners { get; }
79+
80+
}
81+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.ManagementPartner
7+
{
8+
using Microsoft.Rest.Azure;
9+
using Models;
10+
11+
/// <summary>
12+
/// OperationOperations operations.
13+
/// </summary>
14+
public partial interface IOperationOperations
15+
{
16+
/// <summary>
17+
/// List all the operations.
18+
/// </summary>
19+
/// <remarks>
20+
/// List all the operations.
21+
/// </remarks>
22+
/// <param name='customHeaders'>
23+
/// The headers that will be added to request.
24+
/// </param>
25+
/// <param name='cancellationToken'>
26+
/// The cancellation token.
27+
/// </param>
28+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
29+
/// Thrown when the operation returned an invalid status code
30+
/// </exception>
31+
/// <exception cref="Microsoft.Rest.SerializationException">
32+
/// Thrown when unable to deserialize the response
33+
/// </exception>
34+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<OperationResponse>>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
35+
36+
/// <summary>
37+
/// List all the operations.
38+
/// </summary>
39+
/// <remarks>
40+
/// List all the operations.
41+
/// </remarks>
42+
/// <param name='nextPageLink'>
43+
/// The NextLink from the previous successful call to List operation.
44+
/// </param>
45+
/// <param name='customHeaders'>
46+
/// The headers that will be added to request.
47+
/// </param>
48+
/// <param name='cancellationToken'>
49+
/// The cancellation token.
50+
/// </param>
51+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
52+
/// Thrown when the operation returned an invalid status code
53+
/// </exception>
54+
/// <exception cref="Microsoft.Rest.SerializationException">
55+
/// Thrown when unable to deserialize the response
56+
/// </exception>
57+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<OperationResponse>>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
58+
59+
}
60+
}
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.ManagementPartner
7+
{
8+
using Microsoft.Rest.Azure;
9+
using Models;
10+
11+
/// <summary>
12+
/// PartnerOperations operations.
13+
/// </summary>
14+
public partial interface IPartnerOperations
15+
{
16+
/// <summary>
17+
/// Get the management partner using the partnerId, objectId and tenantId.
18+
/// </summary>
19+
/// <remarks>
20+
/// Get the management partner using the partnerId, objectId and tenantId.
21+
/// </remarks>
22+
/// <param name='partnerId'>
23+
/// Id of the Partner
24+
/// </param>
25+
/// <param name='customHeaders'>
26+
/// The headers that will be added to request.
27+
/// </param>
28+
/// <param name='cancellationToken'>
29+
/// The cancellation token.
30+
/// </param>
31+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
32+
/// Thrown when the operation returned an invalid status code
33+
/// </exception>
34+
/// <exception cref="Microsoft.Rest.SerializationException">
35+
/// Thrown when unable to deserialize the response
36+
/// </exception>
37+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<PartnerResponse>> GetWithHttpMessagesAsync(string partnerId, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
38+
39+
/// <summary>
40+
/// Create a management partner for the objectId and tenantId.
41+
/// </summary>
42+
/// <remarks>
43+
/// Create a management partner for the objectId and tenantId.
44+
/// </remarks>
45+
/// <param name='partnerId'>
46+
/// Id of the Partner
47+
/// </param>
48+
/// <param name='customHeaders'>
49+
/// The headers that will be added to request.
50+
/// </param>
51+
/// <param name='cancellationToken'>
52+
/// The cancellation token.
53+
/// </param>
54+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
55+
/// Thrown when the operation returned an invalid status code
56+
/// </exception>
57+
/// <exception cref="Microsoft.Rest.SerializationException">
58+
/// Thrown when unable to deserialize the response
59+
/// </exception>
60+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<PartnerResponse>> CreateWithHttpMessagesAsync(string partnerId, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
61+
62+
/// <summary>
63+
/// Update the management partner for the objectId and tenantId.
64+
/// </summary>
65+
/// <remarks>
66+
/// Update the management partner for the objectId and tenantId.
67+
/// </remarks>
68+
/// <param name='partnerId'>
69+
/// Id of the Partner
70+
/// </param>
71+
/// <param name='customHeaders'>
72+
/// The headers that will be added to request.
73+
/// </param>
74+
/// <param name='cancellationToken'>
75+
/// The cancellation token.
76+
/// </param>
77+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
78+
/// Thrown when the operation returned an invalid status code
79+
/// </exception>
80+
/// <exception cref="Microsoft.Rest.SerializationException">
81+
/// Thrown when unable to deserialize the response
82+
/// </exception>
83+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<PartnerResponse>> UpdateWithHttpMessagesAsync(string partnerId, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
84+
85+
/// <summary>
86+
/// Delete the management partner for the objectId and tenantId.
87+
/// </summary>
88+
/// <remarks>
89+
/// Delete the management partner for the objectId and tenantId.
90+
/// </remarks>
91+
/// <param name='partnerId'>
92+
/// Id of the Partner
93+
/// </param>
94+
/// <param name='customHeaders'>
95+
/// The headers that will be added to request.
96+
/// </param>
97+
/// <param name='cancellationToken'>
98+
/// The cancellation token.
99+
/// </param>
100+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
101+
/// Thrown when the operation returned an invalid status code
102+
/// </exception>
103+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteWithHttpMessagesAsync(string partnerId, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
104+
105+
}
106+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.ManagementPartner
7+
{
8+
using Microsoft.Rest.Azure;
9+
using Models;
10+
11+
/// <summary>
12+
/// PartnersOperations operations.
13+
/// </summary>
14+
public partial interface IPartnersOperations
15+
{
16+
/// <summary>
17+
/// Get the management partner using the objectId and tenantId.
18+
/// </summary>
19+
/// <remarks>
20+
/// Get the management partner using the objectId and tenantId.
21+
/// </remarks>
22+
/// <param name='customHeaders'>
23+
/// The headers that will be added to request.
24+
/// </param>
25+
/// <param name='cancellationToken'>
26+
/// The cancellation token.
27+
/// </param>
28+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
29+
/// Thrown when the operation returned an invalid status code
30+
/// </exception>
31+
/// <exception cref="Microsoft.Rest.SerializationException">
32+
/// Thrown when unable to deserialize the response
33+
/// </exception>
34+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<PartnerResponse>> GetWithHttpMessagesAsync(System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
35+
36+
}
37+
}
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.ManagementPartner.Models
7+
{
8+
using System.Linq;
9+
10+
/// <summary>
11+
/// this is the management partner operations error
12+
/// </summary>
13+
public partial class Error
14+
{
15+
/// <summary>
16+
/// Initializes a new instance of the Error class.
17+
/// </summary>
18+
public Error()
19+
{
20+
CustomInit();
21+
}
22+
23+
/// <summary>
24+
/// Initializes a new instance of the Error class.
25+
/// </summary>
26+
27+
/// <param name="errorProperty">this is the ExtendedErrorInfo property
28+
/// </param>
29+
30+
/// <param name="code">this is the error response code
31+
/// </param>
32+
33+
/// <param name="message">this is the extended error info message
34+
/// </param>
35+
public Error(ExtendedErrorInfo errorProperty = default(ExtendedErrorInfo), string code = default(string), string message = default(string))
36+
37+
{
38+
this.ErrorProperty = errorProperty;
39+
this.Code = code;
40+
this.Message = message;
41+
CustomInit();
42+
}
43+
44+
/// <summary>
45+
/// An initialization method that performs custom operations like setting defaults
46+
/// </summary>
47+
partial void CustomInit();
48+
49+
50+
/// <summary>
51+
/// Gets or sets this is the ExtendedErrorInfo property
52+
/// </summary>
53+
[Newtonsoft.Json.JsonProperty(PropertyName = "error")]
54+
public ExtendedErrorInfo ErrorProperty {get; set; }
55+
56+
/// <summary>
57+
/// Gets or sets this is the error response code
58+
/// </summary>
59+
[Newtonsoft.Json.JsonProperty(PropertyName = "code")]
60+
public string Code {get; set; }
61+
62+
/// <summary>
63+
/// Gets or sets this is the extended error info message
64+
/// </summary>
65+
[Newtonsoft.Json.JsonProperty(PropertyName = "message")]
66+
public string Message {get; set; }
67+
}
68+
}

0 commit comments

Comments
 (0)