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,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 parameters used to check the availability of the storage account
|
10
|
+
# name.
|
11
|
+
#
|
12
|
+
class StorageAccountCheckNameAvailabilityParameters
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The storage account name.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [String] The type of resource,
|
20
|
+
# Microsoft.Storage/storageAccounts. Default value:
|
21
|
+
# 'Microsoft.Storage/storageAccounts' .
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for StorageAccountCheckNameAvailabilityParameters class as Ruby
|
27
|
+
# 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: 'StorageAccountCheckNameAvailabilityParameters',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'StorageAccountCheckNameAvailabilityParameters',
|
38
|
+
model_properties: {
|
39
|
+
name: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: true,
|
42
|
+
serialized_name: 'name',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
type: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: true,
|
50
|
+
is_constant: true,
|
51
|
+
serialized_name: 'type',
|
52
|
+
default_value: 'Microsoft.Storage/storageAccounts',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,215 @@
|
|
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 parameters used when creating a storage account.
|
10
|
+
#
|
11
|
+
class StorageAccountCreateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Sku] Required. Gets or sets the SKU name.
|
16
|
+
attr_accessor :sku
|
17
|
+
|
18
|
+
# @return [Kind] Required. Indicates the type of storage account.
|
19
|
+
# Possible values include: 'Storage', 'StorageV2', 'BlobStorage',
|
20
|
+
# 'FileStorage', 'BlockBlobStorage'
|
21
|
+
attr_accessor :kind
|
22
|
+
|
23
|
+
# @return [String] Required. Gets or sets the location of the resource.
|
24
|
+
# This will be one of the supported and registered Azure Geo Regions
|
25
|
+
# (e.g. West US, East US, Southeast Asia, etc.). The geo region of a
|
26
|
+
# resource cannot be changed once it is created, but if an identical geo
|
27
|
+
# region is specified on update, the request will succeed.
|
28
|
+
attr_accessor :location
|
29
|
+
|
30
|
+
# @return [Hash{String => String}] Gets or sets a list of key value pairs
|
31
|
+
# that describe the resource. These tags can be used for viewing and
|
32
|
+
# grouping this resource (across resource groups). A maximum of 15 tags
|
33
|
+
# can be provided for a resource. Each tag must have a key with a length
|
34
|
+
# no greater than 128 characters and a value with a length no greater
|
35
|
+
# than 256 characters.
|
36
|
+
attr_accessor :tags
|
37
|
+
|
38
|
+
# @return [Identity] The identity of the resource.
|
39
|
+
attr_accessor :identity
|
40
|
+
|
41
|
+
# @return [CustomDomain] User domain assigned to the storage account.
|
42
|
+
# Name is the CNAME source. Only one custom domain is supported per
|
43
|
+
# storage account at this time. To clear the existing custom domain, use
|
44
|
+
# an empty string for the custom domain name property.
|
45
|
+
attr_accessor :custom_domain
|
46
|
+
|
47
|
+
# @return [Encryption] Not applicable. Azure Storage encryption is
|
48
|
+
# enabled for all storage accounts and cannot be disabled.
|
49
|
+
attr_accessor :encryption
|
50
|
+
|
51
|
+
# @return [NetworkRuleSet] Network rule set
|
52
|
+
attr_accessor :network_rule_set
|
53
|
+
|
54
|
+
# @return [AccessTier] Required for storage accounts where kind =
|
55
|
+
# BlobStorage. The access tier used for billing. Possible values include:
|
56
|
+
# 'Hot', 'Cool'
|
57
|
+
attr_accessor :access_tier
|
58
|
+
|
59
|
+
# @return [AzureFilesIdentityBasedAuthentication] Provides the identity
|
60
|
+
# based authentication settings for Azure Files.
|
61
|
+
attr_accessor :azure_files_identity_based_authentication
|
62
|
+
|
63
|
+
# @return [Boolean] Allows https traffic only to storage service if sets
|
64
|
+
# to true. The default value is true since API version 2019-04-01.
|
65
|
+
attr_accessor :enable_https_traffic_only
|
66
|
+
|
67
|
+
# @return [Boolean] Account HierarchicalNamespace enabled if sets to
|
68
|
+
# true.
|
69
|
+
attr_accessor :is_hns_enabled
|
70
|
+
|
71
|
+
# @return [LargeFileSharesState] Allow large file shares if sets to
|
72
|
+
# Enabled. It cannot be disabled once it is enabled. Possible values
|
73
|
+
# include: 'Disabled', 'Enabled'
|
74
|
+
attr_accessor :large_file_shares_state
|
75
|
+
|
76
|
+
|
77
|
+
#
|
78
|
+
# Mapper for StorageAccountCreateParameters class as Ruby Hash.
|
79
|
+
# This will be used for serialization/deserialization.
|
80
|
+
#
|
81
|
+
def self.mapper()
|
82
|
+
{
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'StorageAccountCreateParameters',
|
86
|
+
type: {
|
87
|
+
name: 'Composite',
|
88
|
+
class_name: 'StorageAccountCreateParameters',
|
89
|
+
model_properties: {
|
90
|
+
sku: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: true,
|
93
|
+
serialized_name: 'sku',
|
94
|
+
type: {
|
95
|
+
name: 'Composite',
|
96
|
+
class_name: 'Sku'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
kind: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: true,
|
102
|
+
serialized_name: 'kind',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
location: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: true,
|
110
|
+
serialized_name: 'location',
|
111
|
+
type: {
|
112
|
+
name: 'String'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
tags: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'tags',
|
119
|
+
type: {
|
120
|
+
name: 'Dictionary',
|
121
|
+
value: {
|
122
|
+
client_side_validation: true,
|
123
|
+
required: false,
|
124
|
+
serialized_name: 'StringElementType',
|
125
|
+
type: {
|
126
|
+
name: 'String'
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
},
|
131
|
+
identity: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: false,
|
134
|
+
serialized_name: 'identity',
|
135
|
+
type: {
|
136
|
+
name: 'Composite',
|
137
|
+
class_name: 'Identity'
|
138
|
+
}
|
139
|
+
},
|
140
|
+
custom_domain: {
|
141
|
+
client_side_validation: true,
|
142
|
+
required: false,
|
143
|
+
serialized_name: 'properties.customDomain',
|
144
|
+
type: {
|
145
|
+
name: 'Composite',
|
146
|
+
class_name: 'CustomDomain'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
encryption: {
|
150
|
+
client_side_validation: true,
|
151
|
+
required: false,
|
152
|
+
serialized_name: 'properties.encryption',
|
153
|
+
type: {
|
154
|
+
name: 'Composite',
|
155
|
+
class_name: 'Encryption'
|
156
|
+
}
|
157
|
+
},
|
158
|
+
network_rule_set: {
|
159
|
+
client_side_validation: true,
|
160
|
+
required: false,
|
161
|
+
serialized_name: 'properties.networkAcls',
|
162
|
+
type: {
|
163
|
+
name: 'Composite',
|
164
|
+
class_name: 'NetworkRuleSet'
|
165
|
+
}
|
166
|
+
},
|
167
|
+
access_tier: {
|
168
|
+
client_side_validation: true,
|
169
|
+
required: false,
|
170
|
+
serialized_name: 'properties.accessTier',
|
171
|
+
type: {
|
172
|
+
name: 'Enum',
|
173
|
+
module: 'AccessTier'
|
174
|
+
}
|
175
|
+
},
|
176
|
+
azure_files_identity_based_authentication: {
|
177
|
+
client_side_validation: true,
|
178
|
+
required: false,
|
179
|
+
serialized_name: 'properties.azureFilesIdentityBasedAuthentication',
|
180
|
+
type: {
|
181
|
+
name: 'Composite',
|
182
|
+
class_name: 'AzureFilesIdentityBasedAuthentication'
|
183
|
+
}
|
184
|
+
},
|
185
|
+
enable_https_traffic_only: {
|
186
|
+
client_side_validation: true,
|
187
|
+
required: false,
|
188
|
+
serialized_name: 'properties.supportsHttpsTrafficOnly',
|
189
|
+
type: {
|
190
|
+
name: 'Boolean'
|
191
|
+
}
|
192
|
+
},
|
193
|
+
is_hns_enabled: {
|
194
|
+
client_side_validation: true,
|
195
|
+
required: false,
|
196
|
+
serialized_name: 'properties.isHnsEnabled',
|
197
|
+
type: {
|
198
|
+
name: 'Boolean'
|
199
|
+
}
|
200
|
+
},
|
201
|
+
large_file_shares_state: {
|
202
|
+
client_side_validation: true,
|
203
|
+
required: false,
|
204
|
+
serialized_name: 'properties.largeFileSharesState',
|
205
|
+
type: {
|
206
|
+
name: 'String'
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
end
|
213
|
+
end
|
214
|
+
end
|
215
|
+
end
|
@@ -0,0 +1,15 @@
|
|
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 StorageAccountExpand
|
10
|
+
#
|
11
|
+
module StorageAccountExpand
|
12
|
+
GeoReplicationStats = "geoReplicationStats"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,73 @@
|
|
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
|
+
# An access key for the storage account.
|
10
|
+
#
|
11
|
+
class StorageAccountKey
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the key.
|
16
|
+
attr_accessor :key_name
|
17
|
+
|
18
|
+
# @return [String] Base 64-encoded value of the key.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [KeyPermission] Permissions for the key -- read-only or full
|
22
|
+
# permissions. Possible values include: 'Read', 'Full'
|
23
|
+
attr_accessor :permissions
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for StorageAccountKey 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: 'StorageAccountKey',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'StorageAccountKey',
|
38
|
+
model_properties: {
|
39
|
+
key_name: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'keyName',
|
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
|
+
permissions: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'permissions',
|
62
|
+
type: {
|
63
|
+
name: 'Enum',
|
64
|
+
module: 'KeyPermission'
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
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 response from the ListKeys operation.
|
10
|
+
#
|
11
|
+
class StorageAccountListKeysResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<StorageAccountKey>] Gets the list of storage account
|
16
|
+
# keys and their properties for the specified storage account.
|
17
|
+
attr_accessor :keys
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for StorageAccountListKeysResult 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: 'StorageAccountListKeysResult',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'StorageAccountListKeysResult',
|
32
|
+
model_properties: {
|
33
|
+
keys: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'keys',
|
38
|
+
type: {
|
39
|
+
name: 'Sequence',
|
40
|
+
element: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'StorageAccountKeyElementType',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'StorageAccountKey'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,103 @@
|
|
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 response from the List Storage Accounts operation.
|
10
|
+
#
|
11
|
+
class StorageAccountListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<StorageAccount>] Gets the list of storage accounts and
|
17
|
+
# their properties.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] Request URL that can be used to query next page of
|
21
|
+
# storage accounts. Returned when total number of requested storage
|
22
|
+
# accounts exceed maximum page size.
|
23
|
+
attr_accessor :next_link
|
24
|
+
|
25
|
+
# return [Proc] with next page method call.
|
26
|
+
attr_accessor :next_method
|
27
|
+
|
28
|
+
#
|
29
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
30
|
+
#
|
31
|
+
# @return [Array<StorageAccount>] operation results.
|
32
|
+
#
|
33
|
+
def get_all_items
|
34
|
+
items = @value
|
35
|
+
page = self
|
36
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
37
|
+
page = page.get_next_page
|
38
|
+
items.concat(page.value)
|
39
|
+
end
|
40
|
+
items
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Gets the next page of results.
|
45
|
+
#
|
46
|
+
# @return [StorageAccountListResult] with next page content.
|
47
|
+
#
|
48
|
+
def get_next_page
|
49
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
50
|
+
unless response.nil?
|
51
|
+
@next_link = response.body.next_link
|
52
|
+
@value = response.body.value
|
53
|
+
self
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Mapper for StorageAccountListResult class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'StorageAccountListResult',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'StorageAccountListResult',
|
69
|
+
model_properties: {
|
70
|
+
value: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
read_only: true,
|
74
|
+
serialized_name: 'value',
|
75
|
+
type: {
|
76
|
+
name: 'Sequence',
|
77
|
+
element: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'StorageAccountElementType',
|
81
|
+
type: {
|
82
|
+
name: 'Composite',
|
83
|
+
class_name: 'StorageAccount'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
},
|
88
|
+
next_link: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
read_only: true,
|
92
|
+
serialized_name: 'nextLink',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|