class Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSetting

Configures where to store the OMS agent data for workspaces under a scope

Attributes

scope[RW]

@return [String] All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope

workspace_id[RW]

@return [String] The full Azure ID of the workspace to save the data in

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-08-01-preview/generated/azure_mgmt_security/models/workspace_setting.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WorkspaceSetting',
    type: {
      name: 'Composite',
      class_name: 'WorkspaceSetting',
      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'
          }
        },
        workspace_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.workspaceId',
          type: {
            name: 'String'
          }
        },
        scope: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.scope',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end