class Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::CloudApplicationEntity

Represents a cloud application entity.

Attributes

additional_data[RW]

@return A bag of custom fields that should be part of the entity and will be presented to the user.

app_id[RW]

@return [Integer] The technical identifier of the application.

app_name[RW]

@return [String] The name of the related cloud application.

friendly_name[RW]

@return [String] The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated.

instance_name[RW]

@return [String] The user defined instance name of the cloud application. It is often used to distinguish between several applications of the same type that a customer has.

kind[RW]

Public Class Methods

mapper() click to toggle source

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

# 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
new() click to toggle source
# File lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cloud_application_entity.rb, line 16
def initialize
  @kind = "CloudApplication"
end