azure_mgmt_storage 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +5 -13
  2. data/azure_mgmt_storage.gemspec +4 -5
  3. data/lib/azure_mgmt_storage.rb +3 -57
  4. data/lib/generated/azure_mgmt_storage.rb +56 -0
  5. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/models/access_tier.rb +0 -0
  6. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/models/account_status.rb +0 -0
  7. data/lib/generated/azure_mgmt_storage/models/check_name_availability_result.rb +73 -0
  8. data/lib/generated/azure_mgmt_storage/models/custom_domain.rb +57 -0
  9. data/lib/generated/azure_mgmt_storage/models/encryption.rb +59 -0
  10. data/lib/generated/azure_mgmt_storage/models/encryption_service.rb +60 -0
  11. data/lib/generated/azure_mgmt_storage/models/encryption_services.rb +45 -0
  12. data/lib/generated/azure_mgmt_storage/models/endpoints.rb +79 -0
  13. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/models/key_permission.rb +0 -0
  14. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/models/kind.rb +0 -0
  15. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/models/provisioning_state.rb +0 -0
  16. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/models/reason.rb +0 -0
  17. data/lib/generated/azure_mgmt_storage/models/sku.rb +61 -0
  18. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/models/sku_name.rb +0 -0
  19. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/models/sku_tier.rb +0 -0
  20. data/lib/generated/azure_mgmt_storage/models/storage_account.rb +269 -0
  21. data/lib/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +57 -0
  22. data/lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +134 -0
  23. data/lib/generated/azure_mgmt_storage/models/storage_account_key.rb +69 -0
  24. data/lib/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +54 -0
  25. data/lib/generated/azure_mgmt_storage/models/storage_account_list_result.rb +54 -0
  26. data/lib/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +44 -0
  27. data/lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +108 -0
  28. data/lib/generated/azure_mgmt_storage/models/usage.rb +84 -0
  29. data/lib/generated/azure_mgmt_storage/models/usage_list_result.rb +52 -0
  30. data/lib/generated/azure_mgmt_storage/models/usage_name.rb +56 -0
  31. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/models/usage_unit.rb +0 -0
  32. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/module_definition.rb +0 -0
  33. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/storage_accounts.rb +81 -66
  34. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/storage_management_client.rb +4 -4
  35. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/usage_operations.rb +4 -4
  36. data/lib/{azure_mgmt_storage → generated/azure_mgmt_storage}/version.rb +1 -1
  37. metadata +54 -77
  38. data/lib/azure_mgmt_storage/models/check_name_availability_result.rb +0 -82
  39. data/lib/azure_mgmt_storage/models/custom_domain.rb +0 -68
  40. data/lib/azure_mgmt_storage/models/encryption.rb +0 -73
  41. data/lib/azure_mgmt_storage/models/encryption_service.rb +0 -72
  42. data/lib/azure_mgmt_storage/models/encryption_services.rb +0 -62
  43. data/lib/azure_mgmt_storage/models/endpoints.rb +0 -84
  44. data/lib/azure_mgmt_storage/models/sku.rb +0 -77
  45. data/lib/azure_mgmt_storage/models/storage_account.rb +0 -122
  46. data/lib/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +0 -67
  47. data/lib/azure_mgmt_storage/models/storage_account_create_parameters.rb +0 -122
  48. data/lib/azure_mgmt_storage/models/storage_account_key.rb +0 -78
  49. data/lib/azure_mgmt_storage/models/storage_account_list_keys_result.rb +0 -77
  50. data/lib/azure_mgmt_storage/models/storage_account_list_result.rb +0 -77
  51. data/lib/azure_mgmt_storage/models/storage_account_properties.rb +0 -227
  52. data/lib/azure_mgmt_storage/models/storage_account_properties_create_parameters.rb +0 -100
  53. data/lib/azure_mgmt_storage/models/storage_account_properties_update_parameters.rb +0 -98
  54. data/lib/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +0 -56
  55. data/lib/azure_mgmt_storage/models/storage_account_update_parameters.rb +0 -94
  56. data/lib/azure_mgmt_storage/models/usage.rb +0 -99
  57. data/lib/azure_mgmt_storage/models/usage_list_result.rb +0 -76
  58. data/lib/azure_mgmt_storage/models/usage_name.rb +0 -65
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MDAxOWEzZDU2MmNlZGVmMmE0YzJiODFiYzNjYzg0MjU3MzdmMzRiNQ==
5
- data.tar.gz: !binary |-
6
- ODFhN2MwOTczNTU4ZjE1MjE4MTQ0ZGFmY2YyMmVlZGFjN2RiZmIyMQ==
2
+ SHA1:
3
+ metadata.gz: 9eb136c8657308f0ffc02b2ddc20e2b2f54fe18a
4
+ data.tar.gz: 3acd00708bc7544335b674f4567fa7066b290b7e
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MjJlOTZiZDIzMzIwODgwMjI1OGQwMDE3YzQxZWRhMGZkOGUxNGQxNzI3MjBm
10
- OWZjNmMwZjUyOWQ2MTY3MTgzMDQyZGQ1NTllYzlkZmRkNjQ5YmViNzkwMTUy
11
- MTdiNmRlY2RlN2M3MzEyOTA5YjRmYTdhMTJjMjVlMDE1YjgwMjk=
12
- data.tar.gz: !binary |-
13
- MGMwZDk4YzRlOGU1ZjYxMzI4MDUzZGY0ZDE4ZWY4ZTU1MjUyZDVkNDBmMzc3
14
- OWM1MzA1Y2E3MDUzNjIyMzhkYjBhYTI1ZDY4MmMwN2U1ZmFkMzFkZTc1MDM3
15
- M2RhNDg3ZTA3NTAzNjNlYjQ4MWE1MTFjNzZmMGNiYmMzNWUwZTU=
6
+ metadata.gz: cb2dad809d2f1cc4594c6f00670ebb63a2ebc6a4e6ea5f3876e7d1f55a9012511f6e3aa2e2a8c7fdefa1785a940a2c7ea3a026847e12e97d1881680e3669f204
7
+ data.tar.gz: 56398e387be15da3d79cf72909937e86201be429996919330a11e09812e89c5ef89afcf29431f6b3abd010b313412ac3a9b9a72d1d7df831653f04a9c82dfb3d
@@ -5,8 +5,8 @@
5
5
  lib = File.expand_path('../lib', __FILE__)
6
6
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
7
7
 
8
- require 'azure_mgmt_storage/module_definition'
9
- require 'azure_mgmt_storage/version'
8
+ require 'generated/azure_mgmt_storage/module_definition'
9
+ require 'generated/azure_mgmt_storage/version'
10
10
 
11
11
  Gem::Specification.new do |spec|
12
12
  spec.name = 'azure_mgmt_storage'
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.email = 'azrubyteam@microsoft.com'
16
16
  spec.description = 'Microsoft Azure Storage Management Client Library for Ruby'
17
17
  spec.summary = 'Official ruby client library to consume Microsoft Azure Storage Management services.'
18
- spec.homepage = 'http://github.com/azure/azure-sdk-ruby'
18
+ spec.homepage = 'https://aka.ms/azure-sdk-for-ruby'
19
19
  spec.license = 'MIT'
20
20
 
21
21
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -29,7 +29,6 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency 'rake', '~> 10'
30
30
  spec.add_development_dependency 'rspec', '~> 3'
31
31
  spec.add_development_dependency 'dotenv', '~> 2'
32
- spec.add_development_dependency 'azure_mgmt_resources', '~> 0.3'
33
32
 
34
- spec.add_runtime_dependency 'ms_rest_azure', '~> 0.2.3'
33
+ spec.add_runtime_dependency 'ms_rest_azure', '~> 0.3.0'
35
34
  end
@@ -1,59 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
- # Changes may cause incorrect behavior and will be lost if the code is
4
- # regenerated.
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
5
4
 
6
- require 'uri'
7
- require 'cgi'
8
- require 'date'
9
- require 'json'
10
- require 'base64'
11
- require 'erb'
12
- require 'securerandom'
13
- require 'time'
14
- require 'timeliness'
15
- require 'faraday'
16
- require 'faraday-cookie_jar'
17
- require 'concurrent'
18
- require 'ms_rest'
19
- require 'azure_mgmt_storage/module_definition'
20
- require 'ms_rest_azure'
21
-
22
- module Azure::ARM::Storage
23
- autoload :StorageAccounts, 'azure_mgmt_storage/storage_accounts.rb'
24
- autoload :UsageOperations, 'azure_mgmt_storage/usage_operations.rb'
25
- autoload :StorageManagementClient, 'azure_mgmt_storage/storage_management_client.rb'
26
-
27
- module Models
28
- autoload :StorageAccountCheckNameAvailabilityParameters, 'azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb'
29
- autoload :CheckNameAvailabilityResult, 'azure_mgmt_storage/models/check_name_availability_result.rb'
30
- autoload :Sku, 'azure_mgmt_storage/models/sku.rb'
31
- autoload :CustomDomain, 'azure_mgmt_storage/models/custom_domain.rb'
32
- autoload :EncryptionService, 'azure_mgmt_storage/models/encryption_service.rb'
33
- autoload :EncryptionServices, 'azure_mgmt_storage/models/encryption_services.rb'
34
- autoload :Encryption, 'azure_mgmt_storage/models/encryption.rb'
35
- autoload :StorageAccountPropertiesCreateParameters, 'azure_mgmt_storage/models/storage_account_properties_create_parameters.rb'
36
- autoload :StorageAccountCreateParameters, 'azure_mgmt_storage/models/storage_account_create_parameters.rb'
37
- autoload :Endpoints, 'azure_mgmt_storage/models/endpoints.rb'
38
- autoload :StorageAccountProperties, 'azure_mgmt_storage/models/storage_account_properties.rb'
39
- autoload :StorageAccountKey, 'azure_mgmt_storage/models/storage_account_key.rb'
40
- autoload :StorageAccountListResult, 'azure_mgmt_storage/models/storage_account_list_result.rb'
41
- autoload :StorageAccountListKeysResult, 'azure_mgmt_storage/models/storage_account_list_keys_result.rb'
42
- autoload :StorageAccountRegenerateKeyParameters, 'azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb'
43
- autoload :StorageAccountPropertiesUpdateParameters, 'azure_mgmt_storage/models/storage_account_properties_update_parameters.rb'
44
- autoload :StorageAccountUpdateParameters, 'azure_mgmt_storage/models/storage_account_update_parameters.rb'
45
- autoload :UsageName, 'azure_mgmt_storage/models/usage_name.rb'
46
- autoload :Usage, 'azure_mgmt_storage/models/usage.rb'
47
- autoload :UsageListResult, 'azure_mgmt_storage/models/usage_list_result.rb'
48
- autoload :StorageAccount, 'azure_mgmt_storage/models/storage_account.rb'
49
- autoload :Reason, 'azure_mgmt_storage/models/reason.rb'
50
- autoload :SkuName, 'azure_mgmt_storage/models/sku_name.rb'
51
- autoload :SkuTier, 'azure_mgmt_storage/models/sku_tier.rb'
52
- autoload :AccessTier, 'azure_mgmt_storage/models/access_tier.rb'
53
- autoload :Kind, 'azure_mgmt_storage/models/kind.rb'
54
- autoload :ProvisioningState, 'azure_mgmt_storage/models/provisioning_state.rb'
55
- autoload :AccountStatus, 'azure_mgmt_storage/models/account_status.rb'
56
- autoload :KeyPermission, 'azure_mgmt_storage/models/key_permission.rb'
57
- autoload :UsageUnit, 'azure_mgmt_storage/models/usage_unit.rb'
58
- end
59
- end
5
+ require 'generated/azure_mgmt_storage'
@@ -0,0 +1,56 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require 'generated/azure_mgmt_storage/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::ARM::Storage
23
+ autoload :StorageAccounts, 'generated/azure_mgmt_storage/storage_accounts.rb'
24
+ autoload :UsageOperations, 'generated/azure_mgmt_storage/usage_operations.rb'
25
+ autoload :StorageManagementClient, 'generated/azure_mgmt_storage/storage_management_client.rb'
26
+
27
+ module Models
28
+ autoload :StorageAccountCheckNameAvailabilityParameters, 'generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb'
29
+ autoload :CheckNameAvailabilityResult, 'generated/azure_mgmt_storage/models/check_name_availability_result.rb'
30
+ autoload :Sku, 'generated/azure_mgmt_storage/models/sku.rb'
31
+ autoload :CustomDomain, 'generated/azure_mgmt_storage/models/custom_domain.rb'
32
+ autoload :EncryptionService, 'generated/azure_mgmt_storage/models/encryption_service.rb'
33
+ autoload :EncryptionServices, 'generated/azure_mgmt_storage/models/encryption_services.rb'
34
+ autoload :Encryption, 'generated/azure_mgmt_storage/models/encryption.rb'
35
+ autoload :StorageAccountCreateParameters, 'generated/azure_mgmt_storage/models/storage_account_create_parameters.rb'
36
+ autoload :Endpoints, 'generated/azure_mgmt_storage/models/endpoints.rb'
37
+ autoload :StorageAccountKey, 'generated/azure_mgmt_storage/models/storage_account_key.rb'
38
+ autoload :StorageAccountListResult, 'generated/azure_mgmt_storage/models/storage_account_list_result.rb'
39
+ autoload :StorageAccountListKeysResult, 'generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb'
40
+ autoload :StorageAccountRegenerateKeyParameters, 'generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb'
41
+ autoload :StorageAccountUpdateParameters, 'generated/azure_mgmt_storage/models/storage_account_update_parameters.rb'
42
+ autoload :UsageName, 'generated/azure_mgmt_storage/models/usage_name.rb'
43
+ autoload :Usage, 'generated/azure_mgmt_storage/models/usage.rb'
44
+ autoload :UsageListResult, 'generated/azure_mgmt_storage/models/usage_list_result.rb'
45
+ autoload :StorageAccount, 'generated/azure_mgmt_storage/models/storage_account.rb'
46
+ autoload :Reason, 'generated/azure_mgmt_storage/models/reason.rb'
47
+ autoload :SkuName, 'generated/azure_mgmt_storage/models/sku_name.rb'
48
+ autoload :SkuTier, 'generated/azure_mgmt_storage/models/sku_tier.rb'
49
+ autoload :AccessTier, 'generated/azure_mgmt_storage/models/access_tier.rb'
50
+ autoload :Kind, 'generated/azure_mgmt_storage/models/kind.rb'
51
+ autoload :ProvisioningState, 'generated/azure_mgmt_storage/models/provisioning_state.rb'
52
+ autoload :AccountStatus, 'generated/azure_mgmt_storage/models/account_status.rb'
53
+ autoload :KeyPermission, 'generated/azure_mgmt_storage/models/key_permission.rb'
54
+ autoload :UsageUnit, 'generated/azure_mgmt_storage/models/usage_unit.rb'
55
+ end
56
+ end
@@ -0,0 +1,73 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Storage
7
+ module Models
8
+ #
9
+ # The CheckNameAvailability operation response.
10
+ #
11
+ class CheckNameAvailabilityResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Gets a boolean value that indicates whether the name
16
+ # is available for you to use. If true, the name is available. If
17
+ # false, the name has already been taken or invalid and cannot be used.
18
+ attr_accessor :name_available
19
+
20
+ # @return [Reason] Gets the reason that a storage account name could not
21
+ # be used. The Reason element is only returned if NameAvailable is
22
+ # false. Possible values include: 'AccountNameInvalid', 'AlreadyExists'
23
+ attr_accessor :reason
24
+
25
+ # @return [String] Gets an error message explaining the Reason value in
26
+ # more detail.
27
+ attr_accessor :message
28
+
29
+
30
+ #
31
+ # Mapper for CheckNameAvailabilityResult class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ required: false,
37
+ serialized_name: 'CheckNameAvailabilityResult',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'CheckNameAvailabilityResult',
41
+ model_properties: {
42
+ name_available: {
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'nameAvailable',
46
+ type: {
47
+ name: 'Boolean'
48
+ }
49
+ },
50
+ reason: {
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'reason',
54
+ type: {
55
+ name: 'Enum',
56
+ module: 'Reason'
57
+ }
58
+ },
59
+ message: {
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'message',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,57 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Storage
7
+ module Models
8
+ #
9
+ # The custom domain assigned to this storage account. This can be set via
10
+ # Update.
11
+ #
12
+ class CustomDomain
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Gets or sets the custom domain name. Name is the
17
+ # CNAME source.
18
+ attr_accessor :name
19
+
20
+ # @return [Boolean] Indicates whether indirect CName validation is
21
+ # enabled. Default value is false. This should only be set on updates
22
+ attr_accessor :use_sub_domain
23
+
24
+
25
+ #
26
+ # Mapper for CustomDomain class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'CustomDomain',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'CustomDomain',
36
+ model_properties: {
37
+ name: {
38
+ required: true,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ use_sub_domain: {
45
+ required: false,
46
+ serialized_name: 'useSubDomain',
47
+ type: {
48
+ name: 'Boolean'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,59 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Storage
7
+ module Models
8
+ #
9
+ # The encryption settings on the account.
10
+ #
11
+ class Encryption
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EncryptionServices] Gets the services which are encrypted.
16
+ attr_accessor :services
17
+
18
+ # @return [String] Gets the encryption keySource(provider). Possible
19
+ # values (case-insensitive): Microsoft.Storage. Default value:
20
+ # 'Microsoft.Storage' .
21
+ attr_accessor :key_source
22
+
23
+
24
+ #
25
+ # Mapper for Encryption class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'Encryption',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'Encryption',
35
+ model_properties: {
36
+ services: {
37
+ required: false,
38
+ serialized_name: 'services',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'EncryptionServices'
42
+ }
43
+ },
44
+ key_source: {
45
+ required: true,
46
+ is_constant: true,
47
+ serialized_name: 'keySource',
48
+ default_value: 'Microsoft.Storage',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,60 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Storage
7
+ module Models
8
+ #
9
+ # An encrypted service.
10
+ #
11
+ class EncryptionService
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] A boolean indicating whether or not the service is
16
+ # encrypted.
17
+ attr_accessor :enabled
18
+
19
+ # @return [DateTime] Gets a time value indicating when was the
20
+ # encryption enabled by the user last time. We return this value only
21
+ # when encryption is enabled. There might be some unencrypted blobs
22
+ # which were written after this time. This time is just to give a rough
23
+ # estimate of when encryption was enabled.
24
+ attr_accessor :last_enabled_time
25
+
26
+
27
+ #
28
+ # Mapper for EncryptionService class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ required: false,
34
+ serialized_name: 'EncryptionService',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'EncryptionService',
38
+ model_properties: {
39
+ enabled: {
40
+ required: false,
41
+ serialized_name: 'enabled',
42
+ type: {
43
+ name: 'Boolean'
44
+ }
45
+ },
46
+ last_enabled_time: {
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'lastEnabledTime',
50
+ type: {
51
+ name: 'DateTime'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,45 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Storage
7
+ module Models
8
+ #
9
+ # The encrypted services.
10
+ #
11
+ class EncryptionServices
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EncryptionService] The blob service.
16
+ attr_accessor :blob
17
+
18
+
19
+ #
20
+ # Mapper for EncryptionServices class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'EncryptionServices',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'EncryptionServices',
30
+ model_properties: {
31
+ blob: {
32
+ required: false,
33
+ serialized_name: 'blob',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'EncryptionService'
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ end
43
+ end
44
+ end
45
+ end