Class: Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpoint

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb

Overview

Server Endpoint object.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#cloud_tieringEnum



19
20
21
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 19

def cloud_tiering
  @cloud_tiering
end

#cloud_tiering_statusServerEndpointCloudTieringStatus

populated if cloud tiering is enabled.



61
62
63
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 61

def cloud_tiering_status
  @cloud_tiering_status
end

#friendly_nameString



29
30
31
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 29

def friendly_name
  @friendly_name
end

#last_operation_nameString



41
42
43
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 41

def last_operation_name
  @last_operation_name
end

#last_workflow_idString



38
39
40
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 38

def last_workflow_id
  @last_workflow_id
end

#offline_data_transferEnum

‘off’



48
49
50
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 48

def offline_data_transfer
  @offline_data_transfer
end

#offline_data_transfer_share_nameString



57
58
59
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 57

def offline_data_transfer_share_name
  @offline_data_transfer_share_name
end

#offline_data_transfer_storage_account_resource_idString



51
52
53
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 51

def 
  
end

#offline_data_transfer_storage_account_tenant_idString



54
55
56
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 54

def 
  
end

#provisioning_stateString



35
36
37
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 35

def provisioning_state
  @provisioning_state
end

#recall_statusServerEndpointRecallStatus

cloud tiering is enabled.



65
66
67
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 65

def recall_status
  @recall_status
end

#server_local_pathString



16
17
18
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 16

def server_local_path
  @server_local_path
end

#server_resource_idString



32
33
34
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 32

def server_resource_id
  @server_resource_id
end

#sync_statusServerEndpointSyncStatus



44
45
46
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 44

def sync_status
  @sync_status
end

#tier_files_older_than_daysInteger



26
27
28
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 26

def tier_files_older_than_days
  @tier_files_older_than_days
end

#volume_free_space_percentInteger

if it is enabled.



23
24
25
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 23

def volume_free_space_percent
  @volume_free_space_percent
end

Class Method Details

.mapperObject

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



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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
# File 'lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb', line 72

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServerEndpoint',
    type: {
      name: 'Composite',
      class_name: 'ServerEndpoint',
      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'
          }
        },
        server_local_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serverLocalPath',
          type: {
            name: 'String'
          }
        },
        cloud_tiering: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.cloudTiering',
          type: {
            name: 'String'
          }
        },
        volume_free_space_percent: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.volumeFreeSpacePercent',
          constraints: {
            InclusiveMaximum: 100,
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        tier_files_older_than_days: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.tierFilesOlderThanDays',
          constraints: {
            InclusiveMaximum: 2147483647,
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        friendly_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.friendlyName',
          type: {
            name: 'String'
          }
        },
        server_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serverResourceId',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        last_workflow_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastWorkflowId',
          type: {
            name: 'String'
          }
        },
        last_operation_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastOperationName',
          type: {
            name: 'String'
          }
        },
        sync_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.syncStatus',
          type: {
            name: 'Composite',
            class_name: 'ServerEndpointSyncStatus'
          }
        },
        offline_data_transfer: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.offlineDataTransfer',
          type: {
            name: 'String'
          }
        },
        offline_data_transfer_storage_account_resource_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.offlineDataTransferStorageAccountResourceId',
          type: {
            name: 'String'
          }
        },
        offline_data_transfer_storage_account_tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.offlineDataTransferStorageAccountTenantId',
          type: {
            name: 'String'
          }
        },
        offline_data_transfer_share_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.offlineDataTransferShareName',
          type: {
            name: 'String'
          }
        },
        cloud_tiering_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.cloudTieringStatus',
          type: {
            name: 'Composite',
            class_name: 'ServerEndpointCloudTieringStatus'
          }
        },
        recall_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.recallStatus',
          type: {
            name: 'Composite',
            class_name: 'ServerEndpointRecallStatus'
          }
        }
      }
    }
  }
end