Class: Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterCodeVersionsResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb

Overview

The result of the ServiceFabric runtime versions

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#code_versionString

Returns The ServiceFabric runtime version of the cluster.

Returns:

  • (String)

    The ServiceFabric runtime version of the cluster



25
26
27
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb', line 25

def code_version
  @code_version
end

#environmentEnum

‘Windows’, ‘Linux’

Returns:

  • (Enum)

    Cluster operating system. Possible values include:



32
33
34
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb', line 32

def environment
  @environment
end

#idString

Returns The identification of the result.

Returns:

  • (String)

    The identification of the result



16
17
18
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb', line 16

def id
  @id
end

#nameString

Returns The name of the result.

Returns:

  • (String)

    The name of the result



19
20
21
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb', line 19

def name
  @name
end

#support_expiry_utcString

Returns The date of expiry of support of the version.

Returns:

  • (String)

    The date of expiry of support of the version



28
29
30
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb', line 28

def support_expiry_utc
  @support_expiry_utc
end

#typeString

Returns The result resource type.

Returns:

  • (String)

    The result resource type



22
23
24
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb', line 22

def type
  @type
end

Class Method Details

.mapperObject

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



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
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/cluster_code_versions_result.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ClusterCodeVersionsResult',
    type: {
      name: 'Composite',
      class_name: 'ClusterCodeVersionsResult',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        code_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.codeVersion',
          type: {
            name: 'String'
          }
        },
        support_expiry_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.supportExpiryUtc',
          type: {
            name: 'String'
          }
        },
        environment: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.environment',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end