Class AccessKeysInner

java.lang.Object
com.azure.resourcemanager.eventhubs.fluent.models.AccessKeysInner

public final class AccessKeysInner extends Object
Namespace/EventHub Connection String.
  • Constructor Details

    • AccessKeysInner

      public AccessKeysInner()
  • Method Details

    • primaryConnectionString

      public String primaryConnectionString()
      Get the primaryConnectionString property: Primary connection string of the created namespace AuthorizationRule.
      Returns:
      the primaryConnectionString value.
    • secondaryConnectionString

      public String secondaryConnectionString()
      Get the secondaryConnectionString property: Secondary connection string of the created namespace AuthorizationRule.
      Returns:
      the secondaryConnectionString value.
    • aliasPrimaryConnectionString

      public String aliasPrimaryConnectionString()
      Get the aliasPrimaryConnectionString property: Primary connection string of the alias if GEO DR is enabled.
      Returns:
      the aliasPrimaryConnectionString value.
    • aliasSecondaryConnectionString

      public String aliasSecondaryConnectionString()
      Get the aliasSecondaryConnectionString property: Secondary connection string of the alias if GEO DR is enabled.
      Returns:
      the aliasSecondaryConnectionString value.
    • primaryKey

      public String primaryKey()
      Get the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
      Returns:
      the primaryKey value.
    • secondaryKey

      public String secondaryKey()
      Get the secondaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.
      Returns:
      the secondaryKey value.
    • keyName

      public String keyName()
      Get the keyName property: A string that describes the AuthorizationRule.
      Returns:
      the keyName value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.