Class: Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterVersionDetails

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb

Overview

The detail of the Service Fabric runtime version result

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#code_versionString

Returns The Service Fabric runtime version of the cluster.

Returns:

  • (String)

    The Service Fabric runtime version of the cluster.



16
17
18
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb', line 16

def code_version
  @code_version
end

#environmentEnum

operating system. Possible values include: ‘Windows’, ‘Linux’

Returns:

  • (Enum)

    Indicates if this version is for Windows or Linux



23
24
25
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb', line 23

def environment
  @environment
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.



19
20
21
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb', line 19

def support_expiry_utc
  @support_expiry_utc
end

Class Method Details

.mapperObject

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



30
31
32
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
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/cluster_version_details.rb', line 30

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