azure_mgmt_storage 0.20.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-11-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2019-06-01/generated/azure_mgmt_storage.rb +51 -40
- data/lib/2019-06-01/generated/azure_mgmt_storage/file_shares.rb +156 -14
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_restore_range.rb +4 -2
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/deleted_share.rb +59 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/enabled_protocols.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share.rb +129 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb +129 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/get_share_expand.rb +15 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_shares_expand.rb +15 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/object_replication_policies.rb +56 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/object_replication_policy.rb +131 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/object_replication_policy_filter.rb +70 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/object_replication_policy_rule.rb +82 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/restore_policy_properties.rb +13 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/root_squash_type.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/share_access_tier.rb +18 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/object_replication_policies_operations.rb +495 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/storage_management_client.rb +6 -1
- data/lib/azure_mgmt_storage.rb +10 -10
- data/lib/profiles/latest/modules/storage_profile_module.rb +172 -130
- data/lib/version.rb +1 -1
- metadata +13 -2
@@ -12,10 +12,12 @@ module Azure::Storage::Mgmt::V2019_06_01
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] Blob start range. Empty means
|
15
|
+
# @return [String] Blob start range. This is inclusive. Empty means
|
16
|
+
# account start.
|
16
17
|
attr_accessor :start_range
|
17
18
|
|
18
|
-
# @return [String] Blob end range. Empty means account
|
19
|
+
# @return [String] Blob end range. This is exclusive. Empty means account
|
20
|
+
# end.
|
19
21
|
attr_accessor :end_range
|
20
22
|
|
21
23
|
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The deleted share to be restored.
|
10
|
+
#
|
11
|
+
class DeletedShare
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Required. Identify the name of the deleted share that
|
16
|
+
# will be restored.
|
17
|
+
attr_accessor :deleted_share_name
|
18
|
+
|
19
|
+
# @return [String] Required. Identify the version of the deleted share
|
20
|
+
# that will be restored.
|
21
|
+
attr_accessor :deleted_share_version
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for DeletedShare class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'DeletedShare',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'DeletedShare',
|
36
|
+
model_properties: {
|
37
|
+
deleted_share_name: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: true,
|
40
|
+
serialized_name: 'deletedShareName',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
deleted_share_version: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: true,
|
48
|
+
serialized_name: 'deletedShareVersion',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for EnabledProtocols
|
10
|
+
#
|
11
|
+
module EnabledProtocols
|
12
|
+
SMB = "SMB"
|
13
|
+
NFS = "NFS"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -26,6 +26,48 @@ module Azure::Storage::Mgmt::V2019_06_01
|
|
26
26
|
# Shares, the maximum size is 102400.
|
27
27
|
attr_accessor :share_quota
|
28
28
|
|
29
|
+
# @return [EnabledProtocols] The authentication protocol that is used for
|
30
|
+
# the file share. Can only be specified when creating a share. Possible
|
31
|
+
# values include: 'SMB', 'NFS'
|
32
|
+
attr_accessor :enabled_protocols
|
33
|
+
|
34
|
+
# @return [RootSquashType] The property is for NFS share only. The
|
35
|
+
# default is NoRootSquash. Possible values include: 'NoRootSquash',
|
36
|
+
# 'RootSquash', 'AllSquash'
|
37
|
+
attr_accessor :root_squash
|
38
|
+
|
39
|
+
# @return [String] The version of the share.
|
40
|
+
attr_accessor :version
|
41
|
+
|
42
|
+
# @return [Boolean] Indicates whether the share was deleted.
|
43
|
+
attr_accessor :deleted
|
44
|
+
|
45
|
+
# @return [DateTime] The deleted time if the share was deleted.
|
46
|
+
attr_accessor :deleted_time
|
47
|
+
|
48
|
+
# @return [Integer] Remaining retention days for share that was soft
|
49
|
+
# deleted.
|
50
|
+
attr_accessor :remaining_retention_days
|
51
|
+
|
52
|
+
# @return [ShareAccessTier] Access tier for specific share. GpV2 account
|
53
|
+
# can choose between TransactionOptimized (default), Hot, and Cool.
|
54
|
+
# FileStorage account can choose Premium. Possible values include:
|
55
|
+
# 'TransactionOptimized', 'Hot', 'Cool', 'Premium'
|
56
|
+
attr_accessor :access_tier
|
57
|
+
|
58
|
+
# @return [DateTime] Indicates the last modification time for share
|
59
|
+
# access tier.
|
60
|
+
attr_accessor :access_tier_change_time
|
61
|
+
|
62
|
+
# @return [String] Indicates if there is a pending transition for access
|
63
|
+
# tier.
|
64
|
+
attr_accessor :access_tier_status
|
65
|
+
|
66
|
+
# @return [Integer] The approximate size of the data stored on the share.
|
67
|
+
# Note that this value may not include all recently created or recently
|
68
|
+
# resized files.
|
69
|
+
attr_accessor :share_usage_bytes
|
70
|
+
|
29
71
|
|
30
72
|
#
|
31
73
|
# Mapper for FileShare class as Ruby Hash.
|
@@ -112,6 +154,93 @@ module Azure::Storage::Mgmt::V2019_06_01
|
|
112
154
|
type: {
|
113
155
|
name: 'Number'
|
114
156
|
}
|
157
|
+
},
|
158
|
+
enabled_protocols: {
|
159
|
+
client_side_validation: true,
|
160
|
+
required: false,
|
161
|
+
serialized_name: 'properties.enabledProtocols',
|
162
|
+
type: {
|
163
|
+
name: 'String'
|
164
|
+
}
|
165
|
+
},
|
166
|
+
root_squash: {
|
167
|
+
client_side_validation: true,
|
168
|
+
required: false,
|
169
|
+
serialized_name: 'properties.rootSquash',
|
170
|
+
type: {
|
171
|
+
name: 'String'
|
172
|
+
}
|
173
|
+
},
|
174
|
+
version: {
|
175
|
+
client_side_validation: true,
|
176
|
+
required: false,
|
177
|
+
read_only: true,
|
178
|
+
serialized_name: 'properties.version',
|
179
|
+
type: {
|
180
|
+
name: 'String'
|
181
|
+
}
|
182
|
+
},
|
183
|
+
deleted: {
|
184
|
+
client_side_validation: true,
|
185
|
+
required: false,
|
186
|
+
read_only: true,
|
187
|
+
serialized_name: 'properties.deleted',
|
188
|
+
type: {
|
189
|
+
name: 'Boolean'
|
190
|
+
}
|
191
|
+
},
|
192
|
+
deleted_time: {
|
193
|
+
client_side_validation: true,
|
194
|
+
required: false,
|
195
|
+
read_only: true,
|
196
|
+
serialized_name: 'properties.deletedTime',
|
197
|
+
type: {
|
198
|
+
name: 'DateTime'
|
199
|
+
}
|
200
|
+
},
|
201
|
+
remaining_retention_days: {
|
202
|
+
client_side_validation: true,
|
203
|
+
required: false,
|
204
|
+
read_only: true,
|
205
|
+
serialized_name: 'properties.remainingRetentionDays',
|
206
|
+
type: {
|
207
|
+
name: 'Number'
|
208
|
+
}
|
209
|
+
},
|
210
|
+
access_tier: {
|
211
|
+
client_side_validation: true,
|
212
|
+
required: false,
|
213
|
+
serialized_name: 'properties.accessTier',
|
214
|
+
type: {
|
215
|
+
name: 'String'
|
216
|
+
}
|
217
|
+
},
|
218
|
+
access_tier_change_time: {
|
219
|
+
client_side_validation: true,
|
220
|
+
required: false,
|
221
|
+
read_only: true,
|
222
|
+
serialized_name: 'properties.accessTierChangeTime',
|
223
|
+
type: {
|
224
|
+
name: 'DateTime'
|
225
|
+
}
|
226
|
+
},
|
227
|
+
access_tier_status: {
|
228
|
+
client_side_validation: true,
|
229
|
+
required: false,
|
230
|
+
read_only: true,
|
231
|
+
serialized_name: 'properties.accessTierStatus',
|
232
|
+
type: {
|
233
|
+
name: 'String'
|
234
|
+
}
|
235
|
+
},
|
236
|
+
share_usage_bytes: {
|
237
|
+
client_side_validation: true,
|
238
|
+
required: false,
|
239
|
+
read_only: true,
|
240
|
+
serialized_name: 'properties.shareUsageBytes',
|
241
|
+
type: {
|
242
|
+
name: 'Number'
|
243
|
+
}
|
115
244
|
}
|
116
245
|
}
|
117
246
|
}
|
@@ -25,6 +25,48 @@ module Azure::Storage::Mgmt::V2019_06_01
|
|
25
25
|
# Shares, the maximum size is 102400.
|
26
26
|
attr_accessor :share_quota
|
27
27
|
|
28
|
+
# @return [EnabledProtocols] The authentication protocol that is used for
|
29
|
+
# the file share. Can only be specified when creating a share. Possible
|
30
|
+
# values include: 'SMB', 'NFS'
|
31
|
+
attr_accessor :enabled_protocols
|
32
|
+
|
33
|
+
# @return [RootSquashType] The property is for NFS share only. The
|
34
|
+
# default is NoRootSquash. Possible values include: 'NoRootSquash',
|
35
|
+
# 'RootSquash', 'AllSquash'
|
36
|
+
attr_accessor :root_squash
|
37
|
+
|
38
|
+
# @return [String] The version of the share.
|
39
|
+
attr_accessor :version
|
40
|
+
|
41
|
+
# @return [Boolean] Indicates whether the share was deleted.
|
42
|
+
attr_accessor :deleted
|
43
|
+
|
44
|
+
# @return [DateTime] The deleted time if the share was deleted.
|
45
|
+
attr_accessor :deleted_time
|
46
|
+
|
47
|
+
# @return [Integer] Remaining retention days for share that was soft
|
48
|
+
# deleted.
|
49
|
+
attr_accessor :remaining_retention_days
|
50
|
+
|
51
|
+
# @return [ShareAccessTier] Access tier for specific share. GpV2 account
|
52
|
+
# can choose between TransactionOptimized (default), Hot, and Cool.
|
53
|
+
# FileStorage account can choose Premium. Possible values include:
|
54
|
+
# 'TransactionOptimized', 'Hot', 'Cool', 'Premium'
|
55
|
+
attr_accessor :access_tier
|
56
|
+
|
57
|
+
# @return [DateTime] Indicates the last modification time for share
|
58
|
+
# access tier.
|
59
|
+
attr_accessor :access_tier_change_time
|
60
|
+
|
61
|
+
# @return [String] Indicates if there is a pending transition for access
|
62
|
+
# tier.
|
63
|
+
attr_accessor :access_tier_status
|
64
|
+
|
65
|
+
# @return [Integer] The approximate size of the data stored on the share.
|
66
|
+
# Note that this value may not include all recently created or recently
|
67
|
+
# resized files.
|
68
|
+
attr_accessor :share_usage_bytes
|
69
|
+
|
28
70
|
|
29
71
|
#
|
30
72
|
# Mapper for FileShareItem class as Ruby Hash.
|
@@ -111,6 +153,93 @@ module Azure::Storage::Mgmt::V2019_06_01
|
|
111
153
|
type: {
|
112
154
|
name: 'Number'
|
113
155
|
}
|
156
|
+
},
|
157
|
+
enabled_protocols: {
|
158
|
+
client_side_validation: true,
|
159
|
+
required: false,
|
160
|
+
serialized_name: 'properties.enabledProtocols',
|
161
|
+
type: {
|
162
|
+
name: 'String'
|
163
|
+
}
|
164
|
+
},
|
165
|
+
root_squash: {
|
166
|
+
client_side_validation: true,
|
167
|
+
required: false,
|
168
|
+
serialized_name: 'properties.rootSquash',
|
169
|
+
type: {
|
170
|
+
name: 'String'
|
171
|
+
}
|
172
|
+
},
|
173
|
+
version: {
|
174
|
+
client_side_validation: true,
|
175
|
+
required: false,
|
176
|
+
read_only: true,
|
177
|
+
serialized_name: 'properties.version',
|
178
|
+
type: {
|
179
|
+
name: 'String'
|
180
|
+
}
|
181
|
+
},
|
182
|
+
deleted: {
|
183
|
+
client_side_validation: true,
|
184
|
+
required: false,
|
185
|
+
read_only: true,
|
186
|
+
serialized_name: 'properties.deleted',
|
187
|
+
type: {
|
188
|
+
name: 'Boolean'
|
189
|
+
}
|
190
|
+
},
|
191
|
+
deleted_time: {
|
192
|
+
client_side_validation: true,
|
193
|
+
required: false,
|
194
|
+
read_only: true,
|
195
|
+
serialized_name: 'properties.deletedTime',
|
196
|
+
type: {
|
197
|
+
name: 'DateTime'
|
198
|
+
}
|
199
|
+
},
|
200
|
+
remaining_retention_days: {
|
201
|
+
client_side_validation: true,
|
202
|
+
required: false,
|
203
|
+
read_only: true,
|
204
|
+
serialized_name: 'properties.remainingRetentionDays',
|
205
|
+
type: {
|
206
|
+
name: 'Number'
|
207
|
+
}
|
208
|
+
},
|
209
|
+
access_tier: {
|
210
|
+
client_side_validation: true,
|
211
|
+
required: false,
|
212
|
+
serialized_name: 'properties.accessTier',
|
213
|
+
type: {
|
214
|
+
name: 'String'
|
215
|
+
}
|
216
|
+
},
|
217
|
+
access_tier_change_time: {
|
218
|
+
client_side_validation: true,
|
219
|
+
required: false,
|
220
|
+
read_only: true,
|
221
|
+
serialized_name: 'properties.accessTierChangeTime',
|
222
|
+
type: {
|
223
|
+
name: 'DateTime'
|
224
|
+
}
|
225
|
+
},
|
226
|
+
access_tier_status: {
|
227
|
+
client_side_validation: true,
|
228
|
+
required: false,
|
229
|
+
read_only: true,
|
230
|
+
serialized_name: 'properties.accessTierStatus',
|
231
|
+
type: {
|
232
|
+
name: 'String'
|
233
|
+
}
|
234
|
+
},
|
235
|
+
share_usage_bytes: {
|
236
|
+
client_side_validation: true,
|
237
|
+
required: false,
|
238
|
+
read_only: true,
|
239
|
+
serialized_name: 'properties.shareUsageBytes',
|
240
|
+
type: {
|
241
|
+
name: 'Number'
|
242
|
+
}
|
114
243
|
}
|
115
244
|
}
|
116
245
|
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for GetShareExpand
|
10
|
+
#
|
11
|
+
module GetShareExpand
|
12
|
+
Stats = "stats"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ListSharesExpand
|
10
|
+
#
|
11
|
+
module ListSharesExpand
|
12
|
+
Deleted = "deleted"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List storage account object replication policies.
|
10
|
+
#
|
11
|
+
class ObjectReplicationPolicies
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<ObjectReplicationPolicy>] The replication policy between
|
16
|
+
# two storage accounts.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ObjectReplicationPolicies class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'ObjectReplicationPolicies',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ObjectReplicationPolicies',
|
32
|
+
model_properties: {
|
33
|
+
value: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'value',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'ObjectReplicationPolicyElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'ObjectReplicationPolicy'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|