class Azure::EventGrid::Mgmt::V2020_10_15_preview::Models::EventChannelDestination

Properties of the destination of an event channel.

Attributes

azure_subscription_id[RW]

@return [String] Azure subscription ID of the customer creating the event channel. The partner topic associated with the event channel will be created under this Azure subscription.

partner_topic_name[RW]

@return [String] Name of the partner topic associated with the event channel.

resource_group[RW]

@return [String] Azure Resource Group of the customer creating the event channel. The partner topic associated with the event channel will be created under this resource group.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_destination.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EventChannelDestination',
    type: {
      name: 'Composite',
      class_name: 'EventChannelDestination',
      model_properties: {
        azure_subscription_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'azureSubscriptionId',
          type: {
            name: 'String'
          }
        },
        resource_group: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceGroup',
          type: {
            name: 'String'
          }
        },
        partner_topic_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'partnerTopicName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end