/
models.go
902 lines (670 loc) · 28.6 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
//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. DO NOT EDIT.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
package armeventhub
import "time"
// AccessKeys - Namespace/EventHub Connection String
type AccessKeys struct {
// READ-ONLY; Primary connection string of the alias if GEO DR is enabled
AliasPrimaryConnectionString *string
// READ-ONLY; Secondary connection string of the alias if GEO DR is enabled
AliasSecondaryConnectionString *string
// READ-ONLY; A string that describes the AuthorizationRule.
KeyName *string
// READ-ONLY; Primary connection string of the created namespace AuthorizationRule.
PrimaryConnectionString *string
// READ-ONLY; A base64-encoded 256-bit primary key for signing and validating the SAS token.
PrimaryKey *string
// READ-ONLY; Secondary connection string of the created namespace AuthorizationRule.
SecondaryConnectionString *string
// READ-ONLY; A base64-encoded 256-bit primary key for signing and validating the SAS token.
SecondaryKey *string
}
// 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
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The geo-location where the resource lives
Location *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string
}
// ArmDisasterRecoveryListResult - The result of the List Alias(Disaster Recovery configuration) operation.
type ArmDisasterRecoveryListResult struct {
// List of Alias(Disaster Recovery configurations)
Value []*ArmDisasterRecovery
// READ-ONLY; Link to the next set of results. Not empty if Value contains incomplete list of Alias(Disaster Recovery configuration)
NextLink *string
}
// ArmDisasterRecoveryProperties - Properties required to the Create Or Update Alias(Disaster Recovery configurations)
type ArmDisasterRecoveryProperties struct {
// Alternate name specified when alias and namespace names are same.
AlternateName *string
// ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
PartnerNamespace *string
// READ-ONLY; Number of entities pending to be replicated.
PendingReplicationOperationsCount *int64
// READ-ONLY; Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded'
// or 'Failed'
ProvisioningState *ProvisioningStateDR
// READ-ONLY; role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'
Role *RoleDisasterRecovery
}
// AuthorizationRule - Single item in a List or Get AuthorizationRule operation
type AuthorizationRule struct {
// Properties supplied to create or update AuthorizationRule
Properties *AuthorizationRuleProperties
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The geo-location where the resource lives
Location *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string
}
// AuthorizationRuleListResult - The response from the List namespace operation.
type AuthorizationRuleListResult struct {
// Link to the next set of results. Not empty if Value contains an incomplete list of Authorization Rules
NextLink *string
// Result of the List Authorization Rules operation.
Value []*AuthorizationRule
}
// AuthorizationRuleProperties - Properties supplied to create or update AuthorizationRule
type AuthorizationRuleProperties struct {
// REQUIRED; The rights associated with the rule.
Rights []*AccessRights
}
// AvailableCluster - Pre-provisioned and readily available Event Hubs Cluster count per region.
type AvailableCluster struct {
// Location fo the Available Cluster
Location *string
}
// AvailableClustersList - The response of the List Available Clusters operation.
type AvailableClustersList struct {
// The count of readily available and pre-provisioned Event Hubs Clusters per region.
Value []*AvailableCluster
}
// CaptureDescription - Properties to configure capture description for eventhub
type CaptureDescription struct {
// Properties of Destination where capture will be stored. (Storage Account, Blob Names)
Destination *Destination
// A value that indicates whether capture description is enabled.
Enabled *bool
// Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in
// New API Version
Encoding *EncodingCaptureDescription
// The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between
// 60 to 900 seconds
IntervalInSeconds *int32
// The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between
// 10485760 to 524288000 bytes
SizeLimitInBytes *int32
// A value that indicates whether to Skip Empty Archives
SkipEmptyArchives *bool
}
// CheckNameAvailabilityParameter - Parameter supplied to check Namespace name availability operation
type CheckNameAvailabilityParameter struct {
// REQUIRED; Name to check the namespace name availability
Name *string
}
// CheckNameAvailabilityResult - The Result of the CheckNameAvailability operation
type CheckNameAvailabilityResult struct {
// Value indicating Namespace is availability, true if the Namespace is available; otherwise, false.
NameAvailable *bool
// The reason for unavailability of a Namespace.
Reason *UnavailableReason
// READ-ONLY; The detailed info regarding the reason associated with the Namespace.
Message *string
}
// Cluster - Single Event Hubs Cluster resource in List or Get operations.
type Cluster struct {
// Resource location.
Location *string
// Event Hubs Cluster properties supplied in responses in List or Get operations.
Properties *ClusterProperties
// Properties of the cluster SKU.
SKU *ClusterSKU
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// ClusterListResult - The response of the List Event Hubs Clusters operation.
type ClusterListResult struct {
// Link to the next set of results. Empty unless the value parameter contains an incomplete list of Event Hubs Clusters.
NextLink *string
// The Event Hubs Clusters present in the List Event Hubs operation results.
Value []*Cluster
}
// ClusterProperties - Event Hubs Cluster properties supplied in responses in List or Get operations.
type ClusterProperties struct {
// READ-ONLY; The UTC time when the Event Hubs Cluster was created.
CreatedAt *string
// READ-ONLY; The metric ID of the cluster resource. Provided by the service and not modifiable by the user.
MetricID *string
// READ-ONLY; Status of the Cluster resource
Status *string
// READ-ONLY; The UTC time when the Event Hubs Cluster was last updated.
UpdatedAt *string
}
// ClusterQuotaConfigurationProperties - Contains all settings for the cluster.
type ClusterQuotaConfigurationProperties struct {
// All possible Cluster settings - a collection of key/value paired settings which apply to quotas and configurations imposed
// on the cluster.
Settings map[string]*string
}
// ClusterSKU - SKU parameters particular to a cluster instance.
type ClusterSKU struct {
// REQUIRED; Name of this SKU.
Name *ClusterSKUName
// The quantity of Event Hubs Cluster Capacity Units contained in this cluster.
Capacity *int32
}
// ConnectionState information.
type ConnectionState struct {
// Description of the connection state.
Description *string
// Status of the connection.
Status *PrivateLinkConnectionStatus
}
// ConsumerGroup - Single item in List or Get Consumer group operation
type ConsumerGroup struct {
// Single item in List or Get Consumer group operation
Properties *ConsumerGroupProperties
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The geo-location where the resource lives
Location *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string
}
// ConsumerGroupListResult - The result to the List Consumer Group operation.
type ConsumerGroupListResult struct {
// Link to the next set of results. Not empty if Value contains incomplete list of Consumer Group
NextLink *string
// Result of the List Consumer Group operation.
Value []*ConsumerGroup
}
// ConsumerGroupProperties - Single item in List or Get Consumer group operation
type ConsumerGroupProperties struct {
// User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store
// descriptive data, such as list of teams and their contact information also
// user-defined configuration settings can be stored.
UserMetadata *string
// READ-ONLY; Exact time the message was created.
CreatedAt *time.Time
// READ-ONLY; The exact time the message was updated.
UpdatedAt *time.Time
}
// Destination - Capture storage details for capture description
type Destination struct {
// Name for capture destination
Name *string
// Properties describing the storage account, blob container and archive name format for capture destination
Properties *DestinationProperties
}
// DestinationProperties - Properties describing the storage account, blob container and archive name format for capture destination
type DestinationProperties struct {
// Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}.
// Here all the parameters (Namespace,EventHub .. etc) are mandatory
// irrespective of order
ArchiveNameFormat *string
// Blob container Name
BlobContainer *string
// The Azure Data Lake Store name for the captured events
DataLakeAccountName *string
// The destination folder path for the captured events
DataLakeFolderPath *string
// Subscription Id of Azure Data Lake Store
DataLakeSubscriptionID *string
// Resource id of the storage account to be used to create the blobs
StorageAccountResourceID *string
}
// EHNamespace - Single Namespace item in List or Get Operation
type EHNamespace struct {
// Properties of BYOK Identity description
Identity *Identity
// Resource location.
Location *string
// Namespace properties supplied for create namespace operation.
Properties *EHNamespaceProperties
// Properties of sku resource
SKU *SKU
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// EHNamespaceIDContainer - The full ARM ID of an Event Hubs Namespace
type EHNamespaceIDContainer struct {
// id parameter
ID *string
}
// EHNamespaceIDListResult - The response of the List Namespace IDs operation
type EHNamespaceIDListResult struct {
// Result of the List Namespace IDs operation
Value []*EHNamespaceIDContainer
}
// EHNamespaceListResult - The response of the List Namespace operation
type EHNamespaceListResult struct {
// Link to the next set of results. Not empty if Value contains incomplete list of namespaces.
NextLink *string
// Result of the List Namespace operation
Value []*EHNamespace
}
// EHNamespaceProperties - Namespace properties supplied for create namespace operation.
type EHNamespaceProperties struct {
// Alternate name specified when alias and namespace names are same.
AlternateName *string
// Cluster ARM ID of the Namespace.
ClusterArmID *string
// This property disables SAS authentication for the Event Hubs namespace.
DisableLocalAuth *bool
// Properties of BYOK Encryption description
Encryption *Encryption
// Value that indicates whether AutoInflate is enabled for eventhub namespace.
IsAutoInflateEnabled *bool
// Value that indicates whether Kafka is enabled for eventhub namespace.
KafkaEnabled *bool
// Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if
// AutoInflateEnabled = true)
MaximumThroughputUnits *int32
// List of private endpoint connections.
PrivateEndpointConnections []*PrivateEndpointConnection
// Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.
ZoneRedundant *bool
// READ-ONLY; The time the Namespace was created.
CreatedAt *time.Time
// READ-ONLY; Identifier for Azure Insights metrics.
MetricID *string
// READ-ONLY; Provisioning state of the Namespace.
ProvisioningState *string
// READ-ONLY; Endpoint you can use to perform Service Bus operations.
ServiceBusEndpoint *string
// READ-ONLY; Status of the Namespace.
Status *string
// READ-ONLY; The time the Namespace was updated.
UpdatedAt *time.Time
}
// Encryption - Properties to configure Encryption
type Encryption struct {
// Enumerates the possible value of keySource for Encryption
KeySource *string
// Properties of KeyVault
KeyVaultProperties []*KeyVaultProperties
// Enable Infrastructure Encryption (Double Encryption)
RequireInfrastructureEncryption *bool
}
// ErrorAdditionalInfo - The resource management error additional info.
type ErrorAdditionalInfo struct {
// READ-ONLY; The additional info.
Info any
// READ-ONLY; The additional info type.
Type *string
}
// ErrorDetail - The error detail.
type ErrorDetail struct {
// READ-ONLY; The error additional info.
AdditionalInfo []*ErrorAdditionalInfo
// READ-ONLY; The error code.
Code *string
// READ-ONLY; The error details.
Details []*ErrorDetail
// READ-ONLY; The error message.
Message *string
// READ-ONLY; The error target.
Target *string
}
// ErrorResponse - Error response indicates Event Hub service is not able to process the incoming request. The reason is provided
// in the error message.
type ErrorResponse struct {
// The error object.
Error *ErrorDetail
}
// Eventhub - Single item in List or Get Event Hub operation
type Eventhub struct {
// Properties supplied to the Create Or Update Event Hub operation.
Properties *Properties
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The geo-location where the resource lives
Location *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string
}
// Identity - Properties to configure Identity for Bring your Own Keys
type Identity struct {
// Type of managed service identity.
Type *ManagedServiceIdentityType
// Properties for User Assigned Identities
UserAssignedIdentities map[string]*UserAssignedIdentity
// READ-ONLY; ObjectId from the KeyVault
PrincipalID *string
// READ-ONLY; TenantId from the KeyVault
TenantID *string
}
// KeyVaultProperties - Properties to configure keyVault Properties
type KeyVaultProperties struct {
Identity *UserAssignedIdentityProperties
// Name of the Key from KeyVault
KeyName *string
// Uri of KeyVault
KeyVaultURI *string
// Key Version
KeyVersion *string
}
// ListResult - The result of the List EventHubs operation.
type ListResult struct {
// Link to the next set of results. Not empty if Value contains incomplete list of EventHubs.
NextLink *string
// Result of the List EventHubs operation.
Value []*Eventhub
}
// NWRuleSetIPRules - The response from the List namespace operation.
type NWRuleSetIPRules struct {
// The IP Filter Action
Action *NetworkRuleIPAction
// IP Mask
IPMask *string
}
// NWRuleSetVirtualNetworkRules - The response from the List namespace operation.
type NWRuleSetVirtualNetworkRules struct {
// Value that indicates whether to ignore missing Vnet Service Endpoint
IgnoreMissingVnetServiceEndpoint *bool
// Subnet properties
Subnet *Subnet
}
// NetworkRuleSet - Description of topic resource.
type NetworkRuleSet struct {
// NetworkRuleSet properties
Properties *NetworkRuleSetProperties
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The geo-location where the resource lives
Location *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string
}
// 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
// Result of the List NetworkRuleSet operation
Value []*NetworkRuleSet
}
// NetworkRuleSetProperties - NetworkRuleSet properties
type NetworkRuleSetProperties struct {
// Default Action for Network Rule Set
DefaultAction *DefaultAction
// List of IpRules
IPRules []*NWRuleSetIPRules
// This determines if traffic is allowed over public network. By default it is enabled.
PublicNetworkAccess *PublicNetworkAccessFlag
// Value that indicates whether Trusted Service Access is Enabled or not.
TrustedServiceAccessEnabled *bool
// List VirtualNetwork Rules
VirtualNetworkRules []*NWRuleSetVirtualNetworkRules
}
// Operation - A Event Hub REST API operation
type Operation struct {
// Display of the operation
Display *OperationDisplay
// Indicates whether the operation is a data action
IsDataAction *bool
// Origin of the operation
Origin *string
// Properties of the operation
Properties any
// READ-ONLY; Operation name: {provider}/{resource}/{operation}
Name *string
}
// OperationDisplay - Operation display payload
type OperationDisplay struct {
// READ-ONLY; Localized friendly description for the operation
Description *string
// READ-ONLY; Localized friendly name for the operation
Operation *string
// READ-ONLY; Resource provider of the operation
Provider *string
// READ-ONLY; Resource of the operation
Resource *string
}
// OperationListResult - Result of the request to list Event Hub 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
// READ-ONLY; List of Event Hub operations supported by the Microsoft.EventHub resource provider.
Value []*Operation
}
// PrivateEndpoint information.
type PrivateEndpoint struct {
// The ARM identifier for Private Endpoint.
ID *string
}
// PrivateEndpointConnection - Properties of the PrivateEndpointConnection.
type PrivateEndpointConnection struct {
// Properties of the PrivateEndpointConnection.
Properties *PrivateEndpointConnectionProperties
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The geo-location where the resource lives
Location *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string
}
// 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
// A collection of private endpoint connection resources.
Value []*PrivateEndpointConnection
}
// PrivateEndpointConnectionProperties - Properties of the private endpoint connection resource.
type PrivateEndpointConnectionProperties struct {
// The Private Endpoint resource for this Connection.
PrivateEndpoint *PrivateEndpoint
// Details about the state of the connection.
PrivateLinkServiceConnectionState *ConnectionState
// Provisioning state of the Private Endpoint Connection.
ProvisioningState *EndPointProvisioningState
}
// PrivateLinkResource - Information of the private link resource.
type PrivateLinkResource struct {
// Fully qualified identifier of the resource.
ID *string
// Name of the resource
Name *string
// Properties of the private link resource.
Properties *PrivateLinkResourceProperties
// Type of the resource
Type *string
}
// PrivateLinkResourceProperties - Properties of PrivateLinkResource
type PrivateLinkResourceProperties struct {
// The private link resource group id.
GroupID *string
// The private link resource required member names.
RequiredMembers []*string
// The private link resource Private link DNS zone name.
RequiredZoneNames []*string
}
// PrivateLinkResourcesListResult - Result of the List private link resources operation.
type PrivateLinkResourcesListResult struct {
// A link for the next page of private link resources.
NextLink *string
// A collection of private link resources
Value []*PrivateLinkResource
}
// Properties supplied to the Create Or Update Event Hub operation.
type Properties struct {
// Properties of capture description
CaptureDescription *CaptureDescription
// Number of days to retain the events for this Event Hub, value should be 1 to 7 days
MessageRetentionInDays *int64
// Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
PartitionCount *int64
// Enumerates the possible values for the status of the Event Hub.
Status *EntityStatus
// READ-ONLY; Exact time the Event Hub was created.
CreatedAt *time.Time
// READ-ONLY; Current number of shards on the Event Hub.
PartitionIDs []*string
// READ-ONLY; The exact time the message was updated.
UpdatedAt *time.Time
}
// 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
// READ-ONLY; The geo-location where the resource lives
Location *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string
}
// 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
// Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType
Key *string
}
// Resource - Common fields that are returned in the response for all Azure Resource Manager resources
type Resource struct {
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// SKU parameters supplied to the create namespace operation
type SKU struct {
// REQUIRED; Name of this SKU.
Name *SKUName
// The Event Hubs throughput units for Basic or Standard tiers, where value should be 0 to 20 throughput units. The Event
// Hubs premium units for Premium tier, where value should be 0 to 10 premium units.
Capacity *int32
// The billing tier of this particular SKU.
Tier *SKUTier
}
// SchemaGroup - Single item in List or Get Schema Group operation
type SchemaGroup struct {
Properties *SchemaGroupProperties
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The geo-location where the resource lives
Location *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
Type *string
}
// SchemaGroupListResult - The result of the List SchemaGroup operation.
type SchemaGroupListResult struct {
// Link to the next set of results. Not empty if Value contains incomplete list of Schema Groups.
NextLink *string
// Result of the List SchemaGroups operation.
Value []*SchemaGroup
}
type SchemaGroupProperties struct {
// dictionary object for SchemaGroup group properties
GroupProperties map[string]*string
SchemaCompatibility *SchemaCompatibility
SchemaType *SchemaType
// READ-ONLY; Exact time the Schema Group was created.
CreatedAtUTC *time.Time
// READ-ONLY; The ETag value.
ETag *string
// READ-ONLY; Exact time the Schema Group was updated
UpdatedAtUTC *time.Time
}
// Subnet - Properties supplied for Subnet
type Subnet struct {
// Resource ID of Virtual Network Subnet
ID *string
}
// SystemData - Metadata pertaining to creation and last modification of the resource.
type SystemData struct {
// The timestamp of resource creation (UTC).
CreatedAt *time.Time
// The identity that created the resource.
CreatedBy *string
// The type of identity that created the resource.
CreatedByType *CreatedByType
// The type of identity that last modified the resource.
LastModifiedAt *time.Time
// The identity that last modified the resource.
LastModifiedBy *string
// The type of identity that last modified the resource.
LastModifiedByType *CreatedByType
}
// TrackedResource - Definition of resource.
type TrackedResource struct {
// Resource location.
Location *string
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// UserAssignedIdentity - Recognized Dictionary value.
type UserAssignedIdentity struct {
// READ-ONLY; Client Id of user assigned identity
ClientID *string
// READ-ONLY; Principal Id of user assigned identity
PrincipalID *string
}
type UserAssignedIdentityProperties struct {
// ARM ID of user Identity selected for encryption
UserAssignedIdentity *string
}