class Azure::EventHub::Mgmt::V2014_09_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
Parameters supplied to the Create Or Update Authorization Rules operation.
Attributes
location[RW]
@return [String] Data center location.
name[RW]
@return [String] Name of the AuthorizationRule.
rights[RW]
@return [Array<AccessRights>] The rights associated with the rule.
Public Class Methods
mapper()
click to toggle source
Mapper for SharedAccessAuthorizationRuleCreateOrUpdateParameters
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2014-09-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_create_or_update_parameters.rb, line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SharedAccessAuthorizationRuleCreateOrUpdateParameters', type: { name: 'Composite', class_name: 'SharedAccessAuthorizationRuleCreateOrUpdateParameters', model_properties: { location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, rights: { client_side_validation: true, required: true, serialized_name: 'properties.rights', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'AccessRightsElementType', type: { name: 'Enum', module: 'AccessRights' } } } } } } } end