Class: Azure::ARM::SQL::Models::TransparentDataEncryptionActivity

Inherits:
SubResource
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb

Overview

Represents a database transparent data encryption Scan.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#name

Class Method Summary collapse

Instance Attribute Details

#percent_completeFloat

scan for a database.

Returns:

  • (Float)

    The percent complete of the transparent data encryption



22
23
24
# File 'lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb', line 22

def percent_complete
  @percent_complete
end

#statusTransparentDataEncryptionActivityStatus

database. Possible values include: ‘Encrypting’, ‘Decrypting’

Returns:



18
19
20
# File 'lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb', line 18

def status
  @status
end

Class Method Details

.mapperObject

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



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
# File 'lib/generated/azure_mgmt_sql/models/transparent_data_encryption_activity.rb', line 29

def self.mapper()
  {
    required: false,
    serialized_name: 'TransparentDataEncryptionActivity',
    type: {
      name: 'Composite',
      class_name: 'TransparentDataEncryptionActivity',
      model_properties: {
        name: {
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        id: {
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        status: {
          required: false,
          read_only: true,
          serialized_name: 'properties.status',
          type: {
            name: 'String'
          }
        },
        percent_complete: {
          required: false,
          read_only: true,
          serialized_name: 'properties.percentComplete',
          type: {
            name: 'Double'
          }
        }
      }
    }
  }
end