azure_mgmt_cdn 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/azure_mgmt_cdn.gemspec +4 -4
- data/lib/azure_mgmt_cdn.rb +3 -76
- data/lib/generated/azure_mgmt_cdn.rb +69 -0
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/cdn_management_client.rb +8 -8
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/custom_domains.rb +87 -55
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/endpoints.rb +226 -109
- data/lib/generated/azure_mgmt_cdn/models/check_name_availability_input.rb +56 -0
- data/lib/generated/azure_mgmt_cdn/models/check_name_availability_output.rb +65 -0
- data/lib/generated/azure_mgmt_cdn/models/custom_domain.rb +96 -0
- data/lib/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb +45 -0
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/models/custom_domain_resource_state.rb +0 -0
- data/lib/generated/azure_mgmt_cdn/models/deep_created_origin.rb +77 -0
- data/lib/generated/azure_mgmt_cdn/models/endpoint.rb +230 -0
- data/lib/generated/azure_mgmt_cdn/models/endpoint_create_parameters.rb +173 -0
- data/lib/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +52 -0
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/models/endpoint_resource_state.rb +0 -0
- data/lib/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +143 -0
- data/lib/generated/azure_mgmt_cdn/models/error_response.rb +54 -0
- data/lib/generated/azure_mgmt_cdn/models/load_parameters.rb +52 -0
- data/lib/generated/azure_mgmt_cdn/models/operation.rb +55 -0
- data/lib/generated/azure_mgmt_cdn/models/operation_display.rb +65 -0
- data/lib/generated/azure_mgmt_cdn/models/operation_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_cdn/models/origin.rb +119 -0
- data/lib/generated/azure_mgmt_cdn/models/origin_list_result.rb +52 -0
- data/lib/generated/azure_mgmt_cdn/models/origin_parameters.rb +67 -0
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/models/origin_resource_state.rb +0 -0
- data/lib/generated/azure_mgmt_cdn/models/profile.rb +118 -0
- data/lib/generated/azure_mgmt_cdn/models/profile_create_parameters.rb +72 -0
- data/lib/generated/azure_mgmt_cdn/models/profile_list_result.rb +52 -0
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/models/profile_resource_state.rb +0 -0
- data/lib/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +51 -0
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/models/provisioning_state.rb +0 -0
- data/lib/generated/azure_mgmt_cdn/models/purge_parameters.rb +52 -0
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/models/query_string_caching_behavior.rb +0 -0
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/models/resource_type.rb +0 -0
- data/lib/generated/azure_mgmt_cdn/models/sku.rb +47 -0
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/models/sku_name.rb +0 -0
- data/lib/generated/azure_mgmt_cdn/models/sso_uri.rb +44 -0
- data/lib/generated/azure_mgmt_cdn/models/tracked_resource.rb +85 -0
- data/lib/generated/azure_mgmt_cdn/models/validate_custom_domain_input.rb +45 -0
- data/lib/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb +66 -0
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/module_definition.rb +0 -0
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/name_availability.rb +10 -10
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/operations.rb +4 -4
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/origins.rb +112 -68
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/profiles.rb +107 -69
- data/lib/{azure_mgmt_cdn → generated/azure_mgmt_cdn}/version.rb +1 -1
- metadata +67 -80
- data/lib/azure_mgmt_cdn/models/check_name_availability_input.rb +0 -71
- data/lib/azure_mgmt_cdn/models/check_name_availability_output.rb +0 -75
- data/lib/azure_mgmt_cdn/models/custom_domain.rb +0 -82
- data/lib/azure_mgmt_cdn/models/custom_domain_list_result.rb +0 -77
- data/lib/azure_mgmt_cdn/models/custom_domain_parameters.rb +0 -62
- data/lib/azure_mgmt_cdn/models/custom_domain_properties.rb +0 -85
- data/lib/azure_mgmt_cdn/models/custom_domain_properties_parameters.rb +0 -57
- data/lib/azure_mgmt_cdn/models/deep_created_origin.rb +0 -72
- data/lib/azure_mgmt_cdn/models/deep_created_origin_properties.rb +0 -79
- data/lib/azure_mgmt_cdn/models/endpoint.rb +0 -95
- data/lib/azure_mgmt_cdn/models/endpoint_create_parameters.rb +0 -82
- data/lib/azure_mgmt_cdn/models/endpoint_list_result.rb +0 -76
- data/lib/azure_mgmt_cdn/models/endpoint_properties.rb +0 -197
- data/lib/azure_mgmt_cdn/models/endpoint_properties_create_parameters.rb +0 -161
- data/lib/azure_mgmt_cdn/models/endpoint_properties_update_parameters.rb +0 -128
- data/lib/azure_mgmt_cdn/models/endpoint_update_parameters.rb +0 -72
- data/lib/azure_mgmt_cdn/models/error_response.rb +0 -65
- data/lib/azure_mgmt_cdn/models/load_parameters.rb +0 -58
- data/lib/azure_mgmt_cdn/models/operation.rb +0 -71
- data/lib/azure_mgmt_cdn/models/operation_display.rb +0 -75
- data/lib/azure_mgmt_cdn/models/operation_list_result.rb +0 -77
- data/lib/azure_mgmt_cdn/models/origin.rb +0 -83
- data/lib/azure_mgmt_cdn/models/origin_list_result.rb +0 -76
- data/lib/azure_mgmt_cdn/models/origin_parameters.rb +0 -62
- data/lib/azure_mgmt_cdn/models/origin_properties.rb +0 -107
- data/lib/azure_mgmt_cdn/models/origin_properties_parameters.rb +0 -79
- data/lib/azure_mgmt_cdn/models/profile.rb +0 -111
- data/lib/azure_mgmt_cdn/models/profile_create_parameters.rb +0 -83
- data/lib/azure_mgmt_cdn/models/profile_list_result.rb +0 -76
- data/lib/azure_mgmt_cdn/models/profile_properties.rb +0 -74
- data/lib/azure_mgmt_cdn/models/profile_update_parameters.rb +0 -57
- data/lib/azure_mgmt_cdn/models/purge_parameters.rb +0 -58
- data/lib/azure_mgmt_cdn/models/sku.rb +0 -61
- data/lib/azure_mgmt_cdn/models/sso_uri.rb +0 -56
- data/lib/azure_mgmt_cdn/models/tracked_resource.rb +0 -85
- data/lib/azure_mgmt_cdn/models/validate_custom_domain_input.rb +0 -57
- data/lib/azure_mgmt_cdn/models/validate_custom_domain_output.rb +0 -76
@@ -0,0 +1,173 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::CDN
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Endpoint properties required for new endpoint creation.
|
10
|
+
#
|
11
|
+
class EndpointCreateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Endpoint location
|
16
|
+
attr_accessor :location
|
17
|
+
|
18
|
+
# @return [Hash{String => String}] Endpoint tags
|
19
|
+
attr_accessor :tags
|
20
|
+
|
21
|
+
# @return [String] The host header CDN provider will send along with
|
22
|
+
# content requests to origins. The default value is the host name of
|
23
|
+
# the origin.
|
24
|
+
attr_accessor :origin_host_header
|
25
|
+
|
26
|
+
# @return [String] The path used for origin requests.
|
27
|
+
attr_accessor :origin_path
|
28
|
+
|
29
|
+
# @return [Array<String>] List of content types on which compression
|
30
|
+
# will be applied. The value for the elements should be a valid MIME
|
31
|
+
# type.
|
32
|
+
attr_accessor :content_types_to_compress
|
33
|
+
|
34
|
+
# @return [Boolean] Indicates whether content compression is enabled.
|
35
|
+
# Default value is false. If compression is enabled, the content
|
36
|
+
# transferred from the CDN endpoint to the end user will be compressed.
|
37
|
+
# The requested content must be larger than 1 byte and smaller than 1
|
38
|
+
# MB.
|
39
|
+
attr_accessor :is_compression_enabled
|
40
|
+
|
41
|
+
# @return [Boolean] Indicates whether HTTP traffic is allowed on the
|
42
|
+
# endpoint. Default value is true. At least one protocol (HTTP or
|
43
|
+
# HTTPS) must be allowed.
|
44
|
+
attr_accessor :is_http_allowed
|
45
|
+
|
46
|
+
# @return [Boolean] Indicates whether https traffic is allowed on the
|
47
|
+
# endpoint. Default value is true. At least one protocol (HTTP or
|
48
|
+
# HTTPS) must be allowed.
|
49
|
+
attr_accessor :is_https_allowed
|
50
|
+
|
51
|
+
# @return [QueryStringCachingBehavior] Defines the query string caching
|
52
|
+
# behavior. Possible values include: 'IgnoreQueryString',
|
53
|
+
# 'BypassCaching', 'UseQueryString', 'NotSet'
|
54
|
+
attr_accessor :query_string_caching_behavior
|
55
|
+
|
56
|
+
# @return [Array<DeepCreatedOrigin>] The set of origins for the CDN
|
57
|
+
# endpoint. When multiple origins exist, the first origin will be used
|
58
|
+
# as primary and rest will be used as failover options.
|
59
|
+
attr_accessor :origins
|
60
|
+
|
61
|
+
|
62
|
+
#
|
63
|
+
# Mapper for EndpointCreateParameters class as Ruby Hash.
|
64
|
+
# This will be used for serialization/deserialization.
|
65
|
+
#
|
66
|
+
def self.mapper()
|
67
|
+
{
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'EndpointCreateParameters',
|
70
|
+
type: {
|
71
|
+
name: 'Composite',
|
72
|
+
class_name: 'EndpointCreateParameters',
|
73
|
+
model_properties: {
|
74
|
+
location: {
|
75
|
+
required: true,
|
76
|
+
serialized_name: 'location',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
tags: {
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'tags',
|
84
|
+
type: {
|
85
|
+
name: 'Dictionary',
|
86
|
+
value: {
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'StringElementType',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
},
|
95
|
+
origin_host_header: {
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'properties.originHostHeader',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
origin_path: {
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'properties.originPath',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
},
|
109
|
+
content_types_to_compress: {
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'properties.contentTypesToCompress',
|
112
|
+
type: {
|
113
|
+
name: 'Sequence',
|
114
|
+
element: {
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'StringElementType',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
},
|
123
|
+
is_compression_enabled: {
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'properties.isCompressionEnabled',
|
126
|
+
type: {
|
127
|
+
name: 'Boolean'
|
128
|
+
}
|
129
|
+
},
|
130
|
+
is_http_allowed: {
|
131
|
+
required: false,
|
132
|
+
serialized_name: 'properties.isHttpAllowed',
|
133
|
+
type: {
|
134
|
+
name: 'Boolean'
|
135
|
+
}
|
136
|
+
},
|
137
|
+
is_https_allowed: {
|
138
|
+
required: false,
|
139
|
+
serialized_name: 'properties.isHttpsAllowed',
|
140
|
+
type: {
|
141
|
+
name: 'Boolean'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
query_string_caching_behavior: {
|
145
|
+
required: false,
|
146
|
+
serialized_name: 'properties.queryStringCachingBehavior',
|
147
|
+
type: {
|
148
|
+
name: 'Enum',
|
149
|
+
module: 'QueryStringCachingBehavior'
|
150
|
+
}
|
151
|
+
},
|
152
|
+
origins: {
|
153
|
+
required: true,
|
154
|
+
serialized_name: 'properties.origins',
|
155
|
+
type: {
|
156
|
+
name: 'Sequence',
|
157
|
+
element: {
|
158
|
+
required: false,
|
159
|
+
serialized_name: 'DeepCreatedOriginElementType',
|
160
|
+
type: {
|
161
|
+
name: 'Composite',
|
162
|
+
class_name: 'DeepCreatedOrigin'
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
end
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::CDN
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
class EndpointListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<Endpoint>] List of CDN endpoints within a profile
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for EndpointListResult class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
required: false,
|
26
|
+
serialized_name: 'EndpointListResult',
|
27
|
+
type: {
|
28
|
+
name: 'Composite',
|
29
|
+
class_name: 'EndpointListResult',
|
30
|
+
model_properties: {
|
31
|
+
value: {
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'value',
|
34
|
+
type: {
|
35
|
+
name: 'Sequence',
|
36
|
+
element: {
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'EndpointElementType',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'Endpoint'
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
File without changes
|
@@ -0,0 +1,143 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::CDN
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Endpoint properties required for new endpoint creation.
|
10
|
+
#
|
11
|
+
class EndpointUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] Endpoint tags
|
16
|
+
attr_accessor :tags
|
17
|
+
|
18
|
+
# @return [String] The host header the CDN provider will send along with
|
19
|
+
# content requests to origins. The default value is the host name of
|
20
|
+
# the origin.
|
21
|
+
attr_accessor :origin_host_header
|
22
|
+
|
23
|
+
# @return [String] The path used for origin requests.
|
24
|
+
attr_accessor :origin_path
|
25
|
+
|
26
|
+
# @return [Array<String>] List of content types on which compression
|
27
|
+
# will be applied. The value for the elements should be a valid MIME
|
28
|
+
# type.
|
29
|
+
attr_accessor :content_types_to_compress
|
30
|
+
|
31
|
+
# @return [Boolean] Indicates whether content compression is enabled.
|
32
|
+
# Default value is false. If compression is enabled, the content
|
33
|
+
# transferred from the CDN endpoint to the end user will be compressed.
|
34
|
+
# The requested content must be larger than 1 byte and smaller than 1
|
35
|
+
# MB.
|
36
|
+
attr_accessor :is_compression_enabled
|
37
|
+
|
38
|
+
# @return [Boolean] Indicates whether HTTP traffic is allowed on the
|
39
|
+
# endpoint. Default value is true. At least one protocol (HTTP or
|
40
|
+
# HTTPS) must be allowed.
|
41
|
+
attr_accessor :is_http_allowed
|
42
|
+
|
43
|
+
# @return [Boolean] Indicates whether HTTPS traffic is allowed on the
|
44
|
+
# endpoint. Default value is true. At least one protocol (HTTP or
|
45
|
+
# HTTPS) must be allowed.
|
46
|
+
attr_accessor :is_https_allowed
|
47
|
+
|
48
|
+
# @return [QueryStringCachingBehavior] Defines the query string caching
|
49
|
+
# behavior. Possible values include: 'IgnoreQueryString',
|
50
|
+
# 'BypassCaching', 'UseQueryString', 'NotSet'
|
51
|
+
attr_accessor :query_string_caching_behavior
|
52
|
+
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for EndpointUpdateParameters class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'EndpointUpdateParameters',
|
62
|
+
type: {
|
63
|
+
name: 'Composite',
|
64
|
+
class_name: 'EndpointUpdateParameters',
|
65
|
+
model_properties: {
|
66
|
+
tags: {
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'tags',
|
69
|
+
type: {
|
70
|
+
name: 'Dictionary',
|
71
|
+
value: {
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'StringElementType',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
},
|
80
|
+
origin_host_header: {
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'properties.originHostHeader',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
origin_path: {
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'properties.originPath',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
content_types_to_compress: {
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'properties.contentTypesToCompress',
|
97
|
+
type: {
|
98
|
+
name: 'Sequence',
|
99
|
+
element: {
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'StringElementType',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
},
|
108
|
+
is_compression_enabled: {
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'properties.isCompressionEnabled',
|
111
|
+
type: {
|
112
|
+
name: 'Boolean'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
is_http_allowed: {
|
116
|
+
required: false,
|
117
|
+
serialized_name: 'properties.isHttpAllowed',
|
118
|
+
type: {
|
119
|
+
name: 'Boolean'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
is_https_allowed: {
|
123
|
+
required: false,
|
124
|
+
serialized_name: 'properties.isHttpsAllowed',
|
125
|
+
type: {
|
126
|
+
name: 'Boolean'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
query_string_caching_behavior: {
|
130
|
+
required: false,
|
131
|
+
serialized_name: 'properties.queryStringCachingBehavior',
|
132
|
+
type: {
|
133
|
+
name: 'Enum',
|
134
|
+
module: 'QueryStringCachingBehavior'
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::CDN
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
class ErrorResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Error code
|
16
|
+
attr_accessor :code
|
17
|
+
|
18
|
+
# @return [String] Error message indicating why the operation failed.
|
19
|
+
attr_accessor :message
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for ErrorResponse class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'ErrorResponse',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'ErrorResponse',
|
33
|
+
model_properties: {
|
34
|
+
code: {
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'code',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
message: {
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'message',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::CDN
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Parameters required for endpoint load.
|
10
|
+
#
|
11
|
+
class LoadParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<String>] The path to the content to be loaded. Should
|
16
|
+
# describe a file path.
|
17
|
+
attr_accessor :content_paths
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for LoadParameters class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'LoadParameters',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'LoadParameters',
|
31
|
+
model_properties: {
|
32
|
+
content_paths: {
|
33
|
+
required: true,
|
34
|
+
serialized_name: 'contentPaths',
|
35
|
+
type: {
|
36
|
+
name: 'Sequence',
|
37
|
+
element: {
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'StringElementType',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|