diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CacheExpirationActionParameters.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CacheExpirationActionParameters.java index ee214dad826..7e125721bca 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CacheExpirationActionParameters.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CacheExpirationActionParameters.java @@ -42,6 +42,7 @@ public class CacheExpirationActionParameters { /** * Creates an instance of CacheExpirationActionParameters class. + * @param cacheBehavior caching behavior for the requests that include query strings. Possible values include: 'BypassCache', 'Override', 'SetIfMissing'. */ public CacheExpirationActionParameters() { odatatype = "Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"; @@ -69,7 +70,7 @@ public CacheExpirationActionParameters withOdatatype(String odatatype) { } /** - * Get the cacheBehavior value. + * Get caching behavior for the requests that include query strings. Possible values include: 'BypassCache', 'Override', 'SetIfMissing'. * * @return the cacheBehavior value */ @@ -78,7 +79,7 @@ public String cacheBehavior() { } /** - * Set the cacheBehavior value. + * Set caching behavior for the requests that include query strings. Possible values include: 'BypassCache', 'Override', 'SetIfMissing'. * * @param cacheBehavior the cacheBehavior value to set * @return the CacheExpirationActionParameters object itself. @@ -89,7 +90,7 @@ public CacheExpirationActionParameters withCacheBehavior(String cacheBehavior) { } /** - * Get the cacheType value. + * Get the level at which the content needs to be cached. * * @return the cacheType value */ @@ -98,7 +99,7 @@ public String cacheType() { } /** - * Set the cacheType value. + * Set the level at which the content needs to be cached. * * @param cacheType the cacheType value to set * @return the CacheExpirationActionParameters object itself. @@ -109,7 +110,7 @@ public CacheExpirationActionParameters withCacheType(String cacheType) { } /** - * Get the cacheDuration value. + * Get the duration for which the the content needs to be cached. Allowed format is [d.]hh:mm:ss. * * @return the cacheDuration value */ @@ -118,7 +119,7 @@ public String cacheDuration() { } /** - * Set the cacheDuration value. + * Set the duration for which the the content needs to be cached. Allowed format is [d.]hh:mm:ss. * * @param cacheDuration the cacheDuration value to set * @return the CacheExpirationActionParameters object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CheckNameAvailabilityInput.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CheckNameAvailabilityInput.java index 0fef898aa72..ca880853782 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CheckNameAvailabilityInput.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CheckNameAvailabilityInput.java @@ -28,13 +28,14 @@ public class CheckNameAvailabilityInput { /** * Creates an instance of CheckNameAvailabilityInput class. + * @param name the resource name to validate. */ public CheckNameAvailabilityInput() { type = "Microsoft.Cdn/Profiles/Endpoints"; } /** - * Get the name value. + * Get the resource name to validate. * * @return the name value */ @@ -43,7 +44,7 @@ public String name() { } /** - * Set the name value. + * Set the resource name to validate. * * @param name the name value to set * @return the CheckNameAvailabilityInput object itself. @@ -54,7 +55,7 @@ public CheckNameAvailabilityInput withName(String name) { } /** - * Get the type value. + * Get the type of the resource whose name is to be validated. * * @return the type value */ @@ -63,7 +64,7 @@ public String type() { } /** - * Set the type value. + * Set the type of the resource whose name is to be validated. * * @param type the type value to set * @return the CheckNameAvailabilityInput object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CidrIpAddress.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CidrIpAddress.java index 39d1c71d6b1..1f45a206d83 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CidrIpAddress.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CidrIpAddress.java @@ -27,7 +27,7 @@ public class CidrIpAddress { private Integer prefixLength; /** - * Get the baseIpAddress value. + * Get ip adress itself. * * @return the baseIpAddress value */ @@ -36,7 +36,7 @@ public String baseIpAddress() { } /** - * Set the baseIpAddress value. + * Set ip adress itself. * * @param baseIpAddress the baseIpAddress value to set * @return the CidrIpAddress object itself. @@ -47,7 +47,7 @@ public CidrIpAddress withBaseIpAddress(String baseIpAddress) { } /** - * Get the prefixLength value. + * Get the length of the prefix of the ip address. * * @return the prefixLength value */ @@ -56,7 +56,7 @@ public Integer prefixLength() { } /** - * Set the prefixLength value. + * Set the length of the prefix of the ip address. * * @param prefixLength the prefixLength value to set * @return the CidrIpAddress object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CustomDomainParameters.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CustomDomainParameters.java index 76c4ad6691b..2d4a009dda2 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CustomDomainParameters.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/CustomDomainParameters.java @@ -23,7 +23,7 @@ public class CustomDomainParameters { private String hostName; /** - * Get the hostName value. + * Get the host name of the custom domain. Must be a domain name. * * @return the hostName value */ @@ -32,7 +32,7 @@ public String hostName() { } /** - * Set the hostName value. + * Set the host name of the custom domain. Must be a domain name. * * @param hostName the hostName value to set * @return the CustomDomainParameters object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeepCreatedOrigin.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeepCreatedOrigin.java index 34025ee030e..0cf9858facb 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeepCreatedOrigin.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeepCreatedOrigin.java @@ -42,7 +42,7 @@ public class DeepCreatedOrigin { private Integer httpsPort; /** - * Get the name value. + * Get origin name. * * @return the name value */ @@ -51,7 +51,7 @@ public String name() { } /** - * Set the name value. + * Set origin name. * * @param name the name value to set * @return the DeepCreatedOrigin object itself. @@ -62,7 +62,7 @@ public DeepCreatedOrigin withName(String name) { } /** - * Get the hostName value. + * Get the address of the origin. It can be a domain name, IPv4 address, or IPv6 address. * * @return the hostName value */ @@ -71,7 +71,7 @@ public String hostName() { } /** - * Set the hostName value. + * Set the address of the origin. It can be a domain name, IPv4 address, or IPv6 address. * * @param hostName the hostName value to set * @return the DeepCreatedOrigin object itself. @@ -82,7 +82,7 @@ public DeepCreatedOrigin withHostName(String hostName) { } /** - * Get the httpPort value. + * Get the value of the HTTP port. Must be between 1 and 65535. * * @return the httpPort value */ @@ -91,7 +91,7 @@ public Integer httpPort() { } /** - * Set the httpPort value. + * Set the value of the HTTP port. Must be between 1 and 65535. * * @param httpPort the httpPort value to set * @return the DeepCreatedOrigin object itself. @@ -102,7 +102,7 @@ public DeepCreatedOrigin withHttpPort(Integer httpPort) { } /** - * Get the httpsPort value. + * Get the value of the HTTPS port. Must be between 1 and 65535. * * @return the httpsPort value */ @@ -111,7 +111,7 @@ public Integer httpsPort() { } /** - * Set the httpsPort value. + * Set the value of the HTTPS port. Must be between 1 and 65535. * * @param httpsPort the httpsPort value to set * @return the DeepCreatedOrigin object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRule.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRule.java index 8b69b7603b5..161eddb408b 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRule.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRule.java @@ -40,7 +40,7 @@ public class DeliveryRule { private List conditions; /** - * Get the order value. + * Get the order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. * * @return the order value */ @@ -49,7 +49,7 @@ public int order() { } /** - * Set the order value. + * Set the order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. * * @param order the order value to set * @return the DeliveryRule object itself. @@ -60,7 +60,7 @@ public DeliveryRule withOrder(int order) { } /** - * Get the actions value. + * Get a list of actions that are executed when all the conditions of a rule are satisfied. * * @return the actions value */ @@ -69,7 +69,7 @@ public List actions() { } /** - * Set the actions value. + * Set a list of actions that are executed when all the conditions of a rule are satisfied. * * @param actions the actions value to set * @return the DeliveryRule object itself. @@ -80,7 +80,7 @@ public DeliveryRule withActions(List actions) { } /** - * Get the conditions value. + * Get a list of conditions that must be matched for the actions to be executed. * * @return the conditions value */ @@ -89,7 +89,7 @@ public List conditions() { } /** - * Set the conditions value. + * Set a list of conditions that must be matched for the actions to be executed. * * @param conditions the conditions value to set * @return the DeliveryRule object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRuleCacheExpirationAction.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRuleCacheExpirationAction.java index 312fb8f3c23..366d25638af 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRuleCacheExpirationAction.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRuleCacheExpirationAction.java @@ -25,7 +25,7 @@ public class DeliveryRuleCacheExpirationAction extends DeliveryRuleAction { private CacheExpirationActionParameters parameters; /** - * Get the parameters value. + * Get defines the parameters for the action. * * @return the parameters value */ @@ -34,7 +34,7 @@ public CacheExpirationActionParameters parameters() { } /** - * Set the parameters value. + * Set defines the parameters for the action. * * @param parameters the parameters value to set * @return the DeliveryRuleCacheExpirationAction object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRuleUrlFileExtensionCondition.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRuleUrlFileExtensionCondition.java index 51207eed4ba..41150001d5c 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRuleUrlFileExtensionCondition.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRuleUrlFileExtensionCondition.java @@ -25,7 +25,7 @@ public class DeliveryRuleUrlFileExtensionCondition extends DeliveryRuleCondition private UrlFileExtensionConditionParameters parameters; /** - * Get the parameters value. + * Get defines the parameters for the condition. * * @return the parameters value */ @@ -34,7 +34,7 @@ public UrlFileExtensionConditionParameters parameters() { } /** - * Set the parameters value. + * Set defines the parameters for the condition. * * @param parameters the parameters value to set * @return the DeliveryRuleUrlFileExtensionCondition object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRuleUrlPathCondition.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRuleUrlPathCondition.java index c19b21d24af..b6dd9b29cc2 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRuleUrlPathCondition.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/DeliveryRuleUrlPathCondition.java @@ -25,7 +25,7 @@ public class DeliveryRuleUrlPathCondition extends DeliveryRuleCondition { private UrlPathConditionParameters parameters; /** - * Get the parameters value. + * Get defines the parameters for the condition. * * @return the parameters value */ @@ -34,7 +34,7 @@ public UrlPathConditionParameters parameters() { } /** - * Set the parameters value. + * Set defines the parameters for the condition. * * @param parameters the parameters value to set * @return the DeliveryRuleUrlPathCondition object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/EndpointPropertiesUpdateParametersDeliveryPolicy.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/EndpointPropertiesUpdateParametersDeliveryPolicy.java index 9cdfae4049a..33e647f1497 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/EndpointPropertiesUpdateParametersDeliveryPolicy.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/EndpointPropertiesUpdateParametersDeliveryPolicy.java @@ -28,7 +28,7 @@ public class EndpointPropertiesUpdateParametersDeliveryPolicy { private List rules; /** - * Get the description value. + * Get user-friendly description of the policy. * * @return the description value */ @@ -37,7 +37,7 @@ public String description() { } /** - * Set the description value. + * Set user-friendly description of the policy. * * @param description the description value to set * @return the EndpointPropertiesUpdateParametersDeliveryPolicy object itself. @@ -48,7 +48,7 @@ public EndpointPropertiesUpdateParametersDeliveryPolicy withDescription(String d } /** - * Get the rules value. + * Get a list of the delivery rules. * * @return the rules value */ @@ -57,7 +57,7 @@ public List rules() { } /** - * Set the rules value. + * Set a list of the delivery rules. * * @param rules the rules value to set * @return the EndpointPropertiesUpdateParametersDeliveryPolicy object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/EndpointUpdateParameters.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/EndpointUpdateParameters.java new file mode 100644 index 00000000000..6d021524cbb --- /dev/null +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/EndpointUpdateParameters.java @@ -0,0 +1,357 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.cdn; + +import java.util.Map; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * Properties required to create or update an endpoint. + */ +@JsonFlatten +public class EndpointUpdateParameters { + /** + * Endpoint tags. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * The host header value sent to the origin with each request. If you leave + * this blank, the request hostname determines this value. Azure CDN + * origins, such as Web Apps, Blob Storage, and Cloud Services require this + * host header value to match the origin hostname by default. + */ + @JsonProperty(value = "properties.originHostHeader") + private String originHostHeader; + + /** + * A directory path on the origin that CDN can use to retreive content + * from, e.g. contoso.cloudapp.net/originpath. + */ + @JsonProperty(value = "properties.originPath") + private String originPath; + + /** + * List of content types on which compression applies. The value should be + * a valid MIME type. + */ + @JsonProperty(value = "properties.contentTypesToCompress") + private List contentTypesToCompress; + + /** + * Indicates whether content compression is enabled on 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. + */ + @JsonProperty(value = "properties.isCompressionEnabled") + private Boolean isCompressionEnabled; + + /** + * Indicates whether HTTP traffic is allowed on the endpoint. Default value + * is true. At least one protocol (HTTP or HTTPS) must be allowed. + */ + @JsonProperty(value = "properties.isHttpAllowed") + private Boolean isHttpAllowed; + + /** + * Indicates whether HTTPS traffic is allowed on the endpoint. Default + * value is true. At least one protocol (HTTP or HTTPS) must be allowed. + */ + @JsonProperty(value = "properties.isHttpsAllowed") + private Boolean isHttpsAllowed; + + /** + * Defines how CDN caches requests that include query strings. You can + * ignore any query strings when caching, bypass caching to prevent + * requests that contain query strings from being cached, or cache every + * request with a unique URL. Possible values include: 'IgnoreQueryString', + * 'BypassCaching', 'UseQueryString', 'NotSet'. + */ + @JsonProperty(value = "properties.queryStringCachingBehavior") + private QueryStringCachingBehavior queryStringCachingBehavior; + + /** + * Specifies what scenario the customer wants this CDN endpoint to optimize + * for, e.g. Download, Media services. With this information, CDN can apply + * scenario driven optimization. Possible values include: + * 'GeneralWebDelivery', 'GeneralMediaStreaming', + * 'VideoOnDemandMediaStreaming', 'LargeFileDownload', + * 'DynamicSiteAcceleration'. + */ + @JsonProperty(value = "properties.optimizationType") + private OptimizationType optimizationType; + + /** + * Path to a file hosted on the origin which helps accelerate delivery of + * the dynamic content and calculate the most optimal routes for the CDN. + * This is relative to the origin path. + */ + @JsonProperty(value = "properties.probePath") + private String probePath; + + /** + * List of rules defining the user's geo access within a CDN endpoint. Each + * geo filter defines an acess rule to a specified path or content, e.g. + * block APAC for path /pictures/. + */ + @JsonProperty(value = "properties.geoFilters") + private List geoFilters; + + /** + * A policy that specifies the delivery rules to be used for an endpoint. + */ + @JsonProperty(value = "properties.deliveryPolicy") + private EndpointPropertiesUpdateParametersDeliveryPolicy deliveryPolicy; + + /** + * Get endpoint tags. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set endpoint tags. + * + * @param tags the tags value to set + * @return the EndpointUpdateParameters object itself. + */ + public EndpointUpdateParameters withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get the host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + * + * @return the originHostHeader value + */ + public String originHostHeader() { + return this.originHostHeader; + } + + /** + * Set the host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. + * + * @param originHostHeader the originHostHeader value to set + * @return the EndpointUpdateParameters object itself. + */ + public EndpointUpdateParameters withOriginHostHeader(String originHostHeader) { + this.originHostHeader = originHostHeader; + return this; + } + + /** + * Get a directory path on the origin that CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + * + * @return the originPath value + */ + public String originPath() { + return this.originPath; + } + + /** + * Set a directory path on the origin that CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + * + * @param originPath the originPath value to set + * @return the EndpointUpdateParameters object itself. + */ + public EndpointUpdateParameters withOriginPath(String originPath) { + this.originPath = originPath; + return this; + } + + /** + * Get list of content types on which compression applies. The value should be a valid MIME type. + * + * @return the contentTypesToCompress value + */ + public List contentTypesToCompress() { + return this.contentTypesToCompress; + } + + /** + * Set list of content types on which compression applies. The value should be a valid MIME type. + * + * @param contentTypesToCompress the contentTypesToCompress value to set + * @return the EndpointUpdateParameters object itself. + */ + public EndpointUpdateParameters withContentTypesToCompress(List contentTypesToCompress) { + this.contentTypesToCompress = contentTypesToCompress; + return this; + } + + /** + * Get indicates whether content compression is enabled on 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. + * + * @return the isCompressionEnabled value + */ + public Boolean isCompressionEnabled() { + return this.isCompressionEnabled; + } + + /** + * Set indicates whether content compression is enabled on 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. + * + * @param isCompressionEnabled the isCompressionEnabled value to set + * @return the EndpointUpdateParameters object itself. + */ + public EndpointUpdateParameters withIsCompressionEnabled(Boolean isCompressionEnabled) { + this.isCompressionEnabled = isCompressionEnabled; + return this; + } + + /** + * Get indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + * + * @return the isHttpAllowed value + */ + public Boolean isHttpAllowed() { + return this.isHttpAllowed; + } + + /** + * Set indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + * + * @param isHttpAllowed the isHttpAllowed value to set + * @return the EndpointUpdateParameters object itself. + */ + public EndpointUpdateParameters withIsHttpAllowed(Boolean isHttpAllowed) { + this.isHttpAllowed = isHttpAllowed; + return this; + } + + /** + * Get indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + * + * @return the isHttpsAllowed value + */ + public Boolean isHttpsAllowed() { + return this.isHttpsAllowed; + } + + /** + * Set indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. + * + * @param isHttpsAllowed the isHttpsAllowed value to set + * @return the EndpointUpdateParameters object itself. + */ + public EndpointUpdateParameters withIsHttpsAllowed(Boolean isHttpsAllowed) { + this.isHttpsAllowed = isHttpsAllowed; + return this; + } + + /** + * Get defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString', 'NotSet'. + * + * @return the queryStringCachingBehavior value + */ + public QueryStringCachingBehavior queryStringCachingBehavior() { + return this.queryStringCachingBehavior; + } + + /** + * Set defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString', 'NotSet'. + * + * @param queryStringCachingBehavior the queryStringCachingBehavior value to set + * @return the EndpointUpdateParameters object itself. + */ + public EndpointUpdateParameters withQueryStringCachingBehavior(QueryStringCachingBehavior queryStringCachingBehavior) { + this.queryStringCachingBehavior = queryStringCachingBehavior; + return this; + } + + /** + * Get specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. Possible values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', 'LargeFileDownload', 'DynamicSiteAcceleration'. + * + * @return the optimizationType value + */ + public OptimizationType optimizationType() { + return this.optimizationType; + } + + /** + * Set specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. Possible values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', 'LargeFileDownload', 'DynamicSiteAcceleration'. + * + * @param optimizationType the optimizationType value to set + * @return the EndpointUpdateParameters object itself. + */ + public EndpointUpdateParameters withOptimizationType(OptimizationType optimizationType) { + this.optimizationType = optimizationType; + return this; + } + + /** + * Get path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. + * + * @return the probePath value + */ + public String probePath() { + return this.probePath; + } + + /** + * Set path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. + * + * @param probePath the probePath value to set + * @return the EndpointUpdateParameters object itself. + */ + public EndpointUpdateParameters withProbePath(String probePath) { + this.probePath = probePath; + return this; + } + + /** + * Get list of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an acess rule to a specified path or content, e.g. block APAC for path /pictures/. + * + * @return the geoFilters value + */ + public List geoFilters() { + return this.geoFilters; + } + + /** + * Set list of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an acess rule to a specified path or content, e.g. block APAC for path /pictures/. + * + * @param geoFilters the geoFilters value to set + * @return the EndpointUpdateParameters object itself. + */ + public EndpointUpdateParameters withGeoFilters(List geoFilters) { + this.geoFilters = geoFilters; + return this; + } + + /** + * Get a policy that specifies the delivery rules to be used for an endpoint. + * + * @return the deliveryPolicy value + */ + public EndpointPropertiesUpdateParametersDeliveryPolicy deliveryPolicy() { + return this.deliveryPolicy; + } + + /** + * Set a policy that specifies the delivery rules to be used for an endpoint. + * + * @param deliveryPolicy the deliveryPolicy value to set + * @return the EndpointUpdateParameters object itself. + */ + public EndpointUpdateParameters withDeliveryPolicy(EndpointPropertiesUpdateParametersDeliveryPolicy deliveryPolicy) { + this.deliveryPolicy = deliveryPolicy; + return this; + } + +} diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ErrorResponse.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ErrorResponse.java index 958408f7d14..585c2ef4d8d 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ErrorResponse.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ErrorResponse.java @@ -28,7 +28,7 @@ public class ErrorResponse { private String message; /** - * Get the code value. + * Get error code. * * @return the code value */ @@ -37,7 +37,7 @@ public String code() { } /** - * Get the message value. + * Get error message indicating why the operation failed. * * @return the message value */ diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/GeoFilter.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/GeoFilter.java index 41d94259bda..48c10b5d04c 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/GeoFilter.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/GeoFilter.java @@ -37,7 +37,7 @@ public class GeoFilter { private List countryCodes; /** - * Get the relativePath value. + * Get relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.). * * @return the relativePath value */ @@ -46,7 +46,7 @@ public String relativePath() { } /** - * Set the relativePath value. + * Set relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.). * * @param relativePath the relativePath value to set * @return the GeoFilter object itself. @@ -57,7 +57,7 @@ public GeoFilter withRelativePath(String relativePath) { } /** - * Get the action value. + * Get action of the geo filter, i.e. allow or block access. Possible values include: 'Block', 'Allow'. * * @return the action value */ @@ -66,7 +66,7 @@ public GeoFilterActions action() { } /** - * Set the action value. + * Set action of the geo filter, i.e. allow or block access. Possible values include: 'Block', 'Allow'. * * @param action the action value to set * @return the GeoFilter object itself. @@ -77,7 +77,7 @@ public GeoFilter withAction(GeoFilterActions action) { } /** - * Get the countryCodes value. + * Get two letter country codes defining user country access in a geo filter, e.g. AU, MX, US. * * @return the countryCodes value */ @@ -86,7 +86,7 @@ public List countryCodes() { } /** - * Set the countryCodes value. + * Set two letter country codes defining user country access in a geo filter, e.g. AU, MX, US. * * @param countryCodes the countryCodes value to set * @return the GeoFilter object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/IpAddressGroup.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/IpAddressGroup.java index 13882d7bf7f..eb61cdf5f62 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/IpAddressGroup.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/IpAddressGroup.java @@ -34,7 +34,7 @@ public class IpAddressGroup { private List ipv6Addresses; /** - * Get the deliveryRegion value. + * Get the delivery region of the ip address group. * * @return the deliveryRegion value */ @@ -43,7 +43,7 @@ public String deliveryRegion() { } /** - * Set the deliveryRegion value. + * Set the delivery region of the ip address group. * * @param deliveryRegion the deliveryRegion value to set * @return the IpAddressGroup object itself. @@ -54,7 +54,7 @@ public IpAddressGroup withDeliveryRegion(String deliveryRegion) { } /** - * Get the ipv4Addresses value. + * Get the list of ip v4 addresses. * * @return the ipv4Addresses value */ @@ -63,7 +63,7 @@ public List ipv4Addresses() { } /** - * Set the ipv4Addresses value. + * Set the list of ip v4 addresses. * * @param ipv4Addresses the ipv4Addresses value to set * @return the IpAddressGroup object itself. @@ -74,7 +74,7 @@ public IpAddressGroup withIpv4Addresses(List ipv4Addresses) { } /** - * Get the ipv6Addresses value. + * Get the list of ip v6 addresses. * * @return the ipv6Addresses value */ @@ -83,7 +83,7 @@ public List ipv6Addresses() { } /** - * Set the ipv6Addresses value. + * Set the list of ip v6 addresses. * * @param ipv6Addresses the ipv6Addresses value to set * @return the IpAddressGroup object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/LoadParameters.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/LoadParameters.java index f48431e5674..3669530d459 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/LoadParameters.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/LoadParameters.java @@ -23,7 +23,7 @@ public class LoadParameters { private List contentPaths; /** - * Get the contentPaths value. + * Get the path to the content to be loaded. Path should be a relative file URL of the origin. * * @return the contentPaths value */ @@ -32,7 +32,7 @@ public List contentPaths() { } /** - * Set the contentPaths value. + * Set the path to the content to be loaded. Path should be a relative file URL of the origin. * * @param contentPaths the contentPaths value to set * @return the LoadParameters object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/OperationDisplay.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/OperationDisplay.java index ff586169a34..774062d608c 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/OperationDisplay.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/OperationDisplay.java @@ -33,7 +33,7 @@ public class OperationDisplay { private String operation; /** - * Get the provider value. + * Get service provider: Microsoft.Cdn. * * @return the provider value */ @@ -42,7 +42,7 @@ public String provider() { } /** - * Get the resource value. + * Get resource on which the operation is performed: Profile, endpoint, etc. * * @return the resource value */ @@ -51,7 +51,7 @@ public String resource() { } /** - * Get the operation value. + * Get operation type: Read, write, delete, etc. * * @return the operation value */ diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/OriginUpdateParameters.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/OriginUpdateParameters.java new file mode 100644 index 00000000000..4990012ecb4 --- /dev/null +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/OriginUpdateParameters.java @@ -0,0 +1,98 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.cdn; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * Origin properties needed for origin creation or update. + */ +@JsonFlatten +public class OriginUpdateParameters { + /** + * The address of the origin. Domain names, IPv4 addresses, and IPv6 + * addresses are supported. + */ + @JsonProperty(value = "properties.hostName") + private String hostName; + + /** + * The value of the HTTP port. Must be between 1 and 65535. + */ + @JsonProperty(value = "properties.httpPort") + private Integer httpPort; + + /** + * The value of the HTTPS port. Must be between 1 and 65535. + */ + @JsonProperty(value = "properties.httpsPort") + private Integer httpsPort; + + /** + * Get the address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported. + * + * @return the hostName value + */ + public String hostName() { + return this.hostName; + } + + /** + * Set the address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported. + * + * @param hostName the hostName value to set + * @return the OriginUpdateParameters object itself. + */ + public OriginUpdateParameters withHostName(String hostName) { + this.hostName = hostName; + return this; + } + + /** + * Get the value of the HTTP port. Must be between 1 and 65535. + * + * @return the httpPort value + */ + public Integer httpPort() { + return this.httpPort; + } + + /** + * Set the value of the HTTP port. Must be between 1 and 65535. + * + * @param httpPort the httpPort value to set + * @return the OriginUpdateParameters object itself. + */ + public OriginUpdateParameters withHttpPort(Integer httpPort) { + this.httpPort = httpPort; + return this; + } + + /** + * Get the value of the HTTPS port. Must be between 1 and 65535. + * + * @return the httpsPort value + */ + public Integer httpsPort() { + return this.httpsPort; + } + + /** + * Set the value of the HTTPS port. Must be between 1 and 65535. + * + * @param httpsPort the httpsPort value to set + * @return the OriginUpdateParameters object itself. + */ + public OriginUpdateParameters withHttpsPort(Integer httpsPort) { + this.httpsPort = httpsPort; + return this; + } + +} diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ProfileUpdateParameters.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ProfileUpdateParameters.java index 6d309208ce2..9d549fc760a 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ProfileUpdateParameters.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ProfileUpdateParameters.java @@ -22,7 +22,7 @@ public class ProfileUpdateParameters { private Map tags; /** - * Get the tags value. + * Get profile tags. * * @return the tags value */ @@ -31,7 +31,7 @@ public Map tags() { } /** - * Set the tags value. + * Set profile tags. * * @param tags the tags value to set * @return the ProfileUpdateParameters object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/PurgeParameters.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/PurgeParameters.java index 72f6a25b69d..421f015b32e 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/PurgeParameters.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/PurgeParameters.java @@ -23,7 +23,7 @@ public class PurgeParameters { private List contentPaths; /** - * Get the contentPaths value. + * Get the path to the content to be purged. Can describe a file path or a wild card directory. * * @return the contentPaths value */ @@ -32,7 +32,7 @@ public List contentPaths() { } /** - * Set the contentPaths value. + * Set the path to the content to be purged. Can describe a file path or a wild card directory. * * @param contentPaths the contentPaths value to set * @return the PurgeParameters object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/Sku.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/Sku.java index 7d746c7ca57..16a95260b12 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/Sku.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/Sku.java @@ -24,7 +24,7 @@ public class Sku { private SkuName name; /** - * Get the name value. + * Get name of the pricing tier. Possible values include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon', 'Standard_Akamai', 'Standard_ChinaCdn'. * * @return the name value */ @@ -33,7 +33,7 @@ public SkuName name() { } /** - * Set the name value. + * Set name of the pricing tier. Possible values include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon', 'Standard_Akamai', 'Standard_ChinaCdn'. * * @param name the name value to set * @return the Sku object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/UrlFileExtensionConditionParameters.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/UrlFileExtensionConditionParameters.java index 565fc665722..f53f269d89b 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/UrlFileExtensionConditionParameters.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/UrlFileExtensionConditionParameters.java @@ -29,6 +29,7 @@ public class UrlFileExtensionConditionParameters { /** * Creates an instance of UrlFileExtensionConditionParameters class. + * @param extensions a list of extensions for the condition of the delivery rule. */ public UrlFileExtensionConditionParameters() { odatatype = "Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFileExtensionConditionParameters"; @@ -55,7 +56,7 @@ public UrlFileExtensionConditionParameters withOdatatype(String odatatype) { } /** - * Get the extensions value. + * Get a list of extensions for the condition of the delivery rule. * * @return the extensions value */ @@ -64,7 +65,7 @@ public List extensions() { } /** - * Set the extensions value. + * Set a list of extensions for the condition of the delivery rule. * * @param extensions the extensions value to set * @return the UrlFileExtensionConditionParameters object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/UrlPathConditionParameters.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/UrlPathConditionParameters.java index d04f5b646a0..b7732620879 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/UrlPathConditionParameters.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/UrlPathConditionParameters.java @@ -35,6 +35,8 @@ public class UrlPathConditionParameters { /** * Creates an instance of UrlPathConditionParameters class. + * @param path a URL path for the condition of the delivery rule. + * @param matchType the match type for the condition of the delivery rule. Possible values include: 'Literal', 'Wildcard'. */ public UrlPathConditionParameters() { odatatype = "Microsoft.Azure.Cdn.Models.DeliveryRuleUrlPathConditionParameters"; @@ -61,7 +63,7 @@ public UrlPathConditionParameters withOdatatype(String odatatype) { } /** - * Get the path value. + * Get a URL path for the condition of the delivery rule. * * @return the path value */ @@ -70,7 +72,7 @@ public String path() { } /** - * Set the path value. + * Set a URL path for the condition of the delivery rule. * * @param path the path value to set * @return the UrlPathConditionParameters object itself. @@ -81,7 +83,7 @@ public UrlPathConditionParameters withPath(String path) { } /** - * Get the matchType value. + * Get the match type for the condition of the delivery rule. Possible values include: 'Literal', 'Wildcard'. * * @return the matchType value */ @@ -90,7 +92,7 @@ public String matchType() { } /** - * Set the matchType value. + * Set the match type for the condition of the delivery rule. Possible values include: 'Literal', 'Wildcard'. * * @param matchType the matchType value to set * @return the UrlPathConditionParameters object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ValidateCustomDomainInput.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ValidateCustomDomainInput.java index a3d55721374..5a0020d2220 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ValidateCustomDomainInput.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ValidateCustomDomainInput.java @@ -21,7 +21,7 @@ public class ValidateCustomDomainInput { private String hostName; /** - * Get the hostName value. + * Get the host name of the custom domain. Must be a domain name. * * @return the hostName value */ @@ -30,7 +30,7 @@ public String hostName() { } /** - * Set the hostName value. + * Set the host name of the custom domain. Must be a domain name. * * @param hostName the hostName value to set * @return the ValidateCustomDomainInput object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ValidateProbeInput.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ValidateProbeInput.java index bd35b63d829..1548ad7bc01 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ValidateProbeInput.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/ValidateProbeInput.java @@ -21,7 +21,7 @@ public class ValidateProbeInput { private String probeURL; /** - * Get the probeURL value. + * Get the probe URL to validate. * * @return the probeURL value */ @@ -30,7 +30,7 @@ public String probeURL() { } /** - * Set the probeURL value. + * Set the probe URL to validate. * * @param probeURL the probeURL value to set * @return the ValidateProbeInput object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/CheckNameAvailabilityOutputInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/CheckNameAvailabilityOutputInner.java index 20edf8094a2..b958f0de91f 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/CheckNameAvailabilityOutputInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/CheckNameAvailabilityOutputInner.java @@ -33,7 +33,7 @@ public class CheckNameAvailabilityOutputInner { private String message; /** - * Get the nameAvailable value. + * Get indicates whether the name is available. * * @return the nameAvailable value */ @@ -42,7 +42,7 @@ public Boolean nameAvailable() { } /** - * Get the reason value. + * Get the reason why the name is not available. * * @return the reason value */ @@ -51,7 +51,7 @@ public String reason() { } /** - * Get the message value. + * Get the detailed error message describing why the name is not available. * * @return the message value */ diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/CustomDomainInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/CustomDomainInner.java index c7d8eed157a..242b315d0a2 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/CustomDomainInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/CustomDomainInner.java @@ -70,7 +70,7 @@ public class CustomDomainInner extends ProxyResourceInner { private String provisioningState; /** - * Get the hostName value. + * Get the host name of the custom domain. Must be a domain name. * * @return the hostName value */ @@ -79,7 +79,7 @@ public String hostName() { } /** - * Set the hostName value. + * Set the host name of the custom domain. Must be a domain name. * * @param hostName the hostName value to set * @return the CustomDomainInner object itself. @@ -90,7 +90,7 @@ public CustomDomainInner withHostName(String hostName) { } /** - * Get the resourceState value. + * Get resource status of the custom domain. Possible values include: 'Creating', 'Active', 'Deleting'. * * @return the resourceState value */ @@ -99,7 +99,7 @@ public CustomDomainResourceState resourceState() { } /** - * Get the customHttpsProvisioningState value. + * Get provisioning status of Custom Https of the custom domain. Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Failed'. * * @return the customHttpsProvisioningState value */ @@ -108,7 +108,7 @@ public CustomHttpsProvisioningState customHttpsProvisioningState() { } /** - * Get the customHttpsProvisioningSubstate value. + * Get provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. Possible values include: 'SubmittingDomainControlValidationRequest', 'PendingDomainControlValidationREquestApproval', 'DomainControlValidationRequestApproved', 'DomainControlValidationRequestRejected', 'DomainControlValidationRequestTimedOut', 'IssuingCertificate', 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate', 'CertificateDeleted'. * * @return the customHttpsProvisioningSubstate value */ @@ -117,7 +117,7 @@ public CustomHttpsProvisioningSubstate customHttpsProvisioningSubstate() { } /** - * Get the validationData value. + * Get special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. * * @return the validationData value */ @@ -126,7 +126,7 @@ public String validationData() { } /** - * Set the validationData value. + * Set special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. * * @param validationData the validationData value to set * @return the CustomDomainInner object itself. @@ -137,7 +137,7 @@ public CustomDomainInner withValidationData(String validationData) { } /** - * Get the provisioningState value. + * Get provisioning status of the custom domain. * * @return the provisioningState value */ diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/EdgeNodeInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/EdgeNodeInner.java index c9e2b6217e7..5adeb17f7d2 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/EdgeNodeInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/EdgeNodeInner.java @@ -26,7 +26,7 @@ public class EdgeNodeInner extends ProxyResourceInner { private List ipAddressGroups; /** - * Get the ipAddressGroups value. + * Get list of ip address groups. * * @return the ipAddressGroups value */ @@ -35,7 +35,7 @@ public List ipAddressGroups() { } /** - * Set the ipAddressGroups value. + * Set list of ip address groups. * * @param ipAddressGroups the ipAddressGroups value to set * @return the EdgeNodeInner object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/EndpointInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/EndpointInner.java index d1d80f1b84e..81c92346b7b 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/EndpointInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/EndpointInner.java @@ -142,7 +142,7 @@ public class EndpointInner extends TrackedResourceInner { private String provisioningState; /** - * Get the originHostHeader value. + * Get the host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. * * @return the originHostHeader value */ @@ -151,7 +151,7 @@ public String originHostHeader() { } /** - * Set the originHostHeader value. + * Set the host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. * * @param originHostHeader the originHostHeader value to set * @return the EndpointInner object itself. @@ -162,7 +162,7 @@ public EndpointInner withOriginHostHeader(String originHostHeader) { } /** - * Get the originPath value. + * Get a directory path on the origin that CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. * * @return the originPath value */ @@ -171,7 +171,7 @@ public String originPath() { } /** - * Set the originPath value. + * Set a directory path on the origin that CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. * * @param originPath the originPath value to set * @return the EndpointInner object itself. @@ -182,7 +182,7 @@ public EndpointInner withOriginPath(String originPath) { } /** - * Get the contentTypesToCompress value. + * Get list of content types on which compression applies. The value should be a valid MIME type. * * @return the contentTypesToCompress value */ @@ -191,7 +191,7 @@ public List contentTypesToCompress() { } /** - * Set the contentTypesToCompress value. + * Set list of content types on which compression applies. The value should be a valid MIME type. * * @param contentTypesToCompress the contentTypesToCompress value to set * @return the EndpointInner object itself. @@ -202,7 +202,7 @@ public EndpointInner withContentTypesToCompress(List contentTypesToCompr } /** - * Get the isCompressionEnabled value. + * Get indicates whether content compression is enabled on 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. * * @return the isCompressionEnabled value */ @@ -211,7 +211,7 @@ public Boolean isCompressionEnabled() { } /** - * Set the isCompressionEnabled value. + * Set indicates whether content compression is enabled on 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. * * @param isCompressionEnabled the isCompressionEnabled value to set * @return the EndpointInner object itself. @@ -222,7 +222,7 @@ public EndpointInner withIsCompressionEnabled(Boolean isCompressionEnabled) { } /** - * Get the isHttpAllowed value. + * Get indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. * * @return the isHttpAllowed value */ @@ -231,7 +231,7 @@ public Boolean isHttpAllowed() { } /** - * Set the isHttpAllowed value. + * Set indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. * * @param isHttpAllowed the isHttpAllowed value to set * @return the EndpointInner object itself. @@ -242,7 +242,7 @@ public EndpointInner withIsHttpAllowed(Boolean isHttpAllowed) { } /** - * Get the isHttpsAllowed value. + * Get indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. * * @return the isHttpsAllowed value */ @@ -251,7 +251,7 @@ public Boolean isHttpsAllowed() { } /** - * Set the isHttpsAllowed value. + * Set indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. * * @param isHttpsAllowed the isHttpsAllowed value to set * @return the EndpointInner object itself. @@ -262,7 +262,7 @@ public EndpointInner withIsHttpsAllowed(Boolean isHttpsAllowed) { } /** - * Get the queryStringCachingBehavior value. + * Get defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString', 'NotSet'. * * @return the queryStringCachingBehavior value */ @@ -271,7 +271,7 @@ public QueryStringCachingBehavior queryStringCachingBehavior() { } /** - * Set the queryStringCachingBehavior value. + * Set defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString', 'NotSet'. * * @param queryStringCachingBehavior the queryStringCachingBehavior value to set * @return the EndpointInner object itself. @@ -282,7 +282,7 @@ public EndpointInner withQueryStringCachingBehavior(QueryStringCachingBehavior q } /** - * Get the optimizationType value. + * Get specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. Possible values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', 'LargeFileDownload', 'DynamicSiteAcceleration'. * * @return the optimizationType value */ @@ -291,7 +291,7 @@ public OptimizationType optimizationType() { } /** - * Set the optimizationType value. + * Set specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. Possible values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', 'LargeFileDownload', 'DynamicSiteAcceleration'. * * @param optimizationType the optimizationType value to set * @return the EndpointInner object itself. @@ -302,7 +302,7 @@ public EndpointInner withOptimizationType(OptimizationType optimizationType) { } /** - * Get the probePath value. + * Get path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. * * @return the probePath value */ @@ -311,7 +311,7 @@ public String probePath() { } /** - * Set the probePath value. + * Set path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. * * @param probePath the probePath value to set * @return the EndpointInner object itself. @@ -322,7 +322,7 @@ public EndpointInner withProbePath(String probePath) { } /** - * Get the geoFilters value. + * Get list of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an acess rule to a specified path or content, e.g. block APAC for path /pictures/. * * @return the geoFilters value */ @@ -331,7 +331,7 @@ public List geoFilters() { } /** - * Set the geoFilters value. + * Set list of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an acess rule to a specified path or content, e.g. block APAC for path /pictures/. * * @param geoFilters the geoFilters value to set * @return the EndpointInner object itself. @@ -342,7 +342,7 @@ public EndpointInner withGeoFilters(List geoFilters) { } /** - * Get the deliveryPolicy value. + * Get a policy that specifies the delivery rules to be used for an endpoint. * * @return the deliveryPolicy value */ @@ -351,7 +351,7 @@ public EndpointPropertiesUpdateParametersDeliveryPolicy deliveryPolicy() { } /** - * Set the deliveryPolicy value. + * Set a policy that specifies the delivery rules to be used for an endpoint. * * @param deliveryPolicy the deliveryPolicy value to set * @return the EndpointInner object itself. @@ -362,7 +362,7 @@ public EndpointInner withDeliveryPolicy(EndpointPropertiesUpdateParametersDelive } /** - * Get the hostName value. + * Get the host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. consoto.azureedge.net. * * @return the hostName value */ @@ -371,7 +371,7 @@ public String hostName() { } /** - * Get the origins value. + * Get the source of the content being delivered via CDN. * * @return the origins value */ @@ -380,7 +380,7 @@ public List origins() { } /** - * Set the origins value. + * Set the source of the content being delivered via CDN. * * @param origins the origins value to set * @return the EndpointInner object itself. @@ -391,7 +391,7 @@ public EndpointInner withOrigins(List origins) { } /** - * Get the resourceState value. + * Get resource status of the endpoint. Possible values include: 'Creating', 'Deleting', 'Running', 'Starting', 'Stopped', 'Stopping'. * * @return the resourceState value */ @@ -400,7 +400,7 @@ public EndpointResourceState resourceState() { } /** - * Get the provisioningState value. + * Get provisioning status of the endpoint. * * @return the provisioningState value */ diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/EndpointsInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/EndpointsInner.java index 7273cb4bf18..5be7c6d16dd 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/EndpointsInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/EndpointsInner.java @@ -12,6 +12,7 @@ import com.google.common.reflect.TypeToken; import com.microsoft.azure.AzureServiceFuture; import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.cdn.EndpointUpdateParameters; import com.microsoft.azure.management.cdn.ErrorResponseException; import com.microsoft.azure.management.cdn.LoadParameters; import com.microsoft.azure.management.cdn.PurgeParameters; @@ -84,11 +85,11 @@ interface EndpointsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.cdn.Endpoints update" }) @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}") - Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("profileName") String profileName, @Path("endpointName") String endpointName, @Path("subscriptionId") String subscriptionId, @Body EndpointUpdateParametersInner endpointUpdateProperties, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("profileName") String profileName, @Path("endpointName") String endpointName, @Path("subscriptionId") String subscriptionId, @Body EndpointUpdateParameters endpointUpdateProperties, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.cdn.Endpoints beginUpdate" }) @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}") - Observable> beginUpdate(@Path("resourceGroupName") String resourceGroupName, @Path("profileName") String profileName, @Path("endpointName") String endpointName, @Path("subscriptionId") String subscriptionId, @Body EndpointUpdateParametersInner endpointUpdateProperties, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> beginUpdate(@Path("resourceGroupName") String resourceGroupName, @Path("profileName") String profileName, @Path("endpointName") String endpointName, @Path("subscriptionId") String subscriptionId, @Body EndpointUpdateParameters endpointUpdateProperties, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.cdn.Endpoints delete" }) @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}", method = "DELETE", hasBody = true) @@ -563,7 +564,7 @@ private ServiceResponse beginCreateDelegate(Response updateAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParametersInner endpointUpdateProperties, final ServiceCallback serviceCallback) { + public ServiceFuture updateAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, profileName, endpointName, endpointUpdateProperties), serviceCallback); } @@ -592,7 +593,7 @@ public ServiceFuture updateAsync(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable updateAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParametersInner endpointUpdateProperties) { + public Observable updateAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) { return updateWithServiceResponseAsync(resourceGroupName, profileName, endpointName, endpointUpdateProperties).map(new Func1, EndpointInner>() { @Override public EndpointInner call(ServiceResponse response) { @@ -611,7 +612,7 @@ public EndpointInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> updateWithServiceResponseAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParametersInner endpointUpdateProperties) { + public Observable> updateWithServiceResponseAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -647,7 +648,7 @@ public Observable> updateWithServiceResponseAsync * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the EndpointInner object if successful. */ - public EndpointInner beginUpdate(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParametersInner endpointUpdateProperties) { + public EndpointInner beginUpdate(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) { return beginUpdateWithServiceResponseAsync(resourceGroupName, profileName, endpointName, endpointUpdateProperties).toBlocking().single().body(); } @@ -662,7 +663,7 @@ public EndpointInner beginUpdate(String resourceGroupName, String profileName, S * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParametersInner endpointUpdateProperties, final ServiceCallback serviceCallback) { + public ServiceFuture beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(beginUpdateWithServiceResponseAsync(resourceGroupName, profileName, endpointName, endpointUpdateProperties), serviceCallback); } @@ -676,7 +677,7 @@ public ServiceFuture beginUpdateAsync(String resourceGroupName, S * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the EndpointInner object */ - public Observable beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParametersInner endpointUpdateProperties) { + public Observable beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) { return beginUpdateWithServiceResponseAsync(resourceGroupName, profileName, endpointName, endpointUpdateProperties).map(new Func1, EndpointInner>() { @Override public EndpointInner call(ServiceResponse response) { @@ -695,7 +696,7 @@ public EndpointInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the EndpointInner object */ - public Observable> beginUpdateWithServiceResponseAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParametersInner endpointUpdateProperties) { + public Observable> beginUpdateWithServiceResponseAsync(String resourceGroupName, String profileName, String endpointName, EndpointUpdateParameters endpointUpdateProperties) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/OperationInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/OperationInner.java index 80657b99de5..9fbb003689a 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/OperationInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/OperationInner.java @@ -28,7 +28,7 @@ public class OperationInner { private OperationDisplay display; /** - * Get the name value. + * Get operation name: {provider}/{resource}/{operation}. * * @return the name value */ @@ -37,7 +37,7 @@ public String name() { } /** - * Get the display value. + * Get the object that represents the operation. * * @return the display value */ @@ -46,7 +46,7 @@ public OperationDisplay display() { } /** - * Set the display value. + * Set the object that represents the operation. * * @param display the display value to set * @return the OperationInner object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/OriginInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/OriginInner.java index 76566cd6926..0e11aa0328f 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/OriginInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/OriginInner.java @@ -52,7 +52,7 @@ public class OriginInner extends TrackedResourceInner { private String provisioningState; /** - * Get the hostName value. + * Get the address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported. * * @return the hostName value */ @@ -61,7 +61,7 @@ public String hostName() { } /** - * Set the hostName value. + * Set the address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported. * * @param hostName the hostName value to set * @return the OriginInner object itself. @@ -72,7 +72,7 @@ public OriginInner withHostName(String hostName) { } /** - * Get the httpPort value. + * Get the value of the HTTP port. Must be between 1 and 65535. * * @return the httpPort value */ @@ -81,7 +81,7 @@ public Integer httpPort() { } /** - * Set the httpPort value. + * Set the value of the HTTP port. Must be between 1 and 65535. * * @param httpPort the httpPort value to set * @return the OriginInner object itself. @@ -92,7 +92,7 @@ public OriginInner withHttpPort(Integer httpPort) { } /** - * Get the httpsPort value. + * Get the value of the https port. Must be between 1 and 65535. * * @return the httpsPort value */ @@ -101,7 +101,7 @@ public Integer httpsPort() { } /** - * Set the httpsPort value. + * Set the value of the https port. Must be between 1 and 65535. * * @param httpsPort the httpsPort value to set * @return the OriginInner object itself. @@ -112,7 +112,7 @@ public OriginInner withHttpsPort(Integer httpsPort) { } /** - * Get the resourceState value. + * Get resource status of the origin. Possible values include: 'Creating', 'Active', 'Deleting'. * * @return the resourceState value */ @@ -121,7 +121,7 @@ public OriginResourceState resourceState() { } /** - * Get the provisioningState value. + * Get provisioning status of the origin. * * @return the provisioningState value */ diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/OriginsInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/OriginsInner.java index 714f053b9b7..c1e81b9dc71 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/OriginsInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/OriginsInner.java @@ -13,6 +13,7 @@ import com.microsoft.azure.AzureServiceFuture; import com.microsoft.azure.ListOperationCallback; import com.microsoft.azure.management.cdn.ErrorResponseException; +import com.microsoft.azure.management.cdn.OriginUpdateParameters; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; import com.microsoft.rest.ServiceCallback; @@ -70,11 +71,11 @@ interface OriginsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.cdn.Origins update" }) @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}") - Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("profileName") String profileName, @Path("endpointName") String endpointName, @Path("originName") String originName, @Path("subscriptionId") String subscriptionId, @Body OriginUpdateParametersInner originUpdateProperties, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("profileName") String profileName, @Path("endpointName") String endpointName, @Path("originName") String originName, @Path("subscriptionId") String subscriptionId, @Body OriginUpdateParameters originUpdateProperties, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.cdn.Origins beginUpdate" }) @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}") - Observable> beginUpdate(@Path("resourceGroupName") String resourceGroupName, @Path("profileName") String profileName, @Path("endpointName") String endpointName, @Path("originName") String originName, @Path("subscriptionId") String subscriptionId, @Body OriginUpdateParametersInner originUpdateProperties, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> beginUpdate(@Path("resourceGroupName") String resourceGroupName, @Path("profileName") String profileName, @Path("endpointName") String endpointName, @Path("originName") String originName, @Path("subscriptionId") String subscriptionId, @Body OriginUpdateParameters originUpdateProperties, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.cdn.Origins listByEndpointNext" }) @GET @@ -326,7 +327,7 @@ private ServiceResponse getDelegate(Response response * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the OriginInner object if successful. */ - public OriginInner update(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParametersInner originUpdateProperties) { + public OriginInner update(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties) { return updateWithServiceResponseAsync(resourceGroupName, profileName, endpointName, originName, originUpdateProperties).toBlocking().last().body(); } @@ -342,7 +343,7 @@ public OriginInner update(String resourceGroupName, String profileName, String e * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParametersInner originUpdateProperties, final ServiceCallback serviceCallback) { + public ServiceFuture updateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, profileName, endpointName, originName, originUpdateProperties), serviceCallback); } @@ -357,7 +358,7 @@ public ServiceFuture updateAsync(String resourceGroupName, String p * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable updateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParametersInner originUpdateProperties) { + public Observable updateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties) { return updateWithServiceResponseAsync(resourceGroupName, profileName, endpointName, originName, originUpdateProperties).map(new Func1, OriginInner>() { @Override public OriginInner call(ServiceResponse response) { @@ -377,7 +378,7 @@ public OriginInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> updateWithServiceResponseAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParametersInner originUpdateProperties) { + public Observable> updateWithServiceResponseAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -417,7 +418,7 @@ public Observable> updateWithServiceResponseAsync(S * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the OriginInner object if successful. */ - public OriginInner beginUpdate(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParametersInner originUpdateProperties) { + public OriginInner beginUpdate(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties) { return beginUpdateWithServiceResponseAsync(resourceGroupName, profileName, endpointName, originName, originUpdateProperties).toBlocking().single().body(); } @@ -433,7 +434,7 @@ public OriginInner beginUpdate(String resourceGroupName, String profileName, Str * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParametersInner originUpdateProperties, final ServiceCallback serviceCallback) { + public ServiceFuture beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(beginUpdateWithServiceResponseAsync(resourceGroupName, profileName, endpointName, originName, originUpdateProperties), serviceCallback); } @@ -448,7 +449,7 @@ public ServiceFuture beginUpdateAsync(String resourceGroupName, Str * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the OriginInner object */ - public Observable beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParametersInner originUpdateProperties) { + public Observable beginUpdateAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties) { return beginUpdateWithServiceResponseAsync(resourceGroupName, profileName, endpointName, originName, originUpdateProperties).map(new Func1, OriginInner>() { @Override public OriginInner call(ServiceResponse response) { @@ -468,7 +469,7 @@ public OriginInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the OriginInner object */ - public Observable> beginUpdateWithServiceResponseAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParametersInner originUpdateProperties) { + public Observable> beginUpdateWithServiceResponseAsync(String resourceGroupName, String profileName, String endpointName, String originName, OriginUpdateParameters originUpdateProperties) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ProfileInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ProfileInner.java index cbc558812f8..d289a79e0ba 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ProfileInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ProfileInner.java @@ -40,7 +40,7 @@ public class ProfileInner extends TrackedResourceInner { private String provisioningState; /** - * Get the sku value. + * Get the pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. * * @return the sku value */ @@ -49,7 +49,7 @@ public Sku sku() { } /** - * Set the sku value. + * Set the pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. * * @param sku the sku value to set * @return the ProfileInner object itself. @@ -60,7 +60,7 @@ public ProfileInner withSku(Sku sku) { } /** - * Get the resourceState value. + * Get resource status of the profile. Possible values include: 'Creating', 'Active', 'Deleting', 'Disabled'. * * @return the resourceState value */ @@ -69,7 +69,7 @@ public ProfileResourceState resourceState() { } /** - * Get the provisioningState value. + * Get provisioning status of the profile. * * @return the provisioningState value */ diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ProxyResourceInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ProxyResourceInner.java index 31d713d7534..b2ab21eebad 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ProxyResourceInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ProxyResourceInner.java @@ -8,11 +8,11 @@ package com.microsoft.azure.management.cdn.implementation; -import com.microsoft.azure.Resource; +import com.microsoft.azure.ProxyResource; /** * The resource model definition for a ARM proxy resource. It will have * everything other than required location and tags. */ -public class ProxyResourceInner extends Resource { +public class ProxyResourceInner extends ProxyResource { } diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ResourceUsageInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ResourceUsageInner.java index 4c67aa3e5ef..4db513d3cde 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ResourceUsageInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ResourceUsageInner.java @@ -39,7 +39,7 @@ public class ResourceUsageInner { private Integer limit; /** - * Get the resourceType value. + * Get resource type for which the usage is provided. * * @return the resourceType value */ @@ -48,7 +48,7 @@ public String resourceType() { } /** - * Get the unit value. + * Get unit of the usage. e.g. Count. * * @return the unit value */ @@ -57,7 +57,7 @@ public String unit() { } /** - * Get the currentValue value. + * Get actual value of usage on the specified resource type. * * @return the currentValue value */ @@ -66,7 +66,7 @@ public Integer currentValue() { } /** - * Get the limit value. + * Get quota of the specified resource type. * * @return the limit value */ diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/SsoUriInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/SsoUriInner.java index 24d1cecf317..b35899fdea8 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/SsoUriInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/SsoUriInner.java @@ -21,7 +21,7 @@ public class SsoUriInner { private String ssoUriValue; /** - * Get the ssoUriValue value. + * Get the URI used to login to the supplemental portal. * * @return the ssoUriValue value */ diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/SupportedOptimizationTypesListResultInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/SupportedOptimizationTypesListResultInner.java index 69a094778e2..f21b8e9ae43 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/SupportedOptimizationTypesListResultInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/SupportedOptimizationTypesListResultInner.java @@ -23,7 +23,7 @@ public class SupportedOptimizationTypesListResultInner { private List supportedOptimizationTypes; /** - * Get the supportedOptimizationTypes value. + * Get supported optimization types for a profile. * * @return the supportedOptimizationTypes value */ diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/TrackedResourceInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/TrackedResourceInner.java index 17d61452ceb..42b4b08c8ba 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/TrackedResourceInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/TrackedResourceInner.java @@ -10,12 +10,12 @@ import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty; -import com.microsoft.azure.Resource; +import com.microsoft.azure.ProxyResource; /** * The resource model definition for a ARM tracked top level resource. */ -public class TrackedResourceInner extends Resource { +public class TrackedResourceInner extends ProxyResource { /** * Resource location. */ @@ -29,7 +29,7 @@ public class TrackedResourceInner extends Resource { private Map tags; /** - * Get the location value. + * Get resource location. * * @return the location value */ @@ -38,7 +38,7 @@ public String location() { } /** - * Set the location value. + * Set resource location. * * @param location the location value to set * @return the TrackedResourceInner object itself. @@ -49,7 +49,7 @@ public TrackedResourceInner withLocation(String location) { } /** - * Get the tags value. + * Get resource tags. * * @return the tags value */ @@ -58,7 +58,7 @@ public Map tags() { } /** - * Set the tags value. + * Set resource tags. * * @param tags the tags value to set * @return the TrackedResourceInner object itself. diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ValidateCustomDomainOutputInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ValidateCustomDomainOutputInner.java index afbbe63bbe2..6ffc0ffc12f 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ValidateCustomDomainOutputInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ValidateCustomDomainOutputInner.java @@ -33,7 +33,7 @@ public class ValidateCustomDomainOutputInner { private String message; /** - * Get the customDomainValidated value. + * Get indicates whether the custom domain is valid or not. * * @return the customDomainValidated value */ @@ -42,7 +42,7 @@ public Boolean customDomainValidated() { } /** - * Get the reason value. + * Get the reason why the custom domain is not valid. * * @return the reason value */ @@ -51,7 +51,7 @@ public String reason() { } /** - * Get the message value. + * Get error message describing why the custom domain is not valid. * * @return the message value */ diff --git a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ValidateProbeOutputInner.java b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ValidateProbeOutputInner.java index a1d9020a39e..70a79dcd335 100644 --- a/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ValidateProbeOutputInner.java +++ b/azure-mgmt-cdn/src/main/java/com/microsoft/azure/management/cdn/implementation/ValidateProbeOutputInner.java @@ -33,7 +33,7 @@ public class ValidateProbeOutputInner { private String message; /** - * Get the isValid value. + * Get indicates whether the probe URL is accepted or not. * * @return the isValid value */ @@ -42,7 +42,7 @@ public Boolean isValid() { } /** - * Get the errorCode value. + * Get specifies the error code when the probe url is not accepted. * * @return the errorCode value */ @@ -51,7 +51,7 @@ public String errorCode() { } /** - * Get the message value. + * Get the detailed error message describing why the probe URL is not accepted. * * @return the message value */