/
MockableApiManagementArmClient.cs
627 lines (571 loc) · 42.4 KB
/
MockableApiManagementArmClient.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
using Azure.ResourceManager;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Mocking
{
/// <summary> A class to add extension methods to ArmClient. </summary>
public partial class MockableApiManagementArmClient : ArmResource
{
/// <summary> Initializes a new instance of the <see cref="MockableApiManagementArmClient"/> class for mocking. </summary>
protected MockableApiManagementArmClient()
{
}
/// <summary> Initializes a new instance of the <see cref="MockableApiManagementArmClient"/> class. </summary>
/// <param name="client"> The client parameters to use in these operations. </param>
/// <param name="id"> The identifier of the resource that is the target of operations. </param>
internal MockableApiManagementArmClient(ArmClient client, ResourceIdentifier id) : base(client, id)
{
}
internal MockableApiManagementArmClient(ArmClient client) : this(client, ResourceIdentifier.Root)
{
}
private string GetApiVersionOrNull(ResourceType resourceType)
{
TryGetApiVersion(resourceType, out string apiVersion);
return apiVersion;
}
/// <summary>
/// Gets an object representing an <see cref="ApiResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiResource.CreateResourceIdentifier" /> to create an <see cref="ApiResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiResource"/> object. </returns>
public virtual ApiResource GetApiResource(ResourceIdentifier id)
{
ApiResource.ValidateResourceId(id);
return new ApiResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiReleaseResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiReleaseResource.CreateResourceIdentifier" /> to create an <see cref="ApiReleaseResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiReleaseResource"/> object. </returns>
public virtual ApiReleaseResource GetApiReleaseResource(ResourceIdentifier id)
{
ApiReleaseResource.ValidateResourceId(id);
return new ApiReleaseResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiOperationResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiOperationResource.CreateResourceIdentifier" /> to create an <see cref="ApiOperationResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiOperationResource"/> object. </returns>
public virtual ApiOperationResource GetApiOperationResource(ResourceIdentifier id)
{
ApiOperationResource.ValidateResourceId(id);
return new ApiOperationResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiOperationPolicyResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiOperationPolicyResource.CreateResourceIdentifier" /> to create an <see cref="ApiOperationPolicyResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiOperationPolicyResource"/> object. </returns>
public virtual ApiOperationPolicyResource GetApiOperationPolicyResource(ResourceIdentifier id)
{
ApiOperationPolicyResource.ValidateResourceId(id);
return new ApiOperationPolicyResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiPolicyResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiPolicyResource.CreateResourceIdentifier" /> to create an <see cref="ApiPolicyResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiPolicyResource"/> object. </returns>
public virtual ApiPolicyResource GetApiPolicyResource(ResourceIdentifier id)
{
ApiPolicyResource.ValidateResourceId(id);
return new ApiPolicyResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementPolicyResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementPolicyResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementPolicyResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementPolicyResource"/> object. </returns>
public virtual ApiManagementPolicyResource GetApiManagementPolicyResource(ResourceIdentifier id)
{
ApiManagementPolicyResource.ValidateResourceId(id);
return new ApiManagementPolicyResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementProductPolicyResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementProductPolicyResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementProductPolicyResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementProductPolicyResource"/> object. </returns>
public virtual ApiManagementProductPolicyResource GetApiManagementProductPolicyResource(ResourceIdentifier id)
{
ApiManagementProductPolicyResource.ValidateResourceId(id);
return new ApiManagementProductPolicyResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiOperationTagResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiOperationTagResource.CreateResourceIdentifier" /> to create an <see cref="ApiOperationTagResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiOperationTagResource"/> object. </returns>
public virtual ApiOperationTagResource GetApiOperationTagResource(ResourceIdentifier id)
{
ApiOperationTagResource.ValidateResourceId(id);
return new ApiOperationTagResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiTagResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiTagResource.CreateResourceIdentifier" /> to create an <see cref="ApiTagResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiTagResource"/> object. </returns>
public virtual ApiTagResource GetApiTagResource(ResourceIdentifier id)
{
ApiTagResource.ValidateResourceId(id);
return new ApiTagResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementProductTagResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementProductTagResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementProductTagResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementProductTagResource"/> object. </returns>
public virtual ApiManagementProductTagResource GetApiManagementProductTagResource(ResourceIdentifier id)
{
ApiManagementProductTagResource.ValidateResourceId(id);
return new ApiManagementProductTagResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementTagResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementTagResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementTagResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementTagResource"/> object. </returns>
public virtual ApiManagementTagResource GetApiManagementTagResource(ResourceIdentifier id)
{
ApiManagementTagResource.ValidateResourceId(id);
return new ApiManagementTagResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiSchemaResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiSchemaResource.CreateResourceIdentifier" /> to create an <see cref="ApiSchemaResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiSchemaResource"/> object. </returns>
public virtual ApiSchemaResource GetApiSchemaResource(ResourceIdentifier id)
{
ApiSchemaResource.ValidateResourceId(id);
return new ApiSchemaResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiDiagnosticResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiDiagnosticResource.CreateResourceIdentifier" /> to create an <see cref="ApiDiagnosticResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiDiagnosticResource"/> object. </returns>
public virtual ApiDiagnosticResource GetApiDiagnosticResource(ResourceIdentifier id)
{
ApiDiagnosticResource.ValidateResourceId(id);
return new ApiDiagnosticResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementDiagnosticResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementDiagnosticResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementDiagnosticResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementDiagnosticResource"/> object. </returns>
public virtual ApiManagementDiagnosticResource GetApiManagementDiagnosticResource(ResourceIdentifier id)
{
ApiManagementDiagnosticResource.ValidateResourceId(id);
return new ApiManagementDiagnosticResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiIssueResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiIssueResource.CreateResourceIdentifier" /> to create an <see cref="ApiIssueResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiIssueResource"/> object. </returns>
public virtual ApiIssueResource GetApiIssueResource(ResourceIdentifier id)
{
ApiIssueResource.ValidateResourceId(id);
return new ApiIssueResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementIssueResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementIssueResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementIssueResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementIssueResource"/> object. </returns>
public virtual ApiManagementIssueResource GetApiManagementIssueResource(ResourceIdentifier id)
{
ApiManagementIssueResource.ValidateResourceId(id);
return new ApiManagementIssueResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiIssueCommentResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiIssueCommentResource.CreateResourceIdentifier" /> to create an <see cref="ApiIssueCommentResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiIssueCommentResource"/> object. </returns>
public virtual ApiIssueCommentResource GetApiIssueCommentResource(ResourceIdentifier id)
{
ApiIssueCommentResource.ValidateResourceId(id);
return new ApiIssueCommentResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiIssueAttachmentResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiIssueAttachmentResource.CreateResourceIdentifier" /> to create an <see cref="ApiIssueAttachmentResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiIssueAttachmentResource"/> object. </returns>
public virtual ApiIssueAttachmentResource GetApiIssueAttachmentResource(ResourceIdentifier id)
{
ApiIssueAttachmentResource.ValidateResourceId(id);
return new ApiIssueAttachmentResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiTagDescriptionResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiTagDescriptionResource.CreateResourceIdentifier" /> to create an <see cref="ApiTagDescriptionResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiTagDescriptionResource"/> object. </returns>
public virtual ApiTagDescriptionResource GetApiTagDescriptionResource(ResourceIdentifier id)
{
ApiTagDescriptionResource.ValidateResourceId(id);
return new ApiTagDescriptionResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiVersionSetResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiVersionSetResource.CreateResourceIdentifier" /> to create an <see cref="ApiVersionSetResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiVersionSetResource"/> object. </returns>
public virtual ApiVersionSetResource GetApiVersionSetResource(ResourceIdentifier id)
{
ApiVersionSetResource.ValidateResourceId(id);
return new ApiVersionSetResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementAuthorizationServerResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementAuthorizationServerResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementAuthorizationServerResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementAuthorizationServerResource"/> object. </returns>
public virtual ApiManagementAuthorizationServerResource GetApiManagementAuthorizationServerResource(ResourceIdentifier id)
{
ApiManagementAuthorizationServerResource.ValidateResourceId(id);
return new ApiManagementAuthorizationServerResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementBackendResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementBackendResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementBackendResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementBackendResource"/> object. </returns>
public virtual ApiManagementBackendResource GetApiManagementBackendResource(ResourceIdentifier id)
{
ApiManagementBackendResource.ValidateResourceId(id);
return new ApiManagementBackendResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementCacheResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementCacheResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementCacheResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementCacheResource"/> object. </returns>
public virtual ApiManagementCacheResource GetApiManagementCacheResource(ResourceIdentifier id)
{
ApiManagementCacheResource.ValidateResourceId(id);
return new ApiManagementCacheResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementCertificateResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementCertificateResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementCertificateResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementCertificateResource"/> object. </returns>
public virtual ApiManagementCertificateResource GetApiManagementCertificateResource(ResourceIdentifier id)
{
ApiManagementCertificateResource.ValidateResourceId(id);
return new ApiManagementCertificateResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementDeletedServiceResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementDeletedServiceResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementDeletedServiceResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementDeletedServiceResource"/> object. </returns>
public virtual ApiManagementDeletedServiceResource GetApiManagementDeletedServiceResource(ResourceIdentifier id)
{
ApiManagementDeletedServiceResource.ValidateResourceId(id);
return new ApiManagementDeletedServiceResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementServiceResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementServiceResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementServiceResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementServiceResource"/> object. </returns>
public virtual ApiManagementServiceResource GetApiManagementServiceResource(ResourceIdentifier id)
{
ApiManagementServiceResource.ValidateResourceId(id);
return new ApiManagementServiceResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementEmailTemplateResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementEmailTemplateResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementEmailTemplateResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementEmailTemplateResource"/> object. </returns>
public virtual ApiManagementEmailTemplateResource GetApiManagementEmailTemplateResource(ResourceIdentifier id)
{
ApiManagementEmailTemplateResource.ValidateResourceId(id);
return new ApiManagementEmailTemplateResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementGatewayResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementGatewayResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementGatewayResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementGatewayResource"/> object. </returns>
public virtual ApiManagementGatewayResource GetApiManagementGatewayResource(ResourceIdentifier id)
{
ApiManagementGatewayResource.ValidateResourceId(id);
return new ApiManagementGatewayResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementGatewayHostnameConfigurationResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementGatewayHostnameConfigurationResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementGatewayHostnameConfigurationResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementGatewayHostnameConfigurationResource"/> object. </returns>
public virtual ApiManagementGatewayHostnameConfigurationResource GetApiManagementGatewayHostnameConfigurationResource(ResourceIdentifier id)
{
ApiManagementGatewayHostnameConfigurationResource.ValidateResourceId(id);
return new ApiManagementGatewayHostnameConfigurationResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementGatewayCertificateAuthorityResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementGatewayCertificateAuthorityResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementGatewayCertificateAuthorityResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementGatewayCertificateAuthorityResource"/> object. </returns>
public virtual ApiManagementGatewayCertificateAuthorityResource GetApiManagementGatewayCertificateAuthorityResource(ResourceIdentifier id)
{
ApiManagementGatewayCertificateAuthorityResource.ValidateResourceId(id);
return new ApiManagementGatewayCertificateAuthorityResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementGroupResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementGroupResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementGroupResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementGroupResource"/> object. </returns>
public virtual ApiManagementGroupResource GetApiManagementGroupResource(ResourceIdentifier id)
{
ApiManagementGroupResource.ValidateResourceId(id);
return new ApiManagementGroupResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementIdentityProviderResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementIdentityProviderResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementIdentityProviderResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementIdentityProviderResource"/> object. </returns>
public virtual ApiManagementIdentityProviderResource GetApiManagementIdentityProviderResource(ResourceIdentifier id)
{
ApiManagementIdentityProviderResource.ValidateResourceId(id);
return new ApiManagementIdentityProviderResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementLoggerResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementLoggerResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementLoggerResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementLoggerResource"/> object. </returns>
public virtual ApiManagementLoggerResource GetApiManagementLoggerResource(ResourceIdentifier id)
{
ApiManagementLoggerResource.ValidateResourceId(id);
return new ApiManagementLoggerResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementNamedValueResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementNamedValueResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementNamedValueResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementNamedValueResource"/> object. </returns>
public virtual ApiManagementNamedValueResource GetApiManagementNamedValueResource(ResourceIdentifier id)
{
ApiManagementNamedValueResource.ValidateResourceId(id);
return new ApiManagementNamedValueResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementNotificationResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementNotificationResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementNotificationResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementNotificationResource"/> object. </returns>
public virtual ApiManagementNotificationResource GetApiManagementNotificationResource(ResourceIdentifier id)
{
ApiManagementNotificationResource.ValidateResourceId(id);
return new ApiManagementNotificationResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementOpenIdConnectProviderResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementOpenIdConnectProviderResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementOpenIdConnectProviderResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementOpenIdConnectProviderResource"/> object. </returns>
public virtual ApiManagementOpenIdConnectProviderResource GetApiManagementOpenIdConnectProviderResource(ResourceIdentifier id)
{
ApiManagementOpenIdConnectProviderResource.ValidateResourceId(id);
return new ApiManagementOpenIdConnectProviderResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementPortalRevisionResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementPortalRevisionResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementPortalRevisionResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementPortalRevisionResource"/> object. </returns>
public virtual ApiManagementPortalRevisionResource GetApiManagementPortalRevisionResource(ResourceIdentifier id)
{
ApiManagementPortalRevisionResource.ValidateResourceId(id);
return new ApiManagementPortalRevisionResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementPortalSignInSettingResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementPortalSignInSettingResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementPortalSignInSettingResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementPortalSignInSettingResource"/> object. </returns>
public virtual ApiManagementPortalSignInSettingResource GetApiManagementPortalSignInSettingResource(ResourceIdentifier id)
{
ApiManagementPortalSignInSettingResource.ValidateResourceId(id);
return new ApiManagementPortalSignInSettingResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementPortalSignUpSettingResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementPortalSignUpSettingResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementPortalSignUpSettingResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementPortalSignUpSettingResource"/> object. </returns>
public virtual ApiManagementPortalSignUpSettingResource GetApiManagementPortalSignUpSettingResource(ResourceIdentifier id)
{
ApiManagementPortalSignUpSettingResource.ValidateResourceId(id);
return new ApiManagementPortalSignUpSettingResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementPortalDelegationSettingResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementPortalDelegationSettingResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementPortalDelegationSettingResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementPortalDelegationSettingResource"/> object. </returns>
public virtual ApiManagementPortalDelegationSettingResource GetApiManagementPortalDelegationSettingResource(ResourceIdentifier id)
{
ApiManagementPortalDelegationSettingResource.ValidateResourceId(id);
return new ApiManagementPortalDelegationSettingResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementPrivateEndpointConnectionResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementPrivateEndpointConnectionResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementPrivateEndpointConnectionResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementPrivateEndpointConnectionResource"/> object. </returns>
public virtual ApiManagementPrivateEndpointConnectionResource GetApiManagementPrivateEndpointConnectionResource(ResourceIdentifier id)
{
ApiManagementPrivateEndpointConnectionResource.ValidateResourceId(id);
return new ApiManagementPrivateEndpointConnectionResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementPrivateLinkResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementPrivateLinkResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementPrivateLinkResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementPrivateLinkResource"/> object. </returns>
public virtual ApiManagementPrivateLinkResource GetApiManagementPrivateLinkResource(ResourceIdentifier id)
{
ApiManagementPrivateLinkResource.ValidateResourceId(id);
return new ApiManagementPrivateLinkResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementProductResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementProductResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementProductResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementProductResource"/> object. </returns>
public virtual ApiManagementProductResource GetApiManagementProductResource(ResourceIdentifier id)
{
ApiManagementProductResource.ValidateResourceId(id);
return new ApiManagementProductResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementGlobalSchemaResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementGlobalSchemaResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementGlobalSchemaResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementGlobalSchemaResource"/> object. </returns>
public virtual ApiManagementGlobalSchemaResource GetApiManagementGlobalSchemaResource(ResourceIdentifier id)
{
ApiManagementGlobalSchemaResource.ValidateResourceId(id);
return new ApiManagementGlobalSchemaResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementTenantSettingResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementTenantSettingResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementTenantSettingResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementTenantSettingResource"/> object. </returns>
public virtual ApiManagementTenantSettingResource GetApiManagementTenantSettingResource(ResourceIdentifier id)
{
ApiManagementTenantSettingResource.ValidateResourceId(id);
return new ApiManagementTenantSettingResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementSubscriptionResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementSubscriptionResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementSubscriptionResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementSubscriptionResource"/> object. </returns>
public virtual ApiManagementSubscriptionResource GetApiManagementSubscriptionResource(ResourceIdentifier id)
{
ApiManagementSubscriptionResource.ValidateResourceId(id);
return new ApiManagementSubscriptionResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementUserSubscriptionResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementUserSubscriptionResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementUserSubscriptionResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementUserSubscriptionResource"/> object. </returns>
public virtual ApiManagementUserSubscriptionResource GetApiManagementUserSubscriptionResource(ResourceIdentifier id)
{
ApiManagementUserSubscriptionResource.ValidateResourceId(id);
return new ApiManagementUserSubscriptionResource(Client, id);
}
/// <summary>
/// Gets an object representing a <see cref="TenantAccessInfoResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="TenantAccessInfoResource.CreateResourceIdentifier" /> to create a <see cref="TenantAccessInfoResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="TenantAccessInfoResource"/> object. </returns>
public virtual TenantAccessInfoResource GetTenantAccessInfoResource(ResourceIdentifier id)
{
TenantAccessInfoResource.ValidateResourceId(id);
return new TenantAccessInfoResource(Client, id);
}
/// <summary>
/// Gets an object representing an <see cref="ApiManagementUserResource"/> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ApiManagementUserResource.CreateResourceIdentifier" /> to create an <see cref="ApiManagementUserResource"/> <see cref="ResourceIdentifier"/> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ApiManagementUserResource"/> object. </returns>
public virtual ApiManagementUserResource GetApiManagementUserResource(ResourceIdentifier id)
{
ApiManagementUserResource.ValidateResourceId(id);
return new ApiManagementUserResource(Client, id);
}
}
}