Class: Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OSProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/osprofile.rb

Overview

Specifies the operating system settings for the HANA instance.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#computer_nameString

Returns Specifies the host OS name of the HANA instance.

Returns:

  • (String)

    Specifies the host OS name of the HANA instance.



16
17
18
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/osprofile.rb', line 16

def computer_name
  @computer_name
end

#os_typeString

OS.

Returns:

  • (String)

    This property allows you to specify the type of the



20
21
22
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/osprofile.rb', line 20

def os_type
  @os_type
end

#ssh_public_keyString

operating system.

Returns:

  • (String)

    Specifies the SSH public key used to access the



27
28
29
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/osprofile.rb', line 27

def ssh_public_key
  @ssh_public_key
end

#versionString

Returns Specifies version of operating system.

Returns:

  • (String)

    Specifies version of operating system.



23
24
25
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/osprofile.rb', line 23

def version
  @version
end

Class Method Details

.mapperObject

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



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
73
74
75
76
77
78
79
80
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/osprofile.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OSProfile',
    type: {
      name: 'Composite',
      class_name: 'OSProfile',
      model_properties: {
        computer_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'computerName',
          type: {
            name: 'String'
          }
        },
        os_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'osType',
          type: {
            name: 'String'
          }
        },
        version: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'version',
          type: {
            name: 'String'
          }
        },
        ssh_public_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sshPublicKey',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end