class Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData

Schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionDeletedEvent.

Attributes

event_subscription_id[RW]

@return [String] The Azure resource ID of the deleted event subscription.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01/generated/azure_event_grid/models/subscription_deleted_event_data.rb, line 25
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SubscriptionDeletedEventData',
    type: {
      name: 'Composite',
      class_name: 'SubscriptionDeletedEventData',
      model_properties: {
        event_subscription_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'eventSubscriptionId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end