azure_mgmt_storage 0.15.1 → 0.15.2
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/models/check_name_availability_result.rb +4 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/endpoints.rb +4 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/resource.rb +7 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account.rb +18 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +8 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_keys.rb +3 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_list_result.rb +4 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +9 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/sub_resource.rb +2 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage.rb +5 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/endpoints.rb +5 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/resource.rb +7 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account.rb +18 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +5 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_keys.rb +3 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_list_result.rb +3 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +5 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/usage.rb +5 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/storage_accounts.rb +33 -0
- data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_service.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/encryption_services.rb +2 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/endpoints.rb +5 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/resource.rb +7 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/sku.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account.rb +21 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +9 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_key.rb +4 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +7 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/usage.rb +5 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/storage_accounts.rb +12 -0
- data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +9 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_service.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/encryption_services.rb +5 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/endpoints.rb +5 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/resource.rb +7 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +19 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/sku.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account.rb +22 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +10 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_key.rb +4 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +8 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/usage.rb +5 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/storage_accounts.rb +43 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +9 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/dimension.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_service.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/encryption_services.rb +5 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/endpoints.rb +5 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/identity.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/iprule.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +2 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +2 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb +11 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/network_rule_set.rb +7 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/operation.rb +5 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_display.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/operation_list_result.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/resource.rb +7 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/restriction.rb +5 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +19 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/service_specification.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/sku.rb +11 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/skucapability.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account.rb +24 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +12 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_key.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +2 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +10 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/usage.rb +5 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_list_result.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/usage_name.rb +3 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +4 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/storage_accounts.rb +43 -0
- data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -3
- data/lib/2017-10-01/generated/azure_mgmt_storage.rb +88 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
- data/lib/{2015-06-15/generated/azure_mgmt_storage/version.rb → 2017-10-01/generated/azure_mgmt_storage/models/action.rb} +9 -2
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/endpoints.rb +84 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/kind.rb +17 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_display.rb +68 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/resource.rb +102 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/services.rb +18 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/sku.rb +157 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/sku_name.rb +19 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/state.rb +19 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account.rb +326 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +62 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +179 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +167 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
- data/lib/{2015-05-01-preview/generated/azure_mgmt_storage/version.rb → 2017-10-01/generated/azure_mgmt_storage/module_definition.rb} +4 -3
- data/lib/2017-10-01/generated/azure_mgmt_storage/operations.rb +106 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/skus.rb +111 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/storage_accounts.rb +1319 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +141 -0
- data/lib/2017-10-01/generated/azure_mgmt_storage/usage_operations.rb +111 -0
- data/lib/azure_mgmt_storage.rb +1 -0
- data/lib/profiles/latest/modules/storage_profile_module.rb +119 -119
- data/lib/profiles/latest/storage_latest_profile_client.rb +1 -3
- data/lib/profiles/v2017_03_09/storage_v2017_03_09_profile_client.rb +1 -3
- data/lib/version.rb +1 -1
- metadata +74 -12
- data/lib/2016-01-01/generated/azure_mgmt_storage/version.rb +0 -8
- data/lib/2016-12-01/generated/azure_mgmt_storage/version.rb +0 -8
- data/lib/2017-06-01/generated/azure_mgmt_storage/version.rb +0 -8
- data/lib/profiles/common/configurable.rb +0 -86
- data/lib/profiles/common/default.rb +0 -57
@@ -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::V2017_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for DefaultAction
|
10
|
+
#
|
11
|
+
module DefaultAction
|
12
|
+
Allow = "Allow"
|
13
|
+
Deny = "Deny"
|
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::V2017_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Dimension of blobs, possiblly be blob type or access tier.
|
10
|
+
#
|
11
|
+
class Dimension
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Display name of dimension.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] Display name of dimension.
|
19
|
+
attr_accessor :display_name
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for Dimension 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: 'Dimension',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'Dimension',
|
34
|
+
model_properties: {
|
35
|
+
name: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'name',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
display_name: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'displayName',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,74 @@
|
|
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::V2017_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The encryption settings on the storage account.
|
10
|
+
#
|
11
|
+
class Encryption
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [EncryptionServices] List of services which support encryption.
|
16
|
+
attr_accessor :services
|
17
|
+
|
18
|
+
# @return [KeySource] The encryption keySource (provider). Possible
|
19
|
+
# values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault.
|
20
|
+
# Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.
|
21
|
+
# Default value: 'Microsoft.Storage' .
|
22
|
+
attr_accessor :key_source
|
23
|
+
|
24
|
+
# @return [KeyVaultProperties] Properties provided by key vault.
|
25
|
+
attr_accessor :key_vault_properties
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for Encryption class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'Encryption',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'Encryption',
|
40
|
+
model_properties: {
|
41
|
+
services: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'services',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'EncryptionServices'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
key_source: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
serialized_name: 'keySource',
|
54
|
+
default_value: 'Microsoft.Storage',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
key_vault_properties: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'keyvaultproperties',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'KeyVaultProperties'
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
@@ -0,0 +1,62 @@
|
|
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::V2017_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A service that allows server-side encryption to be used.
|
10
|
+
#
|
11
|
+
class EncryptionService
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] A boolean indicating whether or not the service
|
16
|
+
# encrypts the data as it is stored.
|
17
|
+
attr_accessor :enabled
|
18
|
+
|
19
|
+
# @return [DateTime] Gets a rough estimate of the date/time when the
|
20
|
+
# encryption was last enabled by the user. Only returned when encryption
|
21
|
+
# is enabled. There might be some unencrypted blobs which were written
|
22
|
+
# after this time, as it is just a rough estimate.
|
23
|
+
attr_accessor :last_enabled_time
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for EncryptionService class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'EncryptionService',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'EncryptionService',
|
38
|
+
model_properties: {
|
39
|
+
enabled: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'enabled',
|
43
|
+
type: {
|
44
|
+
name: 'Boolean'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
last_enabled_time: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'lastEnabledTime',
|
52
|
+
type: {
|
53
|
+
name: 'DateTime'
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,89 @@
|
|
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::V2017_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A list of services that support encryption.
|
10
|
+
#
|
11
|
+
class EncryptionServices
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [EncryptionService] The encryption function of the blob storage
|
16
|
+
# service.
|
17
|
+
attr_accessor :blob
|
18
|
+
|
19
|
+
# @return [EncryptionService] The encryption function of the file storage
|
20
|
+
# service.
|
21
|
+
attr_accessor :file
|
22
|
+
|
23
|
+
# @return [EncryptionService] The encryption function of the table
|
24
|
+
# storage service.
|
25
|
+
attr_accessor :table
|
26
|
+
|
27
|
+
# @return [EncryptionService] The encryption function of the queue
|
28
|
+
# storage service.
|
29
|
+
attr_accessor :queue
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for EncryptionServices class as Ruby Hash.
|
34
|
+
# This will be used for serialization/deserialization.
|
35
|
+
#
|
36
|
+
def self.mapper()
|
37
|
+
{
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'EncryptionServices',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'EncryptionServices',
|
44
|
+
model_properties: {
|
45
|
+
blob: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'blob',
|
49
|
+
type: {
|
50
|
+
name: 'Composite',
|
51
|
+
class_name: 'EncryptionService'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
file: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'file',
|
58
|
+
type: {
|
59
|
+
name: 'Composite',
|
60
|
+
class_name: 'EncryptionService'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
table: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'table',
|
68
|
+
type: {
|
69
|
+
name: 'Composite',
|
70
|
+
class_name: 'EncryptionService'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
queue: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
read_only: true,
|
77
|
+
serialized_name: 'queue',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'EncryptionService'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
@@ -0,0 +1,84 @@
|
|
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::V2017_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The URIs that are used to perform a retrieval of a public blob, queue, or
|
10
|
+
# table object.
|
11
|
+
#
|
12
|
+
class Endpoints
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Gets the blob endpoint.
|
17
|
+
attr_accessor :blob
|
18
|
+
|
19
|
+
# @return [String] Gets the queue endpoint.
|
20
|
+
attr_accessor :queue
|
21
|
+
|
22
|
+
# @return [String] Gets the table endpoint.
|
23
|
+
attr_accessor :table
|
24
|
+
|
25
|
+
# @return [String] Gets the file endpoint.
|
26
|
+
attr_accessor :file
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for Endpoints 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: 'Endpoints',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'Endpoints',
|
41
|
+
model_properties: {
|
42
|
+
blob: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'blob',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
queue: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'queue',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
table: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'table',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
file: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
read_only: true,
|
73
|
+
serialized_name: 'file',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
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::V2017_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for HttpProtocol
|
10
|
+
#
|
11
|
+
module HttpProtocol
|
12
|
+
Httpshttp = "https,http"
|
13
|
+
Https = "https"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,72 @@
|
|
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::V2017_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Identity for the resource.
|
10
|
+
#
|
11
|
+
class Identity
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The principal ID of resource identity.
|
16
|
+
attr_accessor :principal_id
|
17
|
+
|
18
|
+
# @return [String] The tenant ID of resource.
|
19
|
+
attr_accessor :tenant_id
|
20
|
+
|
21
|
+
# @return [String] The identity type. Default value: 'SystemAssigned' .
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for Identity class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'Identity',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'Identity',
|
37
|
+
model_properties: {
|
38
|
+
principal_id: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'principalId',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
tenant_id: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'tenantId',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
type: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: true,
|
59
|
+
is_constant: true,
|
60
|
+
serialized_name: 'type',
|
61
|
+
default_value: 'SystemAssigned',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|