Class: Azure::CDN::Mgmt::V2016_10_02::Models::EndpointUpdateParameters
- Inherits:
-
Object
- Object
- Azure::CDN::Mgmt::V2016_10_02::Models::EndpointUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb
Overview
Properties required to create a new endpoint.
Instance Attribute Summary collapse
-
#content_types_to_compress ⇒ Array<String>
applies.
-
#geo_filters ⇒ Array<GeoFilter>
within a CDN endpoint.
-
#is_compression_enabled ⇒ Boolean
CDN.
-
#is_http_allowed ⇒ Boolean
endpoint.
-
#is_https_allowed ⇒ Boolean
endpoint.
-
#optimization_type ⇒ OptimizationType
this CDN endpoint to optimize, e.g.
-
#origin_host_header ⇒ String
to origin.
-
#origin_path ⇒ String
The path used when CDN sends request to origin.
-
#query_string_caching_behavior ⇒ QueryStringCachingBehavior
behavior.
-
#tags ⇒ Hash{String => String}
Endpoint tags.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EndpointUpdateParameters class as Ruby Hash.
Instance Attribute Details
#content_types_to_compress ⇒ Array<String>
applies. The value should be a valid MIME type.
27 28 29 |
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb', line 27 def content_types_to_compress @content_types_to_compress end |
#geo_filters ⇒ Array<GeoFilter>
within a CDN endpoint. Each geo filter defines an acess rule to a specified path or content, e.g. block APAC for path /pictures/
62 63 64 |
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb', line 62 def geo_filters @geo_filters end |
#is_compression_enabled ⇒ Boolean
CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won’t be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
34 35 36 |
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb', line 34 def is_compression_enabled @is_compression_enabled end |
#is_http_allowed ⇒ Boolean
endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
39 40 41 |
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb', line 39 def is_http_allowed @is_http_allowed end |
#is_https_allowed ⇒ Boolean
endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
44 45 46 |
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb', line 44 def is_https_allowed @is_https_allowed end |
#optimization_type ⇒ OptimizationType
this CDN endpoint to optimize, e.g. Download, Media services. With this information we can apply scenario driven optimization. Possible values include: ‘GeneralWebDelivery’, ‘GeneralMediaStreaming’, ‘VideoOnDemandMediaStreaming’, ‘LargeFileDownload’, ‘DynamicSiteAcceleration’
57 58 59 |
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb', line 57 def optimization_type @optimization_type end |
#origin_host_header ⇒ String
to origin. The default value is the host name of the origin.
20 21 22 |
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb', line 20 def origin_host_header @origin_host_header end |
#origin_path ⇒ String
Returns The path used when CDN sends request to origin.
23 24 25 |
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb', line 23 def origin_path @origin_path end |
#query_string_caching_behavior ⇒ QueryStringCachingBehavior
behavior. Possible values include: ‘IgnoreQueryString’, ‘BypassCaching’, ‘UseQueryString’, ‘NotSet’
49 50 51 |
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb', line 49 def query_string_caching_behavior @query_string_caching_behavior end |
#tags ⇒ Hash{String => String}
Returns Endpoint tags.
16 17 18 |
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb', line 16 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for EndpointUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb', line 69 def self.mapper() { required: false, serialized_name: 'EndpointUpdateParameters', type: { name: 'Composite', class_name: 'EndpointUpdateParameters', model_properties: { tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, origin_host_header: { required: false, serialized_name: 'properties.originHostHeader', type: { name: 'String' } }, origin_path: { required: false, serialized_name: 'properties.originPath', type: { name: 'String' } }, content_types_to_compress: { required: false, serialized_name: 'properties.contentTypesToCompress', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, is_compression_enabled: { required: false, serialized_name: 'properties.isCompressionEnabled', type: { name: 'Boolean' } }, is_http_allowed: { required: false, serialized_name: 'properties.isHttpAllowed', type: { name: 'Boolean' } }, is_https_allowed: { required: false, serialized_name: 'properties.isHttpsAllowed', type: { name: 'Boolean' } }, query_string_caching_behavior: { required: false, serialized_name: 'properties.queryStringCachingBehavior', type: { name: 'Enum', module: 'QueryStringCachingBehavior' } }, optimization_type: { required: false, serialized_name: 'properties.optimizationType', type: { name: 'String' } }, geo_filters: { required: false, serialized_name: 'properties.geoFilters', type: { name: 'Sequence', element: { required: false, serialized_name: 'GeoFilterElementType', type: { name: 'Composite', class_name: 'GeoFilter' } } } } } } } end |