diff --git a/packages/@azure/arm-cdn/README.md b/packages/@azure/arm-cdn/README.md index 3ec40bcca5eb..f60945c4b148 100644 --- a/packages/@azure/arm-cdn/README.md +++ b/packages/@azure/arm-cdn/README.md @@ -94,6 +94,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fpackages%2F%40azure%2Farm-cdn%2FREADME.png) diff --git a/packages/@azure/arm-cdn/lib/models/customDomainsMappers.ts b/packages/@azure/arm-cdn/lib/models/customDomainsMappers.ts index 3bd827402303..f7b909ad5631 100644 --- a/packages/@azure/arm-cdn/lib/models/customDomainsMappers.ts +++ b/packages/@azure/arm-cdn/lib/models/customDomainsMappers.ts @@ -1,46 +1,49 @@ /* * 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. */ export { discriminators, - BaseResource, - CacheExpirationActionParameters, - CdnCertificateSourceParameters, - CdnManagedHttpsParameters, - CidrIpAddress, - CustomDomain, - CustomDomainHttpsParameters, CustomDomainListResult, + CustomDomain, + ProxyResource, + Resource, + BaseResource, + ErrorResponse, CustomDomainParameters, + CustomDomainHttpsParameters, + ProfileUpdateParameters, DeepCreatedOrigin, + EndpointUpdateParameters, + GeoFilter, + EndpointPropertiesUpdateParametersDeliveryPolicy, DeliveryRule, DeliveryRuleAction, - DeliveryRuleCacheExpirationAction, DeliveryRuleCondition, - DeliveryRuleUrlFileExtensionCondition, DeliveryRuleUrlPathCondition, + UrlPathConditionParameters, + DeliveryRuleUrlFileExtensionCondition, + UrlFileExtensionConditionParameters, + DeliveryRuleCacheExpirationAction, + CacheExpirationActionParameters, + OriginUpdateParameters, + CdnManagedHttpsParameters, + CdnCertificateSourceParameters, + UserManagedHttpsParameters, + KeyVaultCertificateSourceParameters, EdgeNode, - Endpoint, - EndpointPropertiesUpdateParametersDeliveryPolicy, - EndpointUpdateParameters, - ErrorResponse, - GeoFilter, IpAddressGroup, - KeyVaultCertificateSourceParameters, - Origin, - OriginUpdateParameters, + CidrIpAddress, + TrackedResource, Profile, - ProfileUpdateParameters, - ProxyResource, - Resource, Sku, - TrackedResource, - UrlFileExtensionConditionParameters, - UrlPathConditionParameters, - UserManagedHttpsParameters + Endpoint, + Origin } from "../models/mappers"; + diff --git a/packages/@azure/arm-cdn/lib/models/edgeNodesMappers.ts b/packages/@azure/arm-cdn/lib/models/edgeNodesMappers.ts index 59b6f89e96de..e4817d83ca28 100644 --- a/packages/@azure/arm-cdn/lib/models/edgeNodesMappers.ts +++ b/packages/@azure/arm-cdn/lib/models/edgeNodesMappers.ts @@ -1,40 +1,43 @@ /* * 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. */ export { discriminators, + EdgenodeResult, + EdgeNode, + ProxyResource, + Resource, BaseResource, - CacheExpirationActionParameters, + IpAddressGroup, CidrIpAddress, - CustomDomain, + ErrorResponse, + ProfileUpdateParameters, DeepCreatedOrigin, + EndpointUpdateParameters, + GeoFilter, + EndpointPropertiesUpdateParametersDeliveryPolicy, DeliveryRule, DeliveryRuleAction, - DeliveryRuleCacheExpirationAction, DeliveryRuleCondition, - DeliveryRuleUrlFileExtensionCondition, DeliveryRuleUrlPathCondition, - EdgeNode, - EdgenodeResult, - Endpoint, - EndpointPropertiesUpdateParametersDeliveryPolicy, - EndpointUpdateParameters, - ErrorResponse, - GeoFilter, - IpAddressGroup, - Origin, + UrlPathConditionParameters, + DeliveryRuleUrlFileExtensionCondition, + UrlFileExtensionConditionParameters, + DeliveryRuleCacheExpirationAction, + CacheExpirationActionParameters, OriginUpdateParameters, + CustomDomain, + TrackedResource, Profile, - ProfileUpdateParameters, - ProxyResource, - Resource, Sku, - TrackedResource, - UrlFileExtensionConditionParameters, - UrlPathConditionParameters + Endpoint, + Origin } from "../models/mappers"; + diff --git a/packages/@azure/arm-cdn/lib/models/endpointsMappers.ts b/packages/@azure/arm-cdn/lib/models/endpointsMappers.ts index 547872122332..37e5f9a52af3 100644 --- a/packages/@azure/arm-cdn/lib/models/endpointsMappers.ts +++ b/packages/@azure/arm-cdn/lib/models/endpointsMappers.ts @@ -1,46 +1,49 @@ /* * 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. */ export { discriminators, + EndpointListResult, + Endpoint, + TrackedResource, + Resource, BaseResource, - CacheExpirationActionParameters, - CidrIpAddress, - CustomDomain, - DeepCreatedOrigin, + GeoFilter, + EndpointPropertiesUpdateParametersDeliveryPolicy, DeliveryRule, DeliveryRuleAction, - DeliveryRuleCacheExpirationAction, DeliveryRuleCondition, - DeliveryRuleUrlFileExtensionCondition, - DeliveryRuleUrlPathCondition, - EdgeNode, - Endpoint, - EndpointListResult, - EndpointPropertiesUpdateParametersDeliveryPolicy, - EndpointUpdateParameters, + DeepCreatedOrigin, ErrorResponse, - GeoFilter, - IpAddressGroup, - LoadParameters, - Origin, - OriginUpdateParameters, - Profile, - ProfileUpdateParameters, - ProxyResource, + EndpointUpdateParameters, PurgeParameters, - Resource, - ResourceUsage, + LoadParameters, + ValidateCustomDomainInput, + ValidateCustomDomainOutput, ResourceUsageListResult, + ResourceUsage, + Profile, Sku, - TrackedResource, - UrlFileExtensionConditionParameters, + ProfileUpdateParameters, + DeliveryRuleUrlPathCondition, UrlPathConditionParameters, - ValidateCustomDomainInput, - ValidateCustomDomainOutput + DeliveryRuleUrlFileExtensionCondition, + UrlFileExtensionConditionParameters, + DeliveryRuleCacheExpirationAction, + CacheExpirationActionParameters, + Origin, + OriginUpdateParameters, + ProxyResource, + CustomDomain, + EdgeNode, + IpAddressGroup, + CidrIpAddress } from "../models/mappers"; + diff --git a/packages/@azure/arm-cdn/lib/models/index.ts b/packages/@azure/arm-cdn/lib/models/index.ts index 951ca9b6e44c..e4bfcc6ef0c7 100644 --- a/packages/@azure/arm-cdn/lib/models/index.ts +++ b/packages/@azure/arm-cdn/lib/models/index.ts @@ -1,9 +1,11 @@ /* * 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, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -11,232 +13,307 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; + /** - * The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. + * @interface + * An interface representing Sku. + * 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' + * @member {SkuName} [name] Name of the pricing tier. Possible values + * include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon', + * 'Standard_Akamai', 'Standard_ChinaCdn', 'Premium_ChinaCdn', + * 'Standard_Microsoft' */ name?: SkuName; } /** + * @interface + * An interface representing Resource. * The core properties of ARM resources + * + * @extends BaseResource */ export interface Resource extends BaseResource { /** - * Resource ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [id] Resource ID. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly id?: string; /** - * Resource name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [name] Resource name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly name?: string; /** - * Resource type. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [type] Resource type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly type?: string; } /** + * @interface + * An interface representing TrackedResource. * The resource model definition for a ARM tracked top level resource. + * + * @extends Resource */ export interface TrackedResource extends Resource { /** - * Resource location. + * @member {string} location Resource location. */ location: string; /** - * Resource tags. + * @member {{ [propertyName: string]: string }} [tags] Resource tags. */ tags?: { [propertyName: string]: string }; } /** - * CDN profile is a logical grouping of endpoints that share the same settings, such as CDN - * provider and pricing tier. + * @interface + * An interface representing Profile. + * CDN profile is a logical grouping of endpoints that share the same settings, + * such as CDN provider and pricing tier. + * + * @extends TrackedResource */ export interface Profile extends TrackedResource { /** - * The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile. + * @member {Sku} sku 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', + * @member {ProfileResourceState} [resourceState] Resource status of the + * profile. Possible values include: 'Creating', 'Active', 'Deleting', * 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resourceState?: ProfileResourceState; /** - * Provisioning status of the profile. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [provisioningState] Provisioning status of the profile. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly provisioningState?: string; } /** + * @interface + * An interface representing ProfileUpdateParameters. * Properties required to update a profile. + * + * @extends BaseResource */ export interface ProfileUpdateParameters extends BaseResource { /** - * Profile tags + * @member {{ [propertyName: string]: string }} [tags] Profile tags */ tags?: { [propertyName: string]: string }; } /** + * @interface + * An interface representing SsoUri. * The URI required to login to the supplemental portal from the Azure portal. + * */ export interface SsoUri { /** - * The URI used to login to the supplemental portal. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [ssoUriValue] The URI used to login to the supplemental + * portal. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly ssoUriValue?: string; } /** + * @interface + * An interface representing SupportedOptimizationTypesListResult. * The result of the GetSupportedOptimizationTypes API + * */ export interface SupportedOptimizationTypesListResult { /** - * Supported optimization types for a profile. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {OptimizationType[]} [supportedOptimizationTypes] Supported + * optimization types for a profile. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly supportedOptimizationTypes?: OptimizationType[]; } /** + * @interface + * An interface representing DeepCreatedOrigin. * The main origin of CDN content which is added when creating a CDN endpoint. + * + * @extends BaseResource */ export interface DeepCreatedOrigin extends BaseResource { /** - * Origin name + * @member {string} name Origin name */ name: string; /** - * The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. + * @member {string} hostName 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 + * @member {number} [httpPort] 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 + * @member {number} [httpsPort] The value of the HTTPS port. Must be between + * 1 and 65535 */ httpsPort?: number; } /** - * 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. + * @interface + * An interface representing 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. + * + * @extends TrackedResource */ 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. + * @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. */ originHostHeader?: string; /** - * A directory path on the origin that CDN can use to retrieve content from, e.g. - * contoso.cloudapp.net/originpath. + * @member {string} [originPath] 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. + * @member {string[]} [contentTypesToCompress] 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. + * @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. */ 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. + * @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. */ 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. + * @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. */ 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' + * @member {QueryStringCachingBehavior} [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' */ queryStringCachingBehavior?: QueryStringCachingBehavior; /** - * Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, - * Media services. With this information, CDN can apply scenario driven optimization. Possible - * values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', + * @member {OptimizationType} [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' */ optimizationType?: OptimizationType; /** - * Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and - * calculate the most optimal routes for the CDN. This is relative to the origin path. + * @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. */ 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/ + * @member {GeoFilter[]} [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/ */ geoFilters?: GeoFilter[]; /** - * A policy that specifies the delivery rules to be used for an endpoint. + * @member {EndpointPropertiesUpdateParametersDeliveryPolicy} + * [deliveryPolicy] 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 - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [hostName] The host name of the endpoint structured as + * {endpointName}.{DNSZone}, e.g. contoso.azureedge.net + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly hostName?: string; /** - * The source of the content being delivered via CDN. + * @member {DeepCreatedOrigin[]} origins The source of the content being + * delivered via CDN. */ origins: DeepCreatedOrigin[]; /** - * Resource status of the endpoint. Possible values include: 'Creating', 'Deleting', 'Running', + * @member {EndpointResourceState} [resourceState] Resource status of the + * endpoint. Possible values include: 'Creating', 'Deleting', 'Running', * 'Starting', 'Stopped', 'Stopping' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resourceState?: EndpointResourceState; /** - * Provisioning status of the endpoint. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [provisioningState] Provisioning status of the endpoint. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly provisioningState?: string; } /** + * @interface + * An interface representing GeoFilter. * Rules defining user's geo access within a CDN endpoint. + * */ export interface GeoFilter { /** - * Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.) + * @member {string} relativePath 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' + * @member {GeoFilterActions} action Action of the geo filter, i.e. allow or + * block access. Possible values include: 'Block', 'Allow' */ action: GeoFilterActions; /** - * Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US. + * @member {string[]} countryCodes Two letter country codes defining user + * country access in a geo filter, e.g. AU, MX, US. */ countryCodes: string[]; } @@ -247,11 +324,14 @@ export interface GeoFilter { export type DeliveryRuleActionUnion = DeliveryRuleAction | DeliveryRuleCacheExpirationAction; /** + * @interface + * An interface representing DeliveryRuleAction. * An action for the delivery rule. + * */ export interface DeliveryRuleAction { /** - * Polymorphic Discriminator + * @member {string} name Polymorphic Discriminator */ name: "DeliveryRuleAction"; } @@ -262,327 +342,430 @@ export interface DeliveryRuleAction { export type DeliveryRuleConditionUnion = DeliveryRuleCondition | DeliveryRuleUrlPathCondition | DeliveryRuleUrlFileExtensionCondition; /** + * @interface + * An interface representing DeliveryRuleCondition. * A condition for the delivery rule. + * */ export interface DeliveryRuleCondition { /** - * Polymorphic Discriminator + * @member {string} name Polymorphic Discriminator */ name: "DeliveryRuleCondition"; } /** + * @interface + * An interface representing DeliveryRule. * A rule that specifies a set of actions and conditions + * */ 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. + * @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. */ order: number; /** - * A list of actions that are executed when all the conditions of a rule are satisfied. + * @member {DeliveryRuleActionUnion[]} actions A list of actions that are + * executed when all the conditions of a rule are satisfied. */ actions: DeliveryRuleActionUnion[]; /** - * A list of conditions that must be matched for the actions to be executed + * @member {DeliveryRuleConditionUnion[]} [conditions] A list of conditions + * that must be matched for the actions to be executed */ conditions?: DeliveryRuleConditionUnion[]; } /** + * @interface + * An interface representing EndpointPropertiesUpdateParametersDeliveryPolicy. * A policy that specifies the delivery rules to be used for an endpoint. + * */ export interface EndpointPropertiesUpdateParametersDeliveryPolicy { /** - * User-friendly description of the policy. + * @member {string} [description] User-friendly description of the policy. */ description?: string; /** - * A list of the delivery rules. + * @member {DeliveryRule[]} rules A list of the delivery rules. */ rules: DeliveryRule[]; } /** + * @interface + * An interface representing EndpointUpdateParameters. * Properties required to create or update an endpoint. + * + * @extends BaseResource */ export interface EndpointUpdateParameters extends BaseResource { /** - * Endpoint tags. + * @member {{ [propertyName: string]: string }} [tags] 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. + * @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. */ originHostHeader?: string; /** - * A directory path on the origin that CDN can use to retrieve content from, e.g. - * contoso.cloudapp.net/originpath. + * @member {string} [originPath] 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. + * @member {string[]} [contentTypesToCompress] 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. + * @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. */ 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. + * @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. */ 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. + * @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. */ 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' + * @member {QueryStringCachingBehavior} [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' */ queryStringCachingBehavior?: QueryStringCachingBehavior; /** - * Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, - * Media services. With this information, CDN can apply scenario driven optimization. Possible - * values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', + * @member {OptimizationType} [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' */ optimizationType?: OptimizationType; /** - * Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and - * calculate the most optimal routes for the CDN. This is relative to the origin path. + * @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. */ 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/ + * @member {GeoFilter[]} [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/ */ geoFilters?: GeoFilter[]; /** - * A policy that specifies the delivery rules to be used for an endpoint. + * @member {EndpointPropertiesUpdateParametersDeliveryPolicy} + * [deliveryPolicy] A policy that specifies the delivery rules to be used for + * an endpoint. */ deliveryPolicy?: EndpointPropertiesUpdateParametersDeliveryPolicy; } /** + * @interface + * An interface representing UrlPathConditionParameters. * Defines the parameters for the URL path condition. + * */ export interface UrlPathConditionParameters { /** - * A URL path for the condition of the delivery rule + * @member {string} path 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' + * @member {MatchType} matchType The match type for the condition of the + * delivery rule. Possible values include: 'Literal', 'Wildcard' */ matchType: MatchType; } /** + * @interface + * An interface representing DeliveryRuleUrlPathCondition. * Defines the URL path condition for the delivery rule. + * */ export interface DeliveryRuleUrlPathCondition { /** - * Polymorphic Discriminator + * @member {string} name Polymorphic Discriminator */ name: "UrlPath"; /** - * Defines the parameters for the condition. + * @member {UrlPathConditionParameters} parameters Defines the parameters for + * the condition. */ parameters: UrlPathConditionParameters; } /** + * @interface + * An interface representing UrlFileExtensionConditionParameters. * Defines the parameters for the URL file extension condition. + * */ export interface UrlFileExtensionConditionParameters { /** - * A list of extensions for the condition of the delivery rule. + * @member {string[]} extensions A list of extensions for the condition of + * the delivery rule. */ extensions: string[]; } /** + * @interface + * An interface representing DeliveryRuleUrlFileExtensionCondition. * Defines the URL file extension condition for the delivery rule. + * */ export interface DeliveryRuleUrlFileExtensionCondition { /** - * Polymorphic Discriminator + * @member {string} name Polymorphic Discriminator */ name: "UrlFileExtension"; /** - * Defines the parameters for the condition. + * @member {UrlFileExtensionConditionParameters} parameters Defines the + * parameters for the condition. */ parameters: UrlFileExtensionConditionParameters; } /** + * @interface + * An interface representing CacheExpirationActionParameters. * Defines the parameters for the cache expiration action. + * */ export interface CacheExpirationActionParameters { /** - * Caching behavior for the requests that include query strings. Possible values include: - * 'BypassCache', 'Override', 'SetIfMissing' + * @member {CacheBehavior} cacheBehavior Caching behavior for the requests + * that include query strings. Possible values include: 'BypassCache', + * 'Override', 'SetIfMissing' */ cacheBehavior: CacheBehavior; /** - * The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss + * @member {string} [cacheDuration] The duration for which the content needs + * to be cached. Allowed format is [d.]hh:mm:ss */ cacheDuration?: string; } /** + * @interface + * An interface representing DeliveryRuleCacheExpirationAction. * Defines the cache expiration action for the delivery rule. + * */ export interface DeliveryRuleCacheExpirationAction { /** - * Polymorphic Discriminator + * @member {string} name Polymorphic Discriminator */ name: "CacheExpiration"; /** - * Defines the parameters for the action. + * @member {CacheExpirationActionParameters} parameters Defines the + * parameters for the action. */ parameters: CacheExpirationActionParameters; } /** + * @interface + * An interface representing PurgeParameters. * Parameters required for content purge. + * */ export interface PurgeParameters { /** - * The path to the content to be purged. Can describe a file path or a wild card directory. + * @member {string[]} contentPaths The path to the content to be purged. Can + * describe a file path or a wild card directory. */ contentPaths: string[]; } /** + * @interface + * An interface representing LoadParameters. * Parameters required for content load. + * */ export interface LoadParameters { /** - * The path to the content to be loaded. Path should be a relative file URL of the origin. + * @member {string[]} contentPaths The path to the content to be loaded. Path + * should be a relative file URL of the origin. */ contentPaths: string[]; } /** - * 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. + * @interface + * An interface representing 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. + * + * @extends TrackedResource */ export interface Origin extends TrackedResource { /** - * The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported. + * @member {string} hostName 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. + * @member {number} [httpPort] 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. + * @member {number} [httpsPort] 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' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {OriginResourceState} [resourceState] Resource status of the + * origin. Possible values include: 'Creating', 'Active', 'Deleting' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resourceState?: OriginResourceState; /** - * Provisioning status of the origin. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [provisioningState] Provisioning status of the origin. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly provisioningState?: string; } /** + * @interface + * An interface representing OriginUpdateParameters. * Origin properties needed for origin creation or update. + * + * @extends BaseResource */ export interface OriginUpdateParameters extends BaseResource { /** - * The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported. + * @member {string} [hostName] 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. + * @member {number} [httpPort] 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. + * @member {number} [httpsPort] The value of the HTTPS port. Must be between + * 1 and 65535. */ httpsPort?: number; } /** - * The resource model definition for a ARM proxy resource. It will have everything other than - * required location and tags + * @interface + * An interface representing ProxyResource. + * The resource model definition for a ARM proxy resource. It will have + * everything other than required location and tags + * + * @extends Resource */ export interface ProxyResource extends Resource { } /** - * Friendly domain name mapping to the endpoint hostname that the customer provides for branding - * purposes, e.g. www.contoso.com. + * @interface + * An interface representing CustomDomain. + * Friendly domain name mapping to the endpoint hostname that the customer + * provides for branding purposes, e.g. www.contoso.com. + * + * @extends ProxyResource */ export interface CustomDomain extends ProxyResource { /** - * The host name of the custom domain. Must be a domain name. + * @member {string} hostName 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' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {CustomDomainResourceState} [resourceState] Resource status of the + * custom domain. Possible values include: 'Creating', 'Active', 'Deleting' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resourceState?: CustomDomainResourceState; /** - * Provisioning status of Custom Https of the custom domain. Possible values include: 'Enabling', - * 'Enabled', 'Disabling', 'Disabled', 'Failed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {CustomHttpsProvisioningState} [customHttpsProvisioningState] + * Provisioning status of Custom Https of the custom domain. Possible values + * include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly customHttpsProvisioningState?: CustomHttpsProvisioningState; /** - * 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', + * @member {CustomHttpsProvisioningSubstate} + * [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' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly customHttpsProvisioningSubstate?: CustomHttpsProvisioningSubstate; /** - * 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} [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. */ validationData?: string; /** - * Provisioning status of the custom domain. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [provisioningState] Provisioning status of the custom + * domain. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly provisioningState?: string; } /** + * @interface + * An interface representing CustomDomainParameters. * The customDomain JSON object required for custom domain creation or update. + * */ export interface CustomDomainParameters { /** - * The host name of the custom domain. Must be a domain name. + * @member {string} hostName The host name of the custom domain. Must be a + * domain name. */ hostName: string; } @@ -593,433 +776,579 @@ export interface CustomDomainParameters { export type CustomDomainHttpsParametersUnion = CustomDomainHttpsParameters | CdnManagedHttpsParameters | UserManagedHttpsParameters; /** + * @interface + * An interface representing CustomDomainHttpsParameters. * The JSON object that contains the properties to secure a custom domain. + * */ export interface CustomDomainHttpsParameters { /** - * Polymorphic Discriminator + * @member {string} certificateSource Polymorphic Discriminator */ certificateSource: "CustomDomainHttpsParameters"; /** - * Defines the TLS extension protocol that is used for secure delivery. Possible values include: + * @member {ProtocolType} protocolType Defines the TLS extension protocol + * that is used for secure delivery. Possible values include: * 'ServerNameIndication', 'IPBased' */ protocolType: ProtocolType; } /** - * Defines the parameters for using CDN managed certificate for securing custom domain. + * @interface + * An interface representing CdnCertificateSourceParameters. + * Defines the parameters for using CDN managed certificate for securing custom + * domain. + * */ export interface CdnCertificateSourceParameters { /** - * Type of certificate used. Possible values include: 'Shared', 'Dedicated' + * @member {CertificateType} certificateType Type of certificate used. + * Possible values include: 'Shared', 'Dedicated' */ certificateType: CertificateType; } /** - * Defines the certificate source parameters using CDN managed certificate for enabling SSL. + * @interface + * An interface representing CdnManagedHttpsParameters. + * Defines the certificate source parameters using CDN managed certificate for + * enabling SSL. + * */ export interface CdnManagedHttpsParameters { /** - * Polymorphic Discriminator + * @member {string} certificateSource Polymorphic Discriminator */ certificateSource: "Cdn"; /** - * Defines the TLS extension protocol that is used for secure delivery. Possible values include: + * @member {ProtocolType} protocolType Defines the TLS extension protocol + * that is used for secure delivery. Possible values include: * 'ServerNameIndication', 'IPBased' */ protocolType: ProtocolType; /** - * Defines the certificate source parameters using CDN managed certificate for enabling SSL. + * @member {CdnCertificateSourceParameters} certificateSourceParameters + * Defines the certificate source parameters using CDN managed certificate + * for enabling SSL. */ certificateSourceParameters: CdnCertificateSourceParameters; } /** - * Describes the parameters for using a user's KeyVault certificate for securing custom domain. + * @interface + * An interface representing KeyVaultCertificateSourceParameters. + * Describes the parameters for using a user's KeyVault certificate for + * securing custom domain. + * */ export interface KeyVaultCertificateSourceParameters { /** - * Subscription Id of the user's Key Vault containing the SSL certificate + * @member {string} subscriptionId Subscription Id of the user's Key Vault + * containing the SSL certificate */ subscriptionId: string; /** - * Resource group of the user's Key Vault containing the SSL certificate + * @member {string} resourceGroupName Resource group of the user's Key Vault + * containing the SSL certificate */ resourceGroupName: string; /** - * The name of the user's Key Vault containing the SSL certificate + * @member {string} vaultName The name of the user's Key Vault containing the + * SSL certificate */ vaultName: string; /** - * The name of Key Vault Secret (representing the full certificate PFX) in Key Vault. + * @member {string} secretName The name of Key Vault Secret (representing the + * full certificate PFX) in Key Vault. */ secretName: string; /** - * The version(GUID) of Key Vault Secret in Key Vault. + * @member {string} secretVersion The version(GUID) of Key Vault Secret in + * Key Vault. */ secretVersion: string; } /** - * Defines the certificate source parameters using user's keyvault certificate for enabling SSL. + * @interface + * An interface representing UserManagedHttpsParameters. + * Defines the certificate source parameters using user's keyvault certificate + * for enabling SSL. + * */ export interface UserManagedHttpsParameters { /** - * Polymorphic Discriminator + * @member {string} certificateSource Polymorphic Discriminator */ certificateSource: "AzureKeyVault"; /** - * Defines the TLS extension protocol that is used for secure delivery. Possible values include: + * @member {ProtocolType} protocolType Defines the TLS extension protocol + * that is used for secure delivery. Possible values include: * 'ServerNameIndication', 'IPBased' */ protocolType: ProtocolType; /** - * Defines the certificate source parameters using user's keyvault certificate for enabling SSL. + * @member {KeyVaultCertificateSourceParameters} certificateSourceParameters + * Defines the certificate source parameters using user's keyvault + * certificate for enabling SSL. */ certificateSourceParameters: KeyVaultCertificateSourceParameters; } /** + * @interface + * An interface representing ValidateCustomDomainInput. * Input of the custom domain to be validated for DNS mapping. + * */ export interface ValidateCustomDomainInput { /** - * The host name of the custom domain. Must be a domain name. + * @member {string} hostName The host name of the custom domain. Must be a + * domain name. */ hostName: string; } /** + * @interface + * An interface representing ValidateCustomDomainOutput. * Output of custom domain validation. + * */ export interface ValidateCustomDomainOutput { /** - * Indicates whether the custom domain is valid or not. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {boolean} [customDomainValidated] Indicates whether the custom + * domain is valid or not. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly customDomainValidated?: boolean; /** - * The reason why the custom domain is not valid. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [reason] The reason why the custom domain is not valid. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly reason?: string; /** - * Error message describing why the custom domain is not valid. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [message] Error message describing why the custom domain + * is not valid. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly message?: string; } /** + * @interface + * An interface representing CheckNameAvailabilityInput. * Input of CheckNameAvailability API. + * */ export interface CheckNameAvailabilityInput { /** - * The resource name to validate. + * @member {string} name The resource name to validate. */ name: string; } /** + * @interface + * An interface representing CheckNameAvailabilityOutput. * Output of check name availability API. + * */ export interface CheckNameAvailabilityOutput { /** - * Indicates whether the name is available. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {boolean} [nameAvailable] Indicates whether the name is available. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly nameAvailable?: boolean; /** - * The reason why the name is not available. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [reason] The reason why the name is not available. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly reason?: string; /** - * The detailed error message describing why the name is not available. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [message] The detailed error message describing why the + * name is not available. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly message?: string; } /** + * @interface + * An interface representing ValidateProbeInput. * Input of the validate probe API. + * */ export interface ValidateProbeInput { /** - * The probe URL to validate. + * @member {string} probeURL The probe URL to validate. */ probeURL: string; } /** + * @interface + * An interface representing ValidateProbeOutput. * Output of the validate probe API. + * */ export interface ValidateProbeOutput { /** - * Indicates whether the probe URL is accepted or not. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {boolean} [isValid] Indicates whether the probe URL is accepted or + * not. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly isValid?: boolean; /** - * Specifies the error code when the probe url is not accepted. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [errorCode] Specifies the error code when the probe url + * is not accepted. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly errorCode?: string; /** - * The detailed error message describing why the probe URL is not accepted. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [message] The detailed error message describing why the + * probe URL is not accepted. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly message?: string; } /** + * @interface + * An interface representing ResourceUsage. * Output of check resource usage API. + * */ export interface ResourceUsage { /** - * Resource type for which the usage is provided. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [resourceType] Resource type for which the usage is + * provided. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resourceType?: string; /** - * Unit of the usage. e.g. Count. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [unit] Unit of the usage. e.g. Count. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly unit?: string; /** - * Actual value of usage on the specified resource type. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {number} [currentValue] Actual value of usage on the specified + * resource type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly currentValue?: number; /** - * Quota of the specified resource type. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {number} [limit] Quota of the specified resource type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly limit?: number; } /** + * @interface + * An interface representing OperationDisplay. * The object that represents the operation. + * */ export interface OperationDisplay { /** - * Service provider: Microsoft.Cdn - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [provider] Service provider: Microsoft.Cdn + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly provider?: string; /** - * Resource on which the operation is performed: Profile, endpoint, etc. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [resource] Resource on which the operation is performed: + * Profile, endpoint, etc. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resource?: string; /** - * Operation type: Read, write, delete, etc. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [operation] Operation type: Read, write, delete, etc. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly operation?: string; } /** + * @interface + * An interface representing Operation. * CDN REST API operation + * */ export interface Operation { /** - * Operation name: {provider}/{resource}/{operation} - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [name] Operation name: {provider}/{resource}/{operation} + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly name?: string; /** - * The object that represents the operation. + * @member {OperationDisplay} [display] The object that represents the + * operation. */ display?: OperationDisplay; } /** + * @interface + * An interface representing CidrIpAddress. * CIDR Ip address + * */ export interface CidrIpAddress { /** - * Ip address itself. + * @member {string} [baseIpAddress] Ip address itself. */ baseIpAddress?: string; /** - * The length of the prefix of the ip address. + * @member {number} [prefixLength] The length of the prefix of the ip + * address. */ prefixLength?: number; } /** + * @interface + * An interface representing IpAddressGroup. * CDN Ip address group + * */ export interface IpAddressGroup { /** - * The delivery region of the ip address group + * @member {string} [deliveryRegion] The delivery region of the ip address + * group */ deliveryRegion?: string; /** - * The list of ip v4 addresses. + * @member {CidrIpAddress[]} [ipv4Addresses] The list of ip v4 addresses. */ ipv4Addresses?: CidrIpAddress[]; /** - * The list of ip v6 addresses. + * @member {CidrIpAddress[]} [ipv6Addresses] The list of ip v6 addresses. */ ipv6Addresses?: CidrIpAddress[]; } /** - * Edgenode is a global Point of Presence (POP) location used to deliver CDN content to end users. + * @interface + * An interface representing EdgeNode. + * Edgenode is a global Point of Presence (POP) location used to deliver CDN + * content to end users. + * + * @extends ProxyResource */ export interface EdgeNode extends ProxyResource { /** - * List of ip address groups. + * @member {IpAddressGroup[]} ipAddressGroups List of ip address groups. */ ipAddressGroups: IpAddressGroup[]; } /** - * Error response indicates CDN service is not able to process the incoming request. The reason is - * provided in the error message. + * @interface + * An interface representing ErrorResponse. + * 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. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [code] Error code. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly code?: string; /** - * Error message indicating why the operation failed. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [message] Error message indicating why the operation + * failed. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly message?: string; } /** + * @interface + * An interface representing ProfilesUpdateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface ProfilesUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Profile tags + * @member {{ [propertyName: string]: string }} [tags] Profile tags */ tags?: { [propertyName: string]: string }; } /** + * @interface + * An interface representing ProfilesBeginUpdateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface ProfilesBeginUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Profile tags + * @member {{ [propertyName: string]: string }} [tags] Profile tags */ tags?: { [propertyName: string]: string }; } /** + * @interface + * An interface representing CustomDomainsEnableCustomHttpsOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface CustomDomainsEnableCustomHttpsOptionalParams extends msRest.RequestOptionsBase { /** - * The configuration specifying how to enable HTTPS for the custom domain - using CDN managed - * certificate or user's own certificate. If not specified, enabling ssl uses CDN managed - * certificate by default. + * @member {CustomDomainHttpsParametersUnion} [customDomainHttpsParameters] + * The configuration specifying how to enable HTTPS for the custom domain - + * using CDN managed certificate or user's own certificate. If not specified, + * enabling ssl uses CDN managed certificate by default. */ customDomainHttpsParameters?: CustomDomainHttpsParametersUnion; } /** + * @interface * An interface representing CdnManagementClientOptions. + * @extends AzureServiceClientOptions */ export interface CdnManagementClientOptions extends AzureServiceClientOptions { + /** + * @member {string} [baseUri] + */ baseUri?: string; } + /** * @interface - * 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. + * An interface representing the ProfileListResult. + * 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. + * * @extends Array */ export interface ProfileListResult extends Array { /** - * URL to get the next set of profile objects if there are any. + * @member {string} [nextLink] URL to get the next set of profile objects if + * there are any. */ nextLink?: string; } /** * @interface + * An interface representing the ResourceUsageListResult. * Output of check resource usage API. + * * @extends Array */ export interface ResourceUsageListResult extends Array { /** - * URL to get the next set of custom domain objects if there are any. + * @member {string} [nextLink] URL to get the next set of custom domain + * objects if there are any. */ nextLink?: string; } /** * @interface - * 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. + * An interface representing the EndpointListResult. + * 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. + * * @extends Array */ export interface EndpointListResult extends Array { /** - * URL to get the next set of endpoint objects if there is any. + * @member {string} [nextLink] URL to get the next set of endpoint objects if + * there is any. */ nextLink?: string; } /** * @interface - * 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. + * An interface representing the OriginListResult. + * 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. + * * @extends Array */ export interface OriginListResult extends Array { /** - * URL to get the next set of origin objects if there are any. + * @member {string} [nextLink] URL to get the next set of origin objects if + * there are any. */ nextLink?: string; } /** * @interface - * 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. + * An interface representing the CustomDomainListResult. + * 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. + * * @extends Array */ export interface CustomDomainListResult extends Array { /** - * URL to get the next set of custom domain objects if there are any. + * @member {string} [nextLink] URL to get the next set of custom domain + * objects if there are any. */ nextLink?: string; } /** * @interface - * 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. + * An interface representing the OperationsListResult. + * 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. + * * @extends Array */ export interface OperationsListResult extends Array { /** - * URL to get the next set of operation list results if there are any. + * @member {string} [nextLink] URL to get the next set of operation list + * results if there are any. */ nextLink?: string; } /** * @interface - * 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. + * An interface representing the EdgenodeResult. + * 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. + * * @extends Array */ export interface EdgenodeResult extends Array { /** - * URL to get the next set of edgenode list results if there are any. + * @member {string} [nextLink] URL to get the next set of edgenode list + * results if there are any. */ nextLink?: string; } @@ -1027,11 +1356,11 @@ export interface EdgenodeResult extends Array { /** * Defines values for SkuName. * Possible values include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon', - * 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft' + * 'Standard_Akamai', 'Standard_ChinaCdn', 'Premium_ChinaCdn', 'Standard_Microsoft' * @readonly * @enum {string} */ -export type SkuName = 'Standard_Verizon' | 'Premium_Verizon' | 'Custom_Verizon' | 'Standard_Akamai' | 'Standard_ChinaCdn' | 'Standard_Microsoft'; +export type SkuName = 'Standard_Verizon' | 'Premium_Verizon' | 'Custom_Verizon' | 'Standard_Akamai' | 'Standard_ChinaCdn' | 'Premium_ChinaCdn' | 'Standard_Microsoft'; /** * Defines values for ProfileResourceState. @@ -1162,7 +1491,6 @@ export type ProfilesListResponse = ProfileListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1182,7 +1510,6 @@ export type ProfilesListByResourceGroupResponse = ProfileListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1202,7 +1529,6 @@ export type ProfilesGetResponse = Profile & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1222,7 +1548,6 @@ export type ProfilesCreateResponse = Profile & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1242,7 +1567,6 @@ export type ProfilesUpdateResponse = Profile & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1262,7 +1586,6 @@ export type ProfilesGenerateSsoUriResponse = SsoUri & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1282,7 +1605,6 @@ export type ProfilesListSupportedOptimizationTypesResponse = SupportedOptimizati * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1302,7 +1624,6 @@ export type ProfilesListResourceUsageResponse = ResourceUsageListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1322,7 +1643,6 @@ export type ProfilesBeginCreateResponse = Profile & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1342,7 +1662,6 @@ export type ProfilesBeginUpdateResponse = Profile & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1362,7 +1681,6 @@ export type ProfilesListNextResponse = ProfileListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1382,7 +1700,6 @@ export type ProfilesListByResourceGroupNextResponse = ProfileListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1402,7 +1719,6 @@ export type ProfilesListResourceUsageNextResponse = ResourceUsageListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1422,7 +1738,6 @@ export type EndpointsListByProfileResponse = EndpointListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1442,7 +1757,6 @@ export type EndpointsGetResponse = Endpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1462,7 +1776,6 @@ export type EndpointsCreateResponse = Endpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1482,7 +1795,6 @@ export type EndpointsUpdateResponse = Endpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1502,7 +1814,6 @@ export type EndpointsStartResponse = Endpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1522,7 +1833,6 @@ export type EndpointsStopResponse = Endpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1542,7 +1852,6 @@ export type EndpointsValidateCustomDomainResponse = ValidateCustomDomainOutput & * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1562,7 +1871,6 @@ export type EndpointsListResourceUsageResponse = ResourceUsageListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1582,7 +1890,6 @@ export type EndpointsBeginCreateResponse = Endpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1602,7 +1909,6 @@ export type EndpointsBeginUpdateResponse = Endpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1622,7 +1928,6 @@ export type EndpointsBeginStartResponse = Endpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1642,7 +1947,6 @@ export type EndpointsBeginStopResponse = Endpoint & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1662,7 +1966,6 @@ export type EndpointsListByProfileNextResponse = EndpointListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1682,7 +1985,6 @@ export type EndpointsListResourceUsageNextResponse = ResourceUsageListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1702,7 +2004,6 @@ export type OriginsListByEndpointResponse = OriginListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1722,7 +2023,6 @@ export type OriginsGetResponse = Origin & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1742,7 +2042,6 @@ export type OriginsUpdateResponse = Origin & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1762,7 +2061,6 @@ export type OriginsBeginUpdateResponse = Origin & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1782,7 +2080,6 @@ export type OriginsListByEndpointNextResponse = OriginListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1802,7 +2099,6 @@ export type CustomDomainsListByEndpointResponse = CustomDomainListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1822,7 +2118,6 @@ export type CustomDomainsGetResponse = CustomDomain & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1842,7 +2137,6 @@ export type CustomDomainsCreateResponse = CustomDomain & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1862,7 +2156,6 @@ export type CustomDomainsDeleteMethodResponse = CustomDomain & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1882,7 +2175,6 @@ export type CustomDomainsDisableCustomHttpsResponse = CustomDomain & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1902,7 +2194,6 @@ export type CustomDomainsEnableCustomHttpsResponse = CustomDomain & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1922,7 +2213,6 @@ export type CustomDomainsBeginCreateResponse = CustomDomain & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1942,7 +2232,6 @@ export type CustomDomainsBeginDeleteMethodResponse = CustomDomain & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1962,7 +2251,6 @@ export type CustomDomainsListByEndpointNextResponse = CustomDomainListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1982,7 +2270,6 @@ export type CheckNameAvailabilityResponse = CheckNameAvailabilityOutput & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -2002,7 +2289,6 @@ export type CheckNameAvailabilityWithSubscriptionResponse = CheckNameAvailabilit * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -2022,7 +2308,6 @@ export type ValidateProbeResponse = ValidateProbeOutput & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -2042,7 +2327,6 @@ export type ResourceUsageListResponse = ResourceUsageListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -2062,7 +2346,6 @@ export type ResourceUsageListNextResponse = ResourceUsageListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -2082,7 +2365,6 @@ export type OperationsListResponse = OperationsListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -2102,7 +2384,6 @@ export type OperationsListNextResponse = OperationsListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -2122,7 +2403,6 @@ export type EdgeNodesListResponse = EdgenodeResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -2142,7 +2422,6 @@ export type EdgeNodesListNextResponse = EdgenodeResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ diff --git a/packages/@azure/arm-cdn/lib/models/mappers.ts b/packages/@azure/arm-cdn/lib/models/mappers.ts index 324463c9cddd..55a4fe319685 100644 --- a/packages/@azure/arm-cdn/lib/models/mappers.ts +++ b/packages/@azure/arm-cdn/lib/models/mappers.ts @@ -1,9 +1,11 @@ /* * 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 { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; @@ -1737,5 +1739,4 @@ export const discriminators = { 'CustomDomainHttpsParameters' : CustomDomainHttpsParameters, 'CustomDomainHttpsParameters.Cdn' : CdnManagedHttpsParameters, 'CustomDomainHttpsParameters.AzureKeyVault' : UserManagedHttpsParameters - }; diff --git a/packages/@azure/arm-cdn/lib/models/operationsMappers.ts b/packages/@azure/arm-cdn/lib/models/operationsMappers.ts index b4fe02631a85..106f6ae269a9 100644 --- a/packages/@azure/arm-cdn/lib/models/operationsMappers.ts +++ b/packages/@azure/arm-cdn/lib/models/operationsMappers.ts @@ -1,15 +1,18 @@ /* * 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. */ export { discriminators, - ErrorResponse, + OperationsListResult, Operation, OperationDisplay, - OperationsListResult + ErrorResponse } from "../models/mappers"; + diff --git a/packages/@azure/arm-cdn/lib/models/originsMappers.ts b/packages/@azure/arm-cdn/lib/models/originsMappers.ts index 59b2e1dfddb0..ff0fc801788f 100644 --- a/packages/@azure/arm-cdn/lib/models/originsMappers.ts +++ b/packages/@azure/arm-cdn/lib/models/originsMappers.ts @@ -1,40 +1,43 @@ /* * 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. */ export { discriminators, + OriginListResult, + Origin, + TrackedResource, + Resource, BaseResource, - CacheExpirationActionParameters, - CidrIpAddress, - CustomDomain, + ErrorResponse, + OriginUpdateParameters, + Profile, + Sku, + ProfileUpdateParameters, DeepCreatedOrigin, + Endpoint, + GeoFilter, + EndpointPropertiesUpdateParametersDeliveryPolicy, DeliveryRule, DeliveryRuleAction, - DeliveryRuleCacheExpirationAction, DeliveryRuleCondition, - DeliveryRuleUrlFileExtensionCondition, + EndpointUpdateParameters, DeliveryRuleUrlPathCondition, + UrlPathConditionParameters, + DeliveryRuleUrlFileExtensionCondition, + UrlFileExtensionConditionParameters, + DeliveryRuleCacheExpirationAction, + CacheExpirationActionParameters, + ProxyResource, + CustomDomain, EdgeNode, - Endpoint, - EndpointPropertiesUpdateParametersDeliveryPolicy, - EndpointUpdateParameters, - ErrorResponse, - GeoFilter, IpAddressGroup, - Origin, - OriginListResult, - OriginUpdateParameters, - Profile, - ProfileUpdateParameters, - ProxyResource, - Resource, - Sku, - TrackedResource, - UrlFileExtensionConditionParameters, - UrlPathConditionParameters + CidrIpAddress } from "../models/mappers"; + diff --git a/packages/@azure/arm-cdn/lib/models/profilesMappers.ts b/packages/@azure/arm-cdn/lib/models/profilesMappers.ts index 5c6b8d00a9cb..8a77e0afd029 100644 --- a/packages/@azure/arm-cdn/lib/models/profilesMappers.ts +++ b/packages/@azure/arm-cdn/lib/models/profilesMappers.ts @@ -1,44 +1,47 @@ /* * 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. */ export { discriminators, + ProfileListResult, + Profile, + TrackedResource, + Resource, BaseResource, - CacheExpirationActionParameters, - CidrIpAddress, - CustomDomain, + Sku, + ErrorResponse, + ProfileUpdateParameters, + SsoUri, + SupportedOptimizationTypesListResult, + ResourceUsageListResult, + ResourceUsage, DeepCreatedOrigin, + Endpoint, + GeoFilter, + EndpointPropertiesUpdateParametersDeliveryPolicy, DeliveryRule, DeliveryRuleAction, - DeliveryRuleCacheExpirationAction, DeliveryRuleCondition, - DeliveryRuleUrlFileExtensionCondition, - DeliveryRuleUrlPathCondition, - EdgeNode, - Endpoint, - EndpointPropertiesUpdateParametersDeliveryPolicy, EndpointUpdateParameters, - ErrorResponse, - GeoFilter, - IpAddressGroup, + DeliveryRuleUrlPathCondition, + UrlPathConditionParameters, + DeliveryRuleUrlFileExtensionCondition, + UrlFileExtensionConditionParameters, + DeliveryRuleCacheExpirationAction, + CacheExpirationActionParameters, Origin, OriginUpdateParameters, - Profile, - ProfileListResult, - ProfileUpdateParameters, ProxyResource, - Resource, - ResourceUsage, - ResourceUsageListResult, - Sku, - SsoUri, - SupportedOptimizationTypesListResult, - TrackedResource, - UrlFileExtensionConditionParameters, - UrlPathConditionParameters + CustomDomain, + EdgeNode, + IpAddressGroup, + CidrIpAddress } from "../models/mappers"; + diff --git a/packages/@azure/arm-cdn/lib/models/resourceUsageOperationsMappers.ts b/packages/@azure/arm-cdn/lib/models/resourceUsageOperationsMappers.ts index a1b52f057759..d291a33629fc 100644 --- a/packages/@azure/arm-cdn/lib/models/resourceUsageOperationsMappers.ts +++ b/packages/@azure/arm-cdn/lib/models/resourceUsageOperationsMappers.ts @@ -1,14 +1,17 @@ /* * 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. */ export { discriminators, - ErrorResponse, + ResourceUsageListResult, ResourceUsage, - ResourceUsageListResult + ErrorResponse } from "../models/mappers"; + diff --git a/packages/@azure/arm-cdn/package.json b/packages/@azure/arm-cdn/package.json index 1fe34a7826f0..84fb80b6fa5a 100644 --- a/packages/@azure/arm-cdn/package.json +++ b/packages/@azure/arm-cdn/package.json @@ -4,8 +4,8 @@ "description": "CdnManagementClient Library with typescript type definitions for node.js and browser.", "version": "4.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.6.0", + "@azure/ms-rest-azure-js": "^1.2.0", + "@azure/ms-rest-js": "^1.2.0", "tslib": "^1.9.3" }, "keywords": [ @@ -44,7 +44,6 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "lib/**/*.ts", - "README.md", "rollup.config.js", "tsconfig.json" ], @@ -53,6 +52,5 @@ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-cdn.js.map'\" -o ./dist/arm-cdn.min.js ./dist/arm-cdn.js", "prepack": "npm install && npm run build" }, - "sideEffects": false, - "autoPublish": true + "sideEffects": false }