| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | namespace Azure.ResourceManager.EventHubs.Models |
| | | 9 | | { |
| | | 10 | | /// <summary> Namespace/EventHub Connection String. </summary> |
| | | 11 | | public partial class AccessKeys |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of AccessKeys. </summary> |
| | 0 | 14 | | internal AccessKeys() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of AccessKeys. </summary> |
| | | 19 | | /// <param name="primaryConnectionString"> Primary connection string of the created namespace AuthorizationRule. |
| | | 20 | | /// <param name="secondaryConnectionString"> Secondary connection string of the created namespace AuthorizationR |
| | | 21 | | /// <param name="aliasPrimaryConnectionString"> Primary connection string of the alias if GEO DR is enabled. </p |
| | | 22 | | /// <param name="aliasSecondaryConnectionString"> Secondary connection string of the alias if GEO DR is enabled |
| | | 23 | | /// <param name="primaryKey"> A base64-encoded 256-bit primary key for signing and validating the SAS token. </p |
| | | 24 | | /// <param name="secondaryKey"> A base64-encoded 256-bit primary key for signing and validating the SAS token. < |
| | | 25 | | /// <param name="keyName"> A string that describes the AuthorizationRule. </param> |
| | 52 | 26 | | internal AccessKeys(string primaryConnectionString, string secondaryConnectionString, string aliasPrimaryConnect |
| | | 27 | | { |
| | 52 | 28 | | PrimaryConnectionString = primaryConnectionString; |
| | 52 | 29 | | SecondaryConnectionString = secondaryConnectionString; |
| | 52 | 30 | | AliasPrimaryConnectionString = aliasPrimaryConnectionString; |
| | 52 | 31 | | AliasSecondaryConnectionString = aliasSecondaryConnectionString; |
| | 52 | 32 | | PrimaryKey = primaryKey; |
| | 52 | 33 | | SecondaryKey = secondaryKey; |
| | 52 | 34 | | KeyName = keyName; |
| | 52 | 35 | | } |
| | | 36 | | |
| | | 37 | | /// <summary> Primary connection string of the created namespace AuthorizationRule. </summary> |
| | 64 | 38 | | public string PrimaryConnectionString { get; } |
| | | 39 | | /// <summary> Secondary connection string of the created namespace AuthorizationRule. </summary> |
| | 64 | 40 | | public string SecondaryConnectionString { get; } |
| | | 41 | | /// <summary> Primary connection string of the alias if GEO DR is enabled. </summary> |
| | 0 | 42 | | public string AliasPrimaryConnectionString { get; } |
| | | 43 | | /// <summary> Secondary connection string of the alias if GEO DR is enabled. </summary> |
| | 0 | 44 | | public string AliasSecondaryConnectionString { get; } |
| | | 45 | | /// <summary> A base64-encoded 256-bit primary key for signing and validating the SAS token. </summary> |
| | 0 | 46 | | public string PrimaryKey { get; } |
| | | 47 | | /// <summary> A base64-encoded 256-bit primary key for signing and validating the SAS token. </summary> |
| | 0 | 48 | | public string SecondaryKey { get; } |
| | | 49 | | /// <summary> A string that describes the AuthorizationRule. </summary> |
| | 0 | 50 | | public string KeyName { get; } |
| | | 51 | | } |
| | | 52 | | } |