class Azure::EventHub::Mgmt::V2015_08_01::Models::ResourceListKeys

Namespace/EventHub Connection String

Attributes

key_name[RW]

@return [String] A string that describes the AuthorizationRule.

primary_connection_string[RW]

@return [String] Primary connection string of the created Namespace AuthorizationRule.

primary_key[RW]

@return [String] A base64-encoded 256-bit primary key for signing and validating the SAS token.

secondary_connection_string[RW]

@return [String] Secondary connection string of the created Namespace AuthorizationRule.

secondary_key[RW]

@return [String] A base64-encoded 256-bit primary key for signing and validating the SAS token.

Public Class Methods

mapper() click to toggle source

Mapper for ResourceListKeys class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-08-01/generated/azure_mgmt_event_hub/models/resource_list_keys.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceListKeys',
    type: {
      name: 'Composite',
      class_name: 'ResourceListKeys',
      model_properties: {
        primary_connection_string: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'primaryConnectionString',
          type: {
            name: 'String'
          }
        },
        secondary_connection_string: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'secondaryConnectionString',
          type: {
            name: 'String'
          }
        },
        primary_key: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'primaryKey',
          type: {
            name: 'String'
          }
        },
        secondary_key: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'secondaryKey',
          type: {
            name: 'String'
          }
        },
        key_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'keyName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end