azure_mgmt_storage 0.16.0 → 0.16.1
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.rb +107 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/blob_containers.rb +1721 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/action.rb +15 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/endpoints.rb +84 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/kind.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_items.rb +55 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_display.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/resource.rb +74 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/services.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/sku.rb +157 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/sku_name.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/state.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account.rb +326 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +62 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +179 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +167 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/operations.rb +108 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/skus.rb +114 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/storage_accounts.rb +1340 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb +146 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/usage_operations.rb +207 -0
- data/lib/azure_mgmt_storage.rb +1 -0
- data/lib/profiles/latest/modules/storage_profile_module.rb +222 -148
- data/lib/version.rb +1 -1
- metadata +86 -3
@@ -0,0 +1,55 @@
|
|
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The list of blob containers.
|
10
|
+
#
|
11
|
+
class ListContainerItems
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<ListContainerItem>] The list of blob containers.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ListContainerItems class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ListContainerItems',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ListContainerItems',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'ListContainerItemElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'ListContainerItem'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
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::V2018_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The List service SAS credentials operation response.
|
10
|
+
#
|
11
|
+
class ListServiceSasResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] List service SAS credentials of speicific resource.
|
16
|
+
attr_accessor :service_sas_token
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ListServiceSasResponse class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ListServiceSasResponse',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ListServiceSasResponse',
|
31
|
+
model_properties: {
|
32
|
+
service_sas_token: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'serviceSasToken',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,145 @@
|
|
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Metric specification of operation.
|
10
|
+
#
|
11
|
+
class MetricSpecification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of metric specification.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] Display name of metric specification.
|
19
|
+
attr_accessor :display_name
|
20
|
+
|
21
|
+
# @return [String] Display description of metric specification.
|
22
|
+
attr_accessor :display_description
|
23
|
+
|
24
|
+
# @return [String] Unit could be Bytes or Count.
|
25
|
+
attr_accessor :unit
|
26
|
+
|
27
|
+
# @return [Array<Dimension>] Dimensions of blobs, including blob type and
|
28
|
+
# access tier.
|
29
|
+
attr_accessor :dimensions
|
30
|
+
|
31
|
+
# @return [String] Aggregation type could be Average.
|
32
|
+
attr_accessor :aggregation_type
|
33
|
+
|
34
|
+
# @return [Boolean] The property to decide fill gap with zero or not.
|
35
|
+
attr_accessor :fill_gap_with_zero
|
36
|
+
|
37
|
+
# @return [String] The category this metric specification belong to,
|
38
|
+
# could be Capacity.
|
39
|
+
attr_accessor :category
|
40
|
+
|
41
|
+
# @return [String] Account Resource Id.
|
42
|
+
attr_accessor :resource_id_dimension_name_override
|
43
|
+
|
44
|
+
|
45
|
+
#
|
46
|
+
# Mapper for MetricSpecification class as Ruby Hash.
|
47
|
+
# This will be used for serialization/deserialization.
|
48
|
+
#
|
49
|
+
def self.mapper()
|
50
|
+
{
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'MetricSpecification',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
class_name: 'MetricSpecification',
|
57
|
+
model_properties: {
|
58
|
+
name: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'name',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
display_name: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'displayName',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
display_description: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'displayDescription',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
unit: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'unit',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
dimensions: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'dimensions',
|
94
|
+
type: {
|
95
|
+
name: 'Sequence',
|
96
|
+
element: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'DimensionElementType',
|
100
|
+
type: {
|
101
|
+
name: 'Composite',
|
102
|
+
class_name: 'Dimension'
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
},
|
107
|
+
aggregation_type: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'aggregationType',
|
111
|
+
type: {
|
112
|
+
name: 'String'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
fill_gap_with_zero: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'fillGapWithZero',
|
119
|
+
type: {
|
120
|
+
name: 'Boolean'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
category: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'category',
|
127
|
+
type: {
|
128
|
+
name: 'String'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
resource_id_dimension_name_override: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: false,
|
134
|
+
serialized_name: 'resourceIdDimensionNameOverride',
|
135
|
+
type: {
|
136
|
+
name: 'String'
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
145
|
+
end
|
@@ -0,0 +1,106 @@
|
|
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Network rule set
|
10
|
+
#
|
11
|
+
class NetworkRuleSet
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Bypass] Specifies whether traffic is bypassed for
|
16
|
+
# Logging/Metrics/AzureServices. Possible values are any combination of
|
17
|
+
# Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or
|
18
|
+
# None to bypass none of those traffics. Possible values include: 'None',
|
19
|
+
# 'Logging', 'Metrics', 'AzureServices'. Default value: 'AzureServices' .
|
20
|
+
attr_accessor :bypass
|
21
|
+
|
22
|
+
# @return [Array<VirtualNetworkRule>] Sets the virtual network rules
|
23
|
+
attr_accessor :virtual_network_rules
|
24
|
+
|
25
|
+
# @return [Array<IPRule>] Sets the IP ACL rules
|
26
|
+
attr_accessor :ip_rules
|
27
|
+
|
28
|
+
# @return [DefaultAction] Specifies the default action of allow or deny
|
29
|
+
# when no other rules match. Possible values include: 'Allow', 'Deny'.
|
30
|
+
# Default value: 'Allow' .
|
31
|
+
attr_accessor :default_action
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for NetworkRuleSet 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: 'NetworkRuleSet',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'NetworkRuleSet',
|
46
|
+
model_properties: {
|
47
|
+
bypass: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'bypass',
|
51
|
+
default_value: 'AzureServices',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
virtual_network_rules: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'virtualNetworkRules',
|
60
|
+
type: {
|
61
|
+
name: 'Sequence',
|
62
|
+
element: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'VirtualNetworkRuleElementType',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'VirtualNetworkRule'
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
},
|
73
|
+
ip_rules: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'ipRules',
|
77
|
+
type: {
|
78
|
+
name: 'Sequence',
|
79
|
+
element: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'IPRuleElementType',
|
83
|
+
type: {
|
84
|
+
name: 'Composite',
|
85
|
+
class_name: 'IPRule'
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
},
|
90
|
+
default_action: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: true,
|
93
|
+
serialized_name: 'defaultAction',
|
94
|
+
default_value: 'Allow',
|
95
|
+
type: {
|
96
|
+
name: 'Enum',
|
97
|
+
module: 'DefaultAction'
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
@@ -0,0 +1,83 @@
|
|
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Storage REST API operation definition.
|
10
|
+
#
|
11
|
+
class Operation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Operation name: {provider}/{resource}/{operation}
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [OperationDisplay] Display metadata associated with the
|
19
|
+
# operation.
|
20
|
+
attr_accessor :display
|
21
|
+
|
22
|
+
# @return [String] The origin of operations.
|
23
|
+
attr_accessor :origin
|
24
|
+
|
25
|
+
# @return [ServiceSpecification] One property of operation, include
|
26
|
+
# metric specifications.
|
27
|
+
attr_accessor :service_specification
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for Operation 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: 'Operation',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'Operation',
|
42
|
+
model_properties: {
|
43
|
+
name: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'name',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
display: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'display',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'OperationDisplay'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
origin: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'origin',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
service_specification: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'properties.serviceSpecification',
|
72
|
+
type: {
|
73
|
+
name: 'Composite',
|
74
|
+
class_name: 'ServiceSpecification'
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,68 @@
|
|
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Display metadata associated with the operation.
|
10
|
+
#
|
11
|
+
class OperationDisplay
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Service provider: Microsoft Storage.
|
16
|
+
attr_accessor :provider
|
17
|
+
|
18
|
+
# @return [String] Resource on which the operation is performed etc.
|
19
|
+
attr_accessor :resource
|
20
|
+
|
21
|
+
# @return [String] Type of operation: get, read, delete, etc.
|
22
|
+
attr_accessor :operation
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for OperationDisplay class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'Operation_display',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'OperationDisplay',
|
37
|
+
model_properties: {
|
38
|
+
provider: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'provider',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
resource: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'resource',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
operation: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'operation',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|