Class: Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate

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

Overview

A failover group update request.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#databasesArray<String>

Returns List of databases in the failover group.

Returns:

  • (Array<String>)

    List of databases in the failover group.



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

def databases
  @databases
end

#read_only_endpointFailoverGroupReadOnlyEndpoint

failover group instance.

Returns:



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

def read_only_endpoint
  @read_only_endpoint
end

#read_write_endpointFailoverGroupReadWriteEndpoint

failover group instance.

Returns:



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

def read_write_endpoint
  @read_write_endpoint
end

#tagsHash{String => String}

Returns Resource tags.

Returns:

  • (Hash{String => String})

    Resource tags.



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

def tags
  @tags
end

Class Method Details

.mapperObject

Mapper for FailoverGroupUpdate 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_update.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FailoverGroupUpdate',
    type: {
      name: 'Composite',
      class_name: 'FailoverGroupUpdate',
      model_properties: {
        read_write_endpoint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.readWriteEndpoint',
          type: {
            name: 'Composite',
            class_name: 'FailoverGroupReadWriteEndpoint'
          }
        },
        read_only_endpoint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.readOnlyEndpoint',
          type: {
            name: 'Composite',
            class_name: 'FailoverGroupReadOnlyEndpoint'
          }
        },
        databases: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.databases',
          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