azure_mgmt_cdn 0.15.2 → 0.16.0
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 +4 -1
- data/lib/2015-06-01/generated/azure_mgmt_cdn/custom_domains.rb +38 -37
- data/lib/2015-06-01/generated/azure_mgmt_cdn/endpoints.rb +88 -88
- data/lib/2015-06-01/generated/azure_mgmt_cdn/name_availability.rb +6 -7
- data/lib/2015-06-01/generated/azure_mgmt_cdn/operations.rb +6 -5
- data/lib/2015-06-01/generated/azure_mgmt_cdn/origins.rb +42 -41
- data/lib/2015-06-01/generated/azure_mgmt_cdn/profiles.rb +54 -51
- data/lib/2016-04-02/generated/azure_mgmt_cdn.rb +70 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/cdn_management_client.rb +151 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/custom_domains.rb +719 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/endpoints.rb +1456 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_input.rb +60 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb +69 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb +103 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +57 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb +47 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/custom_domain_resource_state.rb +17 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/deep_created_origin.rb +82 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/endpoint.rb +249 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/endpoint_create_parameters.rb +185 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +56 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/endpoint_resource_state.rb +20 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +152 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/error_response.rb +58 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/load_parameters.rb +55 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/operation.rb +58 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/operation_display.rb +70 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/operation_list_result.rb +57 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/origin.rb +128 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/origin_list_result.rb +56 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/origin_parameters.rb +71 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/origin_resource_state.rb +17 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/profile.rb +128 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/profile_create_parameters.rb +77 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/profile_list_result.rb +56 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/profile_resource_state.rb +18 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +54 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/provisioning_state.rb +17 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/purge_parameters.rb +55 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/query_string_caching_behavior.rb +18 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/resource.rb +72 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/resource_type.rb +15 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/sku.rb +49 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/sku_name.rb +18 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/sso_uri.rb +46 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/tracked_resource.rb +92 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/validate_custom_domain_input.rb +47 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb +70 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/module_definition.rb +9 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/name_availability.rb +130 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/operations.rb +110 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/origins.rb +778 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/profiles.rb +899 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/cdn_management_client.rb +46 -38
- data/lib/2016-10-02/generated/azure_mgmt_cdn/custom_domains.rb +53 -48
- data/lib/2016-10-02/generated/azure_mgmt_cdn/edge_nodes.rb +15 -13
- data/lib/2016-10-02/generated/azure_mgmt_cdn/endpoints.rb +112 -109
- data/lib/2016-10-02/generated/azure_mgmt_cdn/origins.rb +31 -29
- data/lib/2016-10-02/generated/azure_mgmt_cdn/profiles.rb +93 -85
- data/lib/2017-04-02/generated/azure_mgmt_cdn.rb +18 -16
- data/lib/2017-04-02/generated/azure_mgmt_cdn/cdn_management_client.rb +16 -15
- data/lib/2017-04-02/generated/azure_mgmt_cdn/custom_domains.rb +53 -48
- data/lib/2017-04-02/generated/azure_mgmt_cdn/edge_nodes.rb +15 -13
- data/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb +136 -113
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb +1 -25
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/edge_node.rb +1 -25
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint.rb +6 -3
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +5 -2
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/origin.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/profile.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/proxy_resource.rb +63 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/resource.rb +1 -31
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/tracked_resource.rb +92 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/operations.rb +15 -13
- data/lib/2017-04-02/generated/azure_mgmt_cdn/origins.rb +31 -29
- data/lib/2017-04-02/generated/azure_mgmt_cdn/profiles.rb +93 -85
- data/lib/2017-04-02/generated/azure_mgmt_cdn/resource_usage_operations.rb +15 -13
- data/lib/2017-10-12/generated/azure_mgmt_cdn.rb +93 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/cdn_management_client.rb +358 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/custom_domains.rb +970 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/edge_nodes.rb +223 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/endpoints.rb +1922 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/cache_expiration_action_parameters.rb +89 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb +60 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_output.rb +72 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +57 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain.rb +148 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +102 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb +48 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_resource_state.rb +17 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_https_provisioning_state.rb +19 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_https_provisioning_substate.rb +24 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/deep_created_origin.rb +91 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/delivery_rule.rb +96 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/delivery_rule_action.rb +46 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/delivery_rule_cache_expiration_action.rb +64 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/delivery_rule_condition.rb +47 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/delivery_rule_url_file_extension_condition.rb +64 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/delivery_rule_url_path_condition.rb +64 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/edge_node.rb +83 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/edgenode_result.rb +101 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint.rb +318 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +101 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb +67 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_resource_state.rb +20 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +223 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/error_response.rb +60 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/geo_filter.rb +80 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/geo_filter_actions.rb +16 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/ip_address_group.rb +86 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/load_parameters.rb +55 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/operation.rb +59 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/operation_display.rb +72 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/operations_list_result.rb +102 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/optimization_type.rb +19 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/origin.rb +158 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/origin_list_result.rb +101 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/origin_resource_state.rb +17 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/origin_update_parameters.rb +79 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/profile.rb +125 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/profile_list_result.rb +101 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/profile_resource_state.rb +18 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +54 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/proxy_resource.rb +63 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/purge_parameters.rb +55 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/query_string_caching_behavior.rb +18 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/resource.rb +71 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/resource_type.rb +15 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/resource_usage.rb +83 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +100 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/sku.rb +49 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/sku_name.rb +19 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/sso_uri.rb +48 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb +56 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/tracked_resource.rb +92 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/url_file_extension_condition_parameters.rb +70 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/url_path_condition_parameters.rb +72 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/validate_custom_domain_input.rb +47 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb +72 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/validate_probe_input.rb +46 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/validate_probe_output.rb +73 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/module_definition.rb +9 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/operations.rb +217 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/origins.rb +556 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/profiles.rb +1460 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/resource_usage_operations.rb +226 -0
- data/lib/azure_mgmt_cdn.rb +2 -0
- data/lib/profiles/latest/cdn_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/cdn_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/cdn_profile_module.rb +277 -210
- data/lib/version.rb +1 -1
- metadata +119 -2
@@ -0,0 +1,60 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CDN::Mgmt::V2016_04_02
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Input of CheckNameAvailability API.
|
10
|
+
#
|
11
|
+
class CheckNameAvailabilityInput
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The resource name to validate.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The type of the resource whose name is to be
|
19
|
+
# validated. Default value: 'Microsoft.Cdn/Profiles/Endpoints' .
|
20
|
+
attr_accessor :type
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for CheckNameAvailabilityInput class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'CheckNameAvailabilityInput',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'CheckNameAvailabilityInput',
|
35
|
+
model_properties: {
|
36
|
+
name: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: true,
|
39
|
+
serialized_name: 'name',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
type: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: true,
|
47
|
+
is_constant: true,
|
48
|
+
serialized_name: 'type',
|
49
|
+
default_value: 'Microsoft.Cdn/Profiles/Endpoints',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CDN::Mgmt::V2016_04_02
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Output of check name availability API.
|
10
|
+
#
|
11
|
+
class CheckNameAvailabilityOutput
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Indicates whether the name is available.
|
16
|
+
attr_accessor :name_available
|
17
|
+
|
18
|
+
# @return [String] The reason why the name is not available.
|
19
|
+
attr_accessor :reason
|
20
|
+
|
21
|
+
# @return [String] The detailed error message describing why the name is
|
22
|
+
# not available.
|
23
|
+
attr_accessor :message
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for CheckNameAvailabilityOutput class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'CheckNameAvailabilityOutput',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'CheckNameAvailabilityOutput',
|
38
|
+
model_properties: {
|
39
|
+
name_available: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'NameAvailable',
|
43
|
+
type: {
|
44
|
+
name: 'Boolean'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
reason: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'Reason',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
message: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'Message',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,103 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CDN::Mgmt::V2016_04_02
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# CDN CustomDomain represents a mapping between a user specified domain
|
10
|
+
# name and a CDN endpoint. This is to use custom domain names to represent
|
11
|
+
# the URLs for branding purposes.
|
12
|
+
#
|
13
|
+
class CustomDomain < Resource
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [String] The host name of the custom domain. Must be a domain
|
18
|
+
# name.
|
19
|
+
attr_accessor :host_name
|
20
|
+
|
21
|
+
# @return [CustomDomainResourceState] Resource status of the custom
|
22
|
+
# domain. Possible values include: 'Creating', 'Active', 'Deleting'
|
23
|
+
attr_accessor :resource_state
|
24
|
+
|
25
|
+
# @return [ProvisioningState] Provisioning status of the custom domain.
|
26
|
+
# Possible values include: 'Creating', 'Succeeded', 'Failed'
|
27
|
+
attr_accessor :provisioning_state
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for CustomDomain class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'CustomDomain',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'CustomDomain',
|
42
|
+
model_properties: {
|
43
|
+
id: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
read_only: true,
|
47
|
+
serialized_name: 'id',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
name: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
read_only: true,
|
56
|
+
serialized_name: 'name',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
type: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
read_only: true,
|
65
|
+
serialized_name: 'type',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
host_name: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: true,
|
73
|
+
serialized_name: 'properties.hostName',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
resource_state: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
read_only: true,
|
82
|
+
serialized_name: 'properties.resourceState',
|
83
|
+
type: {
|
84
|
+
name: 'Enum',
|
85
|
+
module: 'CustomDomainResourceState'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
provisioning_state: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'properties.provisioningState',
|
92
|
+
type: {
|
93
|
+
name: 'Enum',
|
94
|
+
module: 'ProvisioningState'
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CDN::Mgmt::V2016_04_02
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class CustomDomainListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<CustomDomain>] List of CDN CustomDomains within an
|
17
|
+
# endpoint.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for CustomDomainListResult class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'CustomDomainListResult',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'CustomDomainListResult',
|
33
|
+
model_properties: {
|
34
|
+
value: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'value',
|
38
|
+
type: {
|
39
|
+
name: 'Sequence',
|
40
|
+
element: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'CustomDomainElementType',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'CustomDomain'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CDN::Mgmt::V2016_04_02
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# CustomDomain properties required for custom domain creation or update.
|
10
|
+
#
|
11
|
+
class CustomDomainParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The host name of the custom domain. Must be a domain
|
16
|
+
# name.
|
17
|
+
attr_accessor :host_name
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for CustomDomainParameters class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'CustomDomainParameters',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'CustomDomainParameters',
|
32
|
+
model_properties: {
|
33
|
+
host_name: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: true,
|
36
|
+
serialized_name: 'properties.hostName',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CDN::Mgmt::V2016_04_02
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for CustomDomainResourceState
|
10
|
+
#
|
11
|
+
module CustomDomainResourceState
|
12
|
+
Creating = "Creating"
|
13
|
+
Active = "Active"
|
14
|
+
Deleting = "Deleting"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CDN::Mgmt::V2016_04_02
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Deep created origins within a CDN endpoint.
|
10
|
+
#
|
11
|
+
class DeepCreatedOrigin
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Origin name
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The address of the origin. Domain names, IPv4
|
19
|
+
# addresses, and IPv6 addresses are supported.
|
20
|
+
attr_accessor :host_name
|
21
|
+
|
22
|
+
# @return [Integer] The value of the HTTP port. Must be between 1 and
|
23
|
+
# 65535
|
24
|
+
attr_accessor :http_port
|
25
|
+
|
26
|
+
# @return [Integer] The value of the HTTPS port. Must be between 1 and
|
27
|
+
# 65535
|
28
|
+
attr_accessor :https_port
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for DeepCreatedOrigin class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'DeepCreatedOrigin',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'DeepCreatedOrigin',
|
43
|
+
model_properties: {
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: true,
|
47
|
+
serialized_name: 'name',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
host_name: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: true,
|
55
|
+
serialized_name: 'properties.hostName',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
http_port: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'properties.httpPort',
|
64
|
+
type: {
|
65
|
+
name: 'Number'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
https_port: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'properties.httpsPort',
|
72
|
+
type: {
|
73
|
+
name: 'Number'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
@@ -0,0 +1,249 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CDN::Mgmt::V2016_04_02
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# CDN endpoint is the entity within a CDN profile containing configuration
|
10
|
+
# information regarding caching behaviors and origins. The CDN endpoint is
|
11
|
+
# exposed using the URL format <endpointname>.azureedge.net by default, but
|
12
|
+
# custom domains can also be created.
|
13
|
+
#
|
14
|
+
class Endpoint < TrackedResource
|
15
|
+
|
16
|
+
include MsRestAzure
|
17
|
+
|
18
|
+
# @return [String] The host name of the endpoint {endpointName}.{DNSZone}
|
19
|
+
attr_accessor :host_name
|
20
|
+
|
21
|
+
# @return [String] The host header the CDN provider will send along with
|
22
|
+
# content requests to origins. The default value is the host name of the
|
23
|
+
# 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 will
|
30
|
+
# be applied. The value for the elements should be a valid MIME type.
|
31
|
+
attr_accessor :content_types_to_compress
|
32
|
+
|
33
|
+
# @return [Boolean] Indicates whether the compression is enabled. Default
|
34
|
+
# value is false. If compression is enabled, the content transferred from
|
35
|
+
# cdn endpoint to end user will be compressed. The requested content must
|
36
|
+
# be larger than 1 byte and smaller than 1 MB.
|
37
|
+
attr_accessor :is_compression_enabled
|
38
|
+
|
39
|
+
# @return [Boolean] Indicates whether HTTP traffic is allowed on the
|
40
|
+
# endpoint. Default value is true. At least one protocol (HTTP or HTTPS)
|
41
|
+
# must be allowed.
|
42
|
+
attr_accessor :is_http_allowed
|
43
|
+
|
44
|
+
# @return [Boolean] Indicates whether https traffic is allowed on the
|
45
|
+
# endpoint. Default value is true. At least one protocol (HTTP or HTTPS)
|
46
|
+
# must be allowed.
|
47
|
+
attr_accessor :is_https_allowed
|
48
|
+
|
49
|
+
# @return [QueryStringCachingBehavior] Defines the query string caching
|
50
|
+
# behavior. Possible values include: 'IgnoreQueryString',
|
51
|
+
# 'BypassCaching', 'UseQueryString', 'NotSet'
|
52
|
+
attr_accessor :query_string_caching_behavior
|
53
|
+
|
54
|
+
# @return [Array<DeepCreatedOrigin>] The set of origins for the CDN
|
55
|
+
# endpoint. When multiple origins exist, the first origin will be used as
|
56
|
+
# primary and rest will be used as failover options.
|
57
|
+
attr_accessor :origins
|
58
|
+
|
59
|
+
# @return [EndpointResourceState] Resource status of the endpoint.
|
60
|
+
# Possible values include: 'Creating', 'Deleting', 'Running', 'Starting',
|
61
|
+
# 'Stopped', 'Stopping'
|
62
|
+
attr_accessor :resource_state
|
63
|
+
|
64
|
+
# @return [ProvisioningState] Provisioning status of the endpoint.
|
65
|
+
# Possible values include: 'Creating', 'Succeeded', 'Failed'
|
66
|
+
attr_accessor :provisioning_state
|
67
|
+
|
68
|
+
|
69
|
+
#
|
70
|
+
# Mapper for Endpoint class as Ruby Hash.
|
71
|
+
# This will be used for serialization/deserialization.
|
72
|
+
#
|
73
|
+
def self.mapper()
|
74
|
+
{
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'Endpoint',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'Endpoint',
|
81
|
+
model_properties: {
|
82
|
+
id: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
read_only: true,
|
86
|
+
serialized_name: 'id',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
name: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
read_only: true,
|
95
|
+
serialized_name: 'name',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
type: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
read_only: true,
|
104
|
+
serialized_name: 'type',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
},
|
109
|
+
location: {
|
110
|
+
client_side_validation: true,
|
111
|
+
required: true,
|
112
|
+
serialized_name: 'location',
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
},
|
117
|
+
tags: {
|
118
|
+
client_side_validation: true,
|
119
|
+
required: true,
|
120
|
+
serialized_name: 'tags',
|
121
|
+
type: {
|
122
|
+
name: 'Dictionary',
|
123
|
+
value: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'StringElementType',
|
127
|
+
type: {
|
128
|
+
name: 'String'
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
},
|
133
|
+
host_name: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
read_only: true,
|
137
|
+
serialized_name: 'properties.hostName',
|
138
|
+
type: {
|
139
|
+
name: 'String'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
origin_host_header: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'properties.originHostHeader',
|
146
|
+
type: {
|
147
|
+
name: 'String'
|
148
|
+
}
|
149
|
+
},
|
150
|
+
origin_path: {
|
151
|
+
client_side_validation: true,
|
152
|
+
required: false,
|
153
|
+
serialized_name: 'properties.originPath',
|
154
|
+
type: {
|
155
|
+
name: 'String'
|
156
|
+
}
|
157
|
+
},
|
158
|
+
content_types_to_compress: {
|
159
|
+
client_side_validation: true,
|
160
|
+
required: false,
|
161
|
+
serialized_name: 'properties.contentTypesToCompress',
|
162
|
+
type: {
|
163
|
+
name: 'Sequence',
|
164
|
+
element: {
|
165
|
+
client_side_validation: true,
|
166
|
+
required: false,
|
167
|
+
serialized_name: 'StringElementType',
|
168
|
+
type: {
|
169
|
+
name: 'String'
|
170
|
+
}
|
171
|
+
}
|
172
|
+
}
|
173
|
+
},
|
174
|
+
is_compression_enabled: {
|
175
|
+
client_side_validation: true,
|
176
|
+
required: false,
|
177
|
+
serialized_name: 'properties.isCompressionEnabled',
|
178
|
+
type: {
|
179
|
+
name: 'Boolean'
|
180
|
+
}
|
181
|
+
},
|
182
|
+
is_http_allowed: {
|
183
|
+
client_side_validation: true,
|
184
|
+
required: false,
|
185
|
+
serialized_name: 'properties.isHttpAllowed',
|
186
|
+
type: {
|
187
|
+
name: 'Boolean'
|
188
|
+
}
|
189
|
+
},
|
190
|
+
is_https_allowed: {
|
191
|
+
client_side_validation: true,
|
192
|
+
required: false,
|
193
|
+
serialized_name: 'properties.isHttpsAllowed',
|
194
|
+
type: {
|
195
|
+
name: 'Boolean'
|
196
|
+
}
|
197
|
+
},
|
198
|
+
query_string_caching_behavior: {
|
199
|
+
client_side_validation: true,
|
200
|
+
required: false,
|
201
|
+
serialized_name: 'properties.queryStringCachingBehavior',
|
202
|
+
type: {
|
203
|
+
name: 'Enum',
|
204
|
+
module: 'QueryStringCachingBehavior'
|
205
|
+
}
|
206
|
+
},
|
207
|
+
origins: {
|
208
|
+
client_side_validation: true,
|
209
|
+
required: false,
|
210
|
+
serialized_name: 'properties.origins',
|
211
|
+
type: {
|
212
|
+
name: 'Sequence',
|
213
|
+
element: {
|
214
|
+
client_side_validation: true,
|
215
|
+
required: false,
|
216
|
+
serialized_name: 'DeepCreatedOriginElementType',
|
217
|
+
type: {
|
218
|
+
name: 'Composite',
|
219
|
+
class_name: 'DeepCreatedOrigin'
|
220
|
+
}
|
221
|
+
}
|
222
|
+
}
|
223
|
+
},
|
224
|
+
resource_state: {
|
225
|
+
client_side_validation: true,
|
226
|
+
required: false,
|
227
|
+
read_only: true,
|
228
|
+
serialized_name: 'properties.resourceState',
|
229
|
+
type: {
|
230
|
+
name: 'Enum',
|
231
|
+
module: 'EndpointResourceState'
|
232
|
+
}
|
233
|
+
},
|
234
|
+
provisioning_state: {
|
235
|
+
client_side_validation: true,
|
236
|
+
required: false,
|
237
|
+
serialized_name: 'properties.provisioningState',
|
238
|
+
type: {
|
239
|
+
name: 'Enum',
|
240
|
+
module: 'ProvisioningState'
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}
|
245
|
+
}
|
246
|
+
end
|
247
|
+
end
|
248
|
+
end
|
249
|
+
end
|