diff --git a/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/models.go b/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/models.go index f1c37665fadf..04577cc0be43 100644 --- a/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/models.go +++ b/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/models.go @@ -3468,7 +3468,7 @@ type ReportRecordContract struct { Name *string `json:"name,omitempty"` // Timestamp - Start of aggregation period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. Timestamp *date.Time `json:"timestamp,omitempty"` - // Interval - Length of agregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). + // Interval - Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). Interval *string `json:"interval,omitempty"` // Country - Country to which this record data is related. Country *string `json:"country,omitempty"` @@ -3488,9 +3488,9 @@ type ReportRecordContract struct { APIRegion *string `json:"apiRegion,omitempty"` // SubscriptionID - Subscription identifier path. /subscriptions/{subscriptionId} SubscriptionID *string `json:"subscriptionId,omitempty"` - // CallCountSuccess - Number of succesful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect + // CallCountSuccess - Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect CallCountSuccess *int32 `json:"callCountSuccess,omitempty"` - // CallCountBlocked - Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorize and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests + // CallCountBlocked - Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests CallCountBlocked *int32 `json:"callCountBlocked,omitempty"` // CallCountFailed - Number of calls failed due to proxy or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600 CallCountFailed *int32 `json:"callCountFailed,omitempty"` @@ -3577,7 +3577,7 @@ type RequestReportRecordContract struct { ResponseSize *int32 `json:"responseSize,omitempty"` // Timestamp - The date and time when this request was received by the gateway in ISO 8601 format. Timestamp *date.Time `json:"timestamp,omitempty"` - // Cache - Specifies if response cache was involved in generating the response. If the value is none, the cache was not used. If the value is hit, cached response was returned. If the value is miss, the cache was used but lookup resulted in a miss and request was fullfilled by the backend. + // Cache - Specifies if response cache was involved in generating the response. If the value is none, the cache was not used. If the value is hit, cached response was returned. If the value is miss, the cache was used but lookup resulted in a miss and request was fulfilled by the backend. Cache *string `json:"cache,omitempty"` // APITime - The total time it took to process this request. APITime *float64 `json:"apiTime,omitempty"` @@ -4042,7 +4042,7 @@ type SubscriptionContractProperties struct { type SubscriptionCreateParameters struct { // UserID - User (user id path) for whom subscription is being created in form /users/{uid} UserID *string `json:"userId,omitempty"` - // ProductID - Product (product id path) for which subscription is being created in form /products/{productid} + // ProductID - Product (product id path) for which subscription is being created in form /products/{productId} ProductID *string `json:"productId,omitempty"` // Name - Subscription name. Name *string `json:"name,omitempty"` diff --git a/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/property.go b/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/property.go index 6ef07fda11bc..60cca8729743 100644 --- a/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/property.go +++ b/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/property.go @@ -126,7 +126,7 @@ func (client PropertyClient) CreateOrUpdateResponder(resp *http.Response) (resul return } -// Delete deletes specific property from the the API Management service instance. +// Delete deletes specific property from the API Management service instance. // Parameters: // apimBaseURL - the management endpoint of the API Management service, for example // https://myapimservice.management.azure-api.net. diff --git a/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/reports.go b/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/reports.go index cffa297b7c79..078d834d422f 100644 --- a/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/reports.go +++ b/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/reports.go @@ -169,7 +169,7 @@ func (client ReportsClient) ListByAPIComplete(ctx context.Context, apimBaseURL s return } -// ListByGeo lists report records by GeoGraphy. +// ListByGeo lists report records by geography. // Parameters: // apimBaseURL - the management endpoint of the API Management service, for example // https://myapimservice.management.azure-api.net. @@ -806,7 +806,7 @@ func (client ReportsClient) ListBySubscriptionComplete(ctx context.Context, apim // https://myapimservice.management.azure-api.net. // interval - by time interval. Interval must be multiple of 15 minutes and may not be zero. The value should // be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to convert -// TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, secconds)) +// TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds)) // filter - the filter to apply on the operation. // top - number of records to return. // skip - number of records to skip. diff --git a/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/subscription.go b/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/subscription.go index e924ed7455ea..5534e538a74e 100644 --- a/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/subscription.go +++ b/services/preview/apimanagement/ctrl/2017-03-01/apimanagement/subscription.go @@ -642,7 +642,7 @@ func (client SubscriptionClient) RegenerateSecondaryKeyResponder(resp *http.Resp return } -// Update updates the details of a subscription specificied by its identifier. +// Update updates the details of a subscription specified by its identifier. // Parameters: // apimBaseURL - the management endpoint of the API Management service, for example // https://myapimservice.management.azure-api.net.