diff --git a/src/EventHub/EventHub.Autorest/README.md b/src/EventHub/EventHub.Autorest/README.md index 3a2b5c96dbef..25b475c00399 100644 --- a/src/EventHub/EventHub.Autorest/README.md +++ b/src/EventHub/EventHub.Autorest/README.md @@ -457,3 +457,22 @@ directive: - model-cmdlet: - model-name: KeyVaultProperties cmdlet-name: New-AzEventHubKeyVaultPropertiesObject + + - from: AccessKeys.cs + where: $ + transform: > + $ = $.replace('/// A base64-encoded 256-bit primary key for signing and validating the SAS token.\n' + + ' [Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(\n' + + ' Required = false,\n' + + ' ReadOnly = true,\n' + + ' Read = true,\n' + + ' Create = false,\n' + + ' Update = false,\n' + + ' Description = @"A base64-encoded 256-bit primary key for signing and validating the SAS token.",\n' + + ' SerializedName = @"primaryKey",\n' + + ' PossibleTypes = new [] { typeof(string) })]\n' + + ' string PrimaryKey { get; }', ''); + - from: AccessKeys.cs + where: $ + transform: $ = $.replace('public string PrimaryKey { get => this._primaryKey; }', 'string PrimaryKey { get => this._primaryKey; }'); +```