azure_mgmt_cdn 0.16.0 → 0.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2015-06-01/generated/azure_mgmt_cdn/cdn_management_client.rb +7 -6
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/resource.rb +9 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/profiles.rb +3 -3
- data/lib/2016-04-02/generated/azure_mgmt_cdn/cdn_management_client.rb +7 -6
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/resource.rb +9 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/profiles.rb +3 -3
- data/lib/2016-10-02/generated/azure_mgmt_cdn/cdn_management_client.rb +7 -6
- data/lib/2016-10-02/generated/azure_mgmt_cdn/custom_domains.rb +3 -3
- data/lib/2016-10-02/generated/azure_mgmt_cdn/endpoints.rb +5 -5
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/edgenode_result.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint.rb +2 -2
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +2 -2
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/error_response.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/operation_list_result.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/origin_list_result.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/profile_list_result.rb +2 -2
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/resource.rb +9 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/profiles.rb +3 -3
- data/lib/2017-04-02/generated/azure_mgmt_cdn/cdn_management_client.rb +7 -6
- data/lib/2017-04-02/generated/azure_mgmt_cdn/custom_domains.rb +3 -3
- data/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb +5 -5
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/edgenode_result.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint.rb +3 -3
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +2 -2
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +2 -2
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/error_response.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/operations_list_result.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/origin_list_result.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/profile_list_result.rb +2 -2
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/resource.rb +9 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/profiles.rb +3 -3
- data/lib/2017-10-12/generated/azure_mgmt_cdn.rb +23 -16
- data/lib/2017-10-12/generated/azure_mgmt_cdn/cdn_management_client.rb +108 -6
- data/lib/2017-10-12/generated/azure_mgmt_cdn/custom_domains.rb +27 -8
- data/lib/2017-10-12/generated/azure_mgmt_cdn/endpoints.rb +5 -5
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/cache_expiration_action_parameters.rb +2 -2
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/cdn_certificate_source_parameters.rb +62 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/cdn_managed_https_parameters.rb +73 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/certificate_type.rb +16 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_https_parameters.rb +60 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/edgenode_result.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint.rb +3 -3
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +2 -2
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +2 -2
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/error_response.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/key_vault_certificate_source_parameters.rb +137 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/operations_list_result.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/origin_list_result.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/profile_list_result.rb +2 -2
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/protocol_type.rb +16 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/resource.rb +9 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/sku.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/sku_name.rb +1 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/user_managed_https_parameters.rb +73 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/profiles.rb +3 -3
- data/lib/azure_mgmt_cdn.rb +3 -3
- data/lib/profiles/latest/modules/cdn_profile_module.rb +81 -53
- data/lib/version.rb +1 -1
- metadata +12 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c725f2f989d108175c84f291898d8b6368d1f7ae69de4444acaf9009dfd0aa90
|
4
|
+
data.tar.gz: 20c549d1016bacd6a36409cdbabc500f19abd9519b8f609bffb999d2b5f75506
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 951c2c7ca4859147a289bee29d0b69f9341533f9567d584b0817f380a92a2fa3f3f478a02b21e52025f22eb16893c7c2270044d86e973fa629ddf32b5dd43839
|
7
|
+
data.tar.gz: fb2f8b6d0973aa633c0c6782b1d99bbd910269dd3cb97ee5c40591f3bd595d6aa4396bd8c3866131a36a6ea68c55455a1769e1722d88dfbec06c5651169bffbe
|
@@ -24,15 +24,16 @@ module Azure::CDN::Mgmt::V2015_06_01
|
|
24
24
|
# Current version is 2015-06-01
|
25
25
|
attr_reader :api_version
|
26
26
|
|
27
|
-
# @return [String]
|
27
|
+
# @return [String] The preferred language for the response.
|
28
28
|
attr_accessor :accept_language
|
29
29
|
|
30
|
-
# @return [Integer]
|
31
|
-
#
|
30
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
31
|
+
# Operations. Default value is 30.
|
32
32
|
attr_accessor :long_running_operation_retry_timeout
|
33
33
|
|
34
|
-
# @return [Boolean]
|
35
|
-
#
|
34
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
35
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
36
|
+
# generated and included in each request. Default is true.
|
36
37
|
attr_accessor :generate_client_request_id
|
37
38
|
|
38
39
|
# @return [Profiles] profiles
|
@@ -144,7 +145,7 @@ module Azure::CDN::Mgmt::V2015_06_01
|
|
144
145
|
#
|
145
146
|
def add_telemetry
|
146
147
|
sdk_information = 'azure_mgmt_cdn'
|
147
|
-
sdk_information = "#{sdk_information}/0.
|
148
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
148
149
|
add_user_agent_information(sdk_information)
|
149
150
|
end
|
150
151
|
end
|
@@ -23,6 +23,15 @@ module Azure::CDN::Mgmt::V2015_06_01
|
|
23
23
|
attr_accessor :type
|
24
24
|
|
25
25
|
|
26
|
+
# @return [String] the name of the resource group of the resource.
|
27
|
+
def resource_group
|
28
|
+
unless self.id.nil?
|
29
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
30
|
+
groups.captures[0].strip if groups
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
|
26
35
|
#
|
27
36
|
# Mapper for Resource class as Ruby Hash.
|
28
37
|
# This will be used for serialization/deserialization.
|
@@ -25,7 +25,7 @@ module Azure::CDN::Mgmt::V2015_06_01
|
|
25
25
|
attr_reader :client
|
26
26
|
|
27
27
|
#
|
28
|
-
# Lists the CDN profiles within an Azure
|
28
|
+
# Lists the CDN profiles within an Azure subscription.
|
29
29
|
#
|
30
30
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
31
31
|
# will be added to the HTTP request.
|
@@ -38,7 +38,7 @@ module Azure::CDN::Mgmt::V2015_06_01
|
|
38
38
|
end
|
39
39
|
|
40
40
|
#
|
41
|
-
# Lists the CDN profiles within an Azure
|
41
|
+
# Lists the CDN profiles within an Azure subscription.
|
42
42
|
#
|
43
43
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
44
44
|
# will be added to the HTTP request.
|
@@ -50,7 +50,7 @@ module Azure::CDN::Mgmt::V2015_06_01
|
|
50
50
|
end
|
51
51
|
|
52
52
|
#
|
53
|
-
# Lists the CDN profiles within an Azure
|
53
|
+
# Lists the CDN profiles within an Azure subscription.
|
54
54
|
#
|
55
55
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
56
56
|
# to the HTTP request.
|
@@ -24,15 +24,16 @@ module Azure::CDN::Mgmt::V2016_04_02
|
|
24
24
|
# Current version is 2016-04-02
|
25
25
|
attr_reader :api_version
|
26
26
|
|
27
|
-
# @return [String]
|
27
|
+
# @return [String] The preferred language for the response.
|
28
28
|
attr_accessor :accept_language
|
29
29
|
|
30
|
-
# @return [Integer]
|
31
|
-
#
|
30
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
31
|
+
# Operations. Default value is 30.
|
32
32
|
attr_accessor :long_running_operation_retry_timeout
|
33
33
|
|
34
|
-
# @return [Boolean]
|
35
|
-
#
|
34
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
35
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
36
|
+
# generated and included in each request. Default is true.
|
36
37
|
attr_accessor :generate_client_request_id
|
37
38
|
|
38
39
|
# @return [Profiles] profiles
|
@@ -144,7 +145,7 @@ module Azure::CDN::Mgmt::V2016_04_02
|
|
144
145
|
#
|
145
146
|
def add_telemetry
|
146
147
|
sdk_information = 'azure_mgmt_cdn'
|
147
|
-
sdk_information = "#{sdk_information}/0.
|
148
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
148
149
|
add_user_agent_information(sdk_information)
|
149
150
|
end
|
150
151
|
end
|
@@ -23,6 +23,15 @@ module Azure::CDN::Mgmt::V2016_04_02
|
|
23
23
|
attr_accessor :type
|
24
24
|
|
25
25
|
|
26
|
+
# @return [String] the name of the resource group of the resource.
|
27
|
+
def resource_group
|
28
|
+
unless self.id.nil?
|
29
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
30
|
+
groups.captures[0].strip if groups
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
|
26
35
|
#
|
27
36
|
# Mapper for Resource class as Ruby Hash.
|
28
37
|
# This will be used for serialization/deserialization.
|
@@ -25,7 +25,7 @@ module Azure::CDN::Mgmt::V2016_04_02
|
|
25
25
|
attr_reader :client
|
26
26
|
|
27
27
|
#
|
28
|
-
# Lists the CDN profiles within an Azure
|
28
|
+
# Lists the CDN profiles within an Azure subscription.
|
29
29
|
#
|
30
30
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
31
31
|
# will be added to the HTTP request.
|
@@ -38,7 +38,7 @@ module Azure::CDN::Mgmt::V2016_04_02
|
|
38
38
|
end
|
39
39
|
|
40
40
|
#
|
41
|
-
# Lists the CDN profiles within an Azure
|
41
|
+
# Lists the CDN profiles within an Azure subscription.
|
42
42
|
#
|
43
43
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
44
44
|
# will be added to the HTTP request.
|
@@ -50,7 +50,7 @@ module Azure::CDN::Mgmt::V2016_04_02
|
|
50
50
|
end
|
51
51
|
|
52
52
|
#
|
53
|
-
# Lists the CDN profiles within an Azure
|
53
|
+
# Lists the CDN profiles within an Azure subscription.
|
54
54
|
#
|
55
55
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
56
56
|
# to the HTTP request.
|
@@ -24,15 +24,16 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
24
24
|
# Current version is 2016-10-02.
|
25
25
|
attr_reader :api_version
|
26
26
|
|
27
|
-
# @return [String]
|
27
|
+
# @return [String] The preferred language for the response.
|
28
28
|
attr_accessor :accept_language
|
29
29
|
|
30
|
-
# @return [Integer]
|
31
|
-
#
|
30
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
31
|
+
# Operations. Default value is 30.
|
32
32
|
attr_accessor :long_running_operation_retry_timeout
|
33
33
|
|
34
|
-
# @return [Boolean]
|
35
|
-
#
|
34
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
35
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
36
|
+
# generated and included in each request. Default is true.
|
36
37
|
attr_accessor :generate_client_request_id
|
37
38
|
|
38
39
|
# @return [Profiles] profiles
|
@@ -742,7 +743,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
742
743
|
#
|
743
744
|
def add_telemetry
|
744
745
|
sdk_information = 'azure_mgmt_cdn'
|
745
|
-
sdk_information = "#{sdk_information}/0.
|
746
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
746
747
|
add_user_agent_information(sdk_information)
|
747
748
|
end
|
748
749
|
end
|
@@ -132,7 +132,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
132
132
|
end
|
133
133
|
|
134
134
|
#
|
135
|
-
# Gets an
|
135
|
+
# Gets an existing custom domain within an endpoint.
|
136
136
|
#
|
137
137
|
# @param resource_group_name [String] Name of the Resource group within the
|
138
138
|
# Azure subscription.
|
@@ -153,7 +153,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
153
153
|
end
|
154
154
|
|
155
155
|
#
|
156
|
-
# Gets an
|
156
|
+
# Gets an existing custom domain within an endpoint.
|
157
157
|
#
|
158
158
|
# @param resource_group_name [String] Name of the Resource group within the
|
159
159
|
# Azure subscription.
|
@@ -173,7 +173,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
173
173
|
end
|
174
174
|
|
175
175
|
#
|
176
|
-
# Gets an
|
176
|
+
# Gets an existing custom domain within an endpoint.
|
177
177
|
#
|
178
178
|
# @param resource_group_name [String] Name of the Resource group within the
|
179
179
|
# Azure subscription.
|
@@ -557,7 +557,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
557
557
|
# @param endpoint_name [String] Name of the endpoint under the profile which is
|
558
558
|
# unique globally.
|
559
559
|
# @param content_file_paths [LoadParameters] The path to the content to be
|
560
|
-
# loaded. Path should be a full URL, e.g. ‘/
|
560
|
+
# loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a
|
561
561
|
# single file
|
562
562
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
563
563
|
# will be added to the HTTP request.
|
@@ -575,7 +575,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
575
575
|
# @param endpoint_name [String] Name of the endpoint under the profile which is
|
576
576
|
# unique globally.
|
577
577
|
# @param content_file_paths [LoadParameters] The path to the content to be
|
578
|
-
# loaded. Path should be a full URL, e.g. ‘/
|
578
|
+
# loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a
|
579
579
|
# single file
|
580
580
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
581
581
|
# will be added to the HTTP request.
|
@@ -1564,7 +1564,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
1564
1564
|
# @param endpoint_name [String] Name of the endpoint under the profile which is
|
1565
1565
|
# unique globally.
|
1566
1566
|
# @param content_file_paths [LoadParameters] The path to the content to be
|
1567
|
-
# loaded. Path should be a full URL, e.g. ‘/
|
1567
|
+
# loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a
|
1568
1568
|
# single file
|
1569
1569
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1570
1570
|
# will be added to the HTTP request.
|
@@ -1585,7 +1585,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
1585
1585
|
# @param endpoint_name [String] Name of the endpoint under the profile which is
|
1586
1586
|
# unique globally.
|
1587
1587
|
# @param content_file_paths [LoadParameters] The path to the content to be
|
1588
|
-
# loaded. Path should be a full URL, e.g. ‘/
|
1588
|
+
# loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a
|
1589
1589
|
# single file
|
1590
1590
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1591
1591
|
# will be added to the HTTP request.
|
@@ -1606,7 +1606,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
1606
1606
|
# @param endpoint_name [String] Name of the endpoint under the profile which is
|
1607
1607
|
# unique globally.
|
1608
1608
|
# @param content_file_paths [LoadParameters] The path to the content to be
|
1609
|
-
# loaded. Path should be a full URL, e.g. ‘/
|
1609
|
+
# loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a
|
1610
1610
|
# single file
|
1611
1611
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1612
1612
|
# to the HTTP request.
|
@@ -57,12 +57,12 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
57
57
|
attr_accessor :optimization_type
|
58
58
|
|
59
59
|
# @return [Array<GeoFilter>] List of rules defining user geo access
|
60
|
-
# within a CDN endpoint. Each geo filter defines an
|
60
|
+
# within a CDN endpoint. Each geo filter defines an access rule to a
|
61
61
|
# specified path or content, e.g. block APAC for path /pictures/
|
62
62
|
attr_accessor :geo_filters
|
63
63
|
|
64
64
|
# @return [String] The host name of the endpoint structured as
|
65
|
-
# {endpointName}.{DNSZone}, e.g.
|
65
|
+
# {endpointName}.{DNSZone}, e.g. contoso.azureedge.net
|
66
66
|
attr_accessor :host_name
|
67
67
|
|
68
68
|
# @return [Array<DeepCreatedOrigin>] The source of the content being
|
@@ -7,7 +7,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Result of the request to list endpoints. It contains a list of endpoint
|
10
|
-
# objects and a URL link to get the
|
10
|
+
# objects and a URL link to get the next set of results.
|
11
11
|
#
|
12
12
|
class EndpointListResult
|
13
13
|
|
@@ -32,7 +32,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
32
32
|
def get_all_items
|
33
33
|
items = @value
|
34
34
|
page = self
|
35
|
-
while page.next_link != nil do
|
35
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
36
36
|
page = page.get_next_page
|
37
37
|
items.concat(page.value)
|
38
38
|
end
|
@@ -57,7 +57,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
57
57
|
attr_accessor :optimization_type
|
58
58
|
|
59
59
|
# @return [Array<GeoFilter>] List of rules defining user geo access
|
60
|
-
# within a CDN endpoint. Each geo filter defines an
|
60
|
+
# within a CDN endpoint. Each geo filter defines an access rule to a
|
61
61
|
# specified path or content, e.g. block APAC for path /pictures/
|
62
62
|
attr_accessor :geo_filters
|
63
63
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
module Azure::CDN::Mgmt::V2016_10_02
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Error
|
9
|
+
# Error response indicates CDN service is not able to process the incoming
|
10
10
|
# request. The reason is provided in the error message.
|
11
11
|
#
|
12
12
|
class ErrorResponse
|
@@ -7,7 +7,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Result of the request to list profiles. It contains a list of profile
|
10
|
-
# objects and a URL link to get the
|
10
|
+
# objects and a URL link to get the next set of results.
|
11
11
|
#
|
12
12
|
class ProfileListResult
|
13
13
|
|
@@ -32,7 +32,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
32
32
|
def get_all_items
|
33
33
|
items = @value
|
34
34
|
page = self
|
35
|
-
while page.next_link != nil do
|
35
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
36
36
|
page = page.get_next_page
|
37
37
|
items.concat(page.value)
|
38
38
|
end
|
@@ -28,6 +28,15 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
28
28
|
attr_accessor :tags
|
29
29
|
|
30
30
|
|
31
|
+
# @return [String] the name of the resource group of the resource.
|
32
|
+
def resource_group
|
33
|
+
unless self.id.nil?
|
34
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
35
|
+
groups.captures[0].strip if groups
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
|
31
40
|
#
|
32
41
|
# Mapper for Resource class as Ruby Hash.
|
33
42
|
# This will be used for serialization/deserialization.
|
@@ -451,7 +451,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
451
451
|
|
452
452
|
#
|
453
453
|
# Generates a dynamic SSO URI used to sign in to the CDN supplemental portal.
|
454
|
-
#
|
454
|
+
# Supplemental portal is used to configure advanced feature capabilities that
|
455
455
|
# are not yet available in the Azure portal, such as core reports in a standard
|
456
456
|
# profile; rules engine, advanced HTTP reports, and real-time stats and alerts
|
457
457
|
# in a premium profile. The SSO URI changes approximately every 10 minutes.
|
@@ -472,7 +472,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
472
472
|
|
473
473
|
#
|
474
474
|
# Generates a dynamic SSO URI used to sign in to the CDN supplemental portal.
|
475
|
-
#
|
475
|
+
# Supplemental portal is used to configure advanced feature capabilities that
|
476
476
|
# are not yet available in the Azure portal, such as core reports in a standard
|
477
477
|
# profile; rules engine, advanced HTTP reports, and real-time stats and alerts
|
478
478
|
# in a premium profile. The SSO URI changes approximately every 10 minutes.
|
@@ -492,7 +492,7 @@ module Azure::CDN::Mgmt::V2016_10_02
|
|
492
492
|
|
493
493
|
#
|
494
494
|
# Generates a dynamic SSO URI used to sign in to the CDN supplemental portal.
|
495
|
-
#
|
495
|
+
# Supplemental portal is used to configure advanced feature capabilities that
|
496
496
|
# are not yet available in the Azure portal, such as core reports in a standard
|
497
497
|
# profile; rules engine, advanced HTTP reports, and real-time stats and alerts
|
498
498
|
# in a premium profile. The SSO URI changes approximately every 10 minutes.
|