Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::CloudApplicationEntity

Inherits:
Entity
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cloud_application_entity.rb

Overview

Represents a cloud application entity.

Instance Attribute Summary collapse

Attributes inherited from Entity

#id, #name, #type

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCloudApplicationEntity

Returns a new instance of CloudApplicationEntity.



16
17
18
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cloud_application_entity.rb', line 16

def initialize
  @kind = "CloudApplication"
end

Instance Attribute Details

#additional_dataObject

will be presented to the user.

Returns:

  • A bag of custom fields that should be part of the entity and



24
25
26
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cloud_application_entity.rb', line 24

def additional_data
  @additional_data
end

#app_idInteger

Returns The technical identifier of the application.

Returns:

  • (Integer)

    The technical identifier of the application.



32
33
34
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cloud_application_entity.rb', line 32

def app_id
  @app_id
end

#app_nameString

Returns The name of the related cloud application.

Returns:

  • (String)

    The name of the related cloud application.



35
36
37
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cloud_application_entity.rb', line 35

def app_name
  @app_name
end

#friendly_nameString

readable description of the graph item instance. This property is optional and might be system generated.

Returns:

  • (String)

    The graph item display name which is a short humanly



29
30
31
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cloud_application_entity.rb', line 29

def friendly_name
  @friendly_name
end

#instance_nameString

application. It is often used to distinguish between several applications of the same type that a customer has.

Returns:

  • (String)

    The user defined instance name of the cloud



40
41
42
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cloud_application_entity.rb', line 40

def instance_name
  @instance_name
end

#kindObject

Returns the value of attribute kind.



20
21
22
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cloud_application_entity.rb', line 20

def kind
  @kind
end

Class Method Details

.mapperObject

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



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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cloud_application_entity.rb', line 47

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CloudApplication',
    type: {
      name: 'Composite',
      class_name: 'CloudApplicationEntity',
      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'
          }
        },
        kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        additional_data: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.additionalData',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        friendly_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.friendlyName',
          type: {
            name: 'String'
          }
        },
        app_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.appId',
          type: {
            name: 'Number'
          }
        },
        app_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.appName',
          type: {
            name: 'String'
          }
        },
        instance_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.instanceName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end