Class: Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb
Overview
An Azure SQL Database sync group.
Instance Attribute Summary collapse
-
#conflict_resolution_policy ⇒ SyncConflictResolutionPolicy
the sync group.
-
#hub_database_password ⇒ String
Password for the sync group hub database credential.
-
#hub_database_user_name ⇒ String
User name for the sync group hub database credential.
-
#interval ⇒ Integer
Sync interval of the sync group.
-
#last_sync_time ⇒ DateTime
Last sync time of the sync group.
-
#schema ⇒ SyncGroupSchema
Sync schema of the sync group.
-
#sync_database_id ⇒ String
group.
-
#sync_state ⇒ SyncGroupState
include: ‘NotReady’, ‘Error’, ‘Warning’, ‘Progressing’, ‘Good’.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SyncGroup class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#conflict_resolution_policy ⇒ SyncConflictResolutionPolicy
the sync group. Possible values include: ‘HubWin’, ‘MemberWin’
23 24 25 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb', line 23 def conflict_resolution_policy @conflict_resolution_policy end |
#hub_database_password ⇒ String
Returns Password for the sync group hub database credential.
33 34 35 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb', line 33 def hub_database_password @hub_database_password end |
#hub_database_user_name ⇒ String
Returns User name for the sync group hub database credential.
30 31 32 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb', line 30 def hub_database_user_name @hub_database_user_name end |
#interval ⇒ Integer
Returns Sync interval of the sync group.
16 17 18 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb', line 16 def interval @interval end |
#last_sync_time ⇒ DateTime
Returns Last sync time of the sync group.
19 20 21 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb', line 19 def last_sync_time @last_sync_time end |
#schema ⇒ SyncGroupSchema
Returns Sync schema of the sync group.
40 41 42 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb', line 40 def schema @schema end |
#sync_database_id ⇒ String
group.
27 28 29 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb', line 27 def sync_database_id @sync_database_id end |
#sync_state ⇒ SyncGroupState
include: ‘NotReady’, ‘Error’, ‘Warning’, ‘Progressing’, ‘Good’
37 38 39 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb', line 37 def sync_state @sync_state end |
Class Method Details
.mapper ⇒ Object
Mapper for SyncGroup class as Ruby Hash. This will be used for serialization/deserialization.
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 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/sync_group.rb', line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SyncGroup', type: { name: 'Composite', class_name: 'SyncGroup', 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' } }, interval: { client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { name: 'Number' } }, last_sync_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastSyncTime', type: { name: 'DateTime' } }, conflict_resolution_policy: { client_side_validation: true, required: false, serialized_name: 'properties.conflictResolutionPolicy', type: { name: 'String' } }, sync_database_id: { client_side_validation: true, required: false, serialized_name: 'properties.syncDatabaseId', type: { name: 'String' } }, hub_database_user_name: { client_side_validation: true, required: false, serialized_name: 'properties.hubDatabaseUserName', type: { name: 'String' } }, hub_database_password: { client_side_validation: true, required: false, serialized_name: 'properties.hubDatabasePassword', type: { name: 'String' } }, sync_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.syncState', type: { name: 'String' } }, schema: { client_side_validation: true, required: false, serialized_name: 'properties.schema', type: { name: 'Composite', class_name: 'SyncGroupSchema' } } } } } end |