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
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class BlobServiceItems
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<BlobServiceProperties>] List of blob services returned.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for BlobServiceItems 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: 'BlobServiceItems',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'BlobServiceItems',
|
32
|
+
model_properties: {
|
33
|
+
value: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'value',
|
38
|
+
type: {
|
39
|
+
name: 'Sequence',
|
40
|
+
element: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'BlobServicePropertiesElementType',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'BlobServiceProperties'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,141 @@
|
|
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 properties of a storage account’s Blob service.
|
10
|
+
#
|
11
|
+
class BlobServiceProperties < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [CorsRules] Specifies CORS rules for the Blob service. You can
|
16
|
+
# include up to five CorsRule elements in the request. If no CorsRule
|
17
|
+
# elements are included in the request body, all CORS rules will be
|
18
|
+
# deleted, and CORS will be disabled for the Blob service.
|
19
|
+
attr_accessor :cors
|
20
|
+
|
21
|
+
# @return [String] DefaultServiceVersion indicates the default version to
|
22
|
+
# use for requests to the Blob service if an incoming request’s version
|
23
|
+
# is not specified. Possible values include version 2008-10-27 and all
|
24
|
+
# more recent versions.
|
25
|
+
attr_accessor :default_service_version
|
26
|
+
|
27
|
+
# @return [DeleteRetentionPolicy] The blob service properties for blob
|
28
|
+
# soft delete.
|
29
|
+
attr_accessor :delete_retention_policy
|
30
|
+
|
31
|
+
# @return [Boolean] Automatic Snapshot is enabled if set to true.
|
32
|
+
attr_accessor :automatic_snapshot_policy_enabled
|
33
|
+
|
34
|
+
# @return [ChangeFeed] The blob service properties for change feed
|
35
|
+
# events.
|
36
|
+
attr_accessor :change_feed
|
37
|
+
|
38
|
+
# @return [DeleteRetentionPolicy] The blob service properties for
|
39
|
+
# container soft delete.
|
40
|
+
attr_accessor :container_delete_retention_policy
|
41
|
+
|
42
|
+
|
43
|
+
#
|
44
|
+
# Mapper for BlobServiceProperties class as Ruby Hash.
|
45
|
+
# This will be used for serialization/deserialization.
|
46
|
+
#
|
47
|
+
def self.mapper()
|
48
|
+
{
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'BlobServiceProperties',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'BlobServiceProperties',
|
55
|
+
model_properties: {
|
56
|
+
id: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'id',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
name: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'name',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
type: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'type',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
cors: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'properties.cors',
|
87
|
+
type: {
|
88
|
+
name: 'Composite',
|
89
|
+
class_name: 'CorsRules'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
default_service_version: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'properties.defaultServiceVersion',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
delete_retention_policy: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'properties.deleteRetentionPolicy',
|
104
|
+
type: {
|
105
|
+
name: 'Composite',
|
106
|
+
class_name: 'DeleteRetentionPolicy'
|
107
|
+
}
|
108
|
+
},
|
109
|
+
automatic_snapshot_policy_enabled: {
|
110
|
+
client_side_validation: true,
|
111
|
+
required: false,
|
112
|
+
serialized_name: 'properties.automaticSnapshotPolicyEnabled',
|
113
|
+
type: {
|
114
|
+
name: 'Boolean'
|
115
|
+
}
|
116
|
+
},
|
117
|
+
change_feed: {
|
118
|
+
client_side_validation: true,
|
119
|
+
required: false,
|
120
|
+
serialized_name: 'properties.changeFeed',
|
121
|
+
type: {
|
122
|
+
name: 'Composite',
|
123
|
+
class_name: 'ChangeFeed'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
container_delete_retention_policy: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'properties.containerDeleteRetentionPolicy',
|
130
|
+
type: {
|
131
|
+
name: 'Composite',
|
132
|
+
class_name: 'DeleteRetentionPolicy'
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
141
|
+
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 Bypass
|
10
|
+
#
|
11
|
+
module Bypass
|
12
|
+
None = "None"
|
13
|
+
Logging = "Logging"
|
14
|
+
Metrics = "Metrics"
|
15
|
+
AzureServices = "AzureServices"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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 change feed events.
|
10
|
+
#
|
11
|
+
class ChangeFeed
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Indicates whether change feed event logging is
|
16
|
+
# enabled for the Blob service.
|
17
|
+
attr_accessor :enabled
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ChangeFeed 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: 'ChangeFeed',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ChangeFeed',
|
32
|
+
model_properties: {
|
33
|
+
enabled: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'enabled',
|
37
|
+
type: {
|
38
|
+
name: 'Boolean'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,77 @@
|
|
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 CheckNameAvailability operation response.
|
10
|
+
#
|
11
|
+
class CheckNameAvailabilityResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Gets a boolean value that indicates whether the name
|
16
|
+
# is available for you to use. If true, the name is available. If false,
|
17
|
+
# the name has already been taken or is invalid and cannot be used.
|
18
|
+
attr_accessor :name_available
|
19
|
+
|
20
|
+
# @return [Reason] Gets the reason that a storage account name could not
|
21
|
+
# be used. The Reason element is only returned if NameAvailable is false.
|
22
|
+
# Possible values include: 'AccountNameInvalid', 'AlreadyExists'
|
23
|
+
attr_accessor :reason
|
24
|
+
|
25
|
+
# @return [String] Gets an error message explaining the Reason value in
|
26
|
+
# more detail.
|
27
|
+
attr_accessor :message
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for CheckNameAvailabilityResult class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'CheckNameAvailabilityResult',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'CheckNameAvailabilityResult',
|
42
|
+
model_properties: {
|
43
|
+
name_available: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
read_only: true,
|
47
|
+
serialized_name: 'nameAvailable',
|
48
|
+
type: {
|
49
|
+
name: 'Boolean'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
reason: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
read_only: true,
|
56
|
+
serialized_name: 'reason',
|
57
|
+
type: {
|
58
|
+
name: 'Enum',
|
59
|
+
module: 'Reason'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
message: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'message',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1,128 @@
|
|
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
|
+
# Specifies a CORS rule for the Blob service.
|
10
|
+
#
|
11
|
+
class CorsRule
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<String>] Required if CorsRule element is present. A list
|
16
|
+
# of origin domains that will be allowed via CORS, or "*" to allow all
|
17
|
+
# domains
|
18
|
+
attr_accessor :allowed_origins
|
19
|
+
|
20
|
+
# @return [Array<Enum>] Required if CorsRule element is present. A list
|
21
|
+
# of HTTP methods that are allowed to be executed by the origin.
|
22
|
+
attr_accessor :allowed_methods
|
23
|
+
|
24
|
+
# @return [Integer] Required if CorsRule element is present. The number
|
25
|
+
# of seconds that the client/browser should cache a preflight response.
|
26
|
+
attr_accessor :max_age_in_seconds
|
27
|
+
|
28
|
+
# @return [Array<String>] Required if CorsRule element is present. A list
|
29
|
+
# of response headers to expose to CORS clients.
|
30
|
+
attr_accessor :exposed_headers
|
31
|
+
|
32
|
+
# @return [Array<String>] Required if CorsRule element is present. A list
|
33
|
+
# of headers allowed to be part of the cross-origin request.
|
34
|
+
attr_accessor :allowed_headers
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for CorsRule class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'CorsRule',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'CorsRule',
|
49
|
+
model_properties: {
|
50
|
+
allowed_origins: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
serialized_name: 'allowedOrigins',
|
54
|
+
type: {
|
55
|
+
name: 'Sequence',
|
56
|
+
element: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'StringElementType',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
},
|
66
|
+
allowed_methods: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: true,
|
69
|
+
serialized_name: 'allowedMethods',
|
70
|
+
type: {
|
71
|
+
name: 'Sequence',
|
72
|
+
element: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'enumElementType',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
},
|
82
|
+
max_age_in_seconds: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: true,
|
85
|
+
serialized_name: 'maxAgeInSeconds',
|
86
|
+
type: {
|
87
|
+
name: 'Number'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
exposed_headers: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: true,
|
93
|
+
serialized_name: 'exposedHeaders',
|
94
|
+
type: {
|
95
|
+
name: 'Sequence',
|
96
|
+
element: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'StringElementType',
|
100
|
+
type: {
|
101
|
+
name: 'String'
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
},
|
106
|
+
allowed_headers: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: true,
|
109
|
+
serialized_name: 'allowedHeaders',
|
110
|
+
type: {
|
111
|
+
name: 'Sequence',
|
112
|
+
element: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'StringElementType',
|
116
|
+
type: {
|
117
|
+
name: 'String'
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|