azure_mgmt_storage 0.17.10 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- 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.rb +49 -38
- data/lib/2019-04-01/generated/azure_mgmt_storage/blob_containers.rb +151 -8
- data/lib/2019-04-01/generated/azure_mgmt_storage/blob_services.rb +113 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/file_services.rb +377 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/file_shares.rb +806 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/azure_files_identity_based_authentication.rb +47 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/blob_service_items.rb +57 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/blob_service_properties.rb +13 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/change_feed.rb +47 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/date_after_creation.rb +4 -4
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/date_after_modification.rb +4 -3
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/directory_service_options.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/file_service_items.rb +57 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/file_service_properties.rb +77 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/file_share.rb +121 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/file_share_item.rb +120 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/file_share_items.rb +103 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/list_container_items.rb +50 -2
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account.rb +7 -6
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +10 -10
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +7 -6
- data/lib/2019-04-01/generated/azure_mgmt_storage/storage_management_client.rb +9 -1
- data/lib/azure_mgmt_storage.rb +8 -8
- data/lib/profiles/latest/modules/storage_profile_module.rb +165 -125
- data/lib/version.rb +1 -1
- metadata +14 -3
data/lib/2019-04-01/generated/azure_mgmt_storage/models/azure_files_identity_based_authentication.rb
ADDED
@@ -0,0 +1,47 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Settings for Azure Files identity based authentication.
|
10
|
+
#
|
11
|
+
class AzureFilesIdentityBasedAuthentication
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DirectoryServiceOptions] Indicates the directory service used.
|
16
|
+
# Possible values include: 'None', 'AADDS'
|
17
|
+
attr_accessor :directory_service_options
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for AzureFilesIdentityBasedAuthentication 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: 'AzureFilesIdentityBasedAuthentication',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'AzureFilesIdentityBasedAuthentication',
|
32
|
+
model_properties: {
|
33
|
+
directory_service_options: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: true,
|
36
|
+
serialized_name: 'directoryServiceOptions',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class BlobServiceItems
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<BlobServiceProperties>] List of blob services returned.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for BlobServiceItems 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: 'BlobServiceItems',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'BlobServiceItems',
|
32
|
+
model_properties: {
|
33
|
+
value: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'value',
|
38
|
+
type: {
|
39
|
+
name: 'Sequence',
|
40
|
+
element: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'BlobServicePropertiesElementType',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'BlobServiceProperties'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -31,6 +31,10 @@ module Azure::Storage::Mgmt::V2019_04_01
|
|
31
31
|
# @return [Boolean] Automatic Snapshot is enabled if set to true.
|
32
32
|
attr_accessor :automatic_snapshot_policy_enabled
|
33
33
|
|
34
|
+
# @return [ChangeFeed] The blob service properties for change feed
|
35
|
+
# events.
|
36
|
+
attr_accessor :change_feed
|
37
|
+
|
34
38
|
|
35
39
|
#
|
36
40
|
# Mapper for BlobServiceProperties class as Ruby Hash.
|
@@ -105,6 +109,15 @@ module Azure::Storage::Mgmt::V2019_04_01
|
|
105
109
|
type: {
|
106
110
|
name: 'Boolean'
|
107
111
|
}
|
112
|
+
},
|
113
|
+
change_feed: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'properties.changeFeed',
|
117
|
+
type: {
|
118
|
+
name: 'Composite',
|
119
|
+
class_name: 'ChangeFeed'
|
120
|
+
}
|
108
121
|
}
|
109
122
|
}
|
110
123
|
}
|
@@ -0,0 +1,47 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The blob service properties for change feed events.
|
10
|
+
#
|
11
|
+
class ChangeFeed
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Indicates whether change feed event logging is
|
16
|
+
# enabled for the Blob service.
|
17
|
+
attr_accessor :enabled
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ChangeFeed 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: 'ChangeFeed',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ChangeFeed',
|
32
|
+
model_properties: {
|
33
|
+
enabled: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'enabled',
|
37
|
+
type: {
|
38
|
+
name: 'Boolean'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -12,8 +12,7 @@ module Azure::Storage::Mgmt::V2019_04_01
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [
|
16
|
-
# creation
|
15
|
+
# @return [Float] Value indicating the age in days after creation
|
17
16
|
attr_accessor :days_after_creation_greater_than
|
18
17
|
|
19
18
|
|
@@ -35,10 +34,11 @@ module Azure::Storage::Mgmt::V2019_04_01
|
|
35
34
|
required: true,
|
36
35
|
serialized_name: 'daysAfterCreationGreaterThan',
|
37
36
|
constraints: {
|
38
|
-
InclusiveMinimum: 0
|
37
|
+
InclusiveMinimum: 0,
|
38
|
+
MultipleOf: 1
|
39
39
|
},
|
40
40
|
type: {
|
41
|
-
name: '
|
41
|
+
name: 'Double'
|
42
42
|
}
|
43
43
|
}
|
44
44
|
}
|
@@ -12,7 +12,7 @@ module Azure::Storage::Mgmt::V2019_04_01
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [
|
15
|
+
# @return [Float] Value indicating the age in days after last
|
16
16
|
# modification
|
17
17
|
attr_accessor :days_after_modification_greater_than
|
18
18
|
|
@@ -35,10 +35,11 @@ module Azure::Storage::Mgmt::V2019_04_01
|
|
35
35
|
required: true,
|
36
36
|
serialized_name: 'daysAfterModificationGreaterThan',
|
37
37
|
constraints: {
|
38
|
-
InclusiveMinimum: 0
|
38
|
+
InclusiveMinimum: 0,
|
39
|
+
MultipleOf: 1
|
39
40
|
},
|
40
41
|
type: {
|
41
|
-
name: '
|
42
|
+
name: 'Double'
|
42
43
|
}
|
43
44
|
}
|
44
45
|
}
|
@@ -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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for DirectoryServiceOptions
|
10
|
+
#
|
11
|
+
module DirectoryServiceOptions
|
12
|
+
None = "None"
|
13
|
+
AADDS = "AADDS"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class FileServiceItems
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<FileServiceProperties>] List of file services returned.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for FileServiceItems 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: 'FileServiceItems',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'FileServiceItems',
|
32
|
+
model_properties: {
|
33
|
+
value: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'value',
|
38
|
+
type: {
|
39
|
+
name: 'Sequence',
|
40
|
+
element: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'FileServicePropertiesElementType',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'FileServiceProperties'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,77 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The properties of File services in storage account.
|
10
|
+
#
|
11
|
+
class FileServiceProperties < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [CorsRules] Specifies CORS rules for the File service. You can
|
16
|
+
# include up to five CorsRule elements in the request. If no CorsRule
|
17
|
+
# elements are included in the request body, all CORS rules will be
|
18
|
+
# deleted, and CORS will be disabled for the File service.
|
19
|
+
attr_accessor :cors
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for FileServiceProperties class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'FileServiceProperties',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'FileServiceProperties',
|
34
|
+
model_properties: {
|
35
|
+
id: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'id',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'name',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
type: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'type',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
cors: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'properties.cors',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'CorsRules'
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1,121 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of the file share, including Id, resource name, resource type,
|
10
|
+
# Etag.
|
11
|
+
#
|
12
|
+
class FileShare < AzureEntityResource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [DateTime] Returns the date and time the share was last
|
17
|
+
# modified.
|
18
|
+
attr_accessor :last_modified_time
|
19
|
+
|
20
|
+
# @return [Hash{String => String}] A name-value pair to associate with
|
21
|
+
# the share as metadata.
|
22
|
+
attr_accessor :metadata
|
23
|
+
|
24
|
+
# @return [Integer] The maximum size of the share, in gigabytes. Must be
|
25
|
+
# greater than 0, and less than or equal to 5TB (5120).
|
26
|
+
attr_accessor :share_quota
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for FileShare class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'FileShare',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'FileShare',
|
41
|
+
model_properties: {
|
42
|
+
id: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'id',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
name: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'name',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
type: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'type',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
etag: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
read_only: true,
|
73
|
+
serialized_name: 'etag',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
last_modified_time: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
read_only: true,
|
82
|
+
serialized_name: 'properties.lastModifiedTime',
|
83
|
+
type: {
|
84
|
+
name: 'DateTime'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
metadata: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'properties.metadata',
|
91
|
+
type: {
|
92
|
+
name: 'Dictionary',
|
93
|
+
value: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'StringElementType',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
},
|
103
|
+
share_quota: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
serialized_name: 'properties.shareQuota',
|
107
|
+
constraints: {
|
108
|
+
InclusiveMaximum: 5120,
|
109
|
+
InclusiveMinimum: 1
|
110
|
+
},
|
111
|
+
type: {
|
112
|
+
name: 'Number'
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|