diff --git a/lib/services/cdnManagement/lib/models/cacheExpirationActionParameters.js b/lib/services/cdnManagement/lib/models/cacheExpirationActionParameters.js index 189b2b107d..dc408faad9 100644 --- a/lib/services/cdnManagement/lib/models/cacheExpirationActionParameters.js +++ b/lib/services/cdnManagement/lib/models/cacheExpirationActionParameters.js @@ -17,10 +17,10 @@ class CacheExpirationActionParameters { /** * Create a CacheExpirationActionParameters. - * @member {string} cacheBehavior Caching behavior for the requests that + * @property {string} cacheBehavior Caching behavior for the requests that * include query strings. Possible values include: 'BypassCache', 'Override', * 'SetIfMissing' - * @member {string} [cacheDuration] The duration for which the the content + * @property {string} [cacheDuration] The duration for which the content * needs to be cached. Allowed format is [d.]hh:mm:ss */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/checkNameAvailabilityInput.js b/lib/services/cdnManagement/lib/models/checkNameAvailabilityInput.js index 8302901a11..718eae285a 100644 --- a/lib/services/cdnManagement/lib/models/checkNameAvailabilityInput.js +++ b/lib/services/cdnManagement/lib/models/checkNameAvailabilityInput.js @@ -17,7 +17,7 @@ class CheckNameAvailabilityInput { /** * Create a CheckNameAvailabilityInput. - * @member {string} name The resource name to validate. + * @property {string} name The resource name to validate. */ constructor() { } diff --git a/lib/services/cdnManagement/lib/models/checkNameAvailabilityOutput.js b/lib/services/cdnManagement/lib/models/checkNameAvailabilityOutput.js index 2793dc6df1..73b8263df6 100644 --- a/lib/services/cdnManagement/lib/models/checkNameAvailabilityOutput.js +++ b/lib/services/cdnManagement/lib/models/checkNameAvailabilityOutput.js @@ -17,9 +17,10 @@ class CheckNameAvailabilityOutput { /** * Create a CheckNameAvailabilityOutput. - * @member {boolean} [nameAvailable] Indicates whether the name is available. - * @member {string} [reason] The reason why the name is not available. - * @member {string} [message] The detailed error message describing why the + * @property {boolean} [nameAvailable] Indicates whether the name is + * available. + * @property {string} [reason] The reason why the name is not available. + * @property {string} [message] The detailed error message describing why the * name is not available. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/cidrIpAddress.js b/lib/services/cdnManagement/lib/models/cidrIpAddress.js index b38145fce7..239aad2ddb 100644 --- a/lib/services/cdnManagement/lib/models/cidrIpAddress.js +++ b/lib/services/cdnManagement/lib/models/cidrIpAddress.js @@ -17,8 +17,8 @@ class CidrIpAddress { /** * Create a CidrIpAddress. - * @member {string} [baseIpAddress] Ip adress itself. - * @member {number} [prefixLength] The length of the prefix of the ip + * @property {string} [baseIpAddress] Ip address itself. + * @property {number} [prefixLength] The length of the prefix of the ip * address. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/customDomain.js b/lib/services/cdnManagement/lib/models/customDomain.js index 77148bdf8d..971d069b6b 100644 --- a/lib/services/cdnManagement/lib/models/customDomain.js +++ b/lib/services/cdnManagement/lib/models/customDomain.js @@ -14,21 +14,21 @@ const models = require('./index'); /** * Friendly domain name mapping to the endpoint hostname that the customer - * provides for branding purposes, e.g. www.consoto.com. + * provides for branding purposes, e.g. www.contoso.com. * * @extends models['ProxyResource'] */ class CustomDomain extends models['ProxyResource'] { /** * Create a CustomDomain. - * @member {string} hostName The host name of the custom domain. Must be a + * @property {string} hostName The host name of the custom domain. Must be a * domain name. - * @member {string} [resourceState] Resource status of the custom domain. + * @property {string} [resourceState] Resource status of the custom domain. * Possible values include: 'Creating', 'Active', 'Deleting' - * @member {string} [customHttpsProvisioningState] Provisioning status of + * @property {string} [customHttpsProvisioningState] Provisioning status of * Custom Https of the custom domain. Possible values include: 'Enabling', * 'Enabled', 'Disabling', 'Disabled', 'Failed' - * @member {string} [customHttpsProvisioningSubstate] Provisioning substate + * @property {string} [customHttpsProvisioningSubstate] Provisioning substate * shows the progress of custom HTTPS enabling/disabling process step by * step. Possible values include: 'SubmittingDomainControlValidationRequest', * 'PendingDomainControlValidationREquestApproval', @@ -37,11 +37,11 @@ class CustomDomain extends models['ProxyResource'] { * 'DomainControlValidationRequestTimedOut', 'IssuingCertificate', * 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate', * 'CertificateDeleted' - * @member {string} [validationData] Special validation or data may be + * @property {string} [validationData] 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. - * @member {string} [provisioningState] Provisioning status of the custom + * @property {string} [provisioningState] Provisioning status of the custom * domain. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/customDomainListResult.js b/lib/services/cdnManagement/lib/models/customDomainListResult.js index bbb68da4af..36e1678ba5 100644 --- a/lib/services/cdnManagement/lib/models/customDomainListResult.js +++ b/lib/services/cdnManagement/lib/models/customDomainListResult.js @@ -17,7 +17,7 @@ class CustomDomainListResult extends Array { /** * Create a CustomDomainListResult. - * @member {string} [nextLink] URL to get the next set of custom domain + * @property {string} [nextLink] URL to get the next set of custom domain * objects if there are any. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/customDomainParameters.js b/lib/services/cdnManagement/lib/models/customDomainParameters.js index b1422341bb..bec9a3718b 100644 --- a/lib/services/cdnManagement/lib/models/customDomainParameters.js +++ b/lib/services/cdnManagement/lib/models/customDomainParameters.js @@ -17,7 +17,7 @@ class CustomDomainParameters { /** * Create a CustomDomainParameters. - * @member {string} hostName The host name of the custom domain. Must be a + * @property {string} hostName The host name of the custom domain. Must be a * domain name. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/deepCreatedOrigin.js b/lib/services/cdnManagement/lib/models/deepCreatedOrigin.js index 3a256f5eab..b3e0805640 100644 --- a/lib/services/cdnManagement/lib/models/deepCreatedOrigin.js +++ b/lib/services/cdnManagement/lib/models/deepCreatedOrigin.js @@ -20,13 +20,13 @@ const models = require('./index'); class DeepCreatedOrigin extends models['BaseResource'] { /** * Create a DeepCreatedOrigin. - * @member {string} name Origin name - * @member {string} hostName The address of the origin. It can be a domain + * @property {string} name Origin name + * @property {string} hostName The address of the origin. It can be a domain * name, IPv4 address, or IPv6 address. - * @member {number} [httpPort] The value of the HTTP port. Must be between 1 - * and 65535 - * @member {number} [httpsPort] The value of the HTTPS port. Must be between + * @property {number} [httpPort] The value of the HTTP port. Must be between * 1 and 65535 + * @property {number} [httpsPort] The value of the HTTPS port. Must be + * between 1 and 65535 */ constructor() { super(); diff --git a/lib/services/cdnManagement/lib/models/deliveryRule.js b/lib/services/cdnManagement/lib/models/deliveryRule.js index 34f2951320..95ce58c19b 100644 --- a/lib/services/cdnManagement/lib/models/deliveryRule.js +++ b/lib/services/cdnManagement/lib/models/deliveryRule.js @@ -17,15 +17,15 @@ class DeliveryRule { /** * Create a DeliveryRule. - * @member {number} order The order in which the rules are applied for the + * @property {number} order 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. - * @member {array} actions A list of actions that are executed when all the + * @property {array} actions A list of actions that are executed when all the * conditions of a rule are satisfied. - * @member {array} [conditions] A list of conditions that must be matched for - * the actions to be executed + * @property {array} [conditions] A list of conditions that must be matched + * for the actions to be executed */ constructor() { } diff --git a/lib/services/cdnManagement/lib/models/deliveryRuleAction.js b/lib/services/cdnManagement/lib/models/deliveryRuleAction.js index 3ad611919a..0f59e9352c 100644 --- a/lib/services/cdnManagement/lib/models/deliveryRuleAction.js +++ b/lib/services/cdnManagement/lib/models/deliveryRuleAction.js @@ -17,7 +17,7 @@ class DeliveryRuleAction { /** * Create a DeliveryRuleAction. - * @member {string} name Polymorphic Discriminator + * @property {string} name Polymorphic Discriminator */ constructor() { } diff --git a/lib/services/cdnManagement/lib/models/deliveryRuleCacheExpirationAction.js b/lib/services/cdnManagement/lib/models/deliveryRuleCacheExpirationAction.js index eafb2cd80c..d48407428f 100644 --- a/lib/services/cdnManagement/lib/models/deliveryRuleCacheExpirationAction.js +++ b/lib/services/cdnManagement/lib/models/deliveryRuleCacheExpirationAction.js @@ -20,11 +20,11 @@ const models = require('./index'); class DeliveryRuleCacheExpirationAction extends models['DeliveryRuleAction'] { /** * Create a DeliveryRuleCacheExpirationAction. - * @member {object} parameters Defines the parameters for the action. - * @member {string} [parameters.cacheBehavior] Caching behavior for the + * @property {object} parameters Defines the parameters for the action. + * @property {string} [parameters.cacheBehavior] Caching behavior for the * requests that include query strings. Possible values include: * 'BypassCache', 'Override', 'SetIfMissing' - * @member {string} [parameters.cacheDuration] The duration for which the the + * @property {string} [parameters.cacheDuration] The duration for which the * content needs to be cached. Allowed format is [d.]hh:mm:ss */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/deliveryRuleCondition.js b/lib/services/cdnManagement/lib/models/deliveryRuleCondition.js index c3e3520e1d..e435e57e0f 100644 --- a/lib/services/cdnManagement/lib/models/deliveryRuleCondition.js +++ b/lib/services/cdnManagement/lib/models/deliveryRuleCondition.js @@ -17,7 +17,7 @@ class DeliveryRuleCondition { /** * Create a DeliveryRuleCondition. - * @member {string} name Polymorphic Discriminator + * @property {string} name Polymorphic Discriminator */ constructor() { } diff --git a/lib/services/cdnManagement/lib/models/deliveryRuleUrlFileExtensionCondition.js b/lib/services/cdnManagement/lib/models/deliveryRuleUrlFileExtensionCondition.js index 39b7ede073..74d8929b18 100644 --- a/lib/services/cdnManagement/lib/models/deliveryRuleUrlFileExtensionCondition.js +++ b/lib/services/cdnManagement/lib/models/deliveryRuleUrlFileExtensionCondition.js @@ -20,8 +20,8 @@ const models = require('./index'); class DeliveryRuleUrlFileExtensionCondition extends models['DeliveryRuleCondition'] { /** * Create a DeliveryRuleUrlFileExtensionCondition. - * @member {object} parameters Defines the parameters for the condition. - * @member {array} [parameters.extensions] A list of extensions for the + * @property {object} parameters Defines the parameters for the condition. + * @property {array} [parameters.extensions] A list of extensions for the * condition of the delivery rule. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/deliveryRuleUrlPathCondition.js b/lib/services/cdnManagement/lib/models/deliveryRuleUrlPathCondition.js index 719ab06647..c366b6a9b9 100644 --- a/lib/services/cdnManagement/lib/models/deliveryRuleUrlPathCondition.js +++ b/lib/services/cdnManagement/lib/models/deliveryRuleUrlPathCondition.js @@ -20,10 +20,10 @@ const models = require('./index'); class DeliveryRuleUrlPathCondition extends models['DeliveryRuleCondition'] { /** * Create a DeliveryRuleUrlPathCondition. - * @member {object} parameters Defines the parameters for the condition. - * @member {string} [parameters.path] A URL path for the condition of the + * @property {object} parameters Defines the parameters for the condition. + * @property {string} [parameters.path] A URL path for the condition of the * delivery rule - * @member {string} [parameters.matchType] The match type for the condition + * @property {string} [parameters.matchType] The match type for the condition * of the delivery rule. Possible values include: 'Literal', 'Wildcard' */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/edgeNode.js b/lib/services/cdnManagement/lib/models/edgeNode.js index d742954934..bca74ce181 100644 --- a/lib/services/cdnManagement/lib/models/edgeNode.js +++ b/lib/services/cdnManagement/lib/models/edgeNode.js @@ -21,7 +21,7 @@ const models = require('./index'); class EdgeNode extends models['ProxyResource'] { /** * Create a EdgeNode. - * @member {array} ipAddressGroups List of ip address groups. + * @property {array} ipAddressGroups List of ip address groups. */ constructor() { super(); diff --git a/lib/services/cdnManagement/lib/models/edgenodeResult.js b/lib/services/cdnManagement/lib/models/edgenodeResult.js index 1f4c0244ee..9400ec9dcd 100644 --- a/lib/services/cdnManagement/lib/models/edgenodeResult.js +++ b/lib/services/cdnManagement/lib/models/edgenodeResult.js @@ -17,7 +17,7 @@ class EdgenodeResult extends Array { /** * Create a EdgenodeResult. - * @member {string} [nextLink] URL to get the next set of edgenode list + * @property {string} [nextLink] URL to get the next set of edgenode list * results if there are any. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/endpoint.js b/lib/services/cdnManagement/lib/models/endpoint.js index 2c59e5a48f..fd4997400e 100644 --- a/lib/services/cdnManagement/lib/models/endpoint.js +++ b/lib/services/cdnManagement/lib/models/endpoint.js @@ -22,56 +22,58 @@ const models = require('./index'); class Endpoint extends models['TrackedResource'] { /** * Create a Endpoint. - * @member {string} [originHostHeader] The host header value sent to the + * @property {string} [originHostHeader] 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. - * @member {string} [originPath] A directory path on the origin that CDN can - * use to retreive content from, e.g. contoso.cloudapp.net/originpath. - * @member {array} [contentTypesToCompress] List of content types on which + * @property {string} [originPath] A directory path on the origin that CDN + * can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + * @property {array} [contentTypesToCompress] List of content types on which * compression applies. The value should be a valid MIME type. - * @member {boolean} [isCompressionEnabled] Indicates whether content + * @property {boolean} [isCompressionEnabled] 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. - * @member {boolean} [isHttpAllowed] Indicates whether HTTP traffic is + * @property {boolean} [isHttpAllowed] Indicates whether HTTP traffic is * allowed on the endpoint. Default value is true. At least one protocol * (HTTP or HTTPS) must be allowed. - * @member {boolean} [isHttpsAllowed] Indicates whether HTTPS traffic is + * @property {boolean} [isHttpsAllowed] Indicates whether HTTPS traffic is * allowed on the endpoint. Default value is true. At least one protocol * (HTTP or HTTPS) must be allowed. - * @member {string} [queryStringCachingBehavior] Defines how CDN caches + * @property {string} [queryStringCachingBehavior] 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' - * @member {string} [optimizationType] Specifies what scenario the customer + * @property {string} [optimizationType] 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' - * @member {string} [probePath] Path to a file hosted on the origin which + * @property {string} [probePath] 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. - * @member {array} [geoFilters] List of rules defining the user's geo access - * within a CDN endpoint. Each geo filter defines an acess rule to a + * @property {array} [geoFilters] List of rules defining the user's geo + * access within a CDN endpoint. Each geo filter defines an access rule to a * specified path or content, e.g. block APAC for path /pictures/ - * @member {object} [deliveryPolicy] A policy that specifies the delivery + * @property {object} [deliveryPolicy] A policy that specifies the delivery * rules to be used for an endpoint. - * @member {string} [deliveryPolicy.description] User-friendly description of - * the policy. - * @member {array} [deliveryPolicy.rules] A list of the delivery rules. - * @member {string} [hostName] The host name of the endpoint structured as - * {endpointName}.{DNSZone}, e.g. consoto.azureedge.net - * @member {array} origins The source of the content being delivered via CDN. - * @member {string} [resourceState] Resource status of the endpoint. Possible - * values include: 'Creating', 'Deleting', 'Running', 'Starting', 'Stopped', - * 'Stopping' - * @member {string} [provisioningState] Provisioning status of the endpoint. + * @property {string} [deliveryPolicy.description] User-friendly description + * of the policy. + * @property {array} [deliveryPolicy.rules] A list of the delivery rules. + * @property {string} [hostName] The host name of the endpoint structured as + * {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + * @property {array} origins The source of the content being delivered via + * CDN. + * @property {string} [resourceState] Resource status of the endpoint. + * Possible values include: 'Creating', 'Deleting', 'Running', 'Starting', + * 'Stopped', 'Stopping' + * @property {string} [provisioningState] Provisioning status of the + * endpoint. */ constructor() { super(); diff --git a/lib/services/cdnManagement/lib/models/endpointListResult.js b/lib/services/cdnManagement/lib/models/endpointListResult.js index 5844abb570..1e7aa26187 100644 --- a/lib/services/cdnManagement/lib/models/endpointListResult.js +++ b/lib/services/cdnManagement/lib/models/endpointListResult.js @@ -12,13 +12,13 @@ /** * Result of the request to list endpoints. It contains a list of endpoint - * objects and a URL link to get the the next set of results. + * objects and a URL link to get the next set of results. */ class EndpointListResult extends Array { /** * Create a EndpointListResult. - * @member {string} [nextLink] URL to get the next set of endpoint objects if - * there is any. + * @property {string} [nextLink] URL to get the next set of endpoint objects + * if there is any. */ constructor() { super(); diff --git a/lib/services/cdnManagement/lib/models/endpointPropertiesUpdateParametersDeliveryPolicy.js b/lib/services/cdnManagement/lib/models/endpointPropertiesUpdateParametersDeliveryPolicy.js index 732f101962..db742a9102 100644 --- a/lib/services/cdnManagement/lib/models/endpointPropertiesUpdateParametersDeliveryPolicy.js +++ b/lib/services/cdnManagement/lib/models/endpointPropertiesUpdateParametersDeliveryPolicy.js @@ -17,8 +17,8 @@ class EndpointPropertiesUpdateParametersDeliveryPolicy { /** * Create a EndpointPropertiesUpdateParametersDeliveryPolicy. - * @member {string} [description] User-friendly description of the policy. - * @member {array} rules A list of the delivery rules. + * @property {string} [description] User-friendly description of the policy. + * @property {array} rules A list of the delivery rules. */ constructor() { } diff --git a/lib/services/cdnManagement/lib/models/endpointUpdateParameters.js b/lib/services/cdnManagement/lib/models/endpointUpdateParameters.js index 3dfc43b4fd..a8bcc552bd 100644 --- a/lib/services/cdnManagement/lib/models/endpointUpdateParameters.js +++ b/lib/services/cdnManagement/lib/models/endpointUpdateParameters.js @@ -20,50 +20,50 @@ const models = require('./index'); class EndpointUpdateParameters extends models['BaseResource'] { /** * Create a EndpointUpdateParameters. - * @member {object} [tags] Endpoint tags. - * @member {string} [originHostHeader] The host header value sent to the + * @property {object} [tags] Endpoint tags. + * @property {string} [originHostHeader] 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. - * @member {string} [originPath] A directory path on the origin that CDN can - * use to retreive content from, e.g. contoso.cloudapp.net/originpath. - * @member {array} [contentTypesToCompress] List of content types on which + * @property {string} [originPath] A directory path on the origin that CDN + * can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. + * @property {array} [contentTypesToCompress] List of content types on which * compression applies. The value should be a valid MIME type. - * @member {boolean} [isCompressionEnabled] Indicates whether content + * @property {boolean} [isCompressionEnabled] 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. - * @member {boolean} [isHttpAllowed] Indicates whether HTTP traffic is + * @property {boolean} [isHttpAllowed] Indicates whether HTTP traffic is * allowed on the endpoint. Default value is true. At least one protocol * (HTTP or HTTPS) must be allowed. - * @member {boolean} [isHttpsAllowed] Indicates whether HTTPS traffic is + * @property {boolean} [isHttpsAllowed] Indicates whether HTTPS traffic is * allowed on the endpoint. Default value is true. At least one protocol * (HTTP or HTTPS) must be allowed. - * @member {string} [queryStringCachingBehavior] Defines how CDN caches + * @property {string} [queryStringCachingBehavior] 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' - * @member {string} [optimizationType] Specifies what scenario the customer + * @property {string} [optimizationType] 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' - * @member {string} [probePath] Path to a file hosted on the origin which + * @property {string} [probePath] 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. - * @member {array} [geoFilters] List of rules defining the user's geo access - * within a CDN endpoint. Each geo filter defines an acess rule to a + * @property {array} [geoFilters] List of rules defining the user's geo + * access within a CDN endpoint. Each geo filter defines an access rule to a * specified path or content, e.g. block APAC for path /pictures/ - * @member {object} [deliveryPolicy] A policy that specifies the delivery + * @property {object} [deliveryPolicy] A policy that specifies the delivery * rules to be used for an endpoint. - * @member {string} [deliveryPolicy.description] User-friendly description of - * the policy. - * @member {array} [deliveryPolicy.rules] A list of the delivery rules. + * @property {string} [deliveryPolicy.description] User-friendly description + * of the policy. + * @property {array} [deliveryPolicy.rules] A list of the delivery rules. */ constructor() { super(); diff --git a/lib/services/cdnManagement/lib/models/errorResponse.js b/lib/services/cdnManagement/lib/models/errorResponse.js index 83673e55dd..4e977cf113 100644 --- a/lib/services/cdnManagement/lib/models/errorResponse.js +++ b/lib/services/cdnManagement/lib/models/errorResponse.js @@ -11,15 +11,15 @@ 'use strict'; /** - * Error reponse indicates CDN service is not able to process the incoming + * Error response indicates CDN service is not able to process the incoming * request. The reason is provided in the error message. * */ class ErrorResponse { /** * Create a ErrorResponse. - * @member {string} [code] Error code. - * @member {string} [message] Error message indicating why the operation + * @property {string} [code] Error code. + * @property {string} [message] Error message indicating why the operation * failed. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/geoFilter.js b/lib/services/cdnManagement/lib/models/geoFilter.js index c0c6221667..3a0eb830e9 100644 --- a/lib/services/cdnManagement/lib/models/geoFilter.js +++ b/lib/services/cdnManagement/lib/models/geoFilter.js @@ -17,11 +17,11 @@ class GeoFilter { /** * Create a GeoFilter. - * @member {string} relativePath Relative path applicable to geo filter. + * @property {string} relativePath Relative path applicable to geo filter. * (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) - * @member {string} action Action of the geo filter, i.e. allow or block + * @property {string} action Action of the geo filter, i.e. allow or block * access. Possible values include: 'Block', 'Allow' - * @member {array} countryCodes Two letter country codes defining user + * @property {array} countryCodes Two letter country codes defining user * country access in a geo filter, e.g. AU, MX, US. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/index.d.ts b/lib/services/cdnManagement/lib/models/index.d.ts index ae9bd5f247..3c52e83555 100644 --- a/lib/services/cdnManagement/lib/models/index.d.ts +++ b/lib/services/cdnManagement/lib/models/index.d.ts @@ -1,894 +1,825 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { BaseResource } from 'ms-rest-azure'; -import { CloudError } from 'ms-rest-azure'; -import * as moment from 'moment'; +import { BaseResource, CloudError } from "ms-rest-azure"; +import * as moment from "moment"; -export { BaseResource } from 'ms-rest-azure'; -export { CloudError } from 'ms-rest-azure'; +export { + BaseResource, + CloudError +}; /** - * @class - * Initializes a new instance of the Sku class. - * @constructor - * The pricing tier (defines a CDN provider, feature list and rate) of the CDN - * profile. - * - * @member {string} [name] Name of the pricing tier. Possible values include: - * 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon', 'Standard_Akamai', - * 'Standard_ChinaCdn', 'Standard_Microsoft' + * The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. */ export interface Sku { + /** + * Name of the pricing tier. Possible values include: 'Standard_Verizon', 'Premium_Verizon', + * 'Custom_Verizon', 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft' + */ name?: string; } /** - * @class - * Initializes a new instance of the Resource class. - * @constructor * The core properties of ARM resources - * - * @member {string} [id] Resource ID. - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. */ export interface Resource extends BaseResource { + /** + * Resource ID. + */ readonly id?: string; + /** + * Resource name. + */ readonly name?: string; + /** + * Resource type. + */ readonly type?: string; } /** - * @class - * Initializes a new instance of the TrackedResource class. - * @constructor * The resource model definition for a ARM tracked top level resource. - * - * @member {string} location Resource location. - * @member {object} [tags] Resource tags. */ export interface TrackedResource extends Resource { + /** + * Resource location. + */ location: string; + /** + * Resource tags. + */ tags?: { [propertyName: string]: string }; } /** - * @class - * Initializes a new instance of the Profile class. - * @constructor - * CDN profile is a logical grouping of endpoints that share the same settings, - * such as CDN provider and pricing tier. - * - * @member {object} sku The pricing tier (defines a CDN provider, feature list - * and rate) of the CDN profile. - * @member {string} [sku.name] Name of the pricing tier. Possible values - * include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon', - * 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft' - * @member {string} [resourceState] Resource status of the profile. Possible - * values include: 'Creating', 'Active', 'Deleting', 'Disabled' - * @member {string} [provisioningState] Provisioning status of the profile. + * CDN profile is a logical grouping of endpoints that share the same settings, such as CDN + * provider and pricing tier. */ export interface Profile extends TrackedResource { + /** + * The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. + */ sku: Sku; + /** + * Resource status of the profile. Possible values include: 'Creating', 'Active', 'Deleting', + * 'Disabled' + */ readonly resourceState?: string; + /** + * Provisioning status of the profile. + */ readonly provisioningState?: string; } /** - * @class - * Initializes a new instance of the ProfileUpdateParameters class. - * @constructor * Properties required to update a profile. - * - * @member {object} [tags] Profile tags */ export interface ProfileUpdateParameters extends BaseResource { + /** + * Profile tags + */ tags?: { [propertyName: string]: string }; } /** - * @class - * Initializes a new instance of the SsoUri class. - * @constructor * The URI required to login to the supplemental portal from the Azure portal. - * - * @member {string} [ssoUriValue] The URI used to login to the supplemental - * portal. */ export interface SsoUri { + /** + * The URI used to login to the supplemental portal. + */ readonly ssoUriValue?: string; } /** - * @class - * Initializes a new instance of the SupportedOptimizationTypesListResult class. - * @constructor * The result of the GetSupportedOptimizationTypes API - * - * @member {array} [supportedOptimizationTypes] Supported optimization types - * for a profile. */ export interface SupportedOptimizationTypesListResult { + /** + * Supported optimization types for a profile. + */ readonly supportedOptimizationTypes?: string[]; } /** - * @class - * Initializes a new instance of the DeepCreatedOrigin class. - * @constructor * The main origin of CDN content which is added when creating a CDN endpoint. - * - * @member {string} name Origin name - * @member {string} hostName The address of the origin. It can be a domain - * name, IPv4 address, or IPv6 address. - * @member {number} [httpPort] The value of the HTTP port. Must be between 1 - * and 65535 - * @member {number} [httpsPort] The value of the HTTPS port. Must be between 1 - * and 65535 */ export interface DeepCreatedOrigin extends BaseResource { + /** + * Origin name + */ name: string; + /** + * The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. + */ hostName: string; + /** + * The value of the HTTP port. Must be between 1 and 65535 + */ httpPort?: number; + /** + * The value of the HTTPS port. Must be between 1 and 65535 + */ httpsPort?: number; } /** - * @class - * Initializes a new instance of the Endpoint class. - * @constructor - * CDN endpoint is the entity within a CDN profile containing configuration - * information such as origin, protocol, content caching and delivery behavior. - * The CDN endpoint uses the URL format .azureedge.net. - * - * @member {string} [originHostHeader] 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. - * @member {string} [originPath] A directory path on the origin that CDN can - * use to retreive content from, e.g. contoso.cloudapp.net/originpath. - * @member {array} [contentTypesToCompress] List of content types on which - * compression applies. The value should be a valid MIME type. - * @member {boolean} [isCompressionEnabled] 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. - * @member {boolean} [isHttpAllowed] Indicates whether HTTP traffic is allowed - * on the endpoint. Default value is true. At least one protocol (HTTP or - * HTTPS) must be allowed. - * @member {boolean} [isHttpsAllowed] Indicates whether HTTPS traffic is - * allowed on the endpoint. Default value is true. At least one protocol (HTTP - * or HTTPS) must be allowed. - * @member {string} [queryStringCachingBehavior] 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' - * @member {string} [optimizationType] 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' - * @member {string} [probePath] 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. - * @member {array} [geoFilters] 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/ - * @member {object} [deliveryPolicy] A policy that specifies the delivery rules - * to be used for an endpoint. - * @member {string} [deliveryPolicy.description] User-friendly description of - * the policy. - * @member {array} [deliveryPolicy.rules] A list of the delivery rules. - * @member {string} [hostName] The host name of the endpoint structured as - * {endpointName}.{DNSZone}, e.g. consoto.azureedge.net - * @member {array} origins The source of the content being delivered via CDN. - * @member {string} [resourceState] Resource status of the endpoint. Possible - * values include: 'Creating', 'Deleting', 'Running', 'Starting', 'Stopped', - * 'Stopping' - * @member {string} [provisioningState] Provisioning status of the endpoint. + * CDN endpoint is the entity within a CDN profile containing configuration information such as + * origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format + * .azureedge.net. */ export interface Endpoint extends TrackedResource { + /** + * 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. + */ originHostHeader?: string; + /** + * A directory path on the origin that CDN can use to retrieve content from, e.g. + * contoso.cloudapp.net/originpath. + */ originPath?: string; + /** + * List of content types on which compression applies. The value should be a valid MIME type. + */ contentTypesToCompress?: string[]; + /** + * 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. + */ isCompressionEnabled?: boolean; + /** + * Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one + * protocol (HTTP or HTTPS) must be allowed. + */ isHttpAllowed?: boolean; + /** + * Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least + * one protocol (HTTP or HTTPS) must be allowed. + */ isHttpsAllowed?: boolean; + /** + * 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' + */ queryStringCachingBehavior?: string; + /** + * 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' + */ optimizationType?: string; + /** + * 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. + */ probePath?: string; + /** + * List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an + * access rule to a specified path or content, e.g. block APAC for path /pictures/ + */ geoFilters?: GeoFilter[]; + /** + * A policy that specifies the delivery rules to be used for an endpoint. + */ deliveryPolicy?: EndpointPropertiesUpdateParametersDeliveryPolicy; + /** + * The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. + * contoso.azureedge.net + */ readonly hostName?: string; + /** + * The source of the content being delivered via CDN. + */ origins: DeepCreatedOrigin[]; + /** + * Resource status of the endpoint. Possible values include: 'Creating', 'Deleting', 'Running', + * 'Starting', 'Stopped', 'Stopping' + */ readonly resourceState?: string; + /** + * Provisioning status of the endpoint. + */ readonly provisioningState?: string; } /** - * @class - * Initializes a new instance of the GeoFilter class. - * @constructor * Rules defining user's geo access within a CDN endpoint. - * - * @member {string} relativePath Relative path applicable to geo filter. (e.g. - * '/mypictures', '/mypicture/kitty.jpg', and etc.) - * @member {string} action Action of the geo filter, i.e. allow or block - * access. Possible values include: 'Block', 'Allow' - * @member {array} countryCodes Two letter country codes defining user country - * access in a geo filter, e.g. AU, MX, US. */ export interface GeoFilter { + /** + * Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) + */ relativePath: string; + /** + * Action of the geo filter, i.e. allow or block access. Possible values include: 'Block', + * 'Allow' + */ action: string; + /** + * Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US. + */ countryCodes: string[]; } /** - * @class - * Initializes a new instance of the DeliveryRuleAction class. - * @constructor * An action for the delivery rule. - * - * @member {string} name Polymorphic Discriminator */ export interface DeliveryRuleAction { + /** + * Polymorphic Discriminator + */ name: string; } /** - * @class - * Initializes a new instance of the DeliveryRuleCondition class. - * @constructor * A condition for the delivery rule. - * - * @member {string} name Polymorphic Discriminator */ export interface DeliveryRuleCondition { + /** + * Polymorphic Discriminator + */ name: string; } /** - * @class - * Initializes a new instance of the DeliveryRule class. - * @constructor * A rule that specifies a set of actions and conditions - * - * @member {number} order 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. - * @member {array} actions A list of actions that are executed when all the - * conditions of a rule are satisfied. - * @member {array} [conditions] A list of conditions that must be matched for - * the actions to be executed */ export interface DeliveryRule { + /** + * 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. + */ order: number; + /** + * A list of actions that are executed when all the conditions of a rule are satisfied. + */ actions: DeliveryRuleAction[]; + /** + * A list of conditions that must be matched for the actions to be executed + */ conditions?: DeliveryRuleCondition[]; } /** - * @class - * Initializes a new instance of the EndpointPropertiesUpdateParametersDeliveryPolicy class. - * @constructor * A policy that specifies the delivery rules to be used for an endpoint. - * - * @member {string} [description] User-friendly description of the policy. - * @member {array} rules A list of the delivery rules. */ export interface EndpointPropertiesUpdateParametersDeliveryPolicy { + /** + * User-friendly description of the policy. + */ description?: string; + /** + * A list of the delivery rules. + */ rules: DeliveryRule[]; } /** - * @class - * Initializes a new instance of the EndpointUpdateParameters class. - * @constructor * Properties required to create or update an endpoint. - * - * @member {object} [tags] Endpoint tags. - * @member {string} [originHostHeader] 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. - * @member {string} [originPath] A directory path on the origin that CDN can - * use to retreive content from, e.g. contoso.cloudapp.net/originpath. - * @member {array} [contentTypesToCompress] List of content types on which - * compression applies. The value should be a valid MIME type. - * @member {boolean} [isCompressionEnabled] 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. - * @member {boolean} [isHttpAllowed] Indicates whether HTTP traffic is allowed - * on the endpoint. Default value is true. At least one protocol (HTTP or - * HTTPS) must be allowed. - * @member {boolean} [isHttpsAllowed] Indicates whether HTTPS traffic is - * allowed on the endpoint. Default value is true. At least one protocol (HTTP - * or HTTPS) must be allowed. - * @member {string} [queryStringCachingBehavior] 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' - * @member {string} [optimizationType] 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' - * @member {string} [probePath] 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. - * @member {array} [geoFilters] 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/ - * @member {object} [deliveryPolicy] A policy that specifies the delivery rules - * to be used for an endpoint. - * @member {string} [deliveryPolicy.description] User-friendly description of - * the policy. - * @member {array} [deliveryPolicy.rules] A list of the delivery rules. */ export interface EndpointUpdateParameters extends BaseResource { + /** + * Endpoint tags. + */ tags?: { [propertyName: string]: string }; + /** + * 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. + */ originHostHeader?: string; + /** + * A directory path on the origin that CDN can use to retrieve content from, e.g. + * contoso.cloudapp.net/originpath. + */ originPath?: string; + /** + * List of content types on which compression applies. The value should be a valid MIME type. + */ contentTypesToCompress?: string[]; + /** + * 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. + */ isCompressionEnabled?: boolean; + /** + * Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one + * protocol (HTTP or HTTPS) must be allowed. + */ isHttpAllowed?: boolean; + /** + * Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least + * one protocol (HTTP or HTTPS) must be allowed. + */ isHttpsAllowed?: boolean; + /** + * 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' + */ queryStringCachingBehavior?: string; + /** + * 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' + */ optimizationType?: string; + /** + * 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. + */ probePath?: string; + /** + * List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an + * access rule to a specified path or content, e.g. block APAC for path /pictures/ + */ geoFilters?: GeoFilter[]; + /** + * A policy that specifies the delivery rules to be used for an endpoint. + */ deliveryPolicy?: EndpointPropertiesUpdateParametersDeliveryPolicy; } /** - * @class - * Initializes a new instance of the UrlPathConditionParameters class. - * @constructor * Defines the parameters for the URL path condition. - * - * @member {string} path A URL path for the condition of the delivery rule - * @member {string} matchType The match type for the condition of the delivery - * rule. Possible values include: 'Literal', 'Wildcard' */ export interface UrlPathConditionParameters { + /** + * A URL path for the condition of the delivery rule + */ path: string; + /** + * The match type for the condition of the delivery rule. Possible values include: 'Literal', + * 'Wildcard' + */ matchType: string; } /** - * @class - * Initializes a new instance of the DeliveryRuleUrlPathCondition class. - * @constructor * Defines the URL path condition for the delivery rule. - * - * @member {object} parameters Defines the parameters for the condition. - * @member {string} [parameters.path] A URL path for the condition of the - * delivery rule - * @member {string} [parameters.matchType] The match type for the condition of - * the delivery rule. Possible values include: 'Literal', 'Wildcard' */ export interface DeliveryRuleUrlPathCondition extends DeliveryRuleCondition { + /** + * Defines the parameters for the condition. + */ parameters: UrlPathConditionParameters; } /** - * @class - * Initializes a new instance of the UrlFileExtensionConditionParameters class. - * @constructor * Defines the parameters for the URL file extension condition. - * - * @member {array} extensions A list of extensions for the condition of the - * delivery rule. */ export interface UrlFileExtensionConditionParameters { + /** + * A list of extensions for the condition of the delivery rule. + */ extensions: string[]; } /** - * @class - * Initializes a new instance of the DeliveryRuleUrlFileExtensionCondition class. - * @constructor * Defines the URL file extension condition for the delivery rule. - * - * @member {object} parameters Defines the parameters for the condition. - * @member {array} [parameters.extensions] A list of extensions for the - * condition of the delivery rule. */ export interface DeliveryRuleUrlFileExtensionCondition extends DeliveryRuleCondition { + /** + * Defines the parameters for the condition. + */ parameters: UrlFileExtensionConditionParameters; } /** - * @class - * Initializes a new instance of the CacheExpirationActionParameters class. - * @constructor * Defines the parameters for the cache expiration action. - * - * @member {string} cacheBehavior Caching behavior for the requests that - * include query strings. Possible values include: 'BypassCache', 'Override', - * 'SetIfMissing' - * @member {string} [cacheDuration] The duration for which the the content - * needs to be cached. Allowed format is [d.]hh:mm:ss */ export interface CacheExpirationActionParameters { + /** + * Caching behavior for the requests that include query strings. Possible values include: + * 'BypassCache', 'Override', 'SetIfMissing' + */ cacheBehavior: string; + /** + * The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + */ cacheDuration?: string; } /** - * @class - * Initializes a new instance of the DeliveryRuleCacheExpirationAction class. - * @constructor * Defines the cache expiration action for the delivery rule. - * - * @member {object} parameters Defines the parameters for the action. - * @member {string} [parameters.cacheBehavior] Caching behavior for the - * requests that include query strings. Possible values include: 'BypassCache', - * 'Override', 'SetIfMissing' - * @member {string} [parameters.cacheDuration] The duration for which the the - * content needs to be cached. Allowed format is [d.]hh:mm:ss */ export interface DeliveryRuleCacheExpirationAction extends DeliveryRuleAction { + /** + * Defines the parameters for the action. + */ parameters: CacheExpirationActionParameters; } /** - * @class - * Initializes a new instance of the PurgeParameters class. - * @constructor * Parameters required for content purge. - * - * @member {array} contentPaths The path to the content to be purged. Can - * describe a file path or a wild card directory. */ export interface PurgeParameters { + /** + * The path to the content to be purged. Can describe a file path or a wild card directory. + */ contentPaths: string[]; } /** - * @class - * Initializes a new instance of the LoadParameters class. - * @constructor * Parameters required for content load. - * - * @member {array} contentPaths The path to the content to be loaded. Path - * should be a relative file URL of the origin. */ export interface LoadParameters { + /** + * The path to the content to be loaded. Path should be a relative file URL of the origin. + */ contentPaths: string[]; } /** - * @class - * Initializes a new instance of the Origin class. - * @constructor - * CDN origin is the source of the content being delivered via CDN. When the - * edge nodes represented by an endpoint do not have the requested content - * cached, they attempt to fetch it from one or more of the configured origins. - * - * @member {string} hostName The address of the origin. Domain names, IPv4 - * addresses, and IPv6 addresses are supported. - * @member {number} [httpPort] The value of the HTTP port. Must be between 1 - * and 65535. - * @member {number} [httpsPort] The value of the https port. Must be between 1 - * and 65535. - * @member {string} [resourceState] Resource status of the origin. Possible - * values include: 'Creating', 'Active', 'Deleting' - * @member {string} [provisioningState] Provisioning status of the origin. + * CDN origin is the source of the content being delivered via CDN. When the edge nodes represented + * by an endpoint do not have the requested content cached, they attempt to fetch it from one or + * more of the configured origins. */ export interface Origin extends TrackedResource { + /** + * The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported. + */ hostName: string; + /** + * The value of the HTTP port. Must be between 1 and 65535. + */ httpPort?: number; + /** + * The value of the https port. Must be between 1 and 65535. + */ httpsPort?: number; + /** + * Resource status of the origin. Possible values include: 'Creating', 'Active', 'Deleting' + */ readonly resourceState?: string; + /** + * Provisioning status of the origin. + */ readonly provisioningState?: string; } /** - * @class - * Initializes a new instance of the OriginUpdateParameters class. - * @constructor * Origin properties needed for origin creation or update. - * - * @member {string} [hostName] The address of the origin. Domain names, IPv4 - * addresses, and IPv6 addresses are supported. - * @member {number} [httpPort] The value of the HTTP port. Must be between 1 - * and 65535. - * @member {number} [httpsPort] The value of the HTTPS port. Must be between 1 - * and 65535. */ export interface OriginUpdateParameters extends BaseResource { + /** + * The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported. + */ hostName?: string; + /** + * The value of the HTTP port. Must be between 1 and 65535. + */ httpPort?: number; + /** + * The value of the HTTPS port. Must be between 1 and 65535. + */ httpsPort?: number; } /** - * @class - * Initializes a new instance of the ProxyResource class. - * @constructor - * The resource model definition for a ARM proxy resource. It will have - * everything other than required location and tags - * + * The resource model definition for a ARM proxy resource. It will have everything other than + * required location and tags */ export interface ProxyResource extends Resource { } /** - * @class - * Initializes a new instance of the CustomDomain class. - * @constructor - * Friendly domain name mapping to the endpoint hostname that the customer - * provides for branding purposes, e.g. www.consoto.com. - * - * @member {string} hostName The host name of the custom domain. Must be a - * domain name. - * @member {string} [resourceState] Resource status of the custom domain. - * Possible values include: 'Creating', 'Active', 'Deleting' - * @member {string} [customHttpsProvisioningState] Provisioning status of - * Custom Https of the custom domain. Possible values include: 'Enabling', - * 'Enabled', 'Disabling', 'Disabled', 'Failed' - * @member {string} [customHttpsProvisioningSubstate] 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' - * @member {string} [validationData] 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. - * @member {string} [provisioningState] Provisioning status of the custom - * domain. + * Friendly domain name mapping to the endpoint hostname that the customer provides for branding + * purposes, e.g. www.contoso.com. */ export interface CustomDomain extends ProxyResource { + /** + * The host name of the custom domain. Must be a domain name. + */ hostName: string; + /** + * Resource status of the custom domain. Possible values include: 'Creating', 'Active', + * 'Deleting' + */ readonly resourceState?: string; + /** + * Provisioning status of Custom Https of the custom domain. Possible values include: 'Enabling', + * 'Enabled', 'Disabling', 'Disabled', 'Failed' + */ readonly customHttpsProvisioningState?: string; + /** + * 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' + */ readonly customHttpsProvisioningSubstate?: string; + /** + * 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. + */ validationData?: string; + /** + * Provisioning status of the custom domain. + */ readonly provisioningState?: string; } /** - * @class - * Initializes a new instance of the CustomDomainParameters class. - * @constructor * The customDomain JSON object required for custom domain creation or update. - * - * @member {string} hostName The host name of the custom domain. Must be a - * domain name. */ export interface CustomDomainParameters { + /** + * The host name of the custom domain. Must be a domain name. + */ hostName: string; } /** - * @class - * Initializes a new instance of the ValidateCustomDomainInput class. - * @constructor * Input of the custom domain to be validated for DNS mapping. - * - * @member {string} hostName The host name of the custom domain. Must be a - * domain name. */ export interface ValidateCustomDomainInput { + /** + * The host name of the custom domain. Must be a domain name. + */ hostName: string; } /** - * @class - * Initializes a new instance of the ValidateCustomDomainOutput class. - * @constructor * Output of custom domain validation. - * - * @member {boolean} [customDomainValidated] Indicates whether the custom - * domain is valid or not. - * @member {string} [reason] The reason why the custom domain is not valid. - * @member {string} [message] Error message describing why the custom domain is - * not valid. */ export interface ValidateCustomDomainOutput { + /** + * Indicates whether the custom domain is valid or not. + */ readonly customDomainValidated?: boolean; + /** + * The reason why the custom domain is not valid. + */ readonly reason?: string; + /** + * Error message describing why the custom domain is not valid. + */ readonly message?: string; } /** - * @class - * Initializes a new instance of the CheckNameAvailabilityInput class. - * @constructor * Input of CheckNameAvailability API. - * - * @member {string} name The resource name to validate. */ export interface CheckNameAvailabilityInput { + /** + * The resource name to validate. + */ name: string; } /** - * @class - * Initializes a new instance of the CheckNameAvailabilityOutput class. - * @constructor * Output of check name availability API. - * - * @member {boolean} [nameAvailable] Indicates whether the name is available. - * @member {string} [reason] The reason why the name is not available. - * @member {string} [message] The detailed error message describing why the - * name is not available. */ export interface CheckNameAvailabilityOutput { + /** + * Indicates whether the name is available. + */ readonly nameAvailable?: boolean; + /** + * The reason why the name is not available. + */ readonly reason?: string; + /** + * The detailed error message describing why the name is not available. + */ readonly message?: string; } /** - * @class - * Initializes a new instance of the ValidateProbeInput class. - * @constructor * Input of the validate probe API. - * - * @member {string} probeURL The probe URL to validate. */ export interface ValidateProbeInput { + /** + * The probe URL to validate. + */ probeURL: string; } /** - * @class - * Initializes a new instance of the ValidateProbeOutput class. - * @constructor * Output of the validate probe API. - * - * @member {boolean} [isValid] Indicates whether the probe URL is accepted or - * not. - * @member {string} [errorCode] Specifies the error code when the probe url is - * not accepted. - * @member {string} [message] The detailed error message describing why the - * probe URL is not accepted. */ export interface ValidateProbeOutput { + /** + * Indicates whether the probe URL is accepted or not. + */ readonly isValid?: boolean; + /** + * Specifies the error code when the probe url is not accepted. + */ readonly errorCode?: string; + /** + * The detailed error message describing why the probe URL is not accepted. + */ readonly message?: string; } /** - * @class - * Initializes a new instance of the ResourceUsage class. - * @constructor * Output of check resource usage API. - * - * @member {string} [resourceType] Resource type for which the usage is - * provided. - * @member {string} [unit] Unit of the usage. e.g. Count. - * @member {number} [currentValue] Actual value of usage on the specified - * resource type. - * @member {number} [limit] Quota of the specified resource type. */ export interface ResourceUsage { + /** + * Resource type for which the usage is provided. + */ readonly resourceType?: string; + /** + * Unit of the usage. e.g. Count. + */ readonly unit?: string; + /** + * Actual value of usage on the specified resource type. + */ readonly currentValue?: number; + /** + * Quota of the specified resource type. + */ readonly limit?: number; } /** - * @class - * Initializes a new instance of the OperationDisplay class. - * @constructor * The object that represents the operation. - * - * @member {string} [provider] Service provider: Microsoft.Cdn - * @member {string} [resource] Resource on which the operation is performed: - * Profile, endpoint, etc. - * @member {string} [operation] Operation type: Read, write, delete, etc. */ export interface OperationDisplay { + /** + * Service provider: Microsoft.Cdn + */ readonly provider?: string; + /** + * Resource on which the operation is performed: Profile, endpoint, etc. + */ readonly resource?: string; + /** + * Operation type: Read, write, delete, etc. + */ readonly operation?: string; } /** - * @class - * Initializes a new instance of the Operation class. - * @constructor * CDN REST API operation - * - * @member {string} [name] Operation name: {provider}/{resource}/{operation} - * @member {object} [display] The object that represents the operation. - * @member {string} [display.provider] Service provider: Microsoft.Cdn - * @member {string} [display.resource] Resource on which the operation is - * performed: Profile, endpoint, etc. - * @member {string} [display.operation] Operation type: Read, write, delete, - * etc. */ export interface Operation { + /** + * Operation name: {provider}/{resource}/{operation} + */ readonly name?: string; + /** + * The object that represents the operation. + */ display?: OperationDisplay; } /** - * @class - * Initializes a new instance of the CidrIpAddress class. - * @constructor * CIDR Ip address - * - * @member {string} [baseIpAddress] Ip adress itself. - * @member {number} [prefixLength] The length of the prefix of the ip address. */ export interface CidrIpAddress { + /** + * Ip address itself. + */ baseIpAddress?: string; + /** + * The length of the prefix of the ip address. + */ prefixLength?: number; } /** - * @class - * Initializes a new instance of the IpAddressGroup class. - * @constructor * CDN Ip address group - * - * @member {string} [deliveryRegion] The delivery region of the ip address - * group - * @member {array} [ipv4Addresses] The list of ip v4 addresses. - * @member {array} [ipv6Addresses] The list of ip v6 addresses. */ export interface IpAddressGroup { + /** + * The delivery region of the ip address group + */ deliveryRegion?: string; + /** + * The list of ip v4 addresses. + */ ipv4Addresses?: CidrIpAddress[]; + /** + * The list of ip v6 addresses. + */ ipv6Addresses?: CidrIpAddress[]; } /** - * @class - * Initializes a new instance of the EdgeNode class. - * @constructor - * Edgenode is a global Point of Presence (POP) location used to deliver CDN - * content to end users. - * - * @member {array} ipAddressGroups List of ip address groups. + * Edgenode is a global Point of Presence (POP) location used to deliver CDN content to end users. */ export interface EdgeNode extends ProxyResource { + /** + * List of ip address groups. + */ ipAddressGroups: IpAddressGroup[]; } /** - * @class - * Initializes a new instance of the ErrorResponse class. - * @constructor - * Error reponse indicates CDN service is not able to process the incoming - * request. The reason is provided in the error message. - * - * @member {string} [code] Error code. - * @member {string} [message] Error message indicating why the operation - * failed. + * Error response indicates CDN service is not able to process the incoming request. The reason is + * provided in the error message. */ export interface ErrorResponse { + /** + * Error code. + */ readonly code?: string; + /** + * Error message indicating why the operation failed. + */ readonly message?: string; } - /** - * @class - * Initializes a new instance of the ProfileListResult class. - * @constructor - * Result of the request to list profiles. It contains a list of profile - * objects and a URL link to get the the next set of results. - * - * @member {string} [nextLink] URL to get the next set of profile objects if - * there are any. + * Result of the request to list profiles. It contains a list of profile objects and a URL link to + * get the next set of results. */ export interface ProfileListResult extends Array { + /** + * URL to get the next set of profile objects if there are any. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the ResourceUsageListResult class. - * @constructor * Output of check resource usage API. - * - * @member {string} [nextLink] URL to get the next set of custom domain objects - * if there are any. */ export interface ResourceUsageListResult extends Array { + /** + * URL to get the next set of custom domain objects if there are any. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the EndpointListResult class. - * @constructor - * Result of the request to list endpoints. It contains a list of endpoint - * objects and a URL link to get the the next set of results. - * - * @member {string} [nextLink] URL to get the next set of endpoint objects if - * there is any. + * Result of the request to list endpoints. It contains a list of endpoint objects and a URL link + * to get the next set of results. */ export interface EndpointListResult extends Array { + /** + * URL to get the next set of endpoint objects if there is any. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the OriginListResult class. - * @constructor - * Result of the request to list origins. It contains a list of origin objects - * and a URL link to get the next set of results. - * - * @member {string} [nextLink] URL to get the next set of origin objects if - * there are any. + * Result of the request to list origins. It contains a list of origin objects and a URL link to + * get the next set of results. */ export interface OriginListResult extends Array { + /** + * URL to get the next set of origin objects if there are any. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the CustomDomainListResult class. - * @constructor - * Result of the request to list custom domains. It contains a list of custom - * domain objects and a URL link to get the next set of results. - * - * @member {string} [nextLink] URL to get the next set of custom domain objects - * if there are any. + * Result of the request to list custom domains. It contains a list of custom domain objects and a + * URL link to get the next set of results. */ export interface CustomDomainListResult extends Array { + /** + * URL to get the next set of custom domain objects if there are any. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the OperationsListResult class. - * @constructor - * Result of the request to list CDN operations. It contains a list of - * operations and a URL link to get the next set of results. - * - * @member {string} [nextLink] URL to get the next set of operation list - * results if there are any. + * Result of the request to list CDN operations. It contains a list of operations and a URL link to + * get the next set of results. */ export interface OperationsListResult extends Array { + /** + * URL to get the next set of operation list results if there are any. + */ nextLink?: string; } /** - * @class - * Initializes a new instance of the EdgenodeResult class. - * @constructor - * Result of the request to list CDN edgenodes. It contains a list of ip - * address group and a URL link to get the next set of results. - * - * @member {string} [nextLink] URL to get the next set of edgenode list results - * if there are any. + * Result of the request to list CDN edgenodes. It contains a list of ip address group and a URL + * link to get the next set of results. */ export interface EdgenodeResult extends Array { + /** + * URL to get the next set of edgenode list results if there are any. + */ nextLink?: string; } diff --git a/lib/services/cdnManagement/lib/models/ipAddressGroup.js b/lib/services/cdnManagement/lib/models/ipAddressGroup.js index a9d0f18b63..5d89f512ab 100644 --- a/lib/services/cdnManagement/lib/models/ipAddressGroup.js +++ b/lib/services/cdnManagement/lib/models/ipAddressGroup.js @@ -17,10 +17,10 @@ class IpAddressGroup { /** * Create a IpAddressGroup. - * @member {string} [deliveryRegion] The delivery region of the ip address + * @property {string} [deliveryRegion] The delivery region of the ip address * group - * @member {array} [ipv4Addresses] The list of ip v4 addresses. - * @member {array} [ipv6Addresses] The list of ip v6 addresses. + * @property {array} [ipv4Addresses] The list of ip v4 addresses. + * @property {array} [ipv6Addresses] The list of ip v6 addresses. */ constructor() { } diff --git a/lib/services/cdnManagement/lib/models/loadParameters.js b/lib/services/cdnManagement/lib/models/loadParameters.js index b8bf96cade..fa75b62c95 100644 --- a/lib/services/cdnManagement/lib/models/loadParameters.js +++ b/lib/services/cdnManagement/lib/models/loadParameters.js @@ -17,7 +17,7 @@ class LoadParameters { /** * Create a LoadParameters. - * @member {array} contentPaths The path to the content to be loaded. Path + * @property {array} contentPaths The path to the content to be loaded. Path * should be a relative file URL of the origin. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/operation.js b/lib/services/cdnManagement/lib/models/operation.js index 2bf1ccd840..747bd50afb 100644 --- a/lib/services/cdnManagement/lib/models/operation.js +++ b/lib/services/cdnManagement/lib/models/operation.js @@ -17,13 +17,14 @@ class Operation { /** * Create a Operation. - * @member {string} [name] Operation name: {provider}/{resource}/{operation} - * @member {object} [display] The object that represents the operation. - * @member {string} [display.provider] Service provider: Microsoft.Cdn - * @member {string} [display.resource] Resource on which the operation is + * @property {string} [name] Operation name: + * {provider}/{resource}/{operation} + * @property {object} [display] The object that represents the operation. + * @property {string} [display.provider] Service provider: Microsoft.Cdn + * @property {string} [display.resource] Resource on which the operation is * performed: Profile, endpoint, etc. - * @member {string} [display.operation] Operation type: Read, write, delete, - * etc. + * @property {string} [display.operation] Operation type: Read, write, + * delete, etc. */ constructor() { } diff --git a/lib/services/cdnManagement/lib/models/operationDisplay.js b/lib/services/cdnManagement/lib/models/operationDisplay.js index 4aea47fcfc..c39ab07dbd 100644 --- a/lib/services/cdnManagement/lib/models/operationDisplay.js +++ b/lib/services/cdnManagement/lib/models/operationDisplay.js @@ -17,10 +17,10 @@ class OperationDisplay { /** * Create a OperationDisplay. - * @member {string} [provider] Service provider: Microsoft.Cdn - * @member {string} [resource] Resource on which the operation is performed: - * Profile, endpoint, etc. - * @member {string} [operation] Operation type: Read, write, delete, etc. + * @property {string} [provider] Service provider: Microsoft.Cdn + * @property {string} [resource] Resource on which the operation is + * performed: Profile, endpoint, etc. + * @property {string} [operation] Operation type: Read, write, delete, etc. */ constructor() { } diff --git a/lib/services/cdnManagement/lib/models/operationsListResult.js b/lib/services/cdnManagement/lib/models/operationsListResult.js index 7db3d35682..95386c870c 100644 --- a/lib/services/cdnManagement/lib/models/operationsListResult.js +++ b/lib/services/cdnManagement/lib/models/operationsListResult.js @@ -17,7 +17,7 @@ class OperationsListResult extends Array { /** * Create a OperationsListResult. - * @member {string} [nextLink] URL to get the next set of operation list + * @property {string} [nextLink] URL to get the next set of operation list * results if there are any. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/origin.js b/lib/services/cdnManagement/lib/models/origin.js index 47f080d70a..4f94312a1b 100644 --- a/lib/services/cdnManagement/lib/models/origin.js +++ b/lib/services/cdnManagement/lib/models/origin.js @@ -22,15 +22,15 @@ const models = require('./index'); class Origin extends models['TrackedResource'] { /** * Create a Origin. - * @member {string} hostName The address of the origin. Domain names, IPv4 + * @property {string} hostName The address of the origin. Domain names, IPv4 * addresses, and IPv6 addresses are supported. - * @member {number} [httpPort] The value of the HTTP port. Must be between 1 - * and 65535. - * @member {number} [httpsPort] The value of the https port. Must be between + * @property {number} [httpPort] The value of the HTTP port. Must be between * 1 and 65535. - * @member {string} [resourceState] Resource status of the origin. Possible + * @property {number} [httpsPort] The value of the https port. Must be + * between 1 and 65535. + * @property {string} [resourceState] Resource status of the origin. Possible * values include: 'Creating', 'Active', 'Deleting' - * @member {string} [provisioningState] Provisioning status of the origin. + * @property {string} [provisioningState] Provisioning status of the origin. */ constructor() { super(); diff --git a/lib/services/cdnManagement/lib/models/originListResult.js b/lib/services/cdnManagement/lib/models/originListResult.js index 206a48df23..7bb013b599 100644 --- a/lib/services/cdnManagement/lib/models/originListResult.js +++ b/lib/services/cdnManagement/lib/models/originListResult.js @@ -17,7 +17,7 @@ class OriginListResult extends Array { /** * Create a OriginListResult. - * @member {string} [nextLink] URL to get the next set of origin objects if + * @property {string} [nextLink] URL to get the next set of origin objects if * there are any. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/originUpdateParameters.js b/lib/services/cdnManagement/lib/models/originUpdateParameters.js index 4231cc7d37..1db03fd14f 100644 --- a/lib/services/cdnManagement/lib/models/originUpdateParameters.js +++ b/lib/services/cdnManagement/lib/models/originUpdateParameters.js @@ -20,12 +20,12 @@ const models = require('./index'); class OriginUpdateParameters extends models['BaseResource'] { /** * Create a OriginUpdateParameters. - * @member {string} [hostName] The address of the origin. Domain names, IPv4 - * addresses, and IPv6 addresses are supported. - * @member {number} [httpPort] The value of the HTTP port. Must be between 1 - * and 65535. - * @member {number} [httpsPort] The value of the HTTPS port. Must be between + * @property {string} [hostName] The address of the origin. Domain names, + * IPv4 addresses, and IPv6 addresses are supported. + * @property {number} [httpPort] The value of the HTTP port. Must be between * 1 and 65535. + * @property {number} [httpsPort] The value of the HTTPS port. Must be + * between 1 and 65535. */ constructor() { super(); diff --git a/lib/services/cdnManagement/lib/models/profile.js b/lib/services/cdnManagement/lib/models/profile.js index d8cb1b0371..283350d07f 100644 --- a/lib/services/cdnManagement/lib/models/profile.js +++ b/lib/services/cdnManagement/lib/models/profile.js @@ -21,14 +21,14 @@ const models = require('./index'); class Profile extends models['TrackedResource'] { /** * Create a Profile. - * @member {object} sku The pricing tier (defines a CDN provider, feature + * @property {object} sku The pricing tier (defines a CDN provider, feature * list and rate) of the CDN profile. - * @member {string} [sku.name] Name of the pricing tier. Possible values + * @property {string} [sku.name] Name of the pricing tier. Possible values * include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon', * 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft' - * @member {string} [resourceState] Resource status of the profile. Possible - * values include: 'Creating', 'Active', 'Deleting', 'Disabled' - * @member {string} [provisioningState] Provisioning status of the profile. + * @property {string} [resourceState] Resource status of the profile. + * Possible values include: 'Creating', 'Active', 'Deleting', 'Disabled' + * @property {string} [provisioningState] Provisioning status of the profile. */ constructor() { super(); diff --git a/lib/services/cdnManagement/lib/models/profileListResult.js b/lib/services/cdnManagement/lib/models/profileListResult.js index 8484ea91df..93f785d54e 100644 --- a/lib/services/cdnManagement/lib/models/profileListResult.js +++ b/lib/services/cdnManagement/lib/models/profileListResult.js @@ -12,13 +12,13 @@ /** * Result of the request to list profiles. It contains a list of profile - * objects and a URL link to get the the next set of results. + * objects and a URL link to get the next set of results. */ class ProfileListResult extends Array { /** * Create a ProfileListResult. - * @member {string} [nextLink] URL to get the next set of profile objects if - * there are any. + * @property {string} [nextLink] URL to get the next set of profile objects + * if there are any. */ constructor() { super(); diff --git a/lib/services/cdnManagement/lib/models/profileUpdateParameters.js b/lib/services/cdnManagement/lib/models/profileUpdateParameters.js index 1ca8f5b78c..dd04ecd92b 100644 --- a/lib/services/cdnManagement/lib/models/profileUpdateParameters.js +++ b/lib/services/cdnManagement/lib/models/profileUpdateParameters.js @@ -20,7 +20,7 @@ const models = require('./index'); class ProfileUpdateParameters extends models['BaseResource'] { /** * Create a ProfileUpdateParameters. - * @member {object} [tags] Profile tags + * @property {object} [tags] Profile tags */ constructor() { super(); diff --git a/lib/services/cdnManagement/lib/models/purgeParameters.js b/lib/services/cdnManagement/lib/models/purgeParameters.js index e3be748479..8d01f8a0ca 100644 --- a/lib/services/cdnManagement/lib/models/purgeParameters.js +++ b/lib/services/cdnManagement/lib/models/purgeParameters.js @@ -17,7 +17,7 @@ class PurgeParameters { /** * Create a PurgeParameters. - * @member {array} contentPaths The path to the content to be purged. Can + * @property {array} contentPaths The path to the content to be purged. Can * describe a file path or a wild card directory. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/resource.js b/lib/services/cdnManagement/lib/models/resource.js index f60a4a6ec5..020c5ce4fa 100644 --- a/lib/services/cdnManagement/lib/models/resource.js +++ b/lib/services/cdnManagement/lib/models/resource.js @@ -20,9 +20,9 @@ const models = require('./index'); class Resource extends models['BaseResource'] { /** * Create a Resource. - * @member {string} [id] Resource ID. - * @member {string} [name] Resource name. - * @member {string} [type] Resource type. + * @property {string} [id] Resource ID. + * @property {string} [name] Resource name. + * @property {string} [type] Resource type. */ constructor() { super(); diff --git a/lib/services/cdnManagement/lib/models/resourceUsage.js b/lib/services/cdnManagement/lib/models/resourceUsage.js index d886d9184f..06ad216870 100644 --- a/lib/services/cdnManagement/lib/models/resourceUsage.js +++ b/lib/services/cdnManagement/lib/models/resourceUsage.js @@ -17,12 +17,12 @@ class ResourceUsage { /** * Create a ResourceUsage. - * @member {string} [resourceType] Resource type for which the usage is + * @property {string} [resourceType] Resource type for which the usage is * provided. - * @member {string} [unit] Unit of the usage. e.g. Count. - * @member {number} [currentValue] Actual value of usage on the specified + * @property {string} [unit] Unit of the usage. e.g. Count. + * @property {number} [currentValue] Actual value of usage on the specified * resource type. - * @member {number} [limit] Quota of the specified resource type. + * @property {number} [limit] Quota of the specified resource type. */ constructor() { } diff --git a/lib/services/cdnManagement/lib/models/resourceUsageListResult.js b/lib/services/cdnManagement/lib/models/resourceUsageListResult.js index c2174a75dd..39f832a3f7 100644 --- a/lib/services/cdnManagement/lib/models/resourceUsageListResult.js +++ b/lib/services/cdnManagement/lib/models/resourceUsageListResult.js @@ -16,7 +16,7 @@ class ResourceUsageListResult extends Array { /** * Create a ResourceUsageListResult. - * @member {string} [nextLink] URL to get the next set of custom domain + * @property {string} [nextLink] URL to get the next set of custom domain * objects if there are any. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/sku.js b/lib/services/cdnManagement/lib/models/sku.js index 0dddf951b1..9e94ccff20 100644 --- a/lib/services/cdnManagement/lib/models/sku.js +++ b/lib/services/cdnManagement/lib/models/sku.js @@ -18,8 +18,8 @@ class Sku { /** * Create a Sku. - * @member {string} [name] Name of the pricing tier. Possible values include: - * 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon', + * @property {string} [name] Name of the pricing tier. Possible values + * include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon', * 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft' */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/ssoUri.js b/lib/services/cdnManagement/lib/models/ssoUri.js index 72b734a4a4..cdf53602ac 100644 --- a/lib/services/cdnManagement/lib/models/ssoUri.js +++ b/lib/services/cdnManagement/lib/models/ssoUri.js @@ -17,7 +17,7 @@ class SsoUri { /** * Create a SsoUri. - * @member {string} [ssoUriValue] The URI used to login to the supplemental + * @property {string} [ssoUriValue] The URI used to login to the supplemental * portal. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/supportedOptimizationTypesListResult.js b/lib/services/cdnManagement/lib/models/supportedOptimizationTypesListResult.js index 5a31799403..cb43bfa849 100644 --- a/lib/services/cdnManagement/lib/models/supportedOptimizationTypesListResult.js +++ b/lib/services/cdnManagement/lib/models/supportedOptimizationTypesListResult.js @@ -17,8 +17,8 @@ class SupportedOptimizationTypesListResult { /** * Create a SupportedOptimizationTypesListResult. - * @member {array} [supportedOptimizationTypes] Supported optimization types - * for a profile. + * @property {array} [supportedOptimizationTypes] Supported optimization + * types for a profile. */ constructor() { } diff --git a/lib/services/cdnManagement/lib/models/trackedResource.js b/lib/services/cdnManagement/lib/models/trackedResource.js index dc6e89bca4..ba373caba7 100644 --- a/lib/services/cdnManagement/lib/models/trackedResource.js +++ b/lib/services/cdnManagement/lib/models/trackedResource.js @@ -20,8 +20,8 @@ const models = require('./index'); class TrackedResource extends models['Resource'] { /** * Create a TrackedResource. - * @member {string} location Resource location. - * @member {object} [tags] Resource tags. + * @property {string} location Resource location. + * @property {object} [tags] Resource tags. */ constructor() { super(); diff --git a/lib/services/cdnManagement/lib/models/urlFileExtensionConditionParameters.js b/lib/services/cdnManagement/lib/models/urlFileExtensionConditionParameters.js index 2b692a439f..63b0b9dc03 100644 --- a/lib/services/cdnManagement/lib/models/urlFileExtensionConditionParameters.js +++ b/lib/services/cdnManagement/lib/models/urlFileExtensionConditionParameters.js @@ -17,7 +17,7 @@ class UrlFileExtensionConditionParameters { /** * Create a UrlFileExtensionConditionParameters. - * @member {array} extensions A list of extensions for the condition of the + * @property {array} extensions A list of extensions for the condition of the * delivery rule. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/urlPathConditionParameters.js b/lib/services/cdnManagement/lib/models/urlPathConditionParameters.js index 3f794777d7..45de2ffa58 100644 --- a/lib/services/cdnManagement/lib/models/urlPathConditionParameters.js +++ b/lib/services/cdnManagement/lib/models/urlPathConditionParameters.js @@ -17,8 +17,8 @@ class UrlPathConditionParameters { /** * Create a UrlPathConditionParameters. - * @member {string} path A URL path for the condition of the delivery rule - * @member {string} matchType The match type for the condition of the + * @property {string} path A URL path for the condition of the delivery rule + * @property {string} matchType The match type for the condition of the * delivery rule. Possible values include: 'Literal', 'Wildcard' */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/validateCustomDomainInput.js b/lib/services/cdnManagement/lib/models/validateCustomDomainInput.js index 71bf5ec871..eba1b99c5d 100644 --- a/lib/services/cdnManagement/lib/models/validateCustomDomainInput.js +++ b/lib/services/cdnManagement/lib/models/validateCustomDomainInput.js @@ -17,7 +17,7 @@ class ValidateCustomDomainInput { /** * Create a ValidateCustomDomainInput. - * @member {string} hostName The host name of the custom domain. Must be a + * @property {string} hostName The host name of the custom domain. Must be a * domain name. */ constructor() { diff --git a/lib/services/cdnManagement/lib/models/validateCustomDomainOutput.js b/lib/services/cdnManagement/lib/models/validateCustomDomainOutput.js index cf285a32b7..52edf6e2a6 100644 --- a/lib/services/cdnManagement/lib/models/validateCustomDomainOutput.js +++ b/lib/services/cdnManagement/lib/models/validateCustomDomainOutput.js @@ -17,11 +17,11 @@ class ValidateCustomDomainOutput { /** * Create a ValidateCustomDomainOutput. - * @member {boolean} [customDomainValidated] Indicates whether the custom + * @property {boolean} [customDomainValidated] Indicates whether the custom * domain is valid or not. - * @member {string} [reason] The reason why the custom domain is not valid. - * @member {string} [message] Error message describing why the custom domain - * is not valid. + * @property {string} [reason] The reason why the custom domain is not valid. + * @property {string} [message] Error message describing why the custom + * domain is not valid. */ constructor() { } diff --git a/lib/services/cdnManagement/lib/models/validateProbeInput.js b/lib/services/cdnManagement/lib/models/validateProbeInput.js index 49afdaa501..d3f05545dc 100644 --- a/lib/services/cdnManagement/lib/models/validateProbeInput.js +++ b/lib/services/cdnManagement/lib/models/validateProbeInput.js @@ -17,7 +17,7 @@ class ValidateProbeInput { /** * Create a ValidateProbeInput. - * @member {string} probeURL The probe URL to validate. + * @property {string} probeURL The probe URL to validate. */ constructor() { } diff --git a/lib/services/cdnManagement/lib/models/validateProbeOutput.js b/lib/services/cdnManagement/lib/models/validateProbeOutput.js index ec047de924..2cecd5588d 100644 --- a/lib/services/cdnManagement/lib/models/validateProbeOutput.js +++ b/lib/services/cdnManagement/lib/models/validateProbeOutput.js @@ -17,11 +17,11 @@ class ValidateProbeOutput { /** * Create a ValidateProbeOutput. - * @member {boolean} [isValid] Indicates whether the probe URL is accepted or - * not. - * @member {string} [errorCode] Specifies the error code when the probe url + * @property {boolean} [isValid] Indicates whether the probe URL is accepted + * or not. + * @property {string} [errorCode] Specifies the error code when the probe url * is not accepted. - * @member {string} [message] The detailed error message describing why the + * @property {string} [message] The detailed error message describing why the * probe URL is not accepted. */ constructor() { diff --git a/lib/services/cdnManagement/lib/operations/customDomains.js b/lib/services/cdnManagement/lib/operations/customDomains.js index fa1ab32b00..16f5f09795 100644 --- a/lib/services/cdnManagement/lib/operations/customDomains.js +++ b/lib/services/cdnManagement/lib/operations/customDomains.js @@ -185,7 +185,7 @@ function _listByEndpoint(resourceGroupName, profileName, endpointName, options, } /** - * Gets an exisitng custom domain within an endpoint. + * Gets an existing custom domain within an endpoint. * * @param {string} resourceGroupName Name of the Resource group within the * Azure subscription. @@ -1544,7 +1544,7 @@ class CustomDomains { } /** - * Gets an exisitng custom domain within an endpoint. + * Gets an existing custom domain within an endpoint. * * @param {string} resourceGroupName Name of the Resource group within the * Azure subscription. @@ -1584,7 +1584,7 @@ class CustomDomains { } /** - * Gets an exisitng custom domain within an endpoint. + * Gets an existing custom domain within an endpoint. * * @param {string} resourceGroupName Name of the Resource group within the * Azure subscription. diff --git a/lib/services/cdnManagement/lib/operations/endpoints.js b/lib/services/cdnManagement/lib/operations/endpoints.js index 2175eab4c6..5f8ee7cc7c 100644 --- a/lib/services/cdnManagement/lib/operations/endpoints.js +++ b/lib/services/cdnManagement/lib/operations/endpoints.js @@ -369,7 +369,7 @@ function _get(resourceGroupName, profileName, endpointName, options, callback) { * hostname by default. * * @param {string} [endpoint.originPath] A directory path on the origin that - * CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + * CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. * * @param {array} [endpoint.contentTypesToCompress] List of content types on * which compression applies. The value should be a valid MIME type. @@ -406,7 +406,7 @@ function _get(resourceGroupName, profileName, endpointName, options, callback) { * most optimal routes for the CDN. This is relative to the origin path. * * @param {array} [endpoint.geoFilters] List of rules defining the user's geo - * access within a CDN endpoint. Each geo filter defines an acess rule to a + * access within a CDN endpoint. Each geo filter defines an access rule to a * specified path or content, e.g. block APAC for path /pictures/ * * @param {object} [endpoint.deliveryPolicy] A policy that specifies the @@ -522,7 +522,7 @@ function _create(resourceGroupName, profileName, endpointName, endpoint, options * origin hostname by default. * * @param {string} [endpointUpdateProperties.originPath] A directory path on - * the origin that CDN can use to retreive content from, e.g. + * the origin that CDN can use to retrieve content from, e.g. * contoso.cloudapp.net/originpath. * * @param {array} [endpointUpdateProperties.contentTypesToCompress] List of @@ -564,7 +564,7 @@ function _create(resourceGroupName, profileName, endpointName, endpoint, options * * @param {array} [endpointUpdateProperties.geoFilters] 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 + * access rule to a specified path or content, e.g. block APAC for path * /pictures/ * * @param {object} [endpointUpdateProperties.deliveryPolicy] A policy that @@ -1412,7 +1412,7 @@ function _listResourceUsage(resourceGroupName, profileName, endpointName, option * hostname by default. * * @param {string} [endpoint.originPath] A directory path on the origin that - * CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + * CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. * * @param {array} [endpoint.contentTypesToCompress] List of content types on * which compression applies. The value should be a valid MIME type. @@ -1449,7 +1449,7 @@ function _listResourceUsage(resourceGroupName, profileName, endpointName, option * most optimal routes for the CDN. This is relative to the origin path. * * @param {array} [endpoint.geoFilters] List of rules defining the user's geo - * access within a CDN endpoint. Each geo filter defines an acess rule to a + * access within a CDN endpoint. Each geo filter defines an access rule to a * specified path or content, e.g. block APAC for path /pictures/ * * @param {object} [endpoint.deliveryPolicy] A policy that specifies the @@ -1702,7 +1702,7 @@ function _beginCreate(resourceGroupName, profileName, endpointName, endpoint, op * origin hostname by default. * * @param {string} [endpointUpdateProperties.originPath] A directory path on - * the origin that CDN can use to retreive content from, e.g. + * the origin that CDN can use to retrieve content from, e.g. * contoso.cloudapp.net/originpath. * * @param {array} [endpointUpdateProperties.contentTypesToCompress] List of @@ -1744,7 +1744,7 @@ function _beginCreate(resourceGroupName, profileName, endpointName, endpoint, op * * @param {array} [endpointUpdateProperties.geoFilters] 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 + * access rule to a specified path or content, e.g. block APAC for path * /pictures/ * * @param {object} [endpointUpdateProperties.deliveryPolicy] A policy that @@ -3331,7 +3331,7 @@ class Endpoints { * hostname by default. * * @param {string} [endpoint.originPath] A directory path on the origin that - * CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + * CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. * * @param {array} [endpoint.contentTypesToCompress] List of content types on * which compression applies. The value should be a valid MIME type. @@ -3368,7 +3368,7 @@ class Endpoints { * most optimal routes for the CDN. This is relative to the origin path. * * @param {array} [endpoint.geoFilters] List of rules defining the user's geo - * access within a CDN endpoint. Each geo filter defines an acess rule to a + * access within a CDN endpoint. Each geo filter defines an access rule to a * specified path or content, e.g. block APAC for path /pictures/ * * @param {object} [endpoint.deliveryPolicy] A policy that specifies the @@ -3433,7 +3433,7 @@ class Endpoints { * hostname by default. * * @param {string} [endpoint.originPath] A directory path on the origin that - * CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + * CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. * * @param {array} [endpoint.contentTypesToCompress] List of content types on * which compression applies. The value should be a valid MIME type. @@ -3470,7 +3470,7 @@ class Endpoints { * most optimal routes for the CDN. This is relative to the origin path. * * @param {array} [endpoint.geoFilters] List of rules defining the user's geo - * access within a CDN endpoint. Each geo filter defines an acess rule to a + * access within a CDN endpoint. Each geo filter defines an access rule to a * specified path or content, e.g. block APAC for path /pictures/ * * @param {object} [endpoint.deliveryPolicy] A policy that specifies the @@ -3562,7 +3562,7 @@ class Endpoints { * origin hostname by default. * * @param {string} [endpointUpdateProperties.originPath] A directory path on - * the origin that CDN can use to retreive content from, e.g. + * the origin that CDN can use to retrieve content from, e.g. * contoso.cloudapp.net/originpath. * * @param {array} [endpointUpdateProperties.contentTypesToCompress] List of @@ -3604,7 +3604,7 @@ class Endpoints { * * @param {array} [endpointUpdateProperties.geoFilters] 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 + * access rule to a specified path or content, e.g. block APAC for path * /pictures/ * * @param {object} [endpointUpdateProperties.deliveryPolicy] A policy that @@ -3668,7 +3668,7 @@ class Endpoints { * origin hostname by default. * * @param {string} [endpointUpdateProperties.originPath] A directory path on - * the origin that CDN can use to retreive content from, e.g. + * the origin that CDN can use to retrieve content from, e.g. * contoso.cloudapp.net/originpath. * * @param {array} [endpointUpdateProperties.contentTypesToCompress] List of @@ -3710,7 +3710,7 @@ class Endpoints { * * @param {array} [endpointUpdateProperties.geoFilters] 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 + * access rule to a specified path or content, e.g. block APAC for path * /pictures/ * * @param {object} [endpointUpdateProperties.deliveryPolicy] A policy that @@ -4486,7 +4486,7 @@ class Endpoints { * hostname by default. * * @param {string} [endpoint.originPath] A directory path on the origin that - * CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + * CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. * * @param {array} [endpoint.contentTypesToCompress] List of content types on * which compression applies. The value should be a valid MIME type. @@ -4523,7 +4523,7 @@ class Endpoints { * most optimal routes for the CDN. This is relative to the origin path. * * @param {array} [endpoint.geoFilters] List of rules defining the user's geo - * access within a CDN endpoint. Each geo filter defines an acess rule to a + * access within a CDN endpoint. Each geo filter defines an access rule to a * specified path or content, e.g. block APAC for path /pictures/ * * @param {object} [endpoint.deliveryPolicy] A policy that specifies the @@ -4588,7 +4588,7 @@ class Endpoints { * hostname by default. * * @param {string} [endpoint.originPath] A directory path on the origin that - * CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + * CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. * * @param {array} [endpoint.contentTypesToCompress] List of content types on * which compression applies. The value should be a valid MIME type. @@ -4625,7 +4625,7 @@ class Endpoints { * most optimal routes for the CDN. This is relative to the origin path. * * @param {array} [endpoint.geoFilters] List of rules defining the user's geo - * access within a CDN endpoint. Each geo filter defines an acess rule to a + * access within a CDN endpoint. Each geo filter defines an access rule to a * specified path or content, e.g. block APAC for path /pictures/ * * @param {object} [endpoint.deliveryPolicy] A policy that specifies the @@ -4717,7 +4717,7 @@ class Endpoints { * origin hostname by default. * * @param {string} [endpointUpdateProperties.originPath] A directory path on - * the origin that CDN can use to retreive content from, e.g. + * the origin that CDN can use to retrieve content from, e.g. * contoso.cloudapp.net/originpath. * * @param {array} [endpointUpdateProperties.contentTypesToCompress] List of @@ -4759,7 +4759,7 @@ class Endpoints { * * @param {array} [endpointUpdateProperties.geoFilters] 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 + * access rule to a specified path or content, e.g. block APAC for path * /pictures/ * * @param {object} [endpointUpdateProperties.deliveryPolicy] A policy that @@ -4823,7 +4823,7 @@ class Endpoints { * origin hostname by default. * * @param {string} [endpointUpdateProperties.originPath] A directory path on - * the origin that CDN can use to retreive content from, e.g. + * the origin that CDN can use to retrieve content from, e.g. * contoso.cloudapp.net/originpath. * * @param {array} [endpointUpdateProperties.contentTypesToCompress] List of @@ -4865,7 +4865,7 @@ class Endpoints { * * @param {array} [endpointUpdateProperties.geoFilters] 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 + * access rule to a specified path or content, e.g. block APAC for path * /pictures/ * * @param {object} [endpointUpdateProperties.deliveryPolicy] A policy that diff --git a/lib/services/cdnManagement/lib/operations/index.d.ts b/lib/services/cdnManagement/lib/operations/index.d.ts index 4f92aa8e0a..955953fe2e 100644 --- a/lib/services/cdnManagement/lib/operations/index.d.ts +++ b/lib/services/cdnManagement/lib/operations/index.d.ts @@ -422,7 +422,7 @@ export interface Profiles { /** * Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. - * Supplemnetal portal is used to configure advanced feature capabilities that + * Supplemental portal is used to configure advanced feature capabilities that * are not yet available in the Azure portal, such as core reports in a * standard profile; rules engine, advanced HTTP reports, and real-time stats * and alerts in a premium profile. The SSO URI changes approximately every 10 @@ -449,7 +449,7 @@ export interface Profiles { /** * Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. - * Supplemnetal portal is used to configure advanced feature capabilities that + * Supplemental portal is used to configure advanced feature capabilities that * are not yet available in the Azure portal, such as core reports in a * standard profile; rules engine, advanced HTTP reports, and real-time stats * and alerts in a premium profile. The SSO URI changes approximately every 10 @@ -1186,7 +1186,7 @@ export interface Endpoints { * hostname by default. * * @param {string} [endpoint.originPath] A directory path on the origin that - * CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + * CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. * * @param {array} [endpoint.contentTypesToCompress] List of content types on * which compression applies. The value should be a valid MIME type. @@ -1223,7 +1223,7 @@ export interface Endpoints { * most optimal routes for the CDN. This is relative to the origin path. * * @param {array} [endpoint.geoFilters] List of rules defining the user's geo - * access within a CDN endpoint. Each geo filter defines an acess rule to a + * access within a CDN endpoint. Each geo filter defines an access rule to a * specified path or content, e.g. block APAC for path /pictures/ * * @param {object} [endpoint.deliveryPolicy] A policy that specifies the @@ -1276,7 +1276,7 @@ export interface Endpoints { * hostname by default. * * @param {string} [endpoint.originPath] A directory path on the origin that - * CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + * CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. * * @param {array} [endpoint.contentTypesToCompress] List of content types on * which compression applies. The value should be a valid MIME type. @@ -1313,7 +1313,7 @@ export interface Endpoints { * most optimal routes for the CDN. This is relative to the origin path. * * @param {array} [endpoint.geoFilters] List of rules defining the user's geo - * access within a CDN endpoint. Each geo filter defines an acess rule to a + * access within a CDN endpoint. Each geo filter defines an access rule to a * specified path or content, e.g. block APAC for path /pictures/ * * @param {object} [endpoint.deliveryPolicy] A policy that specifies the @@ -1390,7 +1390,7 @@ export interface Endpoints { * origin hostname by default. * * @param {string} [endpointUpdateProperties.originPath] A directory path on - * the origin that CDN can use to retreive content from, e.g. + * the origin that CDN can use to retrieve content from, e.g. * contoso.cloudapp.net/originpath. * * @param {array} [endpointUpdateProperties.contentTypesToCompress] List of @@ -1432,7 +1432,7 @@ export interface Endpoints { * * @param {array} [endpointUpdateProperties.geoFilters] 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 + * access rule to a specified path or content, e.g. block APAC for path * /pictures/ * * @param {object} [endpointUpdateProperties.deliveryPolicy] A policy that @@ -1484,7 +1484,7 @@ export interface Endpoints { * origin hostname by default. * * @param {string} [endpointUpdateProperties.originPath] A directory path on - * the origin that CDN can use to retreive content from, e.g. + * the origin that CDN can use to retrieve content from, e.g. * contoso.cloudapp.net/originpath. * * @param {array} [endpointUpdateProperties.contentTypesToCompress] List of @@ -1526,7 +1526,7 @@ export interface Endpoints { * * @param {array} [endpointUpdateProperties.geoFilters] 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 + * access rule to a specified path or content, e.g. block APAC for path * /pictures/ * * @param {object} [endpointUpdateProperties.deliveryPolicy] A policy that @@ -2098,7 +2098,7 @@ export interface Endpoints { * hostname by default. * * @param {string} [endpoint.originPath] A directory path on the origin that - * CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + * CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. * * @param {array} [endpoint.contentTypesToCompress] List of content types on * which compression applies. The value should be a valid MIME type. @@ -2135,7 +2135,7 @@ export interface Endpoints { * most optimal routes for the CDN. This is relative to the origin path. * * @param {array} [endpoint.geoFilters] List of rules defining the user's geo - * access within a CDN endpoint. Each geo filter defines an acess rule to a + * access within a CDN endpoint. Each geo filter defines an access rule to a * specified path or content, e.g. block APAC for path /pictures/ * * @param {object} [endpoint.deliveryPolicy] A policy that specifies the @@ -2188,7 +2188,7 @@ export interface Endpoints { * hostname by default. * * @param {string} [endpoint.originPath] A directory path on the origin that - * CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + * CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. * * @param {array} [endpoint.contentTypesToCompress] List of content types on * which compression applies. The value should be a valid MIME type. @@ -2225,7 +2225,7 @@ export interface Endpoints { * most optimal routes for the CDN. This is relative to the origin path. * * @param {array} [endpoint.geoFilters] List of rules defining the user's geo - * access within a CDN endpoint. Each geo filter defines an acess rule to a + * access within a CDN endpoint. Each geo filter defines an access rule to a * specified path or content, e.g. block APAC for path /pictures/ * * @param {object} [endpoint.deliveryPolicy] A policy that specifies the @@ -2302,7 +2302,7 @@ export interface Endpoints { * origin hostname by default. * * @param {string} [endpointUpdateProperties.originPath] A directory path on - * the origin that CDN can use to retreive content from, e.g. + * the origin that CDN can use to retrieve content from, e.g. * contoso.cloudapp.net/originpath. * * @param {array} [endpointUpdateProperties.contentTypesToCompress] List of @@ -2344,7 +2344,7 @@ export interface Endpoints { * * @param {array} [endpointUpdateProperties.geoFilters] 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 + * access rule to a specified path or content, e.g. block APAC for path * /pictures/ * * @param {object} [endpointUpdateProperties.deliveryPolicy] A policy that @@ -2396,7 +2396,7 @@ export interface Endpoints { * origin hostname by default. * * @param {string} [endpointUpdateProperties.originPath] A directory path on - * the origin that CDN can use to retreive content from, e.g. + * the origin that CDN can use to retrieve content from, e.g. * contoso.cloudapp.net/originpath. * * @param {array} [endpointUpdateProperties.contentTypesToCompress] List of @@ -2438,7 +2438,7 @@ export interface Endpoints { * * @param {array} [endpointUpdateProperties.geoFilters] 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 + * access rule to a specified path or content, e.g. block APAC for path * /pictures/ * * @param {object} [endpointUpdateProperties.deliveryPolicy] A policy that @@ -3439,7 +3439,7 @@ export interface CustomDomains { /** - * Gets an exisitng custom domain within an endpoint. + * Gets an existing custom domain within an endpoint. * * @param {string} resourceGroupName Name of the Resource group within the * Azure subscription. @@ -3467,7 +3467,7 @@ export interface CustomDomains { getWithHttpOperationResponse(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Gets an exisitng custom domain within an endpoint. + * Gets an existing custom domain within an endpoint. * * @param {string} resourceGroupName Name of the Resource group within the * Azure subscription. diff --git a/lib/services/cdnManagement/lib/operations/profiles.js b/lib/services/cdnManagement/lib/operations/profiles.js index a5952a739f..a7ba378f01 100644 --- a/lib/services/cdnManagement/lib/operations/profiles.js +++ b/lib/services/cdnManagement/lib/operations/profiles.js @@ -712,7 +712,7 @@ function _deleteMethod(resourceGroupName, profileName, options, callback) { /** * Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. - * Supplemnetal portal is used to configure advanced feature capabilities that + * Supplemental portal is used to configure advanced feature capabilities that * are not yet available in the Azure portal, such as core reports in a * standard profile; rules engine, advanced HTTP reports, and real-time stats * and alerts in a premium profile. The SSO URI changes approximately every 10 @@ -2759,7 +2759,7 @@ class Profiles { /** * Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. - * Supplemnetal portal is used to configure advanced feature capabilities that + * Supplemental portal is used to configure advanced feature capabilities that * are not yet available in the Azure portal, such as core reports in a * standard profile; rules engine, advanced HTTP reports, and real-time stats * and alerts in a premium profile. The SSO URI changes approximately every 10 @@ -2798,7 +2798,7 @@ class Profiles { /** * Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. - * Supplemnetal portal is used to configure advanced feature capabilities that + * Supplemental portal is used to configure advanced feature capabilities that * are not yet available in the Azure portal, such as core reports in a * standard profile; rules engine, advanced HTTP reports, and real-time stats * and alerts in a premium profile. The SSO URI changes approximately every 10 diff --git a/lib/services/cdnManagement/package.json b/lib/services/cdnManagement/package.json index 7d4d02ac00..37f005709f 100644 --- a/lib/services/cdnManagement/package.json +++ b/lib/services/cdnManagement/package.json @@ -2,7 +2,7 @@ "name": "azure-arm-cdn", "author": "Microsoft Corporation", "description": "CdnManagementClient Library with typescript type definitions for node", - "version": "4.1.0", + "version": "4.2.0", "dependencies": { "ms-rest": "^2.3.3", "ms-rest-azure": "^2.5.5" @@ -22,4 +22,4 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-node/issues" } -} \ No newline at end of file +}