azure_mgmt_cdn 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_cdn/cdn_management_client.rb +42 -426
- data/lib/generated/azure_mgmt_cdn/custom_domains.rb +2 -2
- data/lib/generated/azure_mgmt_cdn/edge_nodes.rb +14 -7
- data/lib/generated/azure_mgmt_cdn/models/check_name_availability_output.rb +3 -0
- data/lib/generated/azure_mgmt_cdn/models/custom_domain.rb +22 -2
- data/lib/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +1 -0
- data/lib/generated/azure_mgmt_cdn/models/custom_https_provisioning_substate.rb +24 -0
- data/lib/generated/azure_mgmt_cdn/models/deep_created_origin.rb +3 -2
- data/lib/generated/azure_mgmt_cdn/models/edge_node.rb +2 -1
- data/lib/generated/azure_mgmt_cdn/models/edgenode_result.rb +1 -0
- data/lib/generated/azure_mgmt_cdn/models/endpoint.rb +27 -8
- data/lib/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +28 -9
- data/lib/generated/azure_mgmt_cdn/models/error_response.rb +2 -0
- data/lib/generated/azure_mgmt_cdn/models/geo_filter.rb +1 -1
- data/lib/generated/azure_mgmt_cdn/models/operation.rb +1 -0
- data/lib/generated/azure_mgmt_cdn/models/operation_display.rb +3 -0
- data/lib/generated/azure_mgmt_cdn/models/{operation_list_result.rb → operations_list_result.rb} +6 -5
- data/lib/generated/azure_mgmt_cdn/models/optimization_type.rb +19 -0
- data/lib/generated/azure_mgmt_cdn/models/origin_list_result.rb +1 -0
- data/lib/generated/azure_mgmt_cdn/models/profile.rb +2 -4
- data/lib/generated/azure_mgmt_cdn/models/profile_list_result.rb +1 -0
- data/lib/generated/azure_mgmt_cdn/models/resource_usage.rb +7 -3
- data/lib/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +1 -0
- data/lib/generated/azure_mgmt_cdn/models/sso_uri.rb +3 -1
- data/lib/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb +54 -0
- data/lib/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb +4 -2
- data/lib/generated/azure_mgmt_cdn/models/validate_probe_input.rb +45 -0
- data/lib/generated/azure_mgmt_cdn/models/validate_probe_output.rb +70 -0
- data/lib/generated/azure_mgmt_cdn/operations.rb +215 -0
- data/lib/generated/azure_mgmt_cdn/profiles.rb +100 -0
- data/lib/generated/azure_mgmt_cdn/resource_usage_operations.rb +224 -0
- data/lib/generated/azure_mgmt_cdn/version.rb +1 -1
- data/lib/generated/azure_mgmt_cdn.rb +22 -15
- metadata +12 -5
@@ -6,7 +6,8 @@
|
|
6
6
|
module Azure::ARM::CDN
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Friendly domain name mapping to the endpoint hostname that the customer
|
10
|
+
# provides for branding purposes, e.g. www.consoto.com.
|
10
11
|
#
|
11
12
|
class CustomDomain < MsRestAzure::Resource
|
12
13
|
|
@@ -21,11 +22,22 @@ module Azure::ARM::CDN
|
|
21
22
|
# domain. Possible values include: 'Creating', 'Active', 'Deleting'
|
22
23
|
attr_accessor :resource_state
|
23
24
|
|
24
|
-
# @return [CustomHttpsProvisioningState] Provisioning
|
25
|
+
# @return [CustomHttpsProvisioningState] Provisioning status of Custom
|
25
26
|
# Https of the custom domain. Possible values include: 'Enabling',
|
26
27
|
# 'Enabled', 'Disabling', 'Disabled', 'Failed'
|
27
28
|
attr_accessor :custom_https_provisioning_state
|
28
29
|
|
30
|
+
# @return [CustomHttpsProvisioningSubstate] Provisioning substate shows
|
31
|
+
# the progress of custom HTTPS enabling/disabling process step by step.
|
32
|
+
# Possible values include: 'SubmittingDomainControlValidationRequest',
|
33
|
+
# 'PendingDomainControlValidationREquestApproval',
|
34
|
+
# 'DomainControlValidationRequestApproved',
|
35
|
+
# 'DomainControlValidationRequestRejected',
|
36
|
+
# 'DomainControlValidationRequestTimedOut', 'IssuingCertificate',
|
37
|
+
# 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate',
|
38
|
+
# 'CertificateDeleted'
|
39
|
+
attr_accessor :custom_https_provisioning_substate
|
40
|
+
|
29
41
|
# @return [String] Special validation or data may be required when
|
30
42
|
# delivering CDN to some regions due to local compliance reasons. E.g.
|
31
43
|
# ICP license number of a custom domain is required to deliver content in
|
@@ -116,6 +128,14 @@ module Azure::ARM::CDN
|
|
116
128
|
name: 'String'
|
117
129
|
}
|
118
130
|
},
|
131
|
+
custom_https_provisioning_substate: {
|
132
|
+
required: false,
|
133
|
+
read_only: true,
|
134
|
+
serialized_name: 'properties.customHttpsProvisioningSubstate',
|
135
|
+
type: {
|
136
|
+
name: 'String'
|
137
|
+
}
|
138
|
+
},
|
119
139
|
validation_data: {
|
120
140
|
required: false,
|
121
141
|
serialized_name: 'properties.validationData',
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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
|
+
# Defines values for CustomHttpsProvisioningSubstate
|
10
|
+
#
|
11
|
+
module CustomHttpsProvisioningSubstate
|
12
|
+
SubmittingDomainControlValidationRequest = "SubmittingDomainControlValidationRequest"
|
13
|
+
PendingDomainControlValidationREquestApproval = "PendingDomainControlValidationREquestApproval"
|
14
|
+
DomainControlValidationRequestApproved = "DomainControlValidationRequestApproved"
|
15
|
+
DomainControlValidationRequestRejected = "DomainControlValidationRequestRejected"
|
16
|
+
DomainControlValidationRequestTimedOut = "DomainControlValidationRequestTimedOut"
|
17
|
+
IssuingCertificate = "IssuingCertificate"
|
18
|
+
DeployingCertificate = "DeployingCertificate"
|
19
|
+
CertificateDeployed = "CertificateDeployed"
|
20
|
+
DeletingCertificate = "DeletingCertificate"
|
21
|
+
CertificateDeleted = "CertificateDeleted"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -6,7 +6,8 @@
|
|
6
6
|
module Azure::ARM::CDN
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# The main origin of CDN content which is added when creating a CDN
|
10
|
+
# endpoint.
|
10
11
|
#
|
11
12
|
class DeepCreatedOrigin
|
12
13
|
|
@@ -16,7 +17,7 @@ module Azure::ARM::CDN
|
|
16
17
|
# @return [String] Origin name
|
17
18
|
attr_accessor :name
|
18
19
|
|
19
|
-
# @return [String] The address of the origin. It can be a domain
|
20
|
+
# @return [String] The address of the origin. It can be a domain name,
|
20
21
|
# IPv4 address, or IPv6 address.
|
21
22
|
attr_accessor :host_name
|
22
23
|
|
@@ -20,7 +20,8 @@ module Azure::ARM::CDN
|
|
20
20
|
# to origin. The default value is the host name of the origin.
|
21
21
|
attr_accessor :origin_host_header
|
22
22
|
|
23
|
-
# @return [String]
|
23
|
+
# @return [String] A directory path on the origin that CDN can use to
|
24
|
+
# retreive content from, e.g. contoso.cloudapp.net/originpath.
|
24
25
|
attr_accessor :origin_path
|
25
26
|
|
26
27
|
# @return [Array<String>] List of content types on which compression
|
@@ -44,17 +45,28 @@ module Azure::ARM::CDN
|
|
44
45
|
# must be allowed.
|
45
46
|
attr_accessor :is_https_allowed
|
46
47
|
|
47
|
-
# @return [QueryStringCachingBehavior] Defines
|
48
|
-
#
|
49
|
-
#
|
48
|
+
# @return [QueryStringCachingBehavior] Defines how CDN caches requests
|
49
|
+
# that include query strings. You can ignore any query strings when
|
50
|
+
# caching, bypass caching to prevent requests that contain query strings
|
51
|
+
# from being cached, or cache every request with a unique URL. Possible
|
52
|
+
# values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString',
|
53
|
+
# 'NotSet'
|
50
54
|
attr_accessor :query_string_caching_behavior
|
51
55
|
|
52
|
-
# @return [
|
53
|
-
# endpoint to optimize, e.g. Download, Media services. With
|
54
|
-
# information
|
56
|
+
# @return [OptimizationType] Specifies what scenario the customer wants
|
57
|
+
# this CDN endpoint to optimize for, e.g. Download, Media services. With
|
58
|
+
# this information, CDN can apply scenario driven optimization. Possible
|
59
|
+
# values include: 'GeneralWebDelivery', 'GeneralMediaStreaming',
|
60
|
+
# 'VideoOnDemandMediaStreaming', 'LargeFileDownload',
|
61
|
+
# 'DynamicSiteAcceleration'
|
55
62
|
attr_accessor :optimization_type
|
56
63
|
|
57
|
-
# @return [
|
64
|
+
# @return [String] Path to a file hosted on the origin which helps
|
65
|
+
# accelerate delivery of the dynamic content and calculate the most
|
66
|
+
# optimal routes for the CDN. This is relative to the origin path.
|
67
|
+
attr_accessor :probe_path
|
68
|
+
|
69
|
+
# @return [Array<GeoFilter>] List of rules defining the user's geo access
|
58
70
|
# within a CDN endpoint. Each geo filter defines an acess rule to a
|
59
71
|
# specified path or content, e.g. block APAC for path /pictures/
|
60
72
|
attr_accessor :geo_filters
|
@@ -197,6 +209,13 @@ module Azure::ARM::CDN
|
|
197
209
|
name: 'String'
|
198
210
|
}
|
199
211
|
},
|
212
|
+
probe_path: {
|
213
|
+
required: false,
|
214
|
+
serialized_name: 'properties.probePath',
|
215
|
+
type: {
|
216
|
+
name: 'String'
|
217
|
+
}
|
218
|
+
},
|
200
219
|
geo_filters: {
|
201
220
|
required: false,
|
202
221
|
serialized_name: 'properties.geoFilters',
|
@@ -18,7 +18,7 @@ module Azure::ARM::CDN
|
|
18
18
|
attr_accessor :value
|
19
19
|
|
20
20
|
# @return [String] URL to get the next set of endpoint objects if there
|
21
|
-
#
|
21
|
+
# is any.
|
22
22
|
attr_accessor :next_link
|
23
23
|
|
24
24
|
# return [Proc] with next page method call.
|
@@ -67,6 +67,7 @@ module Azure::ARM::CDN
|
|
67
67
|
model_properties: {
|
68
68
|
value: {
|
69
69
|
required: false,
|
70
|
+
read_only: true,
|
70
71
|
serialized_name: 'value',
|
71
72
|
type: {
|
72
73
|
name: 'Sequence',
|
@@ -6,7 +6,7 @@
|
|
6
6
|
module Azure::ARM::CDN
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Properties required to create
|
9
|
+
# Properties required to create or update an endpoint.
|
10
10
|
#
|
11
11
|
class EndpointUpdateParameters
|
12
12
|
|
@@ -20,7 +20,8 @@ module Azure::ARM::CDN
|
|
20
20
|
# to origin. The default value is the host name of the origin.
|
21
21
|
attr_accessor :origin_host_header
|
22
22
|
|
23
|
-
# @return [String]
|
23
|
+
# @return [String] A directory path on the origin that CDN can use to
|
24
|
+
# retreive content from, e.g. contoso.cloudapp.net/originpath.
|
24
25
|
attr_accessor :origin_path
|
25
26
|
|
26
27
|
# @return [Array<String>] List of content types on which compression
|
@@ -44,17 +45,28 @@ module Azure::ARM::CDN
|
|
44
45
|
# must be allowed.
|
45
46
|
attr_accessor :is_https_allowed
|
46
47
|
|
47
|
-
# @return [QueryStringCachingBehavior] Defines
|
48
|
-
#
|
49
|
-
#
|
48
|
+
# @return [QueryStringCachingBehavior] Defines how CDN caches requests
|
49
|
+
# that include query strings. You can ignore any query strings when
|
50
|
+
# caching, bypass caching to prevent requests that contain query strings
|
51
|
+
# from being cached, or cache every request with a unique URL. Possible
|
52
|
+
# values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString',
|
53
|
+
# 'NotSet'
|
50
54
|
attr_accessor :query_string_caching_behavior
|
51
55
|
|
52
|
-
# @return [
|
53
|
-
# endpoint to optimize, e.g. Download, Media services. With
|
54
|
-
# information
|
56
|
+
# @return [OptimizationType] Specifies what scenario the customer wants
|
57
|
+
# this CDN endpoint to optimize for, e.g. Download, Media services. With
|
58
|
+
# this information, CDN can apply scenario driven optimization. Possible
|
59
|
+
# values include: 'GeneralWebDelivery', 'GeneralMediaStreaming',
|
60
|
+
# 'VideoOnDemandMediaStreaming', 'LargeFileDownload',
|
61
|
+
# 'DynamicSiteAcceleration'
|
55
62
|
attr_accessor :optimization_type
|
56
63
|
|
57
|
-
# @return [
|
64
|
+
# @return [String] Path to a file hosted on the origin which helps
|
65
|
+
# accelerate delivery of the dynamic content and calculate the most
|
66
|
+
# optimal routes for the CDN. This is relative to the origin path.
|
67
|
+
attr_accessor :probe_path
|
68
|
+
|
69
|
+
# @return [Array<GeoFilter>] List of rules defining the user's geo access
|
58
70
|
# within a CDN endpoint. Each geo filter defines an acess rule to a
|
59
71
|
# specified path or content, e.g. block APAC for path /pictures/
|
60
72
|
attr_accessor :geo_filters
|
@@ -150,6 +162,13 @@ module Azure::ARM::CDN
|
|
150
162
|
name: 'String'
|
151
163
|
}
|
152
164
|
},
|
165
|
+
probe_path: {
|
166
|
+
required: false,
|
167
|
+
serialized_name: 'properties.probePath',
|
168
|
+
type: {
|
169
|
+
name: 'String'
|
170
|
+
}
|
171
|
+
},
|
153
172
|
geo_filters: {
|
154
173
|
required: false,
|
155
174
|
serialized_name: 'properties.geoFilters',
|
@@ -35,6 +35,7 @@ module Azure::ARM::CDN
|
|
35
35
|
model_properties: {
|
36
36
|
code: {
|
37
37
|
required: false,
|
38
|
+
read_only: true,
|
38
39
|
serialized_name: 'code',
|
39
40
|
type: {
|
40
41
|
name: 'String'
|
@@ -42,6 +43,7 @@ module Azure::ARM::CDN
|
|
42
43
|
},
|
43
44
|
message: {
|
44
45
|
required: false,
|
46
|
+
read_only: true,
|
45
47
|
serialized_name: 'message',
|
46
48
|
type: {
|
47
49
|
name: 'String'
|
@@ -38,6 +38,7 @@ module Azure::ARM::CDN
|
|
38
38
|
model_properties: {
|
39
39
|
provider: {
|
40
40
|
required: false,
|
41
|
+
read_only: true,
|
41
42
|
serialized_name: 'provider',
|
42
43
|
type: {
|
43
44
|
name: 'String'
|
@@ -45,6 +46,7 @@ module Azure::ARM::CDN
|
|
45
46
|
},
|
46
47
|
resource: {
|
47
48
|
required: false,
|
49
|
+
read_only: true,
|
48
50
|
serialized_name: 'resource',
|
49
51
|
type: {
|
50
52
|
name: 'String'
|
@@ -52,6 +54,7 @@ module Azure::ARM::CDN
|
|
52
54
|
},
|
53
55
|
operation: {
|
54
56
|
required: false,
|
57
|
+
read_only: true,
|
55
58
|
serialized_name: 'operation',
|
56
59
|
type: {
|
57
60
|
name: 'String'
|
data/lib/generated/azure_mgmt_cdn/models/{operation_list_result.rb → operations_list_result.rb}
RENAMED
@@ -9,7 +9,7 @@ module Azure::ARM::CDN
|
|
9
9
|
# Result of the request to list CDN operations. It contains a list of
|
10
10
|
# operations and a URL link to get the next set of results.
|
11
11
|
#
|
12
|
-
class
|
12
|
+
class OperationsListResult
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
@@ -43,7 +43,7 @@ module Azure::ARM::CDN
|
|
43
43
|
#
|
44
44
|
# Gets the next page of results.
|
45
45
|
#
|
46
|
-
# @return [
|
46
|
+
# @return [OperationsListResult] with next page content.
|
47
47
|
#
|
48
48
|
def get_next_page
|
49
49
|
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
@@ -55,19 +55,20 @@ module Azure::ARM::CDN
|
|
55
55
|
end
|
56
56
|
|
57
57
|
#
|
58
|
-
# Mapper for
|
58
|
+
# Mapper for OperationsListResult class as Ruby Hash.
|
59
59
|
# This will be used for serialization/deserialization.
|
60
60
|
#
|
61
61
|
def self.mapper()
|
62
62
|
{
|
63
63
|
required: false,
|
64
|
-
serialized_name: '
|
64
|
+
serialized_name: 'OperationsListResult',
|
65
65
|
type: {
|
66
66
|
name: 'Composite',
|
67
|
-
class_name: '
|
67
|
+
class_name: 'OperationsListResult',
|
68
68
|
model_properties: {
|
69
69
|
value: {
|
70
70
|
required: false,
|
71
|
+
read_only: true,
|
71
72
|
serialized_name: 'value',
|
72
73
|
type: {
|
73
74
|
name: 'Sequence',
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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
|
+
# Defines values for OptimizationType
|
10
|
+
#
|
11
|
+
module OptimizationType
|
12
|
+
GeneralWebDelivery = "GeneralWebDelivery"
|
13
|
+
GeneralMediaStreaming = "GeneralMediaStreaming"
|
14
|
+
VideoOnDemandMediaStreaming = "VideoOnDemandMediaStreaming"
|
15
|
+
LargeFileDownload = "LargeFileDownload"
|
16
|
+
DynamicSiteAcceleration = "DynamicSiteAcceleration"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -6,10 +6,8 @@
|
|
6
6
|
module Azure::ARM::CDN
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# CDN profile
|
10
|
-
#
|
11
|
-
# in addition to creating shared configuration settings and selecting
|
12
|
-
# pricing tiers and providers.
|
9
|
+
# CDN profile is a logical grouping of endpoints that share the same
|
10
|
+
# settings, such as CDN provider and pricing tier.
|
13
11
|
#
|
14
12
|
class Profile < MsRestAzure::Resource
|
15
13
|
|
@@ -13,16 +13,16 @@ module Azure::ARM::CDN
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
include MsRest::JSONable
|
16
|
-
# @return [String] Resource type
|
16
|
+
# @return [String] Resource type for which the usage is provided.
|
17
17
|
attr_accessor :resource_type
|
18
18
|
|
19
19
|
# @return [String] Unit of the usage. e.g. Count.
|
20
20
|
attr_accessor :unit
|
21
21
|
|
22
|
-
# @return [Integer] Actual value of the resource type.
|
22
|
+
# @return [Integer] Actual value of usage on the specified resource type.
|
23
23
|
attr_accessor :current_value
|
24
24
|
|
25
|
-
# @return [Integer] Quota of the resource type.
|
25
|
+
# @return [Integer] Quota of the specified resource type.
|
26
26
|
attr_accessor :limit
|
27
27
|
|
28
28
|
|
@@ -40,6 +40,7 @@ module Azure::ARM::CDN
|
|
40
40
|
model_properties: {
|
41
41
|
resource_type: {
|
42
42
|
required: false,
|
43
|
+
read_only: true,
|
43
44
|
serialized_name: 'resourceType',
|
44
45
|
type: {
|
45
46
|
name: 'String'
|
@@ -47,6 +48,7 @@ module Azure::ARM::CDN
|
|
47
48
|
},
|
48
49
|
unit: {
|
49
50
|
required: false,
|
51
|
+
read_only: true,
|
50
52
|
serialized_name: 'unit',
|
51
53
|
type: {
|
52
54
|
name: 'String'
|
@@ -54,6 +56,7 @@ module Azure::ARM::CDN
|
|
54
56
|
},
|
55
57
|
current_value: {
|
56
58
|
required: false,
|
59
|
+
read_only: true,
|
57
60
|
serialized_name: 'currentValue',
|
58
61
|
type: {
|
59
62
|
name: 'Number'
|
@@ -61,6 +64,7 @@ module Azure::ARM::CDN
|
|
61
64
|
},
|
62
65
|
limit: {
|
63
66
|
required: false,
|
67
|
+
read_only: true,
|
64
68
|
serialized_name: 'limit',
|
65
69
|
type: {
|
66
70
|
name: 'Number'
|
@@ -6,7 +6,8 @@
|
|
6
6
|
module Azure::ARM::CDN
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# The URI required to login to the supplemental portal from the Azure
|
10
|
+
# portal.
|
10
11
|
#
|
11
12
|
class SsoUri
|
12
13
|
|
@@ -31,6 +32,7 @@ module Azure::ARM::CDN
|
|
31
32
|
model_properties: {
|
32
33
|
sso_uri_value: {
|
33
34
|
required: false,
|
35
|
+
read_only: true,
|
34
36
|
serialized_name: 'ssoUriValue',
|
35
37
|
type: {
|
36
38
|
name: 'String'
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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
|
+
# The result of the GetSupportedOptimizationTypes API
|
10
|
+
#
|
11
|
+
class SupportedOptimizationTypesListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<OptimizationType>] Supported optimization types for a
|
17
|
+
# profile.
|
18
|
+
attr_accessor :supported_optimization_types
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for SupportedOptimizationTypesListResult class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'SupportedOptimizationTypesListResult',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'SupportedOptimizationTypesListResult',
|
32
|
+
model_properties: {
|
33
|
+
supported_optimization_types: {
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'supportedOptimizationTypes',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'OptimizationTypeElementType',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -13,8 +13,7 @@ module Azure::ARM::CDN
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
15
|
include MsRest::JSONable
|
16
|
-
# @return [Boolean] Indicates whether the custom domain is
|
17
|
-
# not.
|
16
|
+
# @return [Boolean] Indicates whether the custom domain is valid or not.
|
18
17
|
attr_accessor :custom_domain_validated
|
19
18
|
|
20
19
|
# @return [String] The reason why the custom domain is not valid.
|
@@ -39,6 +38,7 @@ module Azure::ARM::CDN
|
|
39
38
|
model_properties: {
|
40
39
|
custom_domain_validated: {
|
41
40
|
required: false,
|
41
|
+
read_only: true,
|
42
42
|
serialized_name: 'customDomainValidated',
|
43
43
|
type: {
|
44
44
|
name: 'Boolean'
|
@@ -46,6 +46,7 @@ module Azure::ARM::CDN
|
|
46
46
|
},
|
47
47
|
reason: {
|
48
48
|
required: false,
|
49
|
+
read_only: true,
|
49
50
|
serialized_name: 'reason',
|
50
51
|
type: {
|
51
52
|
name: 'String'
|
@@ -53,6 +54,7 @@ module Azure::ARM::CDN
|
|
53
54
|
},
|
54
55
|
message: {
|
55
56
|
required: false,
|
57
|
+
read_only: true,
|
56
58
|
serialized_name: 'message',
|
57
59
|
type: {
|
58
60
|
name: 'String'
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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
|
+
# Input of the validate probe API.
|
10
|
+
#
|
11
|
+
class ValidateProbeInput
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The probe URL to validate.
|
17
|
+
attr_accessor :probe_url
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ValidateProbeInput class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ValidateProbeInput',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ValidateProbeInput',
|
31
|
+
model_properties: {
|
32
|
+
probe_url: {
|
33
|
+
required: true,
|
34
|
+
serialized_name: 'probeURL',
|
35
|
+
type: {
|
36
|
+
name: 'String'
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|