Class: Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_implementation_info.rb

Overview

Contains information for manual implementation for an Azure SQL Database, Server or Elastic Pool Recommended Action.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#methodImplementationMethod

recommended action can be manually implemented. e.g., TSql, AzurePowerShell. Possible values include: ‘TSql’, ‘AzurePowerShell’

Returns:



19
20
21
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_implementation_info.rb', line 19

def method
  @method
end

#scriptString

script that could be executed on the database.

Returns:

  • (String)

    Gets the manual implementation script. e.g., T-SQL



23
24
25
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_implementation_info.rb', line 23

def script
  @script
end

Class Method Details

.mapperObject

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



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
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/recommended_action_implementation_info.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RecommendedActionImplementationInfo',
    type: {
      name: 'Composite',
      class_name: 'RecommendedActionImplementationInfo',
      model_properties: {
        method: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'method',
          type: {
            name: 'Enum',
            module: 'ImplementationMethod'
          }
        },
        script: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'script',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end