azure_mgmt_storage 0.18.1 → 0.18.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/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 +22 -20
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/active_directory_properties.rb +103 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/azure_files_identity_based_authentication.rb +13 -1
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/directory_service_options.rb +1 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/list_key_expand.rb +15 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_storage/storage_accounts.rb +27 -15
- 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 +152 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/blob_containers.rb +2034 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/blob_services.rb +383 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/file_services.rb +377 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/file_shares.rb +798 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/management_policies.rb +361 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/action.rb +15 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/active_directory_properties.rb +103 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/azure_files_identity_based_authentication.rb +59 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_service_items.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_service_properties.rb +141 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/change_feed.rb +47 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rule.rb +128 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/date_after_creation.rb +50 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/date_after_modification.rb +51 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/delete_retention_policy.rb +64 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/directory_service_options.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/endpoints.rb +108 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/error_response.rb +59 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_service_items.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_service_properties.rb +90 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share.rb +121 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb +120 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_items.rb +103 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb +85 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/geo_replication_status.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/kind.rb +19 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/large_file_shares_state.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_container_request.rb +97 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_container_response.rb +60 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_container_items.rb +103 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_key_expand.rb +15 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy.rb +89 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_action.rb +62 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb +73 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_definition.rb +60 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_filter.rb +76 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_rule.rb +87 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_schema.rb +58 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_snap_shot.rb +47 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/operation_display.rb +79 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint.rb +47 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_connection.rb +101 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_connection_provisioning_state.rb +18 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_service_connection_status.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource.rb +115 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource_list_result.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_service_connection_state.rb +72 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/resource.rb +83 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/services.rb +18 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb +157 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/sku_name.rb +22 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/state.rb +19 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account.rb +410 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +63 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +215 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_expand.rb +15 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +103 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +192 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/operations.rb +110 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/private_endpoint_connections.rb +388 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/private_link_resources.rb +138 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/skus.rb +116 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/storage_accounts.rb +1754 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/storage_management_client.rb +171 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/usages.rb +120 -0
- data/lib/azure_mgmt_storage.rb +1 -0
- data/lib/profiles/latest/modules/storage_profile_module.rb +305 -261
- data/lib/version.rb +1 -1
- metadata +132 -2
@@ -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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Sets the CORS rules. You can include up to five CorsRule elements in the
|
10
|
+
# request.
|
11
|
+
#
|
12
|
+
class CorsRules
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<CorsRule>] The List of CORS rules. You can include up to
|
17
|
+
# five CorsRule elements in the request.
|
18
|
+
attr_accessor :cors_rules
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for CorsRules class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'CorsRules',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'CorsRules',
|
33
|
+
model_properties: {
|
34
|
+
cors_rules: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'corsRules',
|
38
|
+
type: {
|
39
|
+
name: 'Sequence',
|
40
|
+
element: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'CorsRuleElementType',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'CorsRule'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,60 @@
|
|
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 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 assigned to the
|
17
|
+
# storage account. Name is the 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_name
|
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
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'CustomDomain',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'CustomDomain',
|
37
|
+
model_properties: {
|
38
|
+
name: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'name',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
use_sub_domain_name: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'useSubDomainName',
|
50
|
+
type: {
|
51
|
+
name: 'Boolean'
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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
|
+
# Object to define the number of days after creation.
|
10
|
+
#
|
11
|
+
class DateAfterCreation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Float] Value indicating the age in days after creation
|
16
|
+
attr_accessor :days_after_creation_greater_than
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for DateAfterCreation class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'DateAfterCreation',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'DateAfterCreation',
|
31
|
+
model_properties: {
|
32
|
+
days_after_creation_greater_than: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: true,
|
35
|
+
serialized_name: 'daysAfterCreationGreaterThan',
|
36
|
+
constraints: {
|
37
|
+
InclusiveMinimum: 0,
|
38
|
+
MultipleOf: 1
|
39
|
+
},
|
40
|
+
type: {
|
41
|
+
name: 'Double'
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,51 @@
|
|
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
|
+
# Object to define the number of days after last modification.
|
10
|
+
#
|
11
|
+
class DateAfterModification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Float] Value indicating the age in days after last
|
16
|
+
# modification
|
17
|
+
attr_accessor :days_after_modification_greater_than
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for DateAfterModification 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: 'DateAfterModification',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'DateAfterModification',
|
32
|
+
model_properties: {
|
33
|
+
days_after_modification_greater_than: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: true,
|
36
|
+
serialized_name: 'daysAfterModificationGreaterThan',
|
37
|
+
constraints: {
|
38
|
+
InclusiveMinimum: 0,
|
39
|
+
MultipleOf: 1
|
40
|
+
},
|
41
|
+
type: {
|
42
|
+
name: 'Double'
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
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 DefaultAction
|
10
|
+
#
|
11
|
+
module DefaultAction
|
12
|
+
Allow = "Allow"
|
13
|
+
Deny = "Deny"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,64 @@
|
|
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 blob service properties for soft delete.
|
10
|
+
#
|
11
|
+
class DeleteRetentionPolicy
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Indicates whether DeleteRetentionPolicy is enabled
|
16
|
+
# for the Blob service.
|
17
|
+
attr_accessor :enabled
|
18
|
+
|
19
|
+
# @return [Integer] Indicates the number of days that the deleted blob
|
20
|
+
# should be retained. The minimum specified value can be 1 and the
|
21
|
+
# maximum value can be 365.
|
22
|
+
attr_accessor :days
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for DeleteRetentionPolicy 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: 'DeleteRetentionPolicy',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'DeleteRetentionPolicy',
|
37
|
+
model_properties: {
|
38
|
+
enabled: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'enabled',
|
42
|
+
type: {
|
43
|
+
name: 'Boolean'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
days: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'days',
|
50
|
+
constraints: {
|
51
|
+
InclusiveMaximum: 365,
|
52
|
+
InclusiveMinimum: 1
|
53
|
+
},
|
54
|
+
type: {
|
55
|
+
name: 'Number'
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Dimension of blobs, possibly 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,17 @@
|
|
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 DirectoryServiceOptions
|
10
|
+
#
|
11
|
+
module DirectoryServiceOptions
|
12
|
+
None = "None"
|
13
|
+
AADDS = "AADDS"
|
14
|
+
AD = "AD"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
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::V2019_06_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
|