Skip to content

Commit ea113e5

Browse files
madgetianManzi Tian
andauthored
Updating virtual network link new property ResolutionPolicy (#26368)
* Updating virtual network link powershell using autorest * Deleting auto generated cmdlets * Updating vnet link new property * Adding tests and updating ChangeLog.md --------- Co-authored-by: Manzi Tian <[email protected]>
1 parent 2d35977 commit ea113e5

File tree

75 files changed

+27206
-11616
lines changed

Some content is hidden

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

75 files changed

+27206
-11616
lines changed
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
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.PrivateDns
7+
{
8+
using Microsoft.Rest;
9+
using Microsoft.Rest.Azure;
10+
using Models;
11+
12+
/// <summary>
13+
/// The Private DNS Management Client.
14+
/// </summary>
15+
public partial interface IPrivateDnsManagementClient : 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+
/// Gets subscription credentials which uniquely identify Microsoft Azure
46+
/// subscription. The subscription ID forms part of the URI for every service
47+
/// call.
48+
/// </summary>
49+
string SubscriptionId { get; set;}
50+
51+
52+
/// <summary>
53+
/// The preferred language for the response.
54+
/// </summary>
55+
string AcceptLanguage { get; set;}
56+
57+
58+
/// <summary>
59+
/// The retry timeout in seconds for Long Running Operations. Default
60+
/// /// value is 30.
61+
/// </summary>
62+
int? LongRunningOperationRetryTimeout { get; set;}
63+
64+
65+
/// <summary>
66+
/// 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.
69+
/// </summary>
70+
bool? GenerateClientRequestId { get; set;}
71+
72+
73+
/// <summary>
74+
/// Gets the IPrivateZonesOperations
75+
/// </summary>
76+
IPrivateZonesOperations PrivateZones { get; }
77+
78+
/// <summary>
79+
/// Gets the IVirtualNetworkLinksOperations
80+
/// </summary>
81+
IVirtualNetworkLinksOperations VirtualNetworkLinks { get; }
82+
83+
/// <summary>
84+
/// Gets the IRecordSetsOperations
85+
/// </summary>
86+
IRecordSetsOperations RecordSets { get; }
87+
88+
}
89+
}

src/PrivateDns/PrivateDns.Management.Sdk/Generated/IPrivateZonesOperations.cs

Lines changed: 358 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 291 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,291 @@
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.PrivateDns
7+
{
8+
using Microsoft.Rest.Azure;
9+
using Models;
10+
11+
/// <summary>
12+
/// RecordSetsOperations operations.
13+
/// </summary>
14+
public partial interface IRecordSetsOperations
15+
{
16+
/// <summary>
17+
/// Creates or updates a record set within a Private DNS zone.
18+
/// </summary>
19+
/// <remarks>
20+
/// Creates or updates a record set within a Private DNS zone.
21+
/// </remarks>
22+
/// <param name='resourceGroupName'>
23+
/// The name of the resource group.
24+
/// </param>
25+
/// <param name='privateZoneName'>
26+
/// The name of the Private DNS zone (without a terminating dot).
27+
/// </param>
28+
/// <param name='recordType'>
29+
/// The type of DNS record in this record set. Record sets of type SOA can be
30+
/// updated but not created (they are created when the Private DNS zone is
31+
/// created).
32+
/// </param>
33+
/// <param name='relativeRecordSetName'>
34+
/// The name of the record set, relative to the name of the zone.
35+
/// </param>
36+
/// <param name='ifMatch'>
37+
/// The ETag of the record set. Omit this value to always overwrite the current
38+
/// record set. Specify the last-seen ETag value to prevent accidentally
39+
/// overwriting any concurrent changes.
40+
/// </param>
41+
/// <param name='ifNoneMatch'>
42+
/// Set to &#39;*&#39; to allow a new record set to be created, but to prevent updating
43+
/// an existing record set. Other values will be ignored.
44+
/// </param>
45+
/// <param name='parameters'>
46+
/// Parameters supplied to the CreateOrUpdate operation.
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<RecordSet>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string privateZoneName, RecordType recordType, string relativeRecordSetName, RecordSet parameters, string ifMatch = default(string), string ifNoneMatch = default(string), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
61+
62+
/// <summary>
63+
/// Updates a record set within a Private DNS zone.
64+
/// </summary>
65+
/// <remarks>
66+
/// Updates a record set within a Private DNS zone.
67+
/// </remarks>
68+
/// <param name='resourceGroupName'>
69+
/// The name of the resource group.
70+
/// </param>
71+
/// <param name='privateZoneName'>
72+
/// The name of the Private DNS zone (without a terminating dot).
73+
/// </param>
74+
/// <param name='recordType'>
75+
/// The type of DNS record in this record set.
76+
/// </param>
77+
/// <param name='relativeRecordSetName'>
78+
/// The name of the record set, relative to the name of the zone.
79+
/// </param>
80+
/// <param name='ifMatch'>
81+
/// The ETag of the record set. Omit this value to always overwrite the current
82+
/// record set. Specify the last-seen ETag value to prevent accidentally
83+
/// overwriting concurrent changes.
84+
/// </param>
85+
/// <param name='parameters'>
86+
/// Parameters supplied to the Update operation.
87+
/// </param>
88+
/// <param name='customHeaders'>
89+
/// The headers that will be added to request.
90+
/// </param>
91+
/// <param name='cancellationToken'>
92+
/// The cancellation token.
93+
/// </param>
94+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
95+
/// Thrown when the operation returned an invalid status code
96+
/// </exception>
97+
/// <exception cref="Microsoft.Rest.SerializationException">
98+
/// Thrown when unable to deserialize the response
99+
/// </exception>
100+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<RecordSet>> UpdateWithHttpMessagesAsync(string resourceGroupName, string privateZoneName, RecordType recordType, string relativeRecordSetName, RecordSet parameters, string ifMatch = default(string), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
101+
102+
/// <summary>
103+
/// Deletes a record set from a Private DNS zone. This operation cannot be
104+
/// undone.
105+
/// </summary>
106+
/// <remarks>
107+
/// Deletes a record set from a Private DNS zone. This operation cannot be
108+
/// undone.
109+
/// </remarks>
110+
/// <param name='resourceGroupName'>
111+
/// The name of the resource group.
112+
/// </param>
113+
/// <param name='privateZoneName'>
114+
/// The name of the Private DNS zone (without a terminating dot).
115+
/// </param>
116+
/// <param name='recordType'>
117+
/// The type of DNS record in this record set. Record sets of type SOA cannot
118+
/// be deleted (they are deleted when the Private DNS zone is deleted).
119+
/// </param>
120+
/// <param name='relativeRecordSetName'>
121+
/// The name of the record set, relative to the name of the zone.
122+
/// </param>
123+
/// <param name='ifMatch'>
124+
/// The ETag of the record set. Omit this value to always delete the current
125+
/// record set. Specify the last-seen ETag value to prevent accidentally
126+
/// deleting any concurrent changes.
127+
/// </param>
128+
/// <param name='customHeaders'>
129+
/// The headers that will be added to request.
130+
/// </param>
131+
/// <param name='cancellationToken'>
132+
/// The cancellation token.
133+
/// </param>
134+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
135+
/// Thrown when the operation returned an invalid status code
136+
/// </exception>
137+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string privateZoneName, RecordType recordType, string relativeRecordSetName, string ifMatch = default(string), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
138+
139+
/// <summary>
140+
/// Gets a record set.
141+
/// </summary>
142+
/// <remarks>
143+
/// Gets a record set.
144+
/// </remarks>
145+
/// <param name='resourceGroupName'>
146+
/// The name of the resource group.
147+
/// </param>
148+
/// <param name='privateZoneName'>
149+
/// The name of the Private DNS zone (without a terminating dot).
150+
/// </param>
151+
/// <param name='recordType'>
152+
/// The type of DNS record in this record set.
153+
/// </param>
154+
/// <param name='relativeRecordSetName'>
155+
/// The name of the record set, relative to the name of the zone.
156+
/// </param>
157+
/// <param name='customHeaders'>
158+
/// The headers that will be added to request.
159+
/// </param>
160+
/// <param name='cancellationToken'>
161+
/// The cancellation token.
162+
/// </param>
163+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
164+
/// Thrown when the operation returned an invalid status code
165+
/// </exception>
166+
/// <exception cref="Microsoft.Rest.SerializationException">
167+
/// Thrown when unable to deserialize the response
168+
/// </exception>
169+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<RecordSet>> GetWithHttpMessagesAsync(string resourceGroupName, string privateZoneName, RecordType recordType, string relativeRecordSetName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
170+
171+
/// <summary>
172+
/// Lists the record sets of a specified type in a Private DNS zone.
173+
/// </summary>
174+
/// <remarks>
175+
/// Lists the record sets of a specified type in a Private DNS zone.
176+
/// </remarks>
177+
/// <param name='resourceGroupName'>
178+
/// The name of the resource group.
179+
/// </param>
180+
/// <param name='privateZoneName'>
181+
/// The name of the Private DNS zone (without a terminating dot).
182+
/// </param>
183+
/// <param name='recordType'>
184+
/// The type of record sets to enumerate.
185+
/// </param>
186+
/// <param name='top'>
187+
/// The maximum number of record sets to return. If not specified, returns up
188+
/// to 100 record sets.
189+
/// </param>
190+
/// <param name='recordsetnamesuffix'>
191+
/// The suffix label of the record set name to be used to filter the record set
192+
/// enumeration. If this parameter is specified, the returned enumeration will
193+
/// only contain records that end with &#34;.&lt;recordsetnamesuffix&gt;&#34;.
194+
/// </param>
195+
/// <param name='customHeaders'>
196+
/// The headers that will be added to request.
197+
/// </param>
198+
/// <param name='cancellationToken'>
199+
/// The cancellation token.
200+
/// </param>
201+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
202+
/// Thrown when the operation returned an invalid status code
203+
/// </exception>
204+
/// <exception cref="Microsoft.Rest.SerializationException">
205+
/// Thrown when unable to deserialize the response
206+
/// </exception>
207+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<RecordSet>>> ListByTypeWithHttpMessagesAsync(string resourceGroupName, string privateZoneName, RecordType recordType, int? top = default(int?), string recordsetnamesuffix = default(string), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
208+
209+
/// <summary>
210+
/// Lists all record sets in a Private DNS zone.
211+
/// </summary>
212+
/// <remarks>
213+
/// Lists all record sets in a Private DNS zone.
214+
/// </remarks>
215+
/// <param name='resourceGroupName'>
216+
/// The name of the resource group.
217+
/// </param>
218+
/// <param name='privateZoneName'>
219+
/// The name of the Private DNS zone (without a terminating dot).
220+
/// </param>
221+
/// <param name='top'>
222+
/// The maximum number of record sets to return. If not specified, returns up
223+
/// to 100 record sets.
224+
/// </param>
225+
/// <param name='recordsetnamesuffix'>
226+
/// The suffix label of the record set name to be used to filter the record set
227+
/// enumeration. If this parameter is specified, the returned enumeration will
228+
/// only contain records that end with &#34;.&lt;recordsetnamesuffix&gt;&#34;.
229+
/// </param>
230+
/// <param name='customHeaders'>
231+
/// The headers that will be added to request.
232+
/// </param>
233+
/// <param name='cancellationToken'>
234+
/// The cancellation token.
235+
/// </param>
236+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
237+
/// Thrown when the operation returned an invalid status code
238+
/// </exception>
239+
/// <exception cref="Microsoft.Rest.SerializationException">
240+
/// Thrown when unable to deserialize the response
241+
/// </exception>
242+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<RecordSet>>> ListWithHttpMessagesAsync(string resourceGroupName, string privateZoneName, int? top = default(int?), string recordsetnamesuffix = default(string), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
243+
244+
/// <summary>
245+
/// Lists the record sets of a specified type in a Private DNS zone.
246+
/// </summary>
247+
/// <remarks>
248+
/// Lists the record sets of a specified type in a Private DNS zone.
249+
/// </remarks>
250+
/// <param name='nextPageLink'>
251+
/// The NextLink from the previous successful call to List operation.
252+
/// </param>
253+
/// <param name='customHeaders'>
254+
/// The headers that will be added to request.
255+
/// </param>
256+
/// <param name='cancellationToken'>
257+
/// The cancellation token.
258+
/// </param>
259+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
260+
/// Thrown when the operation returned an invalid status code
261+
/// </exception>
262+
/// <exception cref="Microsoft.Rest.SerializationException">
263+
/// Thrown when unable to deserialize the response
264+
/// </exception>
265+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<RecordSet>>> ListByTypeNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
266+
267+
/// <summary>
268+
/// Lists all record sets in a Private DNS zone.
269+
/// </summary>
270+
/// <remarks>
271+
/// Lists all record sets in a Private DNS zone.
272+
/// </remarks>
273+
/// <param name='nextPageLink'>
274+
/// The NextLink from the previous successful call to List operation.
275+
/// </param>
276+
/// <param name='customHeaders'>
277+
/// The headers that will be added to request.
278+
/// </param>
279+
/// <param name='cancellationToken'>
280+
/// The cancellation token.
281+
/// </param>
282+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
283+
/// Thrown when the operation returned an invalid status code
284+
/// </exception>
285+
/// <exception cref="Microsoft.Rest.SerializationException">
286+
/// Thrown when unable to deserialize the response
287+
/// </exception>
288+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<RecordSet>>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
289+
290+
}
291+
}

0 commit comments

Comments
 (0)