/
models.go
1570 lines (1187 loc) · 64.4 KB
/
models.go
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
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//go:build go1.18
// +build go1.18
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// DO NOT EDIT.
package armservicebus
import "time"
// AccessKeys - Namespace/ServiceBus Connection String
type AccessKeys struct {
// READ-ONLY; Primary connection string of the alias if GEO DR is enabled
AliasPrimaryConnectionString *string `json:"aliasPrimaryConnectionString,omitempty" azure:"ro"`
// READ-ONLY; Secondary connection string of the alias if GEO DR is enabled
AliasSecondaryConnectionString *string `json:"aliasSecondaryConnectionString,omitempty" azure:"ro"`
// READ-ONLY; A string that describes the authorization rule.
KeyName *string `json:"keyName,omitempty" azure:"ro"`
// READ-ONLY; Primary connection string of the created namespace authorization rule.
PrimaryConnectionString *string `json:"primaryConnectionString,omitempty" azure:"ro"`
// READ-ONLY; A base64-encoded 256-bit primary key for signing and validating the SAS token.
PrimaryKey *string `json:"primaryKey,omitempty" azure:"ro"`
// READ-ONLY; Secondary connection string of the created namespace authorization rule.
SecondaryConnectionString *string `json:"secondaryConnectionString,omitempty" azure:"ro"`
// READ-ONLY; A base64-encoded 256-bit primary key for signing and validating the SAS token.
SecondaryKey *string `json:"secondaryKey,omitempty" azure:"ro"`
}
// Action - Represents the filter actions which are allowed for the transformation of a message that have been matched by
// a filter expression.
type Action struct {
// This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
CompatibilityLevel *int32 `json:"compatibilityLevel,omitempty"`
// Value that indicates whether the rule action requires preprocessing.
RequiresPreprocessing *bool `json:"requiresPreprocessing,omitempty"`
// SQL expression. e.g. MyProperty='ABC'
SQLExpression *string `json:"sqlExpression,omitempty"`
}
// ArmDisasterRecovery - Single item in List or Get Alias(Disaster Recovery configuration) operation
type ArmDisasterRecovery struct {
// Properties required to the Create Or Update Alias(Disaster Recovery configurations)
Properties *ArmDisasterRecoveryProperties `json:"properties,omitempty"`
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; The geo-location where the resource lives
Location *string `json:"location,omitempty" azure:"ro"`
// READ-ONLY; The name of the resource
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData `json:"systemData,omitempty" azure:"ro"`
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string `json:"type,omitempty" azure:"ro"`
}
// ArmDisasterRecoveryListResult - The result of the List Alias(Disaster Recovery configuration) operation.
type ArmDisasterRecoveryListResult struct {
// List of Alias(Disaster Recovery configurations)
Value []*ArmDisasterRecovery `json:"value,omitempty"`
// READ-ONLY; Link to the next set of results. Not empty if Value contains incomplete list of Alias(Disaster Recovery configuration)
NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}
// ArmDisasterRecoveryProperties - Properties required to the Create Or Update Alias(Disaster Recovery configurations)
type ArmDisasterRecoveryProperties struct {
// Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
AlternateName *string `json:"alternateName,omitempty"`
// ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
PartnerNamespace *string `json:"partnerNamespace,omitempty"`
// READ-ONLY; Number of entities pending to be replicated.
PendingReplicationOperationsCount *int64 `json:"pendingReplicationOperationsCount,omitempty" azure:"ro"`
// READ-ONLY; Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded'
// or 'Failed'
ProvisioningState *ProvisioningStateDR `json:"provisioningState,omitempty" azure:"ro"`
// READ-ONLY; role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'
Role *RoleDisasterRecovery `json:"role,omitempty" azure:"ro"`
}
// CheckNameAvailability - Description of a Check Name availability request properties.
type CheckNameAvailability struct {
// REQUIRED; The Name to check the namespace name availability and The namespace name can contain only letters, numbers, and
// hyphens. The namespace must start with a letter, and it must end with a letter or
// number.
Name *string `json:"name,omitempty"`
}
// CheckNameAvailabilityResult - Description of a Check Name availability request properties.
type CheckNameAvailabilityResult struct {
// Value indicating namespace is availability, true if the namespace is available; otherwise, false.
NameAvailable *bool `json:"nameAvailable,omitempty"`
// The reason for unavailability of a namespace.
Reason *UnavailableReason `json:"reason,omitempty"`
// READ-ONLY; The detailed info regarding the reason associated with the namespace.
Message *string `json:"message,omitempty" azure:"ro"`
}
// ConnectionState information.
type ConnectionState struct {
// Description of the connection state.
Description *string `json:"description,omitempty"`
// Status of the connection.
Status *PrivateLinkConnectionStatus `json:"status,omitempty"`
}
// CorrelationFilter - Represents the correlation filter expression.
type CorrelationFilter struct {
// Content type of the message.
ContentType *string `json:"contentType,omitempty"`
// Identifier of the correlation.
CorrelationID *string `json:"correlationId,omitempty"`
// Application specific label.
Label *string `json:"label,omitempty"`
// Identifier of the message.
MessageID *string `json:"messageId,omitempty"`
// dictionary object for custom filters
Properties map[string]*string `json:"properties,omitempty"`
// Address of the queue to reply to.
ReplyTo *string `json:"replyTo,omitempty"`
// Session identifier to reply to.
ReplyToSessionID *string `json:"replyToSessionId,omitempty"`
// Value that indicates whether the rule action requires preprocessing.
RequiresPreprocessing *bool `json:"requiresPreprocessing,omitempty"`
// Session identifier.
SessionID *string `json:"sessionId,omitempty"`
// Address to send to.
To *string `json:"to,omitempty"`
}
// DisasterRecoveryConfigsClientBreakPairingOptions contains the optional parameters for the DisasterRecoveryConfigsClient.BreakPairing
// method.
type DisasterRecoveryConfigsClientBreakPairingOptions struct {
// placeholder for future optional parameters
}
// DisasterRecoveryConfigsClientCheckNameAvailabilityOptions contains the optional parameters for the DisasterRecoveryConfigsClient.CheckNameAvailability
// method.
type DisasterRecoveryConfigsClientCheckNameAvailabilityOptions struct {
// placeholder for future optional parameters
}
// DisasterRecoveryConfigsClientCreateOrUpdateOptions contains the optional parameters for the DisasterRecoveryConfigsClient.CreateOrUpdate
// method.
type DisasterRecoveryConfigsClientCreateOrUpdateOptions struct {
// placeholder for future optional parameters
}
// DisasterRecoveryConfigsClientDeleteOptions contains the optional parameters for the DisasterRecoveryConfigsClient.Delete
// method.
type DisasterRecoveryConfigsClientDeleteOptions struct {
// placeholder for future optional parameters
}
// DisasterRecoveryConfigsClientFailOverOptions contains the optional parameters for the DisasterRecoveryConfigsClient.FailOver
// method.
type DisasterRecoveryConfigsClientFailOverOptions struct {
// Parameters required to create an Alias(Disaster Recovery configuration)
Parameters *FailoverProperties
}
// DisasterRecoveryConfigsClientGetAuthorizationRuleOptions contains the optional parameters for the DisasterRecoveryConfigsClient.GetAuthorizationRule
// method.
type DisasterRecoveryConfigsClientGetAuthorizationRuleOptions struct {
// placeholder for future optional parameters
}
// DisasterRecoveryConfigsClientGetOptions contains the optional parameters for the DisasterRecoveryConfigsClient.Get method.
type DisasterRecoveryConfigsClientGetOptions struct {
// placeholder for future optional parameters
}
// DisasterRecoveryConfigsClientListAuthorizationRulesOptions contains the optional parameters for the DisasterRecoveryConfigsClient.NewListAuthorizationRulesPager
// method.
type DisasterRecoveryConfigsClientListAuthorizationRulesOptions struct {
// placeholder for future optional parameters
}
// DisasterRecoveryConfigsClientListKeysOptions contains the optional parameters for the DisasterRecoveryConfigsClient.ListKeys
// method.
type DisasterRecoveryConfigsClientListKeysOptions struct {
// placeholder for future optional parameters
}
// DisasterRecoveryConfigsClientListOptions contains the optional parameters for the DisasterRecoveryConfigsClient.NewListPager
// method.
type DisasterRecoveryConfigsClientListOptions struct {
// placeholder for future optional parameters
}
// Encryption - Properties to configure Encryption
type Encryption struct {
// Enumerates the possible value of keySource for Encryption
KeySource *string `json:"keySource,omitempty"`
// Properties of KeyVault
KeyVaultProperties []*KeyVaultProperties `json:"keyVaultProperties,omitempty"`
// Enable Infrastructure Encryption (Double Encryption)
RequireInfrastructureEncryption *bool `json:"requireInfrastructureEncryption,omitempty"`
}
// ErrorAdditionalInfo - The resource management error additional info.
type ErrorAdditionalInfo struct {
// READ-ONLY; The additional info.
Info any `json:"info,omitempty" azure:"ro"`
// READ-ONLY; The additional info type.
Type *string `json:"type,omitempty" azure:"ro"`
}
// ErrorResponse - The resource management error response.
type ErrorResponse struct {
// The error object.
Error *ErrorResponseError `json:"error,omitempty"`
}
// ErrorResponseError - The error object.
type ErrorResponseError struct {
// READ-ONLY; The error additional info.
AdditionalInfo []*ErrorAdditionalInfo `json:"additionalInfo,omitempty" azure:"ro"`
// READ-ONLY; The error code.
Code *string `json:"code,omitempty" azure:"ro"`
// READ-ONLY; The error details.
Details []*ErrorResponse `json:"details,omitempty" azure:"ro"`
// READ-ONLY; The error message.
Message *string `json:"message,omitempty" azure:"ro"`
// READ-ONLY; The error target.
Target *string `json:"target,omitempty" azure:"ro"`
}
// FailoverProperties - Safe failover is to indicate the service should wait for pending replication to finish before switching
// to the secondary.
type FailoverProperties struct {
// Safe failover is to indicate the service should wait for pending replication to finish before switching to the secondary.
Properties *FailoverPropertiesProperties `json:"properties,omitempty"`
}
// FailoverPropertiesProperties - Safe failover is to indicate the service should wait for pending replication to finish before
// switching to the secondary.
type FailoverPropertiesProperties struct {
// Safe failover is to indicate the service should wait for pending replication to finish before switching to the secondary.
IsSafeFailover *bool `json:"IsSafeFailover,omitempty"`
}
// Identity - Properties to configure User Assigned Identities for Bring your Own Keys
type Identity struct {
// Type of managed service identity.
Type *ManagedServiceIdentityType `json:"type,omitempty"`
// Properties for User Assigned Identities
UserAssignedIdentities map[string]*UserAssignedIdentity `json:"userAssignedIdentities,omitempty"`
// READ-ONLY; ObjectId from the KeyVault
PrincipalID *string `json:"principalId,omitempty" azure:"ro"`
// READ-ONLY; TenantId from the KeyVault
TenantID *string `json:"tenantId,omitempty" azure:"ro"`
}
// KeyVaultProperties - Properties to configure keyVault Properties
type KeyVaultProperties struct {
Identity *UserAssignedIdentityProperties `json:"identity,omitempty"`
// Name of the Key from KeyVault
KeyName *string `json:"keyName,omitempty"`
// Uri of KeyVault
KeyVaultURI *string `json:"keyVaultUri,omitempty"`
// Version of KeyVault
KeyVersion *string `json:"keyVersion,omitempty"`
}
// MessageCountDetails - Message Count Details.
type MessageCountDetails struct {
// READ-ONLY; Number of active messages in the queue, topic, or subscription.
ActiveMessageCount *int64 `json:"activeMessageCount,omitempty" azure:"ro"`
// READ-ONLY; Number of messages that are dead lettered.
DeadLetterMessageCount *int64 `json:"deadLetterMessageCount,omitempty" azure:"ro"`
// READ-ONLY; Number of scheduled messages.
ScheduledMessageCount *int64 `json:"scheduledMessageCount,omitempty" azure:"ro"`
// READ-ONLY; Number of messages transferred into dead letters.
TransferDeadLetterMessageCount *int64 `json:"transferDeadLetterMessageCount,omitempty" azure:"ro"`
// READ-ONLY; Number of messages transferred to another queue, topic, or subscription.
TransferMessageCount *int64 `json:"transferMessageCount,omitempty" azure:"ro"`
}
// MigrationConfigListResult - The result of the List migrationConfigurations operation.
type MigrationConfigListResult struct {
// List of Migration Configs
Value []*MigrationConfigProperties `json:"value,omitempty"`
// READ-ONLY; Link to the next set of results. Not empty if Value contains incomplete list of migrationConfigurations
NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}
// MigrationConfigProperties - Single item in List or Get Migration Config operation
type MigrationConfigProperties struct {
// Properties required to the Create Migration Configuration
Properties *MigrationConfigPropertiesProperties `json:"properties,omitempty"`
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; The geo-location where the resource lives
Location *string `json:"location,omitempty" azure:"ro"`
// READ-ONLY; The name of the resource
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData `json:"systemData,omitempty" azure:"ro"`
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string `json:"type,omitempty" azure:"ro"`
}
// MigrationConfigPropertiesProperties - Properties required to the Create Migration Configuration
type MigrationConfigPropertiesProperties struct {
// REQUIRED; Name to access Standard Namespace after migration
PostMigrationName *string `json:"postMigrationName,omitempty"`
// REQUIRED; Existing premium Namespace ARM Id name which has no entities, will be used for migration
TargetNamespace *string `json:"targetNamespace,omitempty"`
// READ-ONLY; State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating,
// Syncing, Active
MigrationState *string `json:"migrationState,omitempty" azure:"ro"`
// READ-ONLY; Number of entities pending to be replicated.
PendingReplicationOperationsCount *int64 `json:"pendingReplicationOperationsCount,omitempty" azure:"ro"`
// READ-ONLY; Provisioning state of Migration Configuration
ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"`
}
// MigrationConfigsClientBeginCreateAndStartMigrationOptions contains the optional parameters for the MigrationConfigsClient.BeginCreateAndStartMigration
// method.
type MigrationConfigsClientBeginCreateAndStartMigrationOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// MigrationConfigsClientCompleteMigrationOptions contains the optional parameters for the MigrationConfigsClient.CompleteMigration
// method.
type MigrationConfigsClientCompleteMigrationOptions struct {
// placeholder for future optional parameters
}
// MigrationConfigsClientDeleteOptions contains the optional parameters for the MigrationConfigsClient.Delete method.
type MigrationConfigsClientDeleteOptions struct {
// placeholder for future optional parameters
}
// MigrationConfigsClientGetOptions contains the optional parameters for the MigrationConfigsClient.Get method.
type MigrationConfigsClientGetOptions struct {
// placeholder for future optional parameters
}
// MigrationConfigsClientListOptions contains the optional parameters for the MigrationConfigsClient.NewListPager method.
type MigrationConfigsClientListOptions struct {
// placeholder for future optional parameters
}
// MigrationConfigsClientRevertOptions contains the optional parameters for the MigrationConfigsClient.Revert method.
type MigrationConfigsClientRevertOptions struct {
// placeholder for future optional parameters
}
// NWRuleSetIPRules - Description of NetWorkRuleSet - IpRules resource.
type NWRuleSetIPRules struct {
// The IP Filter Action
Action *NetworkRuleIPAction `json:"action,omitempty"`
// IP Mask
IPMask *string `json:"ipMask,omitempty"`
}
// NWRuleSetVirtualNetworkRules - Description of VirtualNetworkRules - NetworkRules resource.
type NWRuleSetVirtualNetworkRules struct {
// Value that indicates whether to ignore missing VNet Service Endpoint
IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"`
// Subnet properties
Subnet *Subnet `json:"subnet,omitempty"`
}
// NamespacesClientBeginCreateOrUpdateOptions contains the optional parameters for the NamespacesClient.BeginCreateOrUpdate
// method.
type NamespacesClientBeginCreateOrUpdateOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// NamespacesClientBeginDeleteOptions contains the optional parameters for the NamespacesClient.BeginDelete method.
type NamespacesClientBeginDeleteOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// NamespacesClientCheckNameAvailabilityOptions contains the optional parameters for the NamespacesClient.CheckNameAvailability
// method.
type NamespacesClientCheckNameAvailabilityOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientCreateOrUpdateAuthorizationRuleOptions contains the optional parameters for the NamespacesClient.CreateOrUpdateAuthorizationRule
// method.
type NamespacesClientCreateOrUpdateAuthorizationRuleOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientCreateOrUpdateNetworkRuleSetOptions contains the optional parameters for the NamespacesClient.CreateOrUpdateNetworkRuleSet
// method.
type NamespacesClientCreateOrUpdateNetworkRuleSetOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientDeleteAuthorizationRuleOptions contains the optional parameters for the NamespacesClient.DeleteAuthorizationRule
// method.
type NamespacesClientDeleteAuthorizationRuleOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientGetAuthorizationRuleOptions contains the optional parameters for the NamespacesClient.GetAuthorizationRule
// method.
type NamespacesClientGetAuthorizationRuleOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientGetNetworkRuleSetOptions contains the optional parameters for the NamespacesClient.GetNetworkRuleSet method.
type NamespacesClientGetNetworkRuleSetOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientGetOptions contains the optional parameters for the NamespacesClient.Get method.
type NamespacesClientGetOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientListAuthorizationRulesOptions contains the optional parameters for the NamespacesClient.NewListAuthorizationRulesPager
// method.
type NamespacesClientListAuthorizationRulesOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientListByResourceGroupOptions contains the optional parameters for the NamespacesClient.NewListByResourceGroupPager
// method.
type NamespacesClientListByResourceGroupOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientListKeysOptions contains the optional parameters for the NamespacesClient.ListKeys method.
type NamespacesClientListKeysOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientListNetworkRuleSetsOptions contains the optional parameters for the NamespacesClient.NewListNetworkRuleSetsPager
// method.
type NamespacesClientListNetworkRuleSetsOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientListOptions contains the optional parameters for the NamespacesClient.NewListPager method.
type NamespacesClientListOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientRegenerateKeysOptions contains the optional parameters for the NamespacesClient.RegenerateKeys method.
type NamespacesClientRegenerateKeysOptions struct {
// placeholder for future optional parameters
}
// NamespacesClientUpdateOptions contains the optional parameters for the NamespacesClient.Update method.
type NamespacesClientUpdateOptions struct {
// placeholder for future optional parameters
}
// NetworkRuleSet - Description of NetworkRuleSet resource.
type NetworkRuleSet struct {
// NetworkRuleSet properties
Properties *NetworkRuleSetProperties `json:"properties,omitempty"`
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; The geo-location where the resource lives
Location *string `json:"location,omitempty" azure:"ro"`
// READ-ONLY; The name of the resource
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData `json:"systemData,omitempty" azure:"ro"`
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string `json:"type,omitempty" azure:"ro"`
}
// NetworkRuleSetListResult - The response of the List NetworkRuleSet operation.
type NetworkRuleSetListResult struct {
// Link to the next set of results. Not empty if Value contains incomplete list of NetworkRuleSet.
NextLink *string `json:"nextLink,omitempty"`
// Result of the List NetworkRuleSet operation.
Value []*NetworkRuleSet `json:"value,omitempty"`
}
// NetworkRuleSetProperties - NetworkRuleSet properties
type NetworkRuleSetProperties struct {
// Default Action for Network Rule Set
DefaultAction *DefaultAction `json:"defaultAction,omitempty"`
// List of IpRules
IPRules []*NWRuleSetIPRules `json:"ipRules,omitempty"`
// This determines if traffic is allowed over public network. By default it is enabled.
PublicNetworkAccess *PublicNetworkAccessFlag `json:"publicNetworkAccess,omitempty"`
// Value that indicates whether Trusted Service Access is Enabled or not.
TrustedServiceAccessEnabled *bool `json:"trustedServiceAccessEnabled,omitempty"`
// List VirtualNetwork Rules
VirtualNetworkRules []*NWRuleSetVirtualNetworkRules `json:"virtualNetworkRules,omitempty"`
}
// Operation - A Service Bus REST API operation
type Operation struct {
// Display of the operation
Display *OperationDisplay `json:"display,omitempty"`
// Indicates whether the operation is a data action
IsDataAction *bool `json:"isDataAction,omitempty"`
// Origin of the operation
Origin *string `json:"origin,omitempty"`
// Properties of the operation
Properties any `json:"properties,omitempty"`
// READ-ONLY; Operation name: {provider}/{resource}/{operation}
Name *string `json:"name,omitempty" azure:"ro"`
}
// OperationDisplay - Operation display payload
type OperationDisplay struct {
// READ-ONLY; Localized friendly description for the operation
Description *string `json:"description,omitempty" azure:"ro"`
// READ-ONLY; Localized friendly name for the operation
Operation *string `json:"operation,omitempty" azure:"ro"`
// READ-ONLY; Resource provider of the operation
Provider *string `json:"provider,omitempty" azure:"ro"`
// READ-ONLY; Resource of the operation
Resource *string `json:"resource,omitempty" azure:"ro"`
}
// OperationListResult - Result of the request to list ServiceBus operations. It contains a list of operations and a URL link
// to get the next set of results.
type OperationListResult struct {
// READ-ONLY; URL to get the next set of operation list results if there are any.
NextLink *string `json:"nextLink,omitempty" azure:"ro"`
// READ-ONLY; List of ServiceBus operations supported by the Microsoft.ServiceBus resource provider.
Value []*Operation `json:"value,omitempty" azure:"ro"`
}
// OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
type OperationsClientListOptions struct {
// placeholder for future optional parameters
}
// PrivateEndpoint information.
type PrivateEndpoint struct {
// The ARM identifier for Private Endpoint.
ID *string `json:"id,omitempty"`
}
// PrivateEndpointConnection - Properties of the PrivateEndpointConnection.
type PrivateEndpointConnection struct {
// Properties of the PrivateEndpointConnection.
Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; The geo-location where the resource lives
Location *string `json:"location,omitempty" azure:"ro"`
// READ-ONLY; The name of the resource
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData `json:"systemData,omitempty" azure:"ro"`
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string `json:"type,omitempty" azure:"ro"`
}
// PrivateEndpointConnectionListResult - Result of the list of all private endpoint connections operation.
type PrivateEndpointConnectionListResult struct {
// A link for the next page of private endpoint connection resources.
NextLink *string `json:"nextLink,omitempty"`
// A collection of private endpoint connection resources.
Value []*PrivateEndpointConnection `json:"value,omitempty"`
}
// PrivateEndpointConnectionProperties - Properties of the private endpoint connection resource.
type PrivateEndpointConnectionProperties struct {
// The Private Endpoint resource for this Connection.
PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
// Details about the state of the connection.
PrivateLinkServiceConnectionState *ConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
// Provisioning state of the Private Endpoint Connection.
ProvisioningState *EndPointProvisioningState `json:"provisioningState,omitempty"`
}
// PrivateEndpointConnectionsClientBeginDeleteOptions contains the optional parameters for the PrivateEndpointConnectionsClient.BeginDelete
// method.
type PrivateEndpointConnectionsClientBeginDeleteOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// PrivateEndpointConnectionsClientCreateOrUpdateOptions contains the optional parameters for the PrivateEndpointConnectionsClient.CreateOrUpdate
// method.
type PrivateEndpointConnectionsClientCreateOrUpdateOptions struct {
// placeholder for future optional parameters
}
// PrivateEndpointConnectionsClientGetOptions contains the optional parameters for the PrivateEndpointConnectionsClient.Get
// method.
type PrivateEndpointConnectionsClientGetOptions struct {
// placeholder for future optional parameters
}
// PrivateEndpointConnectionsClientListOptions contains the optional parameters for the PrivateEndpointConnectionsClient.NewListPager
// method.
type PrivateEndpointConnectionsClientListOptions struct {
// placeholder for future optional parameters
}
// PrivateLinkResource - Information of the private link resource.
type PrivateLinkResource struct {
// Fully qualified identifier of the resource.
ID *string `json:"id,omitempty"`
// Name of the resource
Name *string `json:"name,omitempty"`
// Properties of the private link resource.
Properties *PrivateLinkResourceProperties `json:"properties,omitempty"`
// Type of the resource
Type *string `json:"type,omitempty"`
}
// PrivateLinkResourceProperties - Properties of PrivateLinkResource
type PrivateLinkResourceProperties struct {
GroupID *string `json:"groupId,omitempty"`
// Required Members
RequiredMembers []*string `json:"requiredMembers,omitempty"`
// Required Zone Names
RequiredZoneNames []*string `json:"requiredZoneNames,omitempty"`
}
// PrivateLinkResourcesClientGetOptions contains the optional parameters for the PrivateLinkResourcesClient.Get method.
type PrivateLinkResourcesClientGetOptions struct {
// placeholder for future optional parameters
}
// PrivateLinkResourcesListResult - Result of the List private link resources operation.
type PrivateLinkResourcesListResult struct {
// A link for the next page of private link resources.
NextLink *string `json:"nextLink,omitempty"`
// A collection of private link resources
Value []*PrivateLinkResource `json:"value,omitempty"`
}
// ProxyResource - Common fields that are returned in the response for all Azure Resource Manager resources
type ProxyResource struct {
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; The geo-location where the resource lives
Location *string `json:"location,omitempty" azure:"ro"`
// READ-ONLY; The name of the resource
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string `json:"type,omitempty" azure:"ro"`
}
// QueuesClientCreateOrUpdateAuthorizationRuleOptions contains the optional parameters for the QueuesClient.CreateOrUpdateAuthorizationRule
// method.
type QueuesClientCreateOrUpdateAuthorizationRuleOptions struct {
// placeholder for future optional parameters
}
// QueuesClientCreateOrUpdateOptions contains the optional parameters for the QueuesClient.CreateOrUpdate method.
type QueuesClientCreateOrUpdateOptions struct {
// placeholder for future optional parameters
}
// QueuesClientDeleteAuthorizationRuleOptions contains the optional parameters for the QueuesClient.DeleteAuthorizationRule
// method.
type QueuesClientDeleteAuthorizationRuleOptions struct {
// placeholder for future optional parameters
}
// QueuesClientDeleteOptions contains the optional parameters for the QueuesClient.Delete method.
type QueuesClientDeleteOptions struct {
// placeholder for future optional parameters
}
// QueuesClientGetAuthorizationRuleOptions contains the optional parameters for the QueuesClient.GetAuthorizationRule method.
type QueuesClientGetAuthorizationRuleOptions struct {
// placeholder for future optional parameters
}
// QueuesClientGetOptions contains the optional parameters for the QueuesClient.Get method.
type QueuesClientGetOptions struct {
// placeholder for future optional parameters
}
// QueuesClientListAuthorizationRulesOptions contains the optional parameters for the QueuesClient.NewListAuthorizationRulesPager
// method.
type QueuesClientListAuthorizationRulesOptions struct {
// placeholder for future optional parameters
}
// QueuesClientListByNamespaceOptions contains the optional parameters for the QueuesClient.NewListByNamespacePager method.
type QueuesClientListByNamespaceOptions struct {
// Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element,
// the value of the nextLink element will include a skip parameter that specifies
// a starting point to use for subsequent calls.
Skip *int32
// May be used to limit the number of results to the most recent N usageDetails.
Top *int32
}
// QueuesClientListKeysOptions contains the optional parameters for the QueuesClient.ListKeys method.
type QueuesClientListKeysOptions struct {
// placeholder for future optional parameters
}
// QueuesClientRegenerateKeysOptions contains the optional parameters for the QueuesClient.RegenerateKeys method.
type QueuesClientRegenerateKeysOptions struct {
// placeholder for future optional parameters
}
// RegenerateAccessKeyParameters - Parameters supplied to the Regenerate Authorization Rule operation, specifies which key
// needs to be reset.
type RegenerateAccessKeyParameters struct {
// REQUIRED; The access key to regenerate.
KeyType *KeyType `json:"keyType,omitempty"`
// Optional, if the key value provided, is reset for KeyType value or autogenerate Key value set for keyType
Key *string `json:"key,omitempty"`
}
// Resource - The Resource definition for other than namespace.
type Resource struct {
// READ-ONLY; Resource Id
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; Resource name
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; Resource type
Type *string `json:"type,omitempty" azure:"ro"`
}
// ResourceNamespacePatch - The Resource definition.
type ResourceNamespacePatch struct {
// Resource location
Location *string `json:"location,omitempty"`
// Resource tags
Tags map[string]*string `json:"tags,omitempty"`
// READ-ONLY; Resource Id
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; Resource name
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; Resource type
Type *string `json:"type,omitempty" azure:"ro"`
}
// Rule - Description of Rule Resource.
type Rule struct {
// Properties of Rule resource
Properties *Ruleproperties `json:"properties,omitempty"`
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; The geo-location where the resource lives
Location *string `json:"location,omitempty" azure:"ro"`
// READ-ONLY; The name of the resource
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData `json:"systemData,omitempty" azure:"ro"`
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string `json:"type,omitempty" azure:"ro"`
}
// RuleListResult - The response of the List rule operation.
type RuleListResult struct {
// Link to the next set of results. Not empty if Value contains incomplete list of rules
NextLink *string `json:"nextLink,omitempty"`
// Result of the List Rules operation.
Value []*Rule `json:"value,omitempty"`
}
// Ruleproperties - Description of Rule Resource.
type Ruleproperties struct {
// Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter
// expression.
Action *Action `json:"action,omitempty"`
// Properties of correlationFilter
CorrelationFilter *CorrelationFilter `json:"correlationFilter,omitempty"`
// Filter type that is evaluated against a BrokeredMessage.
FilterType *FilterType `json:"filterType,omitempty"`
// Properties of sqlFilter
SQLFilter *SQLFilter `json:"sqlFilter,omitempty"`
}
// RulesClientCreateOrUpdateOptions contains the optional parameters for the RulesClient.CreateOrUpdate method.
type RulesClientCreateOrUpdateOptions struct {
// placeholder for future optional parameters
}
// RulesClientDeleteOptions contains the optional parameters for the RulesClient.Delete method.
type RulesClientDeleteOptions struct {
// placeholder for future optional parameters
}
// RulesClientGetOptions contains the optional parameters for the RulesClient.Get method.
type RulesClientGetOptions struct {
// placeholder for future optional parameters
}
// RulesClientListBySubscriptionsOptions contains the optional parameters for the RulesClient.NewListBySubscriptionsPager
// method.
type RulesClientListBySubscriptionsOptions struct {
// Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element,
// the value of the nextLink element will include a skip parameter that specifies
// a starting point to use for subsequent calls.
Skip *int32
// May be used to limit the number of results to the most recent N usageDetails.
Top *int32
}
// SBAuthorizationRule - Description of a namespace authorization rule.
type SBAuthorizationRule struct {
// AuthorizationRule properties.
Properties *SBAuthorizationRuleProperties `json:"properties,omitempty"`
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; The geo-location where the resource lives
Location *string `json:"location,omitempty" azure:"ro"`
// READ-ONLY; The name of the resource
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData `json:"systemData,omitempty" azure:"ro"`
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string `json:"type,omitempty" azure:"ro"`
}
// SBAuthorizationRuleListResult - The response to the List Namespace operation.
type SBAuthorizationRuleListResult struct {
// Link to the next set of results. Not empty if Value contains incomplete list of Authorization Rules.
NextLink *string `json:"nextLink,omitempty"`
// Result of the List Authorization Rules operation.
Value []*SBAuthorizationRule `json:"value,omitempty"`
}
// SBAuthorizationRuleProperties - AuthorizationRule properties.
type SBAuthorizationRuleProperties struct {
// REQUIRED; The rights associated with the rule.
Rights []*AccessRights `json:"rights,omitempty"`
}
// SBClientAffineProperties - Properties specific to client affine subscriptions.
type SBClientAffineProperties struct {
// Indicates the Client ID of the application that created the client-affine subscription.
ClientID *string `json:"clientId,omitempty"`
// For client-affine subscriptions, this value indicates whether the subscription is durable or not.
IsDurable *bool `json:"isDurable,omitempty"`
// For client-affine subscriptions, this value indicates whether the subscription is shared or not.
IsShared *bool `json:"isShared,omitempty"`
}
// SBNamespace - Description of a namespace resource.
type SBNamespace struct {
// REQUIRED; The Geo-location where the resource lives
Location *string `json:"location,omitempty"`
// Properties of BYOK Identity description
Identity *Identity `json:"identity,omitempty"`
// Properties of the namespace.
Properties *SBNamespaceProperties `json:"properties,omitempty"`
// Properties of SKU
SKU *SBSKU `json:"sku,omitempty"`
// Resource tags
Tags map[string]*string `json:"tags,omitempty"`
// READ-ONLY; Resource Id
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; Resource name
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData `json:"systemData,omitempty" azure:"ro"`
// READ-ONLY; Resource type
Type *string `json:"type,omitempty" azure:"ro"`
}
// SBNamespaceListResult - The response of the List Namespace operation.
type SBNamespaceListResult struct {
// Link to the next set of results. Not empty if Value contains incomplete list of Namespaces.
NextLink *string `json:"nextLink,omitempty"`
// Result of the List Namespace operation.
Value []*SBNamespace `json:"value,omitempty"`
}
// SBNamespaceProperties - Properties of the namespace.