/
index.ts
943 lines (841 loc) · 32.2 KB
/
index.ts
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
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import * as coreClient from "@azure/core-client";
/** Common fields that are returned in the response for all Azure Resource Manager resources */
export interface Resource {
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* The name of the resource
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly systemData?: SystemData;
}
/** Metadata pertaining to creation and last modification of the resource. */
export interface SystemData {
/** The identity that created the resource. */
createdBy?: string;
/** The type of identity that created the resource. */
createdByType?: CreatedByType;
/** The timestamp of resource creation (UTC). */
createdAt?: Date;
/** The identity that last modified the resource. */
lastModifiedBy?: string;
/** The type of identity that last modified the resource. */
lastModifiedByType?: CreatedByType;
/** The timestamp of resource last modification (UTC) */
lastModifiedAt?: Date;
}
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
export interface ErrorResponse {
/** The error object. */
error?: ErrorDetail;
}
/** The error detail. */
export interface ErrorDetail {
/**
* The error code.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly code?: string;
/**
* The error message.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly message?: string;
/**
* The error target.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly target?: string;
/**
* The error details.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly details?: ErrorDetail[];
/**
* The error additional info.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly additionalInfo?: ErrorAdditionalInfo[];
}
/** The resource management error additional info. */
export interface ErrorAdditionalInfo {
/**
* The additional info type.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/**
* The additional info.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly info?: Record<string, unknown>;
}
/** Paged response contains list of requested objects and a URL link to get the next set of results. */
export interface ExtensionListResponse {
/** List of requested objects. */
value?: Extension[];
/**
* Continuation link (absolute URI) to the next page of results in the list.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Paged response contains list of requested objects and a URL link to get the next set of results. */
export interface FarmBeatsExtensionListResponse {
/** List of requested objects. */
value?: FarmBeatsExtension[];
/**
* Continuation link (absolute URI) to the next page of results in the list.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Model to capture detailed information for farmBeatsExtensions. */
export interface DetailedInformation {
/** ApiName available for the farmBeatsExtension. */
apiName?: string;
/** List of customParameters. */
customParameters?: string[];
/** List of platformParameters. */
platformParameters?: string[];
/** Unit systems info for the data provider. */
unitsSupported?: UnitSystemsInfo;
/** List of apiInputParameters. */
apiInputParameters?: string[];
}
/** Unit systems info for the data provider. */
export interface UnitSystemsInfo {
/** UnitSystem key sent as part of ProviderInput. */
key: string;
/** List of unit systems supported by this data provider. */
values: string[];
}
/** Identity for the resource. */
export interface Identity {
/**
* The principal ID of resource identity.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly principalId?: string;
/**
* The tenant ID of resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly tenantId?: string;
/** The identity type. */
type?: "SystemAssigned";
}
/** Sensor integration request model. */
export interface SensorIntegration {
/** Sensor integration enable state. Allowed values are True, None */
enabled?: string;
/**
* Sensor integration instance provisioning state.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: ProvisioningState;
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
provisioningInfo?: ErrorResponse;
}
/** The Private Endpoint resource. */
export interface PrivateEndpoint {
/**
* The ARM identifier for Private Endpoint
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
}
/** A collection of information about the state of the connection between service consumer and provider. */
export interface PrivateLinkServiceConnectionState {
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
status?: PrivateEndpointServiceConnectionStatus;
/** The reason for approval/rejection of the connection. */
description?: string;
/** A message indicating if changes on the service provider require any updates on the consumer. */
actionsRequired?: string;
}
/** FarmBeats update request. */
export interface FarmBeatsUpdateRequestModel {
/** Geo-location where the resource lives. */
location?: string;
/** Identity for the resource. */
identity?: Identity;
/** FarmBeats ARM Resource properties. */
properties?: FarmBeatsUpdateProperties;
/** Resource tags. */
tags?: { [propertyName: string]: string };
}
/** FarmBeats ARM Resource properties. */
export interface FarmBeatsUpdateProperties {
/** Sensor integration request model. */
sensorIntegration?: SensorIntegration;
/** Property to allow or block public traffic for an Azure FarmBeats resource. */
publicNetworkAccess?: PublicNetworkAccess;
}
/** Paged response contains list of requested objects and a URL link to get the next set of results. */
export interface FarmBeatsListResponse {
/** List of requested objects. */
value?: FarmBeats[];
/**
* Continuation link (absolute URI) to the next page of results in the list.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/**
* Arm async operation class.
* Ref: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/async-operations.
*/
export interface ArmAsyncOperation {
/** Status of the async operation. */
status?: string;
}
/** The check availability request body. */
export interface CheckNameAvailabilityRequest {
/** The name of the resource for which availability needs to be checked. */
name?: string;
/** The resource type. */
type?: string;
}
/** The check availability result. */
export interface CheckNameAvailabilityResponse {
/** Indicates if the resource name is available. */
nameAvailable?: boolean;
/** The reason why the given name is not available. */
reason?: CheckNameAvailabilityReason;
/** Detailed reason why the given name is available. */
message?: string;
}
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
export interface OperationListResult {
/**
* List of operations supported by the resource provider
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: Operation[];
/**
* URL to get the next set of operation list results (if there are any).
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Details of a REST API operation, returned from the Resource Provider Operations API */
export interface Operation {
/**
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly isDataAction?: boolean;
/** Localized display information for this particular operation. */
display?: OperationDisplay;
/**
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly origin?: Origin;
/**
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly actionType?: ActionType;
}
/** Localized display information for this particular operation. */
export interface OperationDisplay {
/**
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provider?: string;
/**
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly resource?: string;
/**
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly operation?: string;
/**
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly description?: string;
}
/** List of private endpoint connection associated with the specified storage account */
export interface PrivateEndpointConnectionListResult {
/** Array of private endpoint connections */
value?: PrivateEndpointConnection[];
}
/** A list of private link resources */
export interface PrivateLinkResourceListResult {
/** Array of private link resources */
value?: PrivateLinkResource[];
}
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
export interface ProxyResource extends Resource {}
/** The Private Endpoint Connection resource. */
export interface PrivateEndpointConnection extends Resource {
/** The resource of private end point. */
privateEndpoint?: PrivateEndpoint;
/** A collection of information about the state of the connection between service consumer and provider. */
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
/**
* The provisioning state of the private endpoint connection resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
}
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
export interface TrackedResource extends Resource {
/** Resource tags. */
tags?: { [propertyName: string]: string };
/** The geo-location where the resource lives */
location: string;
}
/** A private link resource */
export interface PrivateLinkResource extends Resource {
/**
* The private link resource group id.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly groupId?: string;
/**
* The private link resource required member names.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly requiredMembers?: string[];
/** The private link resource Private link DNS zone name. */
requiredZoneNames?: string[];
}
/** Extension resource. */
export interface Extension extends ProxyResource {
/**
* The ETag value to implement optimistic concurrency.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly eTag?: string;
/**
* Extension Id.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly extensionId?: string;
/**
* Extension category. e.g. weather/sensor/satellite.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly extensionCategory?: string;
/**
* Installed extension version.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly installedExtensionVersion?: string;
/**
* Extension auth link.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly extensionAuthLink?: string;
/**
* Extension api docs link.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly extensionApiDocsLink?: string;
}
/** FarmBeats extension resource. */
export interface FarmBeatsExtension extends ProxyResource {
/**
* Target ResourceType of the farmBeatsExtension.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly targetResourceType?: string;
/**
* FarmBeatsExtension ID.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly farmBeatsExtensionId?: string;
/**
* FarmBeatsExtension name.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly farmBeatsExtensionName?: string;
/**
* FarmBeatsExtension version.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly farmBeatsExtensionVersion?: string;
/**
* Publisher ID.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly publisherId?: string;
/**
* Textual description.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly description?: string;
/**
* Category of the extension. e.g. weather/sensor/satellite.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly extensionCategory?: string;
/**
* FarmBeatsExtension auth link.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly extensionAuthLink?: string;
/**
* FarmBeatsExtension api docs link.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly extensionApiDocsLink?: string;
/**
* Detailed information which shows summary of requested data.
* Used in descriptive get extension metadata call.
* Information for weather category per api included are apisSupported,
* customParameters, PlatformParameters and Units supported.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly detailedInformation?: DetailedInformation[];
}
/** FarmBeats ARM Resource. */
export interface FarmBeats extends TrackedResource {
/** Identity for the resource. */
identity?: Identity;
/**
* Uri of the FarmBeats instance.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly instanceUri?: string;
/**
* FarmBeats instance provisioning state.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: ProvisioningState;
/** Sensor integration request model. */
sensorIntegration?: SensorIntegration;
/** Property to allow or block public traffic for an Azure FarmBeats resource. */
publicNetworkAccess?: PublicNetworkAccess;
/**
* The Private Endpoint Connection resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly privateEndpointConnections?: PrivateEndpointConnection;
}
/** Defines headers for FarmBeatsModels_update operation. */
export interface FarmBeatsModelsUpdateHeaders {
location?: string;
}
/** Defines headers for PrivateEndpointConnections_delete operation. */
export interface PrivateEndpointConnectionsDeleteHeaders {
location?: string;
}
/** Known values of {@link CreatedByType} that the service accepts. */
export enum KnownCreatedByType {
/** User */
User = "User",
/** Application */
Application = "Application",
/** ManagedIdentity */
ManagedIdentity = "ManagedIdentity",
/** Key */
Key = "Key"
}
/**
* Defines values for CreatedByType. \
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **User** \
* **Application** \
* **ManagedIdentity** \
* **Key**
*/
export type CreatedByType = string;
/** Known values of {@link ProvisioningState} that the service accepts. */
export enum KnownProvisioningState {
/** Creating */
Creating = "Creating",
/** Updating */
Updating = "Updating",
/** Deleting */
Deleting = "Deleting",
/** Succeeded */
Succeeded = "Succeeded",
/** Failed */
Failed = "Failed"
}
/**
* Defines values for ProvisioningState. \
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Creating** \
* **Updating** \
* **Deleting** \
* **Succeeded** \
* **Failed**
*/
export type ProvisioningState = string;
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
export enum KnownPublicNetworkAccess {
/** Enabled */
Enabled = "Enabled",
/** Hybrid */
Hybrid = "Hybrid"
}
/**
* Defines values for PublicNetworkAccess. \
* {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Enabled** \
* **Hybrid**
*/
export type PublicNetworkAccess = string;
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
export enum KnownPrivateEndpointServiceConnectionStatus {
/** Pending */
Pending = "Pending",
/** Approved */
Approved = "Approved",
/** Rejected */
Rejected = "Rejected"
}
/**
* Defines values for PrivateEndpointServiceConnectionStatus. \
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Pending** \
* **Approved** \
* **Rejected**
*/
export type PrivateEndpointServiceConnectionStatus = string;
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
export enum KnownPrivateEndpointConnectionProvisioningState {
/** Succeeded */
Succeeded = "Succeeded",
/** Creating */
Creating = "Creating",
/** Deleting */
Deleting = "Deleting",
/** Failed */
Failed = "Failed"
}
/**
* Defines values for PrivateEndpointConnectionProvisioningState. \
* {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Succeeded** \
* **Creating** \
* **Deleting** \
* **Failed**
*/
export type PrivateEndpointConnectionProvisioningState = string;
/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
export enum KnownCheckNameAvailabilityReason {
/** Invalid */
Invalid = "Invalid",
/** AlreadyExists */
AlreadyExists = "AlreadyExists"
}
/**
* Defines values for CheckNameAvailabilityReason. \
* {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Invalid** \
* **AlreadyExists**
*/
export type CheckNameAvailabilityReason = string;
/** Known values of {@link Origin} that the service accepts. */
export enum KnownOrigin {
/** User */
User = "user",
/** System */
System = "system",
/** UserSystem */
UserSystem = "user,system"
}
/**
* Defines values for Origin. \
* {@link KnownOrigin} can be used interchangeably with Origin,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **user** \
* **system** \
* **user,system**
*/
export type Origin = string;
/** Known values of {@link ActionType} that the service accepts. */
export enum KnownActionType {
/** Internal */
Internal = "Internal"
}
/**
* Defines values for ActionType. \
* {@link KnownActionType} can be used interchangeably with ActionType,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Internal**
*/
export type ActionType = string;
/** Optional parameters. */
export interface ExtensionsCreateOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the create operation. */
export type ExtensionsCreateResponse = Extension;
/** Optional parameters. */
export interface ExtensionsGetOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the get operation. */
export type ExtensionsGetResponse = Extension;
/** Optional parameters. */
export interface ExtensionsUpdateOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the update operation. */
export type ExtensionsUpdateResponse = Extension;
/** Optional parameters. */
export interface ExtensionsDeleteOptionalParams
extends coreClient.OperationOptions {}
/** Optional parameters. */
export interface ExtensionsListByFarmBeatsOptionalParams
extends coreClient.OperationOptions {
/** Installed extension ids. */
extensionIds?: string[];
/** Installed extension categories. */
extensionCategories?: string[];
/**
* Maximum number of items needed (inclusive).
* Minimum = 10, Maximum = 1000, Default value = 50.
*/
maxPageSize?: number;
/** Skip token for getting next set of results. */
skipToken?: string;
}
/** Contains response data for the listByFarmBeats operation. */
export type ExtensionsListByFarmBeatsResponse = ExtensionListResponse;
/** Optional parameters. */
export interface ExtensionsListByFarmBeatsNextOptionalParams
extends coreClient.OperationOptions {
/** Installed extension ids. */
extensionIds?: string[];
/** Installed extension categories. */
extensionCategories?: string[];
/**
* Maximum number of items needed (inclusive).
* Minimum = 10, Maximum = 1000, Default value = 50.
*/
maxPageSize?: number;
/** Skip token for getting next set of results. */
skipToken?: string;
}
/** Contains response data for the listByFarmBeatsNext operation. */
export type ExtensionsListByFarmBeatsNextResponse = ExtensionListResponse;
/** Optional parameters. */
export interface FarmBeatsExtensionsListOptionalParams
extends coreClient.OperationOptions {
/** Extension categories. */
extensionCategories?: string[];
/**
* Maximum number of items needed (inclusive).
* Minimum = 10, Maximum = 1000, Default value = 50.
*/
maxPageSize?: number;
/** FarmBeatsExtension ids. */
farmBeatsExtensionIds?: string[];
/** FarmBeats extension names. */
farmBeatsExtensionNames?: string[];
/** Publisher ids. */
publisherIds?: string[];
}
/** Contains response data for the list operation. */
export type FarmBeatsExtensionsListResponse = FarmBeatsExtensionListResponse;
/** Optional parameters. */
export interface FarmBeatsExtensionsGetOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the get operation. */
export type FarmBeatsExtensionsGetResponse = FarmBeatsExtension;
/** Optional parameters. */
export interface FarmBeatsExtensionsListNextOptionalParams
extends coreClient.OperationOptions {
/** Extension categories. */
extensionCategories?: string[];
/**
* Maximum number of items needed (inclusive).
* Minimum = 10, Maximum = 1000, Default value = 50.
*/
maxPageSize?: number;
/** FarmBeatsExtension ids. */
farmBeatsExtensionIds?: string[];
/** FarmBeats extension names. */
farmBeatsExtensionNames?: string[];
/** Publisher ids. */
publisherIds?: string[];
}
/** Contains response data for the listNext operation. */
export type FarmBeatsExtensionsListNextResponse = FarmBeatsExtensionListResponse;
/** Optional parameters. */
export interface FarmBeatsModelsGetOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the get operation. */
export type FarmBeatsModelsGetResponse = FarmBeats;
/** Optional parameters. */
export interface FarmBeatsModelsCreateOrUpdateOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the createOrUpdate operation. */
export type FarmBeatsModelsCreateOrUpdateResponse = FarmBeats;
/** Optional parameters. */
export interface FarmBeatsModelsUpdateOptionalParams
extends coreClient.OperationOptions {
/** Delay to wait until next poll, in milliseconds. */
updateIntervalInMs?: number;
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
resumeFrom?: string;
}
/** Contains response data for the update operation. */
export type FarmBeatsModelsUpdateResponse = FarmBeats;
/** Optional parameters. */
export interface FarmBeatsModelsDeleteOptionalParams
extends coreClient.OperationOptions {}
/** Optional parameters. */
export interface FarmBeatsModelsListBySubscriptionOptionalParams
extends coreClient.OperationOptions {
/**
* Maximum number of items needed (inclusive).
* Minimum = 10, Maximum = 1000, Default value = 50.
*/
maxPageSize?: number;
/** Skip token for getting next set of results. */
skipToken?: string;
}
/** Contains response data for the listBySubscription operation. */
export type FarmBeatsModelsListBySubscriptionResponse = FarmBeatsListResponse;
/** Optional parameters. */
export interface FarmBeatsModelsListByResourceGroupOptionalParams
extends coreClient.OperationOptions {
/**
* Maximum number of items needed (inclusive).
* Minimum = 10, Maximum = 1000, Default value = 50.
*/
maxPageSize?: number;
/** Continuation token for getting next set of results. */
skipToken?: string;
}
/** Contains response data for the listByResourceGroup operation. */
export type FarmBeatsModelsListByResourceGroupResponse = FarmBeatsListResponse;
/** Optional parameters. */
export interface FarmBeatsModelsGetOperationResultOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the getOperationResult operation. */
export type FarmBeatsModelsGetOperationResultResponse = ArmAsyncOperation;
/** Optional parameters. */
export interface FarmBeatsModelsListBySubscriptionNextOptionalParams
extends coreClient.OperationOptions {
/**
* Maximum number of items needed (inclusive).
* Minimum = 10, Maximum = 1000, Default value = 50.
*/
maxPageSize?: number;
/** Skip token for getting next set of results. */
skipToken?: string;
}
/** Contains response data for the listBySubscriptionNext operation. */
export type FarmBeatsModelsListBySubscriptionNextResponse = FarmBeatsListResponse;
/** Optional parameters. */
export interface FarmBeatsModelsListByResourceGroupNextOptionalParams
extends coreClient.OperationOptions {
/**
* Maximum number of items needed (inclusive).
* Minimum = 10, Maximum = 1000, Default value = 50.
*/
maxPageSize?: number;
/** Continuation token for getting next set of results. */
skipToken?: string;
}
/** Contains response data for the listByResourceGroupNext operation. */
export type FarmBeatsModelsListByResourceGroupNextResponse = FarmBeatsListResponse;
/** Optional parameters. */
export interface LocationsCheckNameAvailabilityOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the checkNameAvailability operation. */
export type LocationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
/** Optional parameters. */
export interface OperationsListOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the list operation. */
export type OperationsListResponse = OperationListResult;
/** Optional parameters. */
export interface OperationsListNextOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the listNext operation. */
export type OperationsListNextResponse = OperationListResult;
/** Optional parameters. */
export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the createOrUpdate operation. */
export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
/** Optional parameters. */
export interface PrivateEndpointConnectionsGetOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the get operation. */
export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
/** Optional parameters. */
export interface PrivateEndpointConnectionsDeleteOptionalParams
extends coreClient.OperationOptions {
/** Delay to wait until next poll, in milliseconds. */
updateIntervalInMs?: number;
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
resumeFrom?: string;
}
/** Optional parameters. */
export interface PrivateEndpointConnectionsListByResourceOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the listByResource operation. */
export type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
/** Optional parameters. */
export interface PrivateLinkResourcesListByResourceOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the listByResource operation. */
export type PrivateLinkResourcesListByResourceResponse = PrivateLinkResourceListResult;
/** Optional parameters. */
export interface PrivateLinkResourcesGetOptionalParams
extends coreClient.OperationOptions {}
/** Contains response data for the get operation. */
export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
/** Optional parameters. */
export interface AgriFoodMgmtClientOptionalParams
extends coreClient.ServiceClientOptions {
/** server parameter */
$host?: string;
/** Api Version */
apiVersion?: string;
/** Overrides client endpoint. */
endpoint?: string;
}