class Azure::Monitor::Mgmt::V2018_11_27_preview::Models::WorkspaceInfo

Information about a Log Analytics Workspace.

Attributes

customer_id[RW]

@return [String] Log Analytics workspace identifier.

id[RW]

@return [String] Azure Resource Manager identifier of the Log Analytics Workspace.

location[RW]

@return [String] Location of the Log Analytics workspace.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WorkspaceInfo',
    type: {
      name: 'Composite',
      class_name: 'WorkspaceInfo',
      model_properties: {
        id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        customer_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.customerId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end