class Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::SecurityGroupEntity

Represents a security group 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.

distinguished_name[RW]

@return [String] The group distinguished name

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.

kind[RW]
object_guid[RW]

@return A single-value attribute that is the unique identifier for the object, assigned by active directory.

sid[RW]

@return [String] The SID attribute is a single-value attribute that specifies the security identifier (SID) of the group

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/security_group_entity.rb, line 47
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SecurityGroup',
    type: {
      name: 'Composite',
      class_name: 'SecurityGroupEntity',
      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'
          }
        },
        distinguished_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.distinguishedName',
          type: {
            name: 'String'
          }
        },
        object_guid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.objectGuid',
          type: {
            name: 'String'
          }
        },
        sid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sid',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/security_group_entity.rb, line 16
def initialize
  @kind = "SecurityGroup"
end