azure_mgmt_storage 0.19.3 → 0.21.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.rb +2 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +7 -7
- data/lib/2016-12-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- 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 +1 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/minimum_tls_version.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account.rb +26 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +26 -0
- data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +26 -0
- 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 +80 -52
- data/lib/2019-06-01/generated/azure_mgmt_storage/blob_containers.rb +20 -8
- data/lib/2019-06-01/generated/azure_mgmt_storage/file_shares.rb +156 -14
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_container.rb +73 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_restore_range.rb +4 -2
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/deleted_share.rb +59 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/enabled_protocols.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption.rb +13 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share.rb +129 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb +129 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/get_share_expand.rb +15 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +25 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_container_item.rb +73 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_containers_include.rb +15 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_queue.rb +83 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_queue_resource.rb +101 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_queue_services.rb +58 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_shares_expand.rb +15 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_table_resource.rb +101 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_table_services.rb +58 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_filter.rb +21 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/minimum_tls_version.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/object_replication_policies.rb +56 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/object_replication_policy.rb +131 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/object_replication_policy_filter.rb +70 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/object_replication_policy_rule.rb +82 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_connection_list_result.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/queue_service_properties.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/restore_policy_properties.rb +13 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/root_squash_type.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/share_access_tier.rb +18 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account.rb +26 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +26 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +26 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_queue.rb +97 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/table.rb +74 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/table_service_properties.rb +77 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/models/tag_filter.rb +80 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/object_replication_policies_operations.rb +495 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/private_endpoint_connections.rb +122 -9
- data/lib/2019-06-01/generated/azure_mgmt_storage/queue.rb +805 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/queue_services.rb +386 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/storage_management_client.rb +22 -1
- data/lib/2019-06-01/generated/azure_mgmt_storage/table_operations.rb +743 -0
- data/lib/2019-06-01/generated/azure_mgmt_storage/table_services.rb +386 -0
- data/lib/profiles/latest/modules/storage_profile_module.rb +266 -164
- data/lib/version.rb +1 -1
- metadata +35 -4
@@ -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 MinimumTlsVersion
|
10
|
+
#
|
11
|
+
module MinimumTlsVersion
|
12
|
+
TLS10 = "TLS1_0"
|
13
|
+
TLS11 = "TLS1_1"
|
14
|
+
TLS12 = "TLS1_2"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -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
|
+
# List storage account object replication policies.
|
10
|
+
#
|
11
|
+
class ObjectReplicationPolicies
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<ObjectReplicationPolicy>] The replication policy between
|
16
|
+
# two storage accounts.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ObjectReplicationPolicies 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: 'ObjectReplicationPolicies',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ObjectReplicationPolicies',
|
32
|
+
model_properties: {
|
33
|
+
value: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'value',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'ObjectReplicationPolicyElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'ObjectReplicationPolicy'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,131 @@
|
|
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 replication policy between two storage accounts. Multiple rules can
|
10
|
+
# be defined in one policy.
|
11
|
+
#
|
12
|
+
class ObjectReplicationPolicy < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] A unique id for object replication policy.
|
17
|
+
attr_accessor :policy_id
|
18
|
+
|
19
|
+
# @return [DateTime] Indicates when the policy is enabled on the source
|
20
|
+
# account.
|
21
|
+
attr_accessor :enabled_time
|
22
|
+
|
23
|
+
# @return [String] Required. Source account name.
|
24
|
+
attr_accessor :source_account
|
25
|
+
|
26
|
+
# @return [String] Required. Destination account name.
|
27
|
+
attr_accessor :destination_account
|
28
|
+
|
29
|
+
# @return [Array<ObjectReplicationPolicyRule>] The storage account object
|
30
|
+
# replication rules.
|
31
|
+
attr_accessor :rules
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for ObjectReplicationPolicy class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'ObjectReplicationPolicy',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'ObjectReplicationPolicy',
|
46
|
+
model_properties: {
|
47
|
+
id: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'id',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
name: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'name',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
type: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'type',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
policy_id: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'properties.policyId',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
enabled_time: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'properties.enabledTime',
|
88
|
+
type: {
|
89
|
+
name: 'DateTime'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
source_account: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: true,
|
95
|
+
serialized_name: 'properties.sourceAccount',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
destination_account: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: true,
|
103
|
+
serialized_name: 'properties.destinationAccount',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
rules: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'properties.rules',
|
112
|
+
type: {
|
113
|
+
name: 'Sequence',
|
114
|
+
element: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
serialized_name: 'ObjectReplicationPolicyRuleElementType',
|
118
|
+
type: {
|
119
|
+
name: 'Composite',
|
120
|
+
class_name: 'ObjectReplicationPolicyRule'
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
@@ -0,0 +1,70 @@
|
|
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
|
+
# Filters limit replication to a subset of blobs within the storage
|
10
|
+
# account. A logical OR is performed on values in the filter. If multiple
|
11
|
+
# filters are defined, a logical AND is performed on all filters.
|
12
|
+
#
|
13
|
+
class ObjectReplicationPolicyFilter
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [Array<String>] Optional. Filters the results to replicate only
|
18
|
+
# blobs whose names begin with the specified prefix.
|
19
|
+
attr_accessor :prefix_match
|
20
|
+
|
21
|
+
# @return [String] Blobs created after the time will be replicated to the
|
22
|
+
# destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'.
|
23
|
+
# Example: 2020-02-19T16:05:00Z
|
24
|
+
attr_accessor :min_creation_time
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for ObjectReplicationPolicyFilter class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'ObjectReplicationPolicyFilter',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'ObjectReplicationPolicyFilter',
|
39
|
+
model_properties: {
|
40
|
+
prefix_match: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'prefixMatch',
|
44
|
+
type: {
|
45
|
+
name: 'Sequence',
|
46
|
+
element: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'StringElementType',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
},
|
56
|
+
min_creation_time: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'minCreationTime',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,82 @@
|
|
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 replication policy rule between two containers.
|
10
|
+
#
|
11
|
+
class ObjectReplicationPolicyRule
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Rule Id is auto-generated for each new rule on
|
16
|
+
# destination account. It is required for put policy on source account.
|
17
|
+
attr_accessor :rule_id
|
18
|
+
|
19
|
+
# @return [String] Required. Source container name.
|
20
|
+
attr_accessor :source_container
|
21
|
+
|
22
|
+
# @return [String] Required. Destination container name.
|
23
|
+
attr_accessor :destination_container
|
24
|
+
|
25
|
+
# @return [ObjectReplicationPolicyFilter] Optional. An object that
|
26
|
+
# defines the filter set.
|
27
|
+
attr_accessor :filters
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for ObjectReplicationPolicyRule 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: 'ObjectReplicationPolicyRule',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'ObjectReplicationPolicyRule',
|
42
|
+
model_properties: {
|
43
|
+
rule_id: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'ruleId',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
source_container: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: true,
|
54
|
+
serialized_name: 'sourceContainer',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
destination_container: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: true,
|
62
|
+
serialized_name: 'destinationContainer',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
filters: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'filters',
|
71
|
+
type: {
|
72
|
+
name: 'Composite',
|
73
|
+
class_name: 'ObjectReplicationPolicyFilter'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_connection_list_result.rb
ADDED
@@ -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
|
+
# List of private endpoint connection associated with the specified storage
|
10
|
+
# account
|
11
|
+
#
|
12
|
+
class PrivateEndpointConnectionListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<PrivateEndpointConnection>] Array of private endpoint
|
17
|
+
# connections
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for PrivateEndpointConnectionListResult class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'PrivateEndpointConnectionListResult',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'PrivateEndpointConnectionListResult',
|
33
|
+
model_properties: {
|
34
|
+
value: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'value',
|
38
|
+
type: {
|
39
|
+
name: 'Sequence',
|
40
|
+
element: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'PrivateEndpointConnectionElementType',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'PrivateEndpointConnection'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
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 properties of a storage account’s Queue service.
|
10
|
+
#
|
11
|
+
class QueueServiceProperties < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [CorsRules] Specifies CORS rules for the Queue 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 Queue service.
|
19
|
+
attr_accessor :cors
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for QueueServiceProperties class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'QueueServiceProperties',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'QueueServiceProperties',
|
34
|
+
model_properties: {
|
35
|
+
id: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'id',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'name',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
type: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'type',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
cors: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'properties.cors',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'CorsRules'
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|