Class: Azure::Security::Mgmt::V2020_01_01::Models::ExternalSecuritySolution

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution.rb

Overview

Represents a security solution external to Azure Security Center which sends information to an OMS workspace and whose data is displayed by Azure Security Center.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeExternalSecuritySolution

Returns a new instance of ExternalSecuritySolution.



22
23
24
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution.rb', line 22

def initialize
  @kind = "ExternalSecuritySolution"
end

Instance Attribute Details

#idString

Returns Resource Id.

Returns:

  • (String)

    Resource Id



29
30
31
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution.rb', line 29

def id
  @id
end

#kindObject

Returns the value of attribute kind.



26
27
28
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution.rb', line 26

def kind
  @kind
end

#locationString

Returns Location where the resource is stored.

Returns:

  • (String)

    Location where the resource is stored



38
39
40
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution.rb', line 38

def location
  @location
end

#nameString

Returns Resource name.

Returns:

  • (String)

    Resource name



32
33
34
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution.rb', line 32

def name
  @name
end

#typeString

Returns Resource type.

Returns:

  • (String)

    Resource type



35
36
37
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution.rb', line 35

def type
  @type
end

Class Method Details

.mapperObject

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



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution.rb', line 45

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExternalSecuritySolution',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'kind',
      uber_parent: 'ExternalSecuritySolution',
      class_name: 'ExternalSecuritySolution',
      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,
          read_only: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end