diff --git a/services/cdn/mgmt/2016-10-02/cdn/customdomains.go b/services/cdn/mgmt/2016-10-02/cdn/customdomains.go index f4d3f1752295..13541f4e6c98 100644 --- a/services/cdn/mgmt/2016-10-02/cdn/customdomains.go +++ b/services/cdn/mgmt/2016-10-02/cdn/customdomains.go @@ -404,7 +404,7 @@ func (client CustomDomainsClient) EnableCustomHTTPSResponder(resp *http.Response return } -// Get gets an exisitng custom domain within an endpoint. +// Get gets an existing custom domain within an endpoint. // Parameters: // resourceGroupName - name of the Resource group within the Azure subscription. // profileName - name of the CDN profile which is unique within the resource group. diff --git a/services/cdn/mgmt/2016-10-02/cdn/endpoints.go b/services/cdn/mgmt/2016-10-02/cdn/endpoints.go index 6a6ebbeefaad..ea1e9dafc3c1 100644 --- a/services/cdn/mgmt/2016-10-02/cdn/endpoints.go +++ b/services/cdn/mgmt/2016-10-02/cdn/endpoints.go @@ -565,7 +565,7 @@ func (client EndpointsClient) ListResourceUsageComplete(ctx context.Context, res // profileName - name of the CDN profile which is unique within the resource group. // endpointName - name of the endpoint under the profile which is unique globally. // contentFilePaths - the path to the content to be loaded. Path should be a full URL, e.g. -// ‘/pictires/city.png' which loads a single file +// ‘/pictures/city.png' which loads a single file func (client EndpointsClient) LoadContent(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contentFilePaths LoadParameters) (result EndpointsLoadContentFuture, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/EndpointsClient.LoadContent") diff --git a/services/cdn/mgmt/2016-10-02/cdn/models.go b/services/cdn/mgmt/2016-10-02/cdn/models.go index 87b7d83658df..b854b88f33fc 100644 --- a/services/cdn/mgmt/2016-10-02/cdn/models.go +++ b/services/cdn/mgmt/2016-10-02/cdn/models.go @@ -237,7 +237,7 @@ type CheckNameAvailabilityOutput struct { // CidrIPAddress CIDR Ip address type CidrIPAddress struct { - // BaseIPAddress - Ip adress itself. + // BaseIPAddress - IP address itself. BaseIPAddress *string `json:"baseIpAddress,omitempty"` // PrefixLength - The length of the prefix of the ip address. PrefixLength *int32 `json:"prefixLength,omitempty"` @@ -1051,7 +1051,7 @@ func (e *Endpoint) UnmarshalJSON(body []byte) error { } // EndpointListResult 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. +// URL link to get the next set of results. type EndpointListResult struct { autorest.Response `json:"-"` // Value - List of CDN endpoints within a profile @@ -1223,7 +1223,7 @@ type EndpointProperties struct { QueryStringCachingBehavior QueryStringCachingBehavior `json:"queryStringCachingBehavior,omitempty"` // OptimizationType - Customer can specify what scenario they want this CDN endpoint to optimize, e.g. Download, Media services. With this information we can apply scenario driven optimization. Possible values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', 'LargeFileDownload', 'DynamicSiteAcceleration' OptimizationType OptimizationType `json:"optimizationType,omitempty"` - // GeoFilters - List of rules defining user 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/ + // GeoFilters - List of rules defining user 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 `json:"geoFilters,omitempty"` } @@ -1246,7 +1246,7 @@ type EndpointPropertiesUpdateParameters struct { QueryStringCachingBehavior QueryStringCachingBehavior `json:"queryStringCachingBehavior,omitempty"` // OptimizationType - Customer can specify what scenario they want this CDN endpoint to optimize, e.g. Download, Media services. With this information we can apply scenario driven optimization. Possible values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', 'LargeFileDownload', 'DynamicSiteAcceleration' OptimizationType OptimizationType `json:"optimizationType,omitempty"` - // GeoFilters - List of rules defining user 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/ + // GeoFilters - List of rules defining user 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 `json:"geoFilters,omitempty"` } @@ -1487,7 +1487,7 @@ func (eup *EndpointUpdateParameters) UnmarshalJSON(body []byte) error { return nil } -// ErrorResponse error reponse indicates CDN service is not able to process the incoming request. The +// ErrorResponse error response indicates CDN service is not able to process the incoming request. The // reason is provided in the error message. type ErrorResponse struct { // Code - Error code. @@ -2162,7 +2162,7 @@ func (p *Profile) UnmarshalJSON(body []byte) error { } // ProfileListResult 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. +// URL link to get the next set of results. type ProfileListResult struct { autorest.Response `json:"-"` // Value - List of CDN profiles within a resource group. diff --git a/services/cdn/mgmt/2016-10-02/cdn/profiles.go b/services/cdn/mgmt/2016-10-02/cdn/profiles.go index 550b4eae97e0..bbcef15ac8b4 100644 --- a/services/cdn/mgmt/2016-10-02/cdn/profiles.go +++ b/services/cdn/mgmt/2016-10-02/cdn/profiles.go @@ -217,7 +217,7 @@ func (client ProfilesClient) DeleteResponder(resp *http.Response) (result autore return } -// GenerateSsoURI generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemnetal portal is +// GenerateSsoURI generates a dynamic SSO URI used to sign in to the CDN supplemental portal. 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 minutes. diff --git a/services/cdn/mgmt/2017-04-02/cdn/customdomains.go b/services/cdn/mgmt/2017-04-02/cdn/customdomains.go index 002554bd96f1..6647cd62f9d8 100644 --- a/services/cdn/mgmt/2017-04-02/cdn/customdomains.go +++ b/services/cdn/mgmt/2017-04-02/cdn/customdomains.go @@ -404,7 +404,7 @@ func (client CustomDomainsClient) EnableCustomHTTPSResponder(resp *http.Response return } -// Get gets an exisitng custom domain within an endpoint. +// Get gets an existing custom domain within an endpoint. // Parameters: // resourceGroupName - name of the Resource group within the Azure subscription. // profileName - name of the CDN profile which is unique within the resource group. diff --git a/services/cdn/mgmt/2017-04-02/cdn/endpoints.go b/services/cdn/mgmt/2017-04-02/cdn/endpoints.go index a75c7fe40d59..7e286ebcfd3b 100644 --- a/services/cdn/mgmt/2017-04-02/cdn/endpoints.go +++ b/services/cdn/mgmt/2017-04-02/cdn/endpoints.go @@ -565,7 +565,7 @@ func (client EndpointsClient) ListResourceUsageComplete(ctx context.Context, res // profileName - name of the CDN profile which is unique within the resource group. // endpointName - name of the endpoint under the profile which is unique globally. // contentFilePaths - the path to the content to be loaded. Path should be a full URL, e.g. -// ‘/pictires/city.png' which loads a single file +// ‘/pictures/city.png' which loads a single file func (client EndpointsClient) LoadContent(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contentFilePaths LoadParameters) (result EndpointsLoadContentFuture, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/EndpointsClient.LoadContent") diff --git a/services/cdn/mgmt/2017-04-02/cdn/models.go b/services/cdn/mgmt/2017-04-02/cdn/models.go index 71c099bead61..dbb15550ffe5 100644 --- a/services/cdn/mgmt/2017-04-02/cdn/models.go +++ b/services/cdn/mgmt/2017-04-02/cdn/models.go @@ -268,7 +268,7 @@ type CheckNameAvailabilityOutput struct { // CidrIPAddress CIDR Ip address type CidrIPAddress struct { - // BaseIPAddress - Ip adress itself. + // BaseIPAddress - IP address itself. BaseIPAddress *string `json:"baseIpAddress,omitempty"` // PrefixLength - The length of the prefix of the ip address. PrefixLength *int32 `json:"prefixLength,omitempty"` @@ -1029,7 +1029,7 @@ func (e *Endpoint) UnmarshalJSON(body []byte) error { } // EndpointListResult 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. +// URL link to get the next set of results. type EndpointListResult struct { autorest.Response `json:"-"` // Value - List of CDN endpoints within a profile @@ -1187,7 +1187,7 @@ type EndpointProperties struct { ProvisioningState *string `json:"provisioningState,omitempty"` // 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 `json:"originHostHeader,omitempty"` - // OriginPath - A directory path on the origin that CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + // OriginPath - A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. OriginPath *string `json:"originPath,omitempty"` // ContentTypesToCompress - List of content types on which compression applies. The value should be a valid MIME type. ContentTypesToCompress *[]string `json:"contentTypesToCompress,omitempty"` @@ -1203,7 +1203,7 @@ type EndpointProperties struct { OptimizationType OptimizationType `json:"optimizationType,omitempty"` // 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 `json:"probePath,omitempty"` - // 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/ + // 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 `json:"geoFilters,omitempty"` } @@ -1211,7 +1211,7 @@ type EndpointProperties struct { type EndpointPropertiesUpdateParameters struct { // 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 `json:"originHostHeader,omitempty"` - // OriginPath - A directory path on the origin that CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + // OriginPath - A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. OriginPath *string `json:"originPath,omitempty"` // ContentTypesToCompress - List of content types on which compression applies. The value should be a valid MIME type. ContentTypesToCompress *[]string `json:"contentTypesToCompress,omitempty"` @@ -1227,7 +1227,7 @@ type EndpointPropertiesUpdateParameters struct { OptimizationType OptimizationType `json:"optimizationType,omitempty"` // 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 `json:"probePath,omitempty"` - // 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/ + // 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 `json:"geoFilters,omitempty"` } @@ -1468,7 +1468,7 @@ func (eup *EndpointUpdateParameters) UnmarshalJSON(body []byte) error { return nil } -// ErrorResponse error reponse indicates CDN service is not able to process the incoming request. The +// ErrorResponse error response indicates CDN service is not able to process the incoming request. The // reason is provided in the error message. type ErrorResponse struct { // Code - Error code. @@ -2142,7 +2142,7 @@ func (p *Profile) UnmarshalJSON(body []byte) error { } // ProfileListResult 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. +// URL link to get the next set of results. type ProfileListResult struct { autorest.Response `json:"-"` // Value - List of CDN profiles within a resource group. diff --git a/services/cdn/mgmt/2017-04-02/cdn/profiles.go b/services/cdn/mgmt/2017-04-02/cdn/profiles.go index 6014c9cbf523..5d4181d28922 100644 --- a/services/cdn/mgmt/2017-04-02/cdn/profiles.go +++ b/services/cdn/mgmt/2017-04-02/cdn/profiles.go @@ -217,7 +217,7 @@ func (client ProfilesClient) DeleteResponder(resp *http.Response) (result autore return } -// GenerateSsoURI generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemnetal portal is +// GenerateSsoURI generates a dynamic SSO URI used to sign in to the CDN supplemental portal. 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 minutes. diff --git a/services/cdn/mgmt/2017-10-12/cdn/customdomains.go b/services/cdn/mgmt/2017-10-12/cdn/customdomains.go index 684578b22b9b..ae9107a9ea9c 100644 --- a/services/cdn/mgmt/2017-10-12/cdn/customdomains.go +++ b/services/cdn/mgmt/2017-10-12/cdn/customdomains.go @@ -404,7 +404,7 @@ func (client CustomDomainsClient) EnableCustomHTTPSResponder(resp *http.Response return } -// Get gets an exisitng custom domain within an endpoint. +// Get gets an existing custom domain within an endpoint. // Parameters: // resourceGroupName - name of the Resource group within the Azure subscription. // profileName - name of the CDN profile which is unique within the resource group. diff --git a/services/cdn/mgmt/2017-10-12/cdn/endpoints.go b/services/cdn/mgmt/2017-10-12/cdn/endpoints.go index 5d6149f04292..70fc400153a2 100644 --- a/services/cdn/mgmt/2017-10-12/cdn/endpoints.go +++ b/services/cdn/mgmt/2017-10-12/cdn/endpoints.go @@ -565,7 +565,7 @@ func (client EndpointsClient) ListResourceUsageComplete(ctx context.Context, res // profileName - name of the CDN profile which is unique within the resource group. // endpointName - name of the endpoint under the profile which is unique globally. // contentFilePaths - the path to the content to be loaded. Path should be a full URL, e.g. -// ‘/pictires/city.png' which loads a single file +// ‘/pictures/city.png' which loads a single file func (client EndpointsClient) LoadContent(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contentFilePaths LoadParameters) (result EndpointsLoadContentFuture, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/EndpointsClient.LoadContent") diff --git a/services/cdn/mgmt/2017-10-12/cdn/models.go b/services/cdn/mgmt/2017-10-12/cdn/models.go index a3ea3d32b172..6587b17bad48 100644 --- a/services/cdn/mgmt/2017-10-12/cdn/models.go +++ b/services/cdn/mgmt/2017-10-12/cdn/models.go @@ -320,7 +320,7 @@ type CacheExpirationActionParameters struct { CacheBehavior CacheBehavior `json:"cacheBehavior,omitempty"` // CacheType - The level at which the content needs to be cached. CacheType *string `json:"cacheType,omitempty"` - // CacheDuration - The duration for which the the content needs to be cached. Allowed format is [d.]hh:mm:ss + // CacheDuration - The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss CacheDuration *string `json:"cacheDuration,omitempty"` } @@ -1432,7 +1432,7 @@ func (e *Endpoint) UnmarshalJSON(body []byte) error { } // EndpointListResult 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. +// URL link to get the next set of results. type EndpointListResult struct { autorest.Response `json:"-"` // Value - List of CDN endpoints within a profile @@ -1590,7 +1590,7 @@ type EndpointProperties struct { ProvisioningState *string `json:"provisioningState,omitempty"` // 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 `json:"originHostHeader,omitempty"` - // OriginPath - A directory path on the origin that CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + // OriginPath - A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. OriginPath *string `json:"originPath,omitempty"` // ContentTypesToCompress - List of content types on which compression applies. The value should be a valid MIME type. ContentTypesToCompress *[]string `json:"contentTypesToCompress,omitempty"` @@ -1606,7 +1606,7 @@ type EndpointProperties struct { OptimizationType OptimizationType `json:"optimizationType,omitempty"` // 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 `json:"probePath,omitempty"` - // 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/ + // 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 `json:"geoFilters,omitempty"` // DeliveryPolicy - A policy that specifies the delivery rules to be used for an endpoint. DeliveryPolicy *EndpointPropertiesUpdateParametersDeliveryPolicy `json:"deliveryPolicy,omitempty"` @@ -1616,7 +1616,7 @@ type EndpointProperties struct { type EndpointPropertiesUpdateParameters struct { // 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 `json:"originHostHeader,omitempty"` - // OriginPath - A directory path on the origin that CDN can use to retreive content from, e.g. contoso.cloudapp.net/originpath. + // OriginPath - A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. OriginPath *string `json:"originPath,omitempty"` // ContentTypesToCompress - List of content types on which compression applies. The value should be a valid MIME type. ContentTypesToCompress *[]string `json:"contentTypesToCompress,omitempty"` @@ -1632,7 +1632,7 @@ type EndpointPropertiesUpdateParameters struct { OptimizationType OptimizationType `json:"optimizationType,omitempty"` // 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 `json:"probePath,omitempty"` - // 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/ + // 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 `json:"geoFilters,omitempty"` // DeliveryPolicy - A policy that specifies the delivery rules to be used for an endpoint. DeliveryPolicy *EndpointPropertiesUpdateParametersDeliveryPolicy `json:"deliveryPolicy,omitempty"` @@ -1884,7 +1884,7 @@ func (eup *EndpointUpdateParameters) UnmarshalJSON(body []byte) error { return nil } -// ErrorResponse error reponse indicates CDN service is not able to process the incoming request. The +// ErrorResponse error response indicates CDN service is not able to process the incoming request. The // reason is provided in the error message. type ErrorResponse struct { // Code - Error code. @@ -2558,7 +2558,7 @@ func (p *Profile) UnmarshalJSON(body []byte) error { } // ProfileListResult 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. +// URL link to get the next set of results. type ProfileListResult struct { autorest.Response `json:"-"` // Value - List of CDN profiles within a resource group. diff --git a/services/cdn/mgmt/2017-10-12/cdn/profiles.go b/services/cdn/mgmt/2017-10-12/cdn/profiles.go index 8a4664185f98..e7050b6ca8e7 100644 --- a/services/cdn/mgmt/2017-10-12/cdn/profiles.go +++ b/services/cdn/mgmt/2017-10-12/cdn/profiles.go @@ -217,7 +217,7 @@ func (client ProfilesClient) DeleteResponder(resp *http.Response) (result autore return } -// GenerateSsoURI generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemnetal portal is +// GenerateSsoURI generates a dynamic SSO URI used to sign in to the CDN supplemental portal. 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 minutes.