diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/api/Azure.ResourceManager.EventHubs.netstandard2.0.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/api/Azure.ResourceManager.EventHubs.netstandard2.0.cs index da082ee6877c..a6744b91d0f5 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/api/Azure.ResourceManager.EventHubs.netstandard2.0.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/api/Azure.ResourceManager.EventHubs.netstandard2.0.cs @@ -580,7 +580,7 @@ public CaptureDescription() { } private readonly object _dummy; private readonly int _dummyPrimitive; public CleanupPolicyRetentionDescription(string value) { throw null; } - public static Azure.ResourceManager.EventHubs.Models.CleanupPolicyRetentionDescription Compaction { get { throw null; } } + public static Azure.ResourceManager.EventHubs.Models.CleanupPolicyRetentionDescription Compact { get { throw null; } } public static Azure.ResourceManager.EventHubs.Models.CleanupPolicyRetentionDescription Delete { get { throw null; } } public bool Equals(Azure.ResourceManager.EventHubs.Models.CleanupPolicyRetentionDescription other) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsNamespaceResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsNamespaceResource.cs index 1ccd62e56e65..d7254c6c7327 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsNamespaceResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsNamespaceResource.cs @@ -332,6 +332,7 @@ public virtual EventHubsSchemaGroupCollection GetEventHubsSchemaGroups() } /// + /// Gets the details of an EventHub schema group. /// /// /// Request Path @@ -354,6 +355,7 @@ public virtual async Task> GetEventHubsSc } /// + /// Gets the details of an EventHub schema group. /// /// /// Request Path diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsSchemaGroupCollection.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsSchemaGroupCollection.cs index af5f99f7b442..5de10ff19aac 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsSchemaGroupCollection.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsSchemaGroupCollection.cs @@ -53,6 +53,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) } /// + /// Creates or Updates an EventHub schema group. /// /// /// Request Path @@ -93,6 +94,7 @@ public virtual async Task> CreateOrUp } /// + /// Creates or Updates an EventHub schema group. /// /// /// Request Path @@ -133,6 +135,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUnt } /// + /// Gets the details of an EventHub schema group. /// /// /// Request Path @@ -169,6 +172,7 @@ public virtual async Task> GetAsync(strin } /// + /// Gets the details of an EventHub schema group. /// /// /// Request Path diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsSchemaGroupResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsSchemaGroupResource.cs index 88e1cdb401a0..f71111e39aae 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsSchemaGroupResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubsSchemaGroupResource.cs @@ -87,6 +87,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) } /// + /// Gets the details of an EventHub schema group. /// /// /// Request Path @@ -118,6 +119,7 @@ public virtual async Task> GetAsync(Cance } /// + /// Gets the details of an EventHub schema group. /// /// /// Request Path @@ -149,6 +151,7 @@ public virtual Response Get(CancellationToken canc } /// + /// Deletes an EventHub schema group. /// /// /// Request Path @@ -182,6 +185,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell } /// + /// Deletes an EventHub schema group. /// /// /// Request Path @@ -215,6 +219,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel } /// + /// Creates or Updates an EventHub schema group. /// /// /// Request Path @@ -252,6 +257,7 @@ public virtual async Task> UpdateAsyn } /// + /// Creates or Updates an EventHub schema group. /// /// /// Request Path diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/CleanupPolicyRetentionDescription.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/CleanupPolicyRetentionDescription.cs index c4051bc9dfb4..f91281e3a34c 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/CleanupPolicyRetentionDescription.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/CleanupPolicyRetentionDescription.cs @@ -23,12 +23,12 @@ public CleanupPolicyRetentionDescription(string value) } private const string DeleteValue = "Delete"; - private const string CompactionValue = "Compaction"; + private const string CompactValue = "Compact"; /// Delete. public static CleanupPolicyRetentionDescription Delete { get; } = new CleanupPolicyRetentionDescription(DeleteValue); - /// Compaction. - public static CleanupPolicyRetentionDescription Compaction { get; } = new CleanupPolicyRetentionDescription(CompactionValue); + /// Compact. + public static CleanupPolicyRetentionDescription Compact { get; } = new CleanupPolicyRetentionDescription(CompactValue); /// Determines if two values are the same. public static bool operator ==(CleanupPolicyRetentionDescription left, CleanupPolicyRetentionDescription right) => left.Equals(right); /// Determines if two values are not the same. diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/RetentionDescription.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/RetentionDescription.cs index f56f84660210..a792b2792953 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/RetentionDescription.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/RetentionDescription.cs @@ -17,8 +17,8 @@ public RetentionDescription() /// Initializes a new instance of RetentionDescription. /// Enumerates the possible values for cleanup policy. - /// 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. - /// 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. + /// 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. + /// 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. internal RetentionDescription(CleanupPolicyRetentionDescription? cleanupPolicy, long? retentionTimeInHours, int? tombstoneRetentionTimeInHours) { CleanupPolicy = cleanupPolicy; @@ -28,9 +28,9 @@ internal RetentionDescription(CleanupPolicyRetentionDescription? cleanupPolicy, /// Enumerates the possible values for cleanup policy. public CleanupPolicyRetentionDescription? CleanupPolicy { get; set; } - /// 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. + /// 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. public long? RetentionTimeInHours { get; set; } - /// 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. + /// 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. public int? TombstoneRetentionTimeInHours { get; set; } } } diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RestOperations/SchemaRegistryRestOperations.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RestOperations/SchemaRegistryRestOperations.cs index 6e49d845e032..43d43ffad28d 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RestOperations/SchemaRegistryRestOperations.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/RestOperations/SchemaRegistryRestOperations.cs @@ -154,6 +154,7 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r return message; } + /// Creates or Updates an EventHub schema group. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// Name of the resource group within the azure subscription. /// The Namespace name. @@ -186,6 +187,7 @@ public async Task> CreateOrUpdateAsync(string } } + /// Creates or Updates an EventHub schema group. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// Name of the resource group within the azure subscription. /// The Namespace name. @@ -240,6 +242,7 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG return message; } + /// Deletes an EventHub schema group. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// Name of the resource group within the azure subscription. /// The Namespace name. @@ -266,6 +269,7 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } } + /// Deletes an EventHub schema group. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// Name of the resource group within the azure subscription. /// The Namespace name. @@ -314,6 +318,7 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou return message; } + /// Gets the details of an EventHub schema group. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// Name of the resource group within the azure subscription. /// The Namespace name. @@ -346,6 +351,7 @@ public async Task> GetAsync(string subscripti } } + /// Gets the details of an EventHub schema group. /// Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. /// Name of the resource group within the azure subscription. /// The Namespace name. diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/autorest.md b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/autorest.md index be09996ed2de..a06b6b43122b 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/autorest.md +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/autorest.md @@ -7,7 +7,7 @@ azure-arm: true csharp: true namespace: Azure.ResourceManager.EventHubs output-folder: $(this-folder)/Generated -require: https://github.com/Azure/azure-rest-api-specs/blob/969e0846e56a0869203bcc52773415c71115f59e/specification/eventhub/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/eventhub/resource-manager/readme.md # tag: package-2022-10-preview clear-output-folder: true skip-csproj: true