@@ -105,6 +105,14 @@ export interface SystemData {
105
105
lastModifiedAt ?: Date ;
106
106
}
107
107
108
+ /** Contains all settings for the cluster upgrade window. */
109
+ export interface UpgradePreferences {
110
+ /** Preferred day of the week in UTC time to begin an upgrade. If 'Any' is selected, upgrade will proceed at any given weekday */
111
+ startDayOfWeek ?: StartDayOfWeek ;
112
+ /** Preferred hour of the day in UTC time to begin an upgrade */
113
+ startHourOfDay ?: number ;
114
+ }
115
+
108
116
/** Common fields that are returned in the response for all Azure Resource Manager resources */
109
117
export interface Resource {
110
118
/**
@@ -591,6 +599,8 @@ export interface CaptureDescription {
591
599
export interface Destination {
592
600
/** Name for capture destination */
593
601
name ?: string ;
602
+ /** A value that indicates whether capture description is enabled. */
603
+ identity ?: CaptureIdentity ;
594
604
/** Resource id of the storage account to be used to create the blobs */
595
605
storageAccountResourceId ?: string ;
596
606
/** Blob container Name */
@@ -605,13 +615,21 @@ export interface Destination {
605
615
dataLakeFolderPath ?: string ;
606
616
}
607
617
618
+ /** A value that indicates whether capture description is enabled. */
619
+ export interface CaptureIdentity {
620
+ /** Type of Azure Active Directory Managed Identity. */
621
+ type ?: CaptureIdentityType ;
622
+ /** ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used. */
623
+ userAssignedIdentity ?: string ;
624
+ }
625
+
608
626
/** Properties to configure retention settings for the eventhub */
609
627
export interface RetentionDescription {
610
628
/** Enumerates the possible values for cleanup policy */
611
629
cleanupPolicy ?: CleanupPolicyRetentionDescription ;
612
- /** Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compaction the returned value of this property is Long.MaxValue */
630
+ /** Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue */
613
631
retentionTimeInHours ?: number ;
614
- /** Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compaction . Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub */
632
+ /** Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact . Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub */
615
633
tombstoneRetentionTimeInHours ?: number ;
616
634
}
617
635
@@ -650,8 +668,23 @@ export interface TrackedResource extends Resource {
650
668
tags ?: { [ propertyName : string ] : string } ;
651
669
}
652
670
671
+ /** Properties of the PrivateEndpointConnection. */
672
+ export interface PrivateEndpointConnection extends ProxyResource {
673
+ /**
674
+ * The system meta data relating to this resource.
675
+ * NOTE: This property will not be serialized. It can only be populated by the server.
676
+ */
677
+ readonly systemData ?: SystemData ;
678
+ /** The Private Endpoint resource for this Connection. */
679
+ privateEndpoint ?: PrivateEndpoint ;
680
+ /** Details about the state of the connection. */
681
+ privateLinkServiceConnectionState ?: ConnectionState ;
682
+ /** Provisioning state of the Private Endpoint Connection. */
683
+ provisioningState ?: EndPointProvisioningState ;
684
+ }
685
+
653
686
/** Network Security Perimeter related configurations of a given namespace */
654
- export interface NetworkSecurityPerimeterConfiguration extends Resource {
687
+ export interface NetworkSecurityPerimeterConfiguration extends ProxyResource {
655
688
/** Provisioning state of NetworkSecurityPerimeter configuration propagation */
656
689
provisioningState ?: NetworkSecurityPerimeterConfigurationProvisioningState ;
657
690
/** List of Provisioning Issues if any */
@@ -671,21 +704,26 @@ export interface NetworkSecurityPerimeterConfiguration extends Resource {
671
704
* NOTE: This property will not be serialized. It can only be populated by the server.
672
705
*/
673
706
readonly profile ?: NetworkSecurityPerimeterConfigurationPropertiesProfile ;
674
- }
675
-
676
- /** Properties of the PrivateEndpointConnection. */
677
- export interface PrivateEndpointConnection extends ProxyResource {
678
707
/**
679
- * The system meta data relating to this resource.
708
+ * True if the EventHub namespace is backed by another Azure resource and not visible to end users .
680
709
* NOTE: This property will not be serialized. It can only be populated by the server.
681
710
*/
682
- readonly systemData ?: SystemData ;
683
- /** The Private Endpoint resource for this Connection. */
684
- privateEndpoint ?: PrivateEndpoint ;
685
- /** Details about the state of the connection. */
686
- privateLinkServiceConnectionState ?: ConnectionState ;
687
- /** Provisioning state of the Private Endpoint Connection. */
688
- provisioningState ?: EndPointProvisioningState ;
711
+ readonly isBackingResource ?: boolean ;
712
+ /**
713
+ * Indicates that the NSP controls related to backing association are only applicable to a specific feature in backing resource's data plane.
714
+ * NOTE: This property will not be serialized. It can only be populated by the server.
715
+ */
716
+ readonly applicableFeatures ?: string [ ] ;
717
+ /**
718
+ * Source Resource Association name
719
+ * NOTE: This property will not be serialized. It can only be populated by the server.
720
+ */
721
+ readonly parentAssociationName ?: string ;
722
+ /**
723
+ * ARM Id of source resource
724
+ * NOTE: This property will not be serialized. It can only be populated by the server.
725
+ */
726
+ readonly sourceResourceId ?: string ;
689
727
}
690
728
691
729
/** Description of topic resource. */
@@ -868,6 +906,11 @@ export interface Cluster extends TrackedResource {
868
906
* NOTE: This property will not be serialized. It can only be populated by the server.
869
907
*/
870
908
readonly createdAt ?: string ;
909
+ /**
910
+ * Provisioning state of the Cluster.
911
+ * NOTE: This property will not be serialized. It can only be populated by the server.
912
+ */
913
+ readonly provisioningState ?: ProvisioningState ;
871
914
/**
872
915
* The UTC time when the Event Hubs Cluster was last updated.
873
916
* NOTE: This property will not be serialized. It can only be populated by the server.
@@ -885,6 +928,8 @@ export interface Cluster extends TrackedResource {
885
928
readonly status ?: string ;
886
929
/** A value that indicates whether Scaling is Supported. */
887
930
supportsScaling ?: boolean ;
931
+ /** Properties of the cluster upgrade preferences. */
932
+ upgradePreferences ?: UpgradePreferences ;
888
933
}
889
934
890
935
/** Single Namespace item in List or Get Operation */
@@ -991,6 +1036,78 @@ export enum KnownCreatedByType {
991
1036
*/
992
1037
export type CreatedByType = string ;
993
1038
1039
+ /** Known values of {@link ProvisioningState} that the service accepts. */
1040
+ export enum KnownProvisioningState {
1041
+ /** Unknown */
1042
+ Unknown = "Unknown" ,
1043
+ /** Creating */
1044
+ Creating = "Creating" ,
1045
+ /** Deleting */
1046
+ Deleting = "Deleting" ,
1047
+ /** Scaling */
1048
+ Scaling = "Scaling" ,
1049
+ /** Active */
1050
+ Active = "Active" ,
1051
+ /** Failed */
1052
+ Failed = "Failed" ,
1053
+ /** Succeeded */
1054
+ Succeeded = "Succeeded" ,
1055
+ /** Canceled */
1056
+ Canceled = "Canceled"
1057
+ }
1058
+
1059
+ /**
1060
+ * Defines values for ProvisioningState. \
1061
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1062
+ * this enum contains the known values that the service supports.
1063
+ * ### Known values supported by the service
1064
+ * **Unknown** \
1065
+ * **Creating** \
1066
+ * **Deleting** \
1067
+ * **Scaling** \
1068
+ * **Active** \
1069
+ * **Failed** \
1070
+ * **Succeeded** \
1071
+ * **Canceled**
1072
+ */
1073
+ export type ProvisioningState = string ;
1074
+
1075
+ /** Known values of {@link StartDayOfWeek} that the service accepts. */
1076
+ export enum KnownStartDayOfWeek {
1077
+ /** Sunday */
1078
+ Sunday = "Sunday" ,
1079
+ /** Monday */
1080
+ Monday = "Monday" ,
1081
+ /** Tuesday */
1082
+ Tuesday = "Tuesday" ,
1083
+ /** Wednesday */
1084
+ Wednesday = "Wednesday" ,
1085
+ /** Thursday */
1086
+ Thursday = "Thursday" ,
1087
+ /** Friday */
1088
+ Friday = "Friday" ,
1089
+ /** Saturday */
1090
+ Saturday = "Saturday" ,
1091
+ /** Any */
1092
+ Any = "Any"
1093
+ }
1094
+
1095
+ /**
1096
+ * Defines values for StartDayOfWeek. \
1097
+ * {@link KnownStartDayOfWeek} can be used interchangeably with StartDayOfWeek,
1098
+ * this enum contains the known values that the service supports.
1099
+ * ### Known values supported by the service
1100
+ * **Sunday** \
1101
+ * **Monday** \
1102
+ * **Tuesday** \
1103
+ * **Wednesday** \
1104
+ * **Thursday** \
1105
+ * **Friday** \
1106
+ * **Saturday** \
1107
+ * **Any**
1108
+ */
1109
+ export type StartDayOfWeek = string ;
1110
+
994
1111
/** Known values of {@link SkuName} that the service accepts. */
995
1112
export enum KnownSkuName {
996
1113
/** Basic */
@@ -1316,8 +1433,8 @@ export type KeyType = string;
1316
1433
export enum KnownCleanupPolicyRetentionDescription {
1317
1434
/** Delete */
1318
1435
Delete = "Delete" ,
1319
- /** Compaction */
1320
- Compaction = "Compaction "
1436
+ /** Compact */
1437
+ Compact = "Compact "
1321
1438
}
1322
1439
1323
1440
/**
@@ -1326,7 +1443,7 @@ export enum KnownCleanupPolicyRetentionDescription {
1326
1443
* this enum contains the known values that the service supports.
1327
1444
* ### Known values supported by the service
1328
1445
* **Delete** \
1329
- * **Compaction **
1446
+ * **Compact **
1330
1447
*/
1331
1448
export type CleanupPolicyRetentionDescription = string ;
1332
1449
@@ -1441,6 +1558,8 @@ export type EntityStatus =
1441
1558
| "Unknown" ;
1442
1559
/** Defines values for EncodingCaptureDescription. */
1443
1560
export type EncodingCaptureDescription = "Avro" | "AvroDeflate" ;
1561
+ /** Defines values for CaptureIdentityType. */
1562
+ export type CaptureIdentityType = "SystemAssigned" | "UserAssigned" ;
1444
1563
1445
1564
/** Optional parameters. */
1446
1565
export interface ClustersListAvailableClusterRegionOptionalParams
@@ -1510,6 +1629,10 @@ export interface ClustersListNamespacesOptionalParams
1510
1629
/** Contains response data for the listNamespaces operation. */
1511
1630
export type ClustersListNamespacesResponse = EHNamespaceIdListResult ;
1512
1631
1632
+ /** Optional parameters. */
1633
+ export interface ClustersTriggerUpgradePostOptionalParams
1634
+ extends coreClient . OperationOptions { }
1635
+
1513
1636
/** Optional parameters. */
1514
1637
export interface ClustersListBySubscriptionNextOptionalParams
1515
1638
extends coreClient . OperationOptions { }
0 commit comments