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,56 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2019_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# One property of operation, include metric specifications.
|
10
|
+
#
|
11
|
+
class ServiceSpecification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<MetricSpecification>] Metric specifications of
|
16
|
+
# operation.
|
17
|
+
attr_accessor :metric_specifications
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ServiceSpecification 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: 'ServiceSpecification',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ServiceSpecification',
|
32
|
+
model_properties: {
|
33
|
+
metric_specifications: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'metricSpecifications',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'MetricSpecificationElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'MetricSpecification'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,18 @@
|
|
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 Services
|
10
|
+
#
|
11
|
+
module Services
|
12
|
+
B = "b"
|
13
|
+
Q = "q"
|
14
|
+
T = "t"
|
15
|
+
F = "f"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
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 SignedResource
|
10
|
+
#
|
11
|
+
module SignedResource
|
12
|
+
B = "b"
|
13
|
+
C = "c"
|
14
|
+
F = "f"
|
15
|
+
S = "s"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
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 SignedResourceTypes
|
10
|
+
#
|
11
|
+
module SignedResourceTypes
|
12
|
+
S = "s"
|
13
|
+
C = "c"
|
14
|
+
O = "o"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,157 @@
|
|
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 SKU of the storage account.
|
10
|
+
#
|
11
|
+
class Sku
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [SkuName] Gets or sets the SKU name. Required for account
|
16
|
+
# creation; optional for update. Note that in older versions, SKU name
|
17
|
+
# was called accountType. Possible values include: 'Standard_LRS',
|
18
|
+
# 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS',
|
19
|
+
# 'Premium_ZRS', 'Standard_GZRS', 'Standard_RAGZRS'
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
# @return [SkuTier] Gets the SKU tier. This is based on the SKU name.
|
23
|
+
# Possible values include: 'Standard', 'Premium'
|
24
|
+
attr_accessor :tier
|
25
|
+
|
26
|
+
# @return [String] The type of the resource, usually it is
|
27
|
+
# 'storageAccounts'.
|
28
|
+
attr_accessor :resource_type
|
29
|
+
|
30
|
+
# @return [Kind] Indicates the type of storage account. Possible values
|
31
|
+
# include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage',
|
32
|
+
# 'BlockBlobStorage'
|
33
|
+
attr_accessor :kind
|
34
|
+
|
35
|
+
# @return [Array<String>] The set of locations that the SKU is available.
|
36
|
+
# This will be supported and registered Azure Geo Regions (e.g. West US,
|
37
|
+
# East US, Southeast Asia, etc.).
|
38
|
+
attr_accessor :locations
|
39
|
+
|
40
|
+
# @return [Array<SKUCapability>] The capability information in the
|
41
|
+
# specified SKU, including file encryption, network ACLs, change
|
42
|
+
# notification, etc.
|
43
|
+
attr_accessor :capabilities
|
44
|
+
|
45
|
+
# @return [Array<Restriction>] The restrictions because of which SKU
|
46
|
+
# cannot be used. This is empty if there are no restrictions.
|
47
|
+
attr_accessor :restrictions
|
48
|
+
|
49
|
+
|
50
|
+
#
|
51
|
+
# Mapper for Sku class as Ruby Hash.
|
52
|
+
# This will be used for serialization/deserialization.
|
53
|
+
#
|
54
|
+
def self.mapper()
|
55
|
+
{
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'Sku',
|
59
|
+
type: {
|
60
|
+
name: 'Composite',
|
61
|
+
class_name: 'Sku',
|
62
|
+
model_properties: {
|
63
|
+
name: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: true,
|
66
|
+
serialized_name: 'name',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
tier: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'tier',
|
76
|
+
type: {
|
77
|
+
name: 'Enum',
|
78
|
+
module: 'SkuTier'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
resource_type: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
read_only: true,
|
85
|
+
serialized_name: 'resourceType',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
kind: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
read_only: true,
|
94
|
+
serialized_name: 'kind',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
locations: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
read_only: true,
|
103
|
+
serialized_name: 'locations',
|
104
|
+
type: {
|
105
|
+
name: 'Sequence',
|
106
|
+
element: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'StringElementType',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
},
|
116
|
+
capabilities: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: false,
|
119
|
+
read_only: true,
|
120
|
+
serialized_name: 'capabilities',
|
121
|
+
type: {
|
122
|
+
name: 'Sequence',
|
123
|
+
element: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'SKUCapabilityElementType',
|
127
|
+
type: {
|
128
|
+
name: 'Composite',
|
129
|
+
class_name: 'SKUCapability'
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
},
|
134
|
+
restrictions: {
|
135
|
+
client_side_validation: true,
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'restrictions',
|
138
|
+
type: {
|
139
|
+
name: 'Sequence',
|
140
|
+
element: {
|
141
|
+
client_side_validation: true,
|
142
|
+
required: false,
|
143
|
+
serialized_name: 'RestrictionElementType',
|
144
|
+
type: {
|
145
|
+
name: 'Composite',
|
146
|
+
class_name: 'Restriction'
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
end
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
@@ -0,0 +1,22 @@
|
|
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 SkuName
|
10
|
+
#
|
11
|
+
module SkuName
|
12
|
+
StandardLRS = "Standard_LRS"
|
13
|
+
StandardGRS = "Standard_GRS"
|
14
|
+
StandardRAGRS = "Standard_RAGRS"
|
15
|
+
StandardZRS = "Standard_ZRS"
|
16
|
+
PremiumLRS = "Premium_LRS"
|
17
|
+
PremiumZRS = "Premium_ZRS"
|
18
|
+
StandardGZRS = "Standard_GZRS"
|
19
|
+
StandardRAGZRS = "Standard_RAGZRS"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
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 SkuTier
|
10
|
+
#
|
11
|
+
module SkuTier
|
12
|
+
Standard = "Standard"
|
13
|
+
Premium = "Premium"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,63 @@
|
|
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 capability information in the specified SKU, including file
|
10
|
+
# encryption, network ACLs, change notification, etc.
|
11
|
+
#
|
12
|
+
class SKUCapability
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The name of capability, The capability information in
|
17
|
+
# the specified SKU, including file encryption, network ACLs, change
|
18
|
+
# notification, etc.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] A string value to indicate states of given capability.
|
22
|
+
# Possibly 'true' or 'false'.
|
23
|
+
attr_accessor :value
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for SKUCapability 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: 'SKUCapability',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'SKUCapability',
|
38
|
+
model_properties: {
|
39
|
+
name: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'name',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
value: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'value',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,19 @@
|
|
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 State
|
10
|
+
#
|
11
|
+
module State
|
12
|
+
Provisioning = "provisioning"
|
13
|
+
Deprovisioning = "deprovisioning"
|
14
|
+
Succeeded = "succeeded"
|
15
|
+
Failed = "failed"
|
16
|
+
NetworkSourceDeleted = "networkSourceDeleted"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,410 @@
|
|
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 storage account.
|
10
|
+
#
|
11
|
+
class StorageAccount < TrackedResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Sku] Gets the SKU.
|
16
|
+
attr_accessor :sku
|
17
|
+
|
18
|
+
# @return [Kind] Gets the Kind. Possible values include: 'Storage',
|
19
|
+
# 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'
|
20
|
+
attr_accessor :kind
|
21
|
+
|
22
|
+
# @return [Identity] The identity of the resource.
|
23
|
+
attr_accessor :identity
|
24
|
+
|
25
|
+
# @return [ProvisioningState] Gets the status of the storage account at
|
26
|
+
# the time the operation was called. Possible values include: 'Creating',
|
27
|
+
# 'ResolvingDNS', 'Succeeded'
|
28
|
+
attr_accessor :provisioning_state
|
29
|
+
|
30
|
+
# @return [Endpoints] Gets the URLs that are used to perform a retrieval
|
31
|
+
# of a public blob, queue, or table object. Note that Standard_ZRS and
|
32
|
+
# Premium_LRS accounts only return the blob endpoint.
|
33
|
+
attr_accessor :primary_endpoints
|
34
|
+
|
35
|
+
# @return [String] Gets the location of the primary data center for the
|
36
|
+
# storage account.
|
37
|
+
attr_accessor :primary_location
|
38
|
+
|
39
|
+
# @return [AccountStatus] Gets the status indicating whether the primary
|
40
|
+
# location of the storage account is available or unavailable. Possible
|
41
|
+
# values include: 'available', 'unavailable'
|
42
|
+
attr_accessor :status_of_primary
|
43
|
+
|
44
|
+
# @return [DateTime] Gets the timestamp of the most recent instance of a
|
45
|
+
# failover to the secondary location. Only the most recent timestamp is
|
46
|
+
# retained. This element is not returned if there has never been a
|
47
|
+
# failover instance. Only available if the accountType is Standard_GRS or
|
48
|
+
# Standard_RAGRS.
|
49
|
+
attr_accessor :last_geo_failover_time
|
50
|
+
|
51
|
+
# @return [String] Gets the location of the geo-replicated secondary for
|
52
|
+
# the storage account. Only available if the accountType is Standard_GRS
|
53
|
+
# or Standard_RAGRS.
|
54
|
+
attr_accessor :secondary_location
|
55
|
+
|
56
|
+
# @return [AccountStatus] Gets the status indicating whether the
|
57
|
+
# secondary location of the storage account is available or unavailable.
|
58
|
+
# Only available if the SKU name is Standard_GRS or Standard_RAGRS.
|
59
|
+
# Possible values include: 'available', 'unavailable'
|
60
|
+
attr_accessor :status_of_secondary
|
61
|
+
|
62
|
+
# @return [DateTime] Gets the creation date and time of the storage
|
63
|
+
# account in UTC.
|
64
|
+
attr_accessor :creation_time
|
65
|
+
|
66
|
+
# @return [CustomDomain] Gets the custom domain the user assigned to this
|
67
|
+
# storage account.
|
68
|
+
attr_accessor :custom_domain
|
69
|
+
|
70
|
+
# @return [Endpoints] Gets the URLs that are used to perform a retrieval
|
71
|
+
# of a public blob, queue, or table object from the secondary location of
|
72
|
+
# the storage account. Only available if the SKU name is Standard_RAGRS.
|
73
|
+
attr_accessor :secondary_endpoints
|
74
|
+
|
75
|
+
# @return [Encryption] Gets the encryption settings on the account. If
|
76
|
+
# unspecified, the account is unencrypted.
|
77
|
+
attr_accessor :encryption
|
78
|
+
|
79
|
+
# @return [AccessTier] Required for storage accounts where kind =
|
80
|
+
# BlobStorage. The access tier used for billing. Possible values include:
|
81
|
+
# 'Hot', 'Cool'
|
82
|
+
attr_accessor :access_tier
|
83
|
+
|
84
|
+
# @return [AzureFilesIdentityBasedAuthentication] Provides the identity
|
85
|
+
# based authentication settings for Azure Files.
|
86
|
+
attr_accessor :azure_files_identity_based_authentication
|
87
|
+
|
88
|
+
# @return [Boolean] Allows https traffic only to storage service if sets
|
89
|
+
# to true.
|
90
|
+
attr_accessor :enable_https_traffic_only
|
91
|
+
|
92
|
+
# @return [NetworkRuleSet] Network rule set
|
93
|
+
attr_accessor :network_rule_set
|
94
|
+
|
95
|
+
# @return [Boolean] Account HierarchicalNamespace enabled if sets to
|
96
|
+
# true.
|
97
|
+
attr_accessor :is_hns_enabled
|
98
|
+
|
99
|
+
# @return [GeoReplicationStats] Geo Replication Stats
|
100
|
+
attr_accessor :geo_replication_stats
|
101
|
+
|
102
|
+
# @return [Boolean] If the failover is in progress, the value will be
|
103
|
+
# true, otherwise, it will be null.
|
104
|
+
attr_accessor :failover_in_progress
|
105
|
+
|
106
|
+
# @return [LargeFileSharesState] Allow large file shares if sets to
|
107
|
+
# Enabled. It cannot be disabled once it is enabled. Possible values
|
108
|
+
# include: 'Disabled', 'Enabled'
|
109
|
+
attr_accessor :large_file_shares_state
|
110
|
+
|
111
|
+
# @return [Array<PrivateEndpointConnection>] List of private endpoint
|
112
|
+
# connection associated with the specified storage account
|
113
|
+
attr_accessor :private_endpoint_connections
|
114
|
+
|
115
|
+
|
116
|
+
#
|
117
|
+
# Mapper for StorageAccount class as Ruby Hash.
|
118
|
+
# This will be used for serialization/deserialization.
|
119
|
+
#
|
120
|
+
def self.mapper()
|
121
|
+
{
|
122
|
+
client_side_validation: true,
|
123
|
+
required: false,
|
124
|
+
serialized_name: 'StorageAccount',
|
125
|
+
type: {
|
126
|
+
name: 'Composite',
|
127
|
+
class_name: 'StorageAccount',
|
128
|
+
model_properties: {
|
129
|
+
id: {
|
130
|
+
client_side_validation: true,
|
131
|
+
required: false,
|
132
|
+
read_only: true,
|
133
|
+
serialized_name: 'id',
|
134
|
+
type: {
|
135
|
+
name: 'String'
|
136
|
+
}
|
137
|
+
},
|
138
|
+
name: {
|
139
|
+
client_side_validation: true,
|
140
|
+
required: false,
|
141
|
+
read_only: true,
|
142
|
+
serialized_name: 'name',
|
143
|
+
type: {
|
144
|
+
name: 'String'
|
145
|
+
}
|
146
|
+
},
|
147
|
+
type: {
|
148
|
+
client_side_validation: true,
|
149
|
+
required: false,
|
150
|
+
read_only: true,
|
151
|
+
serialized_name: 'type',
|
152
|
+
type: {
|
153
|
+
name: 'String'
|
154
|
+
}
|
155
|
+
},
|
156
|
+
tags: {
|
157
|
+
client_side_validation: true,
|
158
|
+
required: false,
|
159
|
+
serialized_name: 'tags',
|
160
|
+
type: {
|
161
|
+
name: 'Dictionary',
|
162
|
+
value: {
|
163
|
+
client_side_validation: true,
|
164
|
+
required: false,
|
165
|
+
serialized_name: 'StringElementType',
|
166
|
+
type: {
|
167
|
+
name: 'String'
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
},
|
172
|
+
location: {
|
173
|
+
client_side_validation: true,
|
174
|
+
required: true,
|
175
|
+
serialized_name: 'location',
|
176
|
+
type: {
|
177
|
+
name: 'String'
|
178
|
+
}
|
179
|
+
},
|
180
|
+
sku: {
|
181
|
+
client_side_validation: true,
|
182
|
+
required: false,
|
183
|
+
read_only: true,
|
184
|
+
serialized_name: 'sku',
|
185
|
+
type: {
|
186
|
+
name: 'Composite',
|
187
|
+
class_name: 'Sku'
|
188
|
+
}
|
189
|
+
},
|
190
|
+
kind: {
|
191
|
+
client_side_validation: true,
|
192
|
+
required: false,
|
193
|
+
read_only: true,
|
194
|
+
serialized_name: 'kind',
|
195
|
+
type: {
|
196
|
+
name: 'String'
|
197
|
+
}
|
198
|
+
},
|
199
|
+
identity: {
|
200
|
+
client_side_validation: true,
|
201
|
+
required: false,
|
202
|
+
serialized_name: 'identity',
|
203
|
+
type: {
|
204
|
+
name: 'Composite',
|
205
|
+
class_name: 'Identity'
|
206
|
+
}
|
207
|
+
},
|
208
|
+
provisioning_state: {
|
209
|
+
client_side_validation: true,
|
210
|
+
required: false,
|
211
|
+
read_only: true,
|
212
|
+
serialized_name: 'properties.provisioningState',
|
213
|
+
type: {
|
214
|
+
name: 'Enum',
|
215
|
+
module: 'ProvisioningState'
|
216
|
+
}
|
217
|
+
},
|
218
|
+
primary_endpoints: {
|
219
|
+
client_side_validation: true,
|
220
|
+
required: false,
|
221
|
+
read_only: true,
|
222
|
+
serialized_name: 'properties.primaryEndpoints',
|
223
|
+
type: {
|
224
|
+
name: 'Composite',
|
225
|
+
class_name: 'Endpoints'
|
226
|
+
}
|
227
|
+
},
|
228
|
+
primary_location: {
|
229
|
+
client_side_validation: true,
|
230
|
+
required: false,
|
231
|
+
read_only: true,
|
232
|
+
serialized_name: 'properties.primaryLocation',
|
233
|
+
type: {
|
234
|
+
name: 'String'
|
235
|
+
}
|
236
|
+
},
|
237
|
+
status_of_primary: {
|
238
|
+
client_side_validation: true,
|
239
|
+
required: false,
|
240
|
+
read_only: true,
|
241
|
+
serialized_name: 'properties.statusOfPrimary',
|
242
|
+
type: {
|
243
|
+
name: 'Enum',
|
244
|
+
module: 'AccountStatus'
|
245
|
+
}
|
246
|
+
},
|
247
|
+
last_geo_failover_time: {
|
248
|
+
client_side_validation: true,
|
249
|
+
required: false,
|
250
|
+
read_only: true,
|
251
|
+
serialized_name: 'properties.lastGeoFailoverTime',
|
252
|
+
type: {
|
253
|
+
name: 'DateTime'
|
254
|
+
}
|
255
|
+
},
|
256
|
+
secondary_location: {
|
257
|
+
client_side_validation: true,
|
258
|
+
required: false,
|
259
|
+
read_only: true,
|
260
|
+
serialized_name: 'properties.secondaryLocation',
|
261
|
+
type: {
|
262
|
+
name: 'String'
|
263
|
+
}
|
264
|
+
},
|
265
|
+
status_of_secondary: {
|
266
|
+
client_side_validation: true,
|
267
|
+
required: false,
|
268
|
+
read_only: true,
|
269
|
+
serialized_name: 'properties.statusOfSecondary',
|
270
|
+
type: {
|
271
|
+
name: 'Enum',
|
272
|
+
module: 'AccountStatus'
|
273
|
+
}
|
274
|
+
},
|
275
|
+
creation_time: {
|
276
|
+
client_side_validation: true,
|
277
|
+
required: false,
|
278
|
+
read_only: true,
|
279
|
+
serialized_name: 'properties.creationTime',
|
280
|
+
type: {
|
281
|
+
name: 'DateTime'
|
282
|
+
}
|
283
|
+
},
|
284
|
+
custom_domain: {
|
285
|
+
client_side_validation: true,
|
286
|
+
required: false,
|
287
|
+
read_only: true,
|
288
|
+
serialized_name: 'properties.customDomain',
|
289
|
+
type: {
|
290
|
+
name: 'Composite',
|
291
|
+
class_name: 'CustomDomain'
|
292
|
+
}
|
293
|
+
},
|
294
|
+
secondary_endpoints: {
|
295
|
+
client_side_validation: true,
|
296
|
+
required: false,
|
297
|
+
read_only: true,
|
298
|
+
serialized_name: 'properties.secondaryEndpoints',
|
299
|
+
type: {
|
300
|
+
name: 'Composite',
|
301
|
+
class_name: 'Endpoints'
|
302
|
+
}
|
303
|
+
},
|
304
|
+
encryption: {
|
305
|
+
client_side_validation: true,
|
306
|
+
required: false,
|
307
|
+
read_only: true,
|
308
|
+
serialized_name: 'properties.encryption',
|
309
|
+
type: {
|
310
|
+
name: 'Composite',
|
311
|
+
class_name: 'Encryption'
|
312
|
+
}
|
313
|
+
},
|
314
|
+
access_tier: {
|
315
|
+
client_side_validation: true,
|
316
|
+
required: false,
|
317
|
+
read_only: true,
|
318
|
+
serialized_name: 'properties.accessTier',
|
319
|
+
type: {
|
320
|
+
name: 'Enum',
|
321
|
+
module: 'AccessTier'
|
322
|
+
}
|
323
|
+
},
|
324
|
+
azure_files_identity_based_authentication: {
|
325
|
+
client_side_validation: true,
|
326
|
+
required: false,
|
327
|
+
serialized_name: 'properties.azureFilesIdentityBasedAuthentication',
|
328
|
+
type: {
|
329
|
+
name: 'Composite',
|
330
|
+
class_name: 'AzureFilesIdentityBasedAuthentication'
|
331
|
+
}
|
332
|
+
},
|
333
|
+
enable_https_traffic_only: {
|
334
|
+
client_side_validation: true,
|
335
|
+
required: false,
|
336
|
+
serialized_name: 'properties.supportsHttpsTrafficOnly',
|
337
|
+
type: {
|
338
|
+
name: 'Boolean'
|
339
|
+
}
|
340
|
+
},
|
341
|
+
network_rule_set: {
|
342
|
+
client_side_validation: true,
|
343
|
+
required: false,
|
344
|
+
read_only: true,
|
345
|
+
serialized_name: 'properties.networkAcls',
|
346
|
+
type: {
|
347
|
+
name: 'Composite',
|
348
|
+
class_name: 'NetworkRuleSet'
|
349
|
+
}
|
350
|
+
},
|
351
|
+
is_hns_enabled: {
|
352
|
+
client_side_validation: true,
|
353
|
+
required: false,
|
354
|
+
serialized_name: 'properties.isHnsEnabled',
|
355
|
+
type: {
|
356
|
+
name: 'Boolean'
|
357
|
+
}
|
358
|
+
},
|
359
|
+
geo_replication_stats: {
|
360
|
+
client_side_validation: true,
|
361
|
+
required: false,
|
362
|
+
read_only: true,
|
363
|
+
serialized_name: 'properties.geoReplicationStats',
|
364
|
+
type: {
|
365
|
+
name: 'Composite',
|
366
|
+
class_name: 'GeoReplicationStats'
|
367
|
+
}
|
368
|
+
},
|
369
|
+
failover_in_progress: {
|
370
|
+
client_side_validation: true,
|
371
|
+
required: false,
|
372
|
+
read_only: true,
|
373
|
+
serialized_name: 'properties.failoverInProgress',
|
374
|
+
type: {
|
375
|
+
name: 'Boolean'
|
376
|
+
}
|
377
|
+
},
|
378
|
+
large_file_shares_state: {
|
379
|
+
client_side_validation: true,
|
380
|
+
required: false,
|
381
|
+
serialized_name: 'properties.largeFileSharesState',
|
382
|
+
type: {
|
383
|
+
name: 'String'
|
384
|
+
}
|
385
|
+
},
|
386
|
+
private_endpoint_connections: {
|
387
|
+
client_side_validation: true,
|
388
|
+
required: false,
|
389
|
+
read_only: true,
|
390
|
+
serialized_name: 'properties.privateEndpointConnections',
|
391
|
+
type: {
|
392
|
+
name: 'Sequence',
|
393
|
+
element: {
|
394
|
+
client_side_validation: true,
|
395
|
+
required: false,
|
396
|
+
serialized_name: 'PrivateEndpointConnectionElementType',
|
397
|
+
type: {
|
398
|
+
name: 'Composite',
|
399
|
+
class_name: 'PrivateEndpointConnection'
|
400
|
+
}
|
401
|
+
}
|
402
|
+
}
|
403
|
+
}
|
404
|
+
}
|
405
|
+
}
|
406
|
+
}
|
407
|
+
end
|
408
|
+
end
|
409
|
+
end
|
410
|
+
end
|