Class: Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualClusterUpdate

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_cluster_update.rb

Overview

An update request for an Azure SQL Database virtual cluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#child_resourcesArray<String>

Returns List of resources in this virtual cluster.

Returns:

  • (Array<String>)

    List of resources in this virtual cluster.



23
24
25
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_cluster_update.rb', line 23

def child_resources
  @child_resources
end

#familyString

for the same SKU, then that can be captured here.

Returns:

  • (String)

    If the service has different generations of hardware,



20
21
22
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_cluster_update.rb', line 20

def family
  @family
end

#subnet_idString

Returns Subnet resource ID for the virtual cluster.

Returns:

  • (String)

    Subnet resource ID for the virtual cluster.



16
17
18
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_cluster_update.rb', line 16

def subnet_id
  @subnet_id
end

#tagsHash{String => String}

Returns Resource tags.

Returns:

  • (Hash{String => String})

    Resource tags.



26
27
28
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_cluster_update.rb', line 26

def tags
  @tags
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/virtual_cluster_update.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualClusterUpdate',
    type: {
      name: 'Composite',
      class_name: 'VirtualClusterUpdate',
      model_properties: {
        subnet_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.subnetId',
          type: {
            name: 'String'
          }
        },
        family: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.family',
          type: {
            name: 'String'
          }
        },
        child_resources: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.childResources',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end