Sha256: 03fede23645a686ff7fae92677c58db64179066850dcc4d347dfc0d407cff6ff

Contents?: true

Size: 1.81 KB

Versions: 6

Compression:

Stored size: 1.81 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Monitor::Mgmt::V2018_11_27_preview
  module Models
    #
    # Information about a Log Analytics Workspace.
    #
    class WorkspaceInfo

      include MsRestAzure

      # @return [String] Azure Resource Manager identifier of the Log Analytics
      # Workspace.
      attr_accessor :id

      # @return [String] Location of the Log Analytics workspace.
      attr_accessor :location

      # @return [String] Log Analytics workspace identifier.
      attr_accessor :customer_id


      #
      # Mapper for WorkspaceInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.19.0 lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb
azure_mgmt_monitor-0.18.0 lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb
azure_mgmt_monitor-0.17.6 lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb
azure_mgmt_monitor-0.17.5 lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb
azure_mgmt_monitor-0.17.4 lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb
azure_mgmt_monitor-0.17.3 lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb