Class: Azure::Synapse::Mgmt::V2019_06_01_preview::Models::ComponentSetup

Inherits:
CustomSetupBase
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/component_setup.rb

Overview

The custom setup of installing 3rd party components.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeComponentSetup

Returns a new instance of ComponentSetup.



16
17
18
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/component_setup.rb', line 16

def initialize
  @type = "ComponentSetup"
end

Instance Attribute Details

#component_nameString

Returns The name of the 3rd party component.

Returns:

  • (String)

    The name of the 3rd party component.



23
24
25
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/component_setup.rb', line 23

def component_name
  @component_name
end

#license_keySecretBase

Returns The license key to activate the component.

Returns:

  • (SecretBase)

    The license key to activate the component.



26
27
28
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/component_setup.rb', line 26

def license_key
  @license_key
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/component_setup.rb', line 20

def type
  @type
end

Class Method Details

.mapperObject

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



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/2019-06-01-preview/generated/azure_mgmt_synapse/models/component_setup.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ComponentSetup',
    type: {
      name: 'Composite',
      class_name: 'ComponentSetup',
      model_properties: {
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        component_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.componentName',
          type: {
            name: 'String'
          }
        },
        license_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.licenseKey',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'SecretBase',
            class_name: 'SecretBase'
          }
        }
      }
    }
  }
end