azure_mgmt_cdn 0.15.1 → 0.15.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-06-01/generated/azure_mgmt_cdn/cdn_management_client.rb +1 -3
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/check_name_availability_input.rb +3 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/check_name_availability_output.rb +4 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/custom_domain.rb +7 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +3 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb +2 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/deep_created_origin.rb +5 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/endpoint.rb +20 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/endpoint_create_parameters.rb +14 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +3 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +11 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/error_response.rb +3 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/load_parameters.rb +3 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/operation.rb +3 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/operation_display.rb +4 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/operation_list_result.rb +3 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/origin.rb +9 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/origin_list_result.rb +3 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/origin_parameters.rb +4 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/profile.rb +10 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/profile_create_parameters.rb +5 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/profile_list_result.rb +3 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +3 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/purge_parameters.rb +3 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/resource.rb +4 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/sku.rb +2 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/sso_uri.rb +2 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/tracked_resource.rb +7 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/validate_custom_domain_input.rb +2 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/cdn_management_client.rb +1 -3
- data/lib/2016-10-02/generated/azure_mgmt_cdn/custom_domains.rb +18 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/endpoints.rb +33 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/check_name_availability_input.rb +3 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +3 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain.rb +12 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb +2 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/deep_created_origin.rb +5 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/edge_node.rb +9 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/edgenode_result.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint.rb +23 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +14 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/error_response.rb +3 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/geo_filter.rb +5 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/ip_address_group.rb +6 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/load_parameters.rb +3 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/operation.rb +3 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/operation_display.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/operation_list_result.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/origin.rb +12 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/origin_list_result.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/origin_update_parameters.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/profile.rb +10 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/profile_list_result.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +3 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/purge_parameters.rb +3 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/resource.rb +7 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/resource_usage.rb +5 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/sku.rb +2 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/sso_uri.rb +2 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/supported_optimization_types_result.rb +3 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/validate_custom_domain_input.rb +2 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/origins.rb +9 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/profiles.rb +24 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/cdn_management_client.rb +1 -3
- data/lib/2017-04-02/generated/azure_mgmt_cdn/custom_domains.rb +18 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb +33 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/check_name_availability_input.rb +3 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +3 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb +13 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb +2 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/deep_created_origin.rb +5 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/edge_node.rb +9 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/edgenode_result.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint.rb +24 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +15 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/error_response.rb +3 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/geo_filter.rb +5 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/ip_address_group.rb +6 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/load_parameters.rb +3 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/operation.rb +3 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/operation_display.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/operations_list_result.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/origin.rb +12 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/origin_list_result.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/origin_update_parameters.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/profile.rb +10 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/profile_list_result.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +3 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/purge_parameters.rb +3 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/resource.rb +7 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/resource_usage.rb +5 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/sku.rb +2 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/sso_uri.rb +2 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb +3 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/validate_custom_domain_input.rb +2 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/validate_probe_input.rb +2 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/validate_probe_output.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/origins.rb +9 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/profiles.rb +24 -0
- data/lib/profiles/latest/cdn_latest_profile_client.rb +1 -3
- data/lib/version.rb +1 -1
- metadata +10 -10
- data/lib/2015-06-01/generated/azure_mgmt_cdn/version.rb +0 -8
- data/lib/2016-10-02/generated/azure_mgmt_cdn/version.rb +0 -8
- data/lib/2017-04-02/generated/azure_mgmt_cdn/version.rb +0 -8
- data/lib/profiles/common/configurable.rb +0 -86
- data/lib/profiles/common/default.rb +0 -57
@@ -31,6 +31,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
31
31
|
#
|
32
32
|
def self.mapper()
|
33
33
|
{
|
34
|
+
client_side_validation: true,
|
34
35
|
required: false,
|
35
36
|
serialized_name: 'ResourceUsage',
|
36
37
|
type: {
|
@@ -38,6 +39,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
38
39
|
class_name: 'ResourceUsage',
|
39
40
|
model_properties: {
|
40
41
|
resource_type: {
|
42
|
+
client_side_validation: true,
|
41
43
|
required: false,
|
42
44
|
read_only: true,
|
43
45
|
serialized_name: 'resourceType',
|
@@ -46,6 +48,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
46
48
|
}
|
47
49
|
},
|
48
50
|
unit: {
|
51
|
+
client_side_validation: true,
|
49
52
|
required: false,
|
50
53
|
read_only: true,
|
51
54
|
serialized_name: 'unit',
|
@@ -54,6 +57,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
54
57
|
}
|
55
58
|
},
|
56
59
|
current_value: {
|
60
|
+
client_side_validation: true,
|
57
61
|
required: false,
|
58
62
|
read_only: true,
|
59
63
|
serialized_name: 'currentValue',
|
@@ -62,6 +66,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
62
66
|
}
|
63
67
|
},
|
64
68
|
limit: {
|
69
|
+
client_side_validation: true,
|
65
70
|
required: false,
|
66
71
|
read_only: true,
|
67
72
|
serialized_name: 'limit',
|
@@ -58,6 +58,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
58
58
|
#
|
59
59
|
def self.mapper()
|
60
60
|
{
|
61
|
+
client_side_validation: true,
|
61
62
|
required: false,
|
62
63
|
serialized_name: 'ResourceUsageListResult',
|
63
64
|
type: {
|
@@ -65,12 +66,14 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
65
66
|
class_name: 'ResourceUsageListResult',
|
66
67
|
model_properties: {
|
67
68
|
value: {
|
69
|
+
client_side_validation: true,
|
68
70
|
required: false,
|
69
71
|
read_only: true,
|
70
72
|
serialized_name: 'value',
|
71
73
|
type: {
|
72
74
|
name: 'Sequence',
|
73
75
|
element: {
|
76
|
+
client_side_validation: true,
|
74
77
|
required: false,
|
75
78
|
serialized_name: 'ResourceUsageElementType',
|
76
79
|
type: {
|
@@ -81,6 +84,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
81
84
|
}
|
82
85
|
},
|
83
86
|
next_link: {
|
87
|
+
client_side_validation: true,
|
84
88
|
required: false,
|
85
89
|
serialized_name: 'nextLink',
|
86
90
|
type: {
|
@@ -25,6 +25,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
25
25
|
#
|
26
26
|
def self.mapper()
|
27
27
|
{
|
28
|
+
client_side_validation: true,
|
28
29
|
required: false,
|
29
30
|
serialized_name: 'Sku',
|
30
31
|
type: {
|
@@ -32,6 +33,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
32
33
|
class_name: 'Sku',
|
33
34
|
model_properties: {
|
34
35
|
name: {
|
36
|
+
client_side_validation: true,
|
35
37
|
required: false,
|
36
38
|
serialized_name: 'name',
|
37
39
|
type: {
|
@@ -23,6 +23,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
23
23
|
#
|
24
24
|
def self.mapper()
|
25
25
|
{
|
26
|
+
client_side_validation: true,
|
26
27
|
required: false,
|
27
28
|
serialized_name: 'SsoUri',
|
28
29
|
type: {
|
@@ -30,6 +31,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
30
31
|
class_name: 'SsoUri',
|
31
32
|
model_properties: {
|
32
33
|
sso_uri_value: {
|
34
|
+
client_side_validation: true,
|
33
35
|
required: false,
|
34
36
|
read_only: true,
|
35
37
|
serialized_name: 'ssoUriValue',
|
data/lib/2017-04-02/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb
CHANGED
@@ -23,6 +23,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
23
23
|
#
|
24
24
|
def self.mapper()
|
25
25
|
{
|
26
|
+
client_side_validation: true,
|
26
27
|
required: false,
|
27
28
|
serialized_name: 'SupportedOptimizationTypesListResult',
|
28
29
|
type: {
|
@@ -30,12 +31,14 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
30
31
|
class_name: 'SupportedOptimizationTypesListResult',
|
31
32
|
model_properties: {
|
32
33
|
supported_optimization_types: {
|
34
|
+
client_side_validation: true,
|
33
35
|
required: false,
|
34
36
|
read_only: true,
|
35
37
|
serialized_name: 'supportedOptimizationTypes',
|
36
38
|
type: {
|
37
39
|
name: 'Sequence',
|
38
40
|
element: {
|
41
|
+
client_side_validation: true,
|
39
42
|
required: false,
|
40
43
|
serialized_name: 'OptimizationTypeElementType',
|
41
44
|
type: {
|
@@ -23,6 +23,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
23
23
|
#
|
24
24
|
def self.mapper()
|
25
25
|
{
|
26
|
+
client_side_validation: true,
|
26
27
|
required: false,
|
27
28
|
serialized_name: 'ValidateCustomDomainInput',
|
28
29
|
type: {
|
@@ -30,6 +31,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
30
31
|
class_name: 'ValidateCustomDomainInput',
|
31
32
|
model_properties: {
|
32
33
|
host_name: {
|
34
|
+
client_side_validation: true,
|
33
35
|
required: true,
|
34
36
|
serialized_name: 'hostName',
|
35
37
|
type: {
|
@@ -29,6 +29,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
29
29
|
#
|
30
30
|
def self.mapper()
|
31
31
|
{
|
32
|
+
client_side_validation: true,
|
32
33
|
required: false,
|
33
34
|
serialized_name: 'ValidateCustomDomainOutput',
|
34
35
|
type: {
|
@@ -36,6 +37,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
36
37
|
class_name: 'ValidateCustomDomainOutput',
|
37
38
|
model_properties: {
|
38
39
|
custom_domain_validated: {
|
40
|
+
client_side_validation: true,
|
39
41
|
required: false,
|
40
42
|
read_only: true,
|
41
43
|
serialized_name: 'customDomainValidated',
|
@@ -44,6 +46,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
44
46
|
}
|
45
47
|
},
|
46
48
|
reason: {
|
49
|
+
client_side_validation: true,
|
47
50
|
required: false,
|
48
51
|
read_only: true,
|
49
52
|
serialized_name: 'reason',
|
@@ -52,6 +55,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
52
55
|
}
|
53
56
|
},
|
54
57
|
message: {
|
58
|
+
client_side_validation: true,
|
55
59
|
required: false,
|
56
60
|
read_only: true,
|
57
61
|
serialized_name: 'message',
|
@@ -22,6 +22,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
22
22
|
#
|
23
23
|
def self.mapper()
|
24
24
|
{
|
25
|
+
client_side_validation: true,
|
25
26
|
required: false,
|
26
27
|
serialized_name: 'ValidateProbeInput',
|
27
28
|
type: {
|
@@ -29,6 +30,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
29
30
|
class_name: 'ValidateProbeInput',
|
30
31
|
model_properties: {
|
31
32
|
probe_url: {
|
33
|
+
client_side_validation: true,
|
32
34
|
required: true,
|
33
35
|
serialized_name: 'probeURL',
|
34
36
|
type: {
|
@@ -30,6 +30,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
30
30
|
#
|
31
31
|
def self.mapper()
|
32
32
|
{
|
33
|
+
client_side_validation: true,
|
33
34
|
required: false,
|
34
35
|
serialized_name: 'ValidateProbeOutput',
|
35
36
|
type: {
|
@@ -37,6 +38,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
37
38
|
class_name: 'ValidateProbeOutput',
|
38
39
|
model_properties: {
|
39
40
|
is_valid: {
|
41
|
+
client_side_validation: true,
|
40
42
|
required: false,
|
41
43
|
read_only: true,
|
42
44
|
serialized_name: 'isValid',
|
@@ -45,6 +47,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
45
47
|
}
|
46
48
|
},
|
47
49
|
error_code: {
|
50
|
+
client_side_validation: true,
|
48
51
|
required: false,
|
49
52
|
read_only: true,
|
50
53
|
serialized_name: 'errorCode',
|
@@ -53,6 +56,7 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
53
56
|
}
|
54
57
|
},
|
55
58
|
message: {
|
59
|
+
client_side_validation: true,
|
56
60
|
required: false,
|
57
61
|
read_only: true,
|
58
62
|
serialized_name: 'message',
|
@@ -76,6 +76,9 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
76
76
|
#
|
77
77
|
def list_by_endpoint_async(resource_group_name, profile_name, endpoint_name, custom_headers = nil)
|
78
78
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
79
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
80
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
81
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
79
82
|
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
80
83
|
fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
|
81
84
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -186,6 +189,9 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
186
189
|
#
|
187
190
|
def get_async(resource_group_name, profile_name, endpoint_name, origin_name, custom_headers = nil)
|
188
191
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
192
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
193
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
194
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
189
195
|
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
190
196
|
fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
|
191
197
|
fail ArgumentError, 'origin_name is nil' if origin_name.nil?
|
@@ -356,6 +362,9 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
356
362
|
#
|
357
363
|
def begin_update_async(resource_group_name, profile_name, endpoint_name, origin_name, origin_update_properties, custom_headers = nil)
|
358
364
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
365
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
366
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
367
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
359
368
|
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
360
369
|
fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
|
361
370
|
fail ArgumentError, 'origin_name is nil' if origin_name.nil?
|
@@ -147,6 +147,9 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
147
147
|
#
|
148
148
|
def list_by_resource_group_async(resource_group_name, custom_headers = nil)
|
149
149
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
150
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
151
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
152
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
150
153
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
151
154
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
152
155
|
|
@@ -246,6 +249,9 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
246
249
|
#
|
247
250
|
def get_async(resource_group_name, profile_name, custom_headers = nil)
|
248
251
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
252
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
253
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
254
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
249
255
|
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
250
256
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
251
257
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -499,6 +505,9 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
499
505
|
#
|
500
506
|
def generate_sso_uri_async(resource_group_name, profile_name, custom_headers = nil)
|
501
507
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
508
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
509
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
510
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
502
511
|
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
503
512
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
504
513
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -599,6 +608,9 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
599
608
|
#
|
600
609
|
def list_supported_optimization_types_async(resource_group_name, profile_name, custom_headers = nil)
|
601
610
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
611
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
612
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
613
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
602
614
|
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
603
615
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
604
616
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -696,6 +708,9 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
696
708
|
#
|
697
709
|
def list_resource_usage_async(resource_group_name, profile_name, custom_headers = nil)
|
698
710
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
711
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
712
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
713
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
699
714
|
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
700
715
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
701
716
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -799,6 +814,9 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
799
814
|
#
|
800
815
|
def begin_create_async(resource_group_name, profile_name, profile, custom_headers = nil)
|
801
816
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
817
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
818
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
819
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
802
820
|
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
803
821
|
fail ArgumentError, 'profile is nil' if profile.nil?
|
804
822
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -935,6 +953,9 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
935
953
|
#
|
936
954
|
def begin_update_async(resource_group_name, profile_name, profile_update_parameters, custom_headers = nil)
|
937
955
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
956
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
957
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
958
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
938
959
|
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
939
960
|
fail ArgumentError, 'profile_update_parameters is nil' if profile_update_parameters.nil?
|
940
961
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -1057,6 +1078,9 @@ module Azure::CDN::Mgmt::V2017_04_02
|
|
1057
1078
|
#
|
1058
1079
|
def begin_delete_async(resource_group_name, profile_name, custom_headers = nil)
|
1059
1080
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1081
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1082
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1083
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1060
1084
|
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
1061
1085
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1062
1086
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -4,15 +4,13 @@
|
|
4
4
|
|
5
5
|
require 'profiles/latest/cdn_module_definition'
|
6
6
|
require 'profiles/latest/modules/cdn_profile_module'
|
7
|
-
require 'profiles/common/configurable'
|
8
|
-
require 'profiles/common/default'
|
9
7
|
|
10
8
|
module Azure::CDN::Profiles::Latest::Mgmt
|
11
9
|
#
|
12
10
|
# Client class for the Latest profile SDK.
|
13
11
|
#
|
14
12
|
class Client < CDNClass
|
15
|
-
include
|
13
|
+
include MsRestAzure::Common::Configurable
|
16
14
|
|
17
15
|
|
18
16
|
def initialize(options = {})
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_cdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.10.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.10.0
|
83
83
|
description: Microsoft Azure CDN Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -133,7 +133,6 @@ files:
|
|
133
133
|
- lib/2015-06-01/generated/azure_mgmt_cdn/operations.rb
|
134
134
|
- lib/2015-06-01/generated/azure_mgmt_cdn/origins.rb
|
135
135
|
- lib/2015-06-01/generated/azure_mgmt_cdn/profiles.rb
|
136
|
-
- lib/2015-06-01/generated/azure_mgmt_cdn/version.rb
|
137
136
|
- lib/2016-10-02/generated/azure_mgmt_cdn.rb
|
138
137
|
- lib/2016-10-02/generated/azure_mgmt_cdn/cdn_management_client.rb
|
139
138
|
- lib/2016-10-02/generated/azure_mgmt_cdn/custom_domains.rb
|
@@ -186,7 +185,6 @@ files:
|
|
186
185
|
- lib/2016-10-02/generated/azure_mgmt_cdn/module_definition.rb
|
187
186
|
- lib/2016-10-02/generated/azure_mgmt_cdn/origins.rb
|
188
187
|
- lib/2016-10-02/generated/azure_mgmt_cdn/profiles.rb
|
189
|
-
- lib/2016-10-02/generated/azure_mgmt_cdn/version.rb
|
190
188
|
- lib/2017-04-02/generated/azure_mgmt_cdn.rb
|
191
189
|
- lib/2017-04-02/generated/azure_mgmt_cdn/cdn_management_client.rb
|
192
190
|
- lib/2017-04-02/generated/azure_mgmt_cdn/custom_domains.rb
|
@@ -244,11 +242,8 @@ files:
|
|
244
242
|
- lib/2017-04-02/generated/azure_mgmt_cdn/origins.rb
|
245
243
|
- lib/2017-04-02/generated/azure_mgmt_cdn/profiles.rb
|
246
244
|
- lib/2017-04-02/generated/azure_mgmt_cdn/resource_usage_operations.rb
|
247
|
-
- lib/2017-04-02/generated/azure_mgmt_cdn/version.rb
|
248
245
|
- lib/azure_mgmt_cdn.rb
|
249
246
|
- lib/module_definition.rb
|
250
|
-
- lib/profiles/common/configurable.rb
|
251
|
-
- lib/profiles/common/default.rb
|
252
247
|
- lib/profiles/latest/cdn_latest_profile_client.rb
|
253
248
|
- lib/profiles/latest/cdn_module_definition.rb
|
254
249
|
- lib/profiles/latest/modules/cdn_profile_module.rb
|
@@ -256,7 +251,12 @@ files:
|
|
256
251
|
homepage: https://aka.ms/azure-sdk-for-ruby
|
257
252
|
licenses:
|
258
253
|
- MIT
|
259
|
-
metadata:
|
254
|
+
metadata:
|
255
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
256
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
257
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
258
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
259
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_cdn
|
260
260
|
post_install_message:
|
261
261
|
rdoc_options: []
|
262
262
|
require_paths:
|