class Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::MCASDataConnector

Represents MCAS (Microsoft Cloud App Security) data connector.

Attributes

data_types[RW]

@return [MCASDataConnectorDataTypes] The available data types for the connector.

kind[RW]
tenant_id[RW]

@return [String] The tenant id to connect to, and get the data from.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mcasdata_connector.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MicrosoftCloudAppSecurity',
    type: {
      name: 'Composite',
      class_name: 'MCASDataConnector',
      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'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        },
        data_types: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dataTypes',
          type: {
            name: 'Composite',
            class_name: 'MCASDataConnectorDataTypes'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/mcasdata_connector.rb, line 16
def initialize
  @kind = "MicrosoftCloudAppSecurity"
end