Class: Azure::Automation::Mgmt::V2015_10_31::Models::Connection

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb

Overview

Definition of the connection.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#connection_typeConnectionTypeAssociationProperty

connectionType of the connection.

Returns:



17
18
19
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb', line 17

def connection_type
  @connection_type
end

#creation_timeDateTime

Returns Gets the creation time.

Returns:

  • (DateTime)

    Gets the creation time.



24
25
26
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb', line 24

def creation_time
  @creation_time
end

#descriptionString

Returns Gets or sets the description.

Returns:

  • (String)

    Gets or sets the description.



30
31
32
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb', line 30

def description
  @description
end

#field_definition_valuesHash{String => String}

the connection.

Returns:

  • (Hash{String => String})

    Gets the field definition values of



21
22
23
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb', line 21

def field_definition_values
  @field_definition_values
end

#last_modified_timeDateTime

Returns Gets the last modified time.

Returns:

  • (DateTime)

    Gets the last modified time.



27
28
29
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb', line 27

def last_modified_time
  @last_modified_time
end

Class Method Details

.mapperObject

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



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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb', line 37

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Connection',
    type: {
      name: 'Composite',
      class_name: 'Connection',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        connection_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.connectionType',
          type: {
            name: 'Composite',
            class_name: 'ConnectionTypeAssociationProperty'
          }
        },
        field_definition_values: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.fieldDefinitionValues',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        creation_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.creationTime',
          type: {
            name: 'DateTime'
          }
        },
        last_modified_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastModifiedTime',
          type: {
            name: 'DateTime'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end