azure_mgmt_cdn 0.13.0 → 0.14.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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_cdn.rb +1 -0
  3. data/lib/generated/azure_mgmt_cdn/models/check_name_availability_input.rb +0 -1
  4. data/lib/generated/azure_mgmt_cdn/models/check_name_availability_output.rb +0 -1
  5. data/lib/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +0 -1
  6. data/lib/generated/azure_mgmt_cdn/models/custom_domain.rb +1 -2
  7. data/lib/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb +0 -1
  8. data/lib/generated/azure_mgmt_cdn/models/deep_created_origin.rb +0 -1
  9. data/lib/generated/azure_mgmt_cdn/models/edge_node.rb +1 -2
  10. data/lib/generated/azure_mgmt_cdn/models/endpoint.rb +1 -2
  11. data/lib/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +0 -1
  12. data/lib/generated/azure_mgmt_cdn/models/error_response.rb +0 -1
  13. data/lib/generated/azure_mgmt_cdn/models/geo_filter.rb +0 -1
  14. data/lib/generated/azure_mgmt_cdn/models/ip_address_group.rb +0 -1
  15. data/lib/generated/azure_mgmt_cdn/models/load_parameters.rb +0 -1
  16. data/lib/generated/azure_mgmt_cdn/models/operation.rb +0 -1
  17. data/lib/generated/azure_mgmt_cdn/models/operation_display.rb +0 -1
  18. data/lib/generated/azure_mgmt_cdn/models/origin.rb +1 -2
  19. data/lib/generated/azure_mgmt_cdn/models/origin_update_parameters.rb +0 -1
  20. data/lib/generated/azure_mgmt_cdn/models/profile.rb +1 -2
  21. data/lib/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +0 -1
  22. data/lib/generated/azure_mgmt_cdn/models/purge_parameters.rb +0 -1
  23. data/lib/generated/azure_mgmt_cdn/models/resource.rb +94 -0
  24. data/lib/generated/azure_mgmt_cdn/models/resource_usage.rb +0 -1
  25. data/lib/generated/azure_mgmt_cdn/models/sku.rb +0 -1
  26. data/lib/generated/azure_mgmt_cdn/models/sso_uri.rb +0 -1
  27. data/lib/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb +0 -1
  28. data/lib/generated/azure_mgmt_cdn/models/validate_custom_domain_input.rb +0 -1
  29. data/lib/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb +0 -1
  30. data/lib/generated/azure_mgmt_cdn/models/validate_probe_input.rb +0 -1
  31. data/lib/generated/azure_mgmt_cdn/models/validate_probe_output.rb +0 -1
  32. data/lib/generated/azure_mgmt_cdn/version.rb +1 -1
  33. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2871f3641554e9352f440897b27e0a5327d067d
4
- data.tar.gz: db06494ea1cfe9a0694e781208fe7a12e659161d
3
+ metadata.gz: 6eb901b6dfbc7a69d9a33ec2d8cdd90fe2ea6a0a
4
+ data.tar.gz: 0ff8b237bda9f95837a48d490b764711e1ff6260
5
5
  SHA512:
6
- metadata.gz: 256b2daf41ec90c6c27881fc115565339c05c8e9ea2a64b9fba08e0c553771abafb487dd237435235712455651c3d299819663d0c5922abf32443c10b91bcfa5
7
- data.tar.gz: d6dc5469cc148f81ad0233a86f3d1b73be11491d16d8ac2d4c20ab4ca916e7462642105c227ec641601dc723da6a492a8e8ffd7ef69aa1a0880d2a6691c4f9b6
6
+ metadata.gz: a494f0e80a2ff3df3203c7129597fa3f3e07089c53e7f9ee4c65f220b9ce2f35886b78979f7759f55d3d953d29ff3a074f31def0a2c24269ffc17485f6859d2c
7
+ data.tar.gz: 84d629e151fa0c83dffc79b4b98f088083f082a50eb8c65484d75517f3586ceaf9b0b4a27acab6a9801ada1985dad9f83fde9f51e8ea3bb81912dcbbe0ed404b
@@ -51,6 +51,7 @@ module Azure::ARM::CDN
51
51
  autoload :CustomDomainParameters, 'generated/azure_mgmt_cdn/models/custom_domain_parameters.rb'
52
52
  autoload :ProfileUpdateParameters, 'generated/azure_mgmt_cdn/models/profile_update_parameters.rb'
53
53
  autoload :ErrorResponse, 'generated/azure_mgmt_cdn/models/error_response.rb'
54
+ autoload :Resource, 'generated/azure_mgmt_cdn/models/resource.rb'
54
55
  autoload :OperationDisplay, 'generated/azure_mgmt_cdn/models/operation_display.rb'
55
56
  autoload :PurgeParameters, 'generated/azure_mgmt_cdn/models/purge_parameters.rb'
56
57
  autoload :Operation, 'generated/azure_mgmt_cdn/models/operation.rb'
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The resource name to validate.
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] Indicates whether the name is available.
17
16
  attr_accessor :name_available
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Ip adress itself.
17
16
  attr_accessor :base_ip_address
18
17
 
@@ -9,11 +9,10 @@ module Azure::ARM::CDN
9
9
  # Friendly domain name mapping to the endpoint hostname that the customer
10
10
  # provides for branding purposes, e.g. www.consoto.com.
11
11
  #
12
- class CustomDomain < MsRestAzure::Resource
12
+ class CustomDomain < Resource
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The host name of the custom domain. Must be a domain
18
17
  # name.
19
18
  attr_accessor :host_name
@@ -13,7 +13,6 @@ module Azure::ARM::CDN
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The host name of the custom domain. Must be a domain
18
17
  # name.
19
18
  attr_accessor :host_name
@@ -13,7 +13,6 @@ module Azure::ARM::CDN
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] Origin name
18
17
  attr_accessor :name
19
18
 
@@ -9,11 +9,10 @@ module Azure::ARM::CDN
9
9
  # Edgenode is a global Point of Presence (POP) location used to deliver CDN
10
10
  # content to end users.
11
11
  #
12
- class EdgeNode < MsRestAzure::Resource
12
+ class EdgeNode < Resource
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [Array<IpAddressGroup>] List of ip address groups.
18
17
  attr_accessor :ip_address_groups
19
18
 
@@ -11,11 +11,10 @@ module Azure::ARM::CDN
11
11
  # behavior. The CDN endpoint uses the URL format
12
12
  # <endpointname>.azureedge.net.
13
13
  #
14
- class Endpoint < MsRestAzure::Resource
14
+ class Endpoint < Resource
15
15
 
16
16
  include MsRestAzure
17
17
 
18
- include MsRest::JSONable
19
18
  # @return [String] The host header CDN sends along with content requests
20
19
  # to origin. The default value is the host name of the origin.
21
20
  attr_accessor :origin_host_header
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] Endpoint tags.
17
16
  attr_accessor :tags
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::CDN
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] Error code.
18
17
  attr_accessor :code
19
18
 
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Relative path applicable to geo filter. (e.g.
17
16
  # '/mypictures', '/mypicture/kitty.jpg', and etc.)
18
17
  attr_accessor :relative_path
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The delivery region of the ip address group
17
16
  attr_accessor :delivery_region
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<String>] The path to the content to be loaded. Path
17
16
  # should be a relative file URL of the origin.
18
17
  attr_accessor :content_paths
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Operation name: {provider}/{resource}/{operation}
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Service provider: Microsoft.Cdn
17
16
  attr_accessor :provider
18
17
 
@@ -11,11 +11,10 @@ module Azure::ARM::CDN
11
11
  # cached, they attempt to fetch it from one or more of the configured
12
12
  # origins.
13
13
  #
14
- class Origin < MsRestAzure::Resource
14
+ class Origin < Resource
15
15
 
16
16
  include MsRestAzure
17
17
 
18
- include MsRest::JSONable
19
18
  # @return [String] The address of the origin. Domain names, IPv4
20
19
  # addresses, and IPv6 addresses are supported.
21
20
  attr_accessor :host_name
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The address of the origin. Domain names, IPv4
17
16
  # addresses, and IPv6 addresses are supported.
18
17
  attr_accessor :host_name
@@ -9,11 +9,10 @@ module Azure::ARM::CDN
9
9
  # CDN profile is a logical grouping of endpoints that share the same
10
10
  # settings, such as CDN provider and pricing tier.
11
11
  #
12
- class Profile < MsRestAzure::Resource
12
+ class Profile < Resource
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [Sku] The pricing tier (defines a CDN provider, feature list
18
17
  # and rate) of the CDN profile.
19
18
  attr_accessor :sku
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] Profile tags
17
16
  attr_accessor :tags
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<String>] The path to the content to be purged. Can
17
16
  # describe a file path or a wild card directory.
18
17
  attr_accessor :content_paths
@@ -0,0 +1,94 @@
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::ARM::CDN
7
+ module Models
8
+ #
9
+ # The Resource definition.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource ID.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Resource name.
19
+ attr_accessor :name
20
+
21
+ # @return [String] Resource type.
22
+ attr_accessor :type
23
+
24
+ # @return [String] Resource location.
25
+ attr_accessor :location
26
+
27
+ # @return [Hash{String => String}] Resource tags.
28
+ attr_accessor :tags
29
+
30
+
31
+ #
32
+ # Mapper for Resource class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ required: false,
38
+ serialized_name: 'Resource',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'Resource',
42
+ model_properties: {
43
+ id: {
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'id',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ name: {
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'name',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ type: {
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'type',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ location: {
68
+ required: true,
69
+ serialized_name: 'location',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ tags: {
75
+ required: false,
76
+ serialized_name: 'tags',
77
+ type: {
78
+ name: 'Dictionary',
79
+ value: {
80
+ required: false,
81
+ serialized_name: 'StringElementType',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Resource type for which the usage is provided.
17
16
  attr_accessor :resource_type
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::CDN
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [SkuName] Name of the pricing tier. Possible values include:
18
17
  # 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
19
18
  # 'Standard_Akamai', 'Standard_ChinaCdn'
@@ -13,7 +13,6 @@ module Azure::ARM::CDN
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The URI used to login to the supplemental portal.
18
17
  attr_accessor :sso_uri_value
19
18
 
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<OptimizationType>] Supported optimization types for a
17
16
  # profile.
18
17
  attr_accessor :supported_optimization_types
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The host name of the custom domain. Must be a domain
17
16
  # name.
18
17
  attr_accessor :host_name
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] Indicates whether the custom domain is valid or not.
17
16
  attr_accessor :custom_domain_validated
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The probe URL to validate.
17
16
  attr_accessor :probe_url
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::CDN
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] Indicates whether the probe URL is accepted or not.
17
16
  attr_accessor :is_valid
18
17
 
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::CDN
7
- VERSION = '0.13.0'
7
+ VERSION = '0.14.0'
8
8
  end
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.13.0
4
+ version: 0.14.0
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-09-27 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -128,6 +128,7 @@ files:
128
128
  - lib/generated/azure_mgmt_cdn/models/profile_update_parameters.rb
129
129
  - lib/generated/azure_mgmt_cdn/models/purge_parameters.rb
130
130
  - lib/generated/azure_mgmt_cdn/models/query_string_caching_behavior.rb
131
+ - lib/generated/azure_mgmt_cdn/models/resource.rb
131
132
  - lib/generated/azure_mgmt_cdn/models/resource_type.rb
132
133
  - lib/generated/azure_mgmt_cdn/models/resource_usage.rb
133
134
  - lib/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb