From 8be49413ef7b3b05d4279f47caed5a9163b548e6 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 5 Jun 2023 06:43:26 +0000 Subject: [PATCH] CodeGen from PR 24056 in Azure/azure-rest-api-specs rename cleaup policy type from 'Compaction' to 'Compact' (#24056) 'Compact' is already implemented in the resource provider and is consistent with using verb such as type 'Delete' --- schemas/2022-10-01-preview/Microsoft.EventHub.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/schemas/2022-10-01-preview/Microsoft.EventHub.json b/schemas/2022-10-01-preview/Microsoft.EventHub.json index e484fb9548..7bf547da06 100644 --- a/schemas/2022-10-01-preview/Microsoft.EventHub.json +++ b/schemas/2022-10-01-preview/Microsoft.EventHub.json @@ -1774,7 +1774,7 @@ "type": "string", "enum": [ "Delete", - "Compaction" + "Compact" ] }, { @@ -1792,7 +1792,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "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 " + "description": "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 " }, "tombstoneRetentionTimeInHours": { "oneOf": [ @@ -1803,7 +1803,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "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" + "description": "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" } }, "description": "Properties to configure retention settings for the eventhub"