class Azure::EventGrid::Mgmt::V2019_02_01_preview::Models::TopicTypeInfo

Properties of a topic type info.

Attributes

description[RW]

@return [String] Description of the topic type.

display_name[RW]

@return [String] Display Name for the topic type.

provider[RW]

@return [String] Namespace of the provider of the topic type.

provisioning_state[RW]

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

resource_region_type[RW]

@return [ResourceRegionType] Region type of the resource. Possible values include: 'RegionalResource', 'GlobalResource'

supported_locations[RW]

@return [Array<String>] List of locations supported by this topic type.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb, line 41
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TopicTypeInfo',
    type: {
      name: 'Composite',
      class_name: 'TopicTypeInfo',
      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'
          }
        },
        provider: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provider',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.displayName',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        resource_region_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.resourceRegionType',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        supported_locations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.supportedLocations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end