class Azure::Signalr::Mgmt::V2018_10_01::Models::TrackedResource

The resource model definition for a ARM tracked top level resource.

Attributes

location[RW]

@return [String] The GEO location of the SignalR service. e.g. West US | East US | North Central US | South Central US.

tags[RW]

@return [Hash{String => String}] Tags of the service which is a list of key value pairs that describe the resource.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-10-01/generated/azure_mgmt_signalr/models/tracked_resource.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TrackedResource',
    type: {
      name: 'Composite',
      class_name: 'TrackedResource',
      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: false,
          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'
                }
            }
          }
        }
      }
    }
  }
end