class Azure::Synapse::Mgmt::V2019_06_01_preview::Models::ComponentSetup

The custom setup of installing 3rd party components.

Attributes

component_name[RW]

@return [String] The name of the 3rd party component.

license_key[RW]

@return [SecretBase] The license key to activate the component.

type[RW]

Private Class Methods

mapper() click to toggle source

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

# 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
new() click to toggle source
# File lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/component_setup.rb, line 16
def initialize
  @type = "ComponentSetup"
end