azure_mgmt_storage 0.17.6 → 0.17.7
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/blob_containers.rb +1721 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/blob_services.rb +266 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/management_policies.rb +355 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/action.rb +15 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/blob_service_properties.rb +104 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/cors_rule.rb +128 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/cors_rules.rb +57 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/date_after_creation.rb +50 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/date_after_modification.rb +50 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/delete_retention_policy.rb +64 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/endpoints.rb +108 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb +85 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/geo_replication_status.rb +17 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/kind.rb +19 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/list_container_items.rb +55 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy.rb +89 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_action.rb +62 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb +73 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_definition.rb +60 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_filter.rb +76 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_rule.rb +87 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb +58 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_snap_shot.rb +47 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/operation_display.rb +79 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/resource.rb +83 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/services.rb +18 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/sku.rb +159 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/sku_name.rb +20 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/state.rb +19 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account.rb +375 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +63 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +203 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_expand.rb +15 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +179 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/operations.rb +108 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/skus.rb +114 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/storage_accounts.rb +1505 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/storage_management_client.rb +155 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage/usages.rb +118 -0
- data/lib/2018-11-01/generated/azure_mgmt_storage.rb +126 -0
- data/lib/azure_mgmt_storage.rb +1 -0
- data/lib/profiles/latest/modules/storage_profile_module.rb +250 -224
- data/lib/version.rb +1 -1
- metadata +104 -2
@@ -0,0 +1,136 @@
|
|
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::V2018_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The parameters to list SAS credentials of a storage account.
|
10
|
+
#
|
11
|
+
class AccountSasParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Services] The signed services accessible with the account SAS.
|
16
|
+
# Possible values include: Blob (b), Queue (q), Table (t), File (f).
|
17
|
+
# Possible values include: 'b', 'q', 't', 'f'
|
18
|
+
attr_accessor :services
|
19
|
+
|
20
|
+
# @return [SignedResourceTypes] The signed resource types that are
|
21
|
+
# accessible with the account SAS. Service (s): Access to service-level
|
22
|
+
# APIs; Container (c): Access to container-level APIs; Object (o): Access
|
23
|
+
# to object-level APIs for blobs, queue messages, table entities, and
|
24
|
+
# files. Possible values include: 's', 'c', 'o'
|
25
|
+
attr_accessor :resource_types
|
26
|
+
|
27
|
+
# @return [Permissions] The signed permissions for the account SAS.
|
28
|
+
# Possible values include: Read (r), Write (w), Delete (d), List (l), Add
|
29
|
+
# (a), Create (c), Update (u) and Process (p). Possible values include:
|
30
|
+
# 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'
|
31
|
+
attr_accessor :permissions
|
32
|
+
|
33
|
+
# @return [String] An IP address or a range of IP addresses from which to
|
34
|
+
# accept requests.
|
35
|
+
attr_accessor :ipaddress_or_range
|
36
|
+
|
37
|
+
# @return [HttpProtocol] The protocol permitted for a request made with
|
38
|
+
# the account SAS. Possible values include: 'https,http', 'https'
|
39
|
+
attr_accessor :protocols
|
40
|
+
|
41
|
+
# @return [DateTime] The time at which the SAS becomes valid.
|
42
|
+
attr_accessor :shared_access_start_time
|
43
|
+
|
44
|
+
# @return [DateTime] The time at which the shared access signature
|
45
|
+
# becomes invalid.
|
46
|
+
attr_accessor :shared_access_expiry_time
|
47
|
+
|
48
|
+
# @return [String] The key to sign the account SAS token with.
|
49
|
+
attr_accessor :key_to_sign
|
50
|
+
|
51
|
+
|
52
|
+
#
|
53
|
+
# Mapper for AccountSasParameters class as Ruby Hash.
|
54
|
+
# This will be used for serialization/deserialization.
|
55
|
+
#
|
56
|
+
def self.mapper()
|
57
|
+
{
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'AccountSasParameters',
|
61
|
+
type: {
|
62
|
+
name: 'Composite',
|
63
|
+
class_name: 'AccountSasParameters',
|
64
|
+
model_properties: {
|
65
|
+
services: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: true,
|
68
|
+
serialized_name: 'signedServices',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
resource_types: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: true,
|
76
|
+
serialized_name: 'signedResourceTypes',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
permissions: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: true,
|
84
|
+
serialized_name: 'signedPermission',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
ipaddress_or_range: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'signedIp',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
protocols: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'signedProtocol',
|
101
|
+
type: {
|
102
|
+
name: 'Enum',
|
103
|
+
module: 'HttpProtocol'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
shared_access_start_time: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'signedStart',
|
110
|
+
type: {
|
111
|
+
name: 'DateTime'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
shared_access_expiry_time: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: true,
|
117
|
+
serialized_name: 'signedExpiry',
|
118
|
+
type: {
|
119
|
+
name: 'DateTime'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
key_to_sign: {
|
123
|
+
client_side_validation: true,
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'keyToSign',
|
126
|
+
type: {
|
127
|
+
name: 'String'
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
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::V2018_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for AccountStatus
|
10
|
+
#
|
11
|
+
module AccountStatus
|
12
|
+
Available = "available"
|
13
|
+
Unavailable = "unavailable"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
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::V2018_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for Action
|
10
|
+
#
|
11
|
+
module Action
|
12
|
+
Allow = "Allow"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,75 @@
|
|
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::V2018_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition for a Azure Resource Manager resource with
|
10
|
+
# an etag.
|
11
|
+
#
|
12
|
+
class AzureEntityResource < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Resource Etag.
|
17
|
+
attr_accessor :etag
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for AzureEntityResource 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: 'AzureEntityResource',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'AzureEntityResource',
|
32
|
+
model_properties: {
|
33
|
+
id: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'id',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'name',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
type: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'type',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
etag: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'etag',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,217 @@
|
|
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::V2018_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of the blob container, including Id, resource name, resource
|
10
|
+
# type, Etag.
|
11
|
+
#
|
12
|
+
class BlobContainer < AzureEntityResource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [PublicAccess] Specifies whether data in the container may be
|
17
|
+
# accessed publicly and the level of access. Possible values include:
|
18
|
+
# 'Container', 'Blob', 'None'
|
19
|
+
attr_accessor :public_access
|
20
|
+
|
21
|
+
# @return [DateTime] Returns the date and time the container was last
|
22
|
+
# modified.
|
23
|
+
attr_accessor :last_modified_time
|
24
|
+
|
25
|
+
# @return [LeaseStatus] The lease status of the container. Possible
|
26
|
+
# values include: 'Locked', 'Unlocked'
|
27
|
+
attr_accessor :lease_status
|
28
|
+
|
29
|
+
# @return [LeaseState] Lease state of the container. Possible values
|
30
|
+
# include: 'Available', 'Leased', 'Expired', 'Breaking', 'Broken'
|
31
|
+
attr_accessor :lease_state
|
32
|
+
|
33
|
+
# @return [LeaseDuration] Specifies whether the lease on a container is
|
34
|
+
# of infinite or fixed duration, only when the container is leased.
|
35
|
+
# Possible values include: 'Infinite', 'Fixed'
|
36
|
+
attr_accessor :lease_duration
|
37
|
+
|
38
|
+
# @return [Hash{String => String}] A name-value pair to associate with
|
39
|
+
# the container as metadata.
|
40
|
+
attr_accessor :metadata
|
41
|
+
|
42
|
+
# @return [ImmutabilityPolicyProperties] The ImmutabilityPolicy property
|
43
|
+
# of the container.
|
44
|
+
attr_accessor :immutability_policy
|
45
|
+
|
46
|
+
# @return [LegalHoldProperties] The LegalHold property of the container.
|
47
|
+
attr_accessor :legal_hold
|
48
|
+
|
49
|
+
# @return [Boolean] The hasLegalHold public property is set to true by
|
50
|
+
# SRP if there are at least one existing tag. The hasLegalHold public
|
51
|
+
# property is set to false by SRP if all existing legal hold tags are
|
52
|
+
# cleared out. There can be a maximum of 1000 blob containers with
|
53
|
+
# hasLegalHold=true for a given account.
|
54
|
+
attr_accessor :has_legal_hold
|
55
|
+
|
56
|
+
# @return [Boolean] The hasImmutabilityPolicy public property is set to
|
57
|
+
# true by SRP if ImmutabilityPolicy has been created for this container.
|
58
|
+
# The hasImmutabilityPolicy public property is set to false by SRP if
|
59
|
+
# ImmutabilityPolicy has not been created for this container.
|
60
|
+
attr_accessor :has_immutability_policy
|
61
|
+
|
62
|
+
|
63
|
+
#
|
64
|
+
# Mapper for BlobContainer class as Ruby Hash.
|
65
|
+
# This will be used for serialization/deserialization.
|
66
|
+
#
|
67
|
+
def self.mapper()
|
68
|
+
{
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'BlobContainer',
|
72
|
+
type: {
|
73
|
+
name: 'Composite',
|
74
|
+
class_name: 'BlobContainer',
|
75
|
+
model_properties: {
|
76
|
+
id: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'id',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
name: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'name',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
type: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
read_only: true,
|
98
|
+
serialized_name: 'type',
|
99
|
+
type: {
|
100
|
+
name: 'String'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
etag: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
read_only: true,
|
107
|
+
serialized_name: 'etag',
|
108
|
+
type: {
|
109
|
+
name: 'String'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
public_access: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'properties.publicAccess',
|
116
|
+
type: {
|
117
|
+
name: 'Enum',
|
118
|
+
module: 'PublicAccess'
|
119
|
+
}
|
120
|
+
},
|
121
|
+
last_modified_time: {
|
122
|
+
client_side_validation: true,
|
123
|
+
required: false,
|
124
|
+
read_only: true,
|
125
|
+
serialized_name: 'properties.lastModifiedTime',
|
126
|
+
type: {
|
127
|
+
name: 'DateTime'
|
128
|
+
}
|
129
|
+
},
|
130
|
+
lease_status: {
|
131
|
+
client_side_validation: true,
|
132
|
+
required: false,
|
133
|
+
read_only: true,
|
134
|
+
serialized_name: 'properties.leaseStatus',
|
135
|
+
type: {
|
136
|
+
name: 'String'
|
137
|
+
}
|
138
|
+
},
|
139
|
+
lease_state: {
|
140
|
+
client_side_validation: true,
|
141
|
+
required: false,
|
142
|
+
read_only: true,
|
143
|
+
serialized_name: 'properties.leaseState',
|
144
|
+
type: {
|
145
|
+
name: 'String'
|
146
|
+
}
|
147
|
+
},
|
148
|
+
lease_duration: {
|
149
|
+
client_side_validation: true,
|
150
|
+
required: false,
|
151
|
+
read_only: true,
|
152
|
+
serialized_name: 'properties.leaseDuration',
|
153
|
+
type: {
|
154
|
+
name: 'String'
|
155
|
+
}
|
156
|
+
},
|
157
|
+
metadata: {
|
158
|
+
client_side_validation: true,
|
159
|
+
required: false,
|
160
|
+
serialized_name: 'properties.metadata',
|
161
|
+
type: {
|
162
|
+
name: 'Dictionary',
|
163
|
+
value: {
|
164
|
+
client_side_validation: true,
|
165
|
+
required: false,
|
166
|
+
serialized_name: 'StringElementType',
|
167
|
+
type: {
|
168
|
+
name: 'String'
|
169
|
+
}
|
170
|
+
}
|
171
|
+
}
|
172
|
+
},
|
173
|
+
immutability_policy: {
|
174
|
+
client_side_validation: true,
|
175
|
+
required: false,
|
176
|
+
read_only: true,
|
177
|
+
serialized_name: 'properties.immutabilityPolicy',
|
178
|
+
type: {
|
179
|
+
name: 'Composite',
|
180
|
+
class_name: 'ImmutabilityPolicyProperties'
|
181
|
+
}
|
182
|
+
},
|
183
|
+
legal_hold: {
|
184
|
+
client_side_validation: true,
|
185
|
+
required: false,
|
186
|
+
read_only: true,
|
187
|
+
serialized_name: 'properties.legalHold',
|
188
|
+
type: {
|
189
|
+
name: 'Composite',
|
190
|
+
class_name: 'LegalHoldProperties'
|
191
|
+
}
|
192
|
+
},
|
193
|
+
has_legal_hold: {
|
194
|
+
client_side_validation: true,
|
195
|
+
required: false,
|
196
|
+
read_only: true,
|
197
|
+
serialized_name: 'properties.hasLegalHold',
|
198
|
+
type: {
|
199
|
+
name: 'Boolean'
|
200
|
+
}
|
201
|
+
},
|
202
|
+
has_immutability_policy: {
|
203
|
+
client_side_validation: true,
|
204
|
+
required: false,
|
205
|
+
read_only: true,
|
206
|
+
serialized_name: 'properties.hasImmutabilityPolicy',
|
207
|
+
type: {
|
208
|
+
name: 'Boolean'
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
end
|
215
|
+
end
|
216
|
+
end
|
217
|
+
end
|
@@ -0,0 +1,104 @@
|
|
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::V2018_11_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 soft
|
28
|
+
# delete.
|
29
|
+
attr_accessor :delete_retention_policy
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for BlobServiceProperties class as Ruby Hash.
|
34
|
+
# This will be used for serialization/deserialization.
|
35
|
+
#
|
36
|
+
def self.mapper()
|
37
|
+
{
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'BlobServiceProperties',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'BlobServiceProperties',
|
44
|
+
model_properties: {
|
45
|
+
id: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'id',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
name: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'name',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
type: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'type',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
cors: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'properties.cors',
|
76
|
+
type: {
|
77
|
+
name: 'Composite',
|
78
|
+
class_name: 'CorsRules'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
default_service_version: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'properties.defaultServiceVersion',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
delete_retention_policy: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'properties.deleteRetentionPolicy',
|
93
|
+
type: {
|
94
|
+
name: 'Composite',
|
95
|
+
class_name: 'DeleteRetentionPolicy'
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
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::V2018_11_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,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::V2018_11_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
|