class Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::Domain

EventGrid Domain

Attributes

endpoint[RW]

@return [String] Endpoint for the domain.

input_schema[RW]

@return [InputSchema] This determines the format that Event Grid should expect for incoming events published to the domain. Possible values include: 'EventGridSchema', 'CustomEventSchema', 'CloudEventV01Schema'

input_schema_mapping[RW]

@return [InputSchemaMapping] Information about the InputSchemaMapping which specified the info about mapping event payload.

provisioning_state[RW]

@return [DomainProvisioningState] Provisioning state of the domain. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain.rb, line 37
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Domain',
    type: {
      name: 'Composite',
      class_name: 'Domain',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        endpoint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.endpoint',
          type: {
            name: 'String'
          }
        },
        input_schema: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.inputSchema',
          type: {
            name: 'String'
          }
        },
        input_schema_mapping: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.inputSchemaMapping',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'inputSchemaMappingType',
            uber_parent: 'InputSchemaMapping',
            class_name: 'InputSchemaMapping'
          }
        }
      }
    }
  }
end