# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::ServiceBus module Models # # Namespace/ServiceBus Connection String # class AccessKeys include MsRestAzure include MsRest::JSONable # @return [String] Primary connection string of the created namespace # authorization rule. attr_accessor :primary_connection_string # @return [String] Secondary connection string of the created namespace # authorization rule. attr_accessor :secondary_connection_string # @return [String] A base64-encoded 256-bit primary key for signing and # validating the SAS token. attr_accessor :primary_key # @return [String] A base64-encoded 256-bit primary key for signing and # validating the SAS token. attr_accessor :secondary_key # @return [String] A string that describes the authorization rule. attr_accessor :key_name # # Mapper for AccessKeys class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'AccessKeys', type: { name: 'Composite', class_name: 'AccessKeys', model_properties: { primary_connection_string: { required: false, read_only: true, serialized_name: 'primaryConnectionString', type: { name: 'String' } }, secondary_connection_string: { required: false, read_only: true, serialized_name: 'secondaryConnectionString', type: { name: 'String' } }, primary_key: { required: false, read_only: true, serialized_name: 'primaryKey', type: { name: 'String' } }, secondary_key: { required: false, read_only: true, serialized_name: 'secondaryKey', type: { name: 'String' } }, key_name: { required: false, read_only: true, serialized_name: 'keyName', type: { name: 'String' } } } } } end end end end