diff --git a/profiles/preview/mediaservices/mgmt/media/models.go b/profiles/preview/mediaservices/mgmt/media/models.go index 42facb6b9b7d..f1d9edbf6391 100644 --- a/profiles/preview/mediaservices/mgmt/media/models.go +++ b/profiles/preview/mediaservices/mgmt/media/models.go @@ -241,8 +241,9 @@ const ( type LiveEventEncodingType = original.LiveEventEncodingType const ( - LiveEventEncodingTypeBasic LiveEventEncodingType = original.LiveEventEncodingTypeBasic - LiveEventEncodingTypeNone LiveEventEncodingType = original.LiveEventEncodingTypeNone + LiveEventEncodingTypeBasic LiveEventEncodingType = original.LiveEventEncodingTypeBasic + LiveEventEncodingTypeNone LiveEventEncodingType = original.LiveEventEncodingTypeNone + LiveEventEncodingTypeStandard LiveEventEncodingType = original.LiveEventEncodingTypeStandard ) type LiveEventInputProtocol = original.LiveEventInputProtocol diff --git a/services/mediaservices/mgmt/2018-07-01/media/accountfilters.go b/services/mediaservices/mgmt/2018-07-01/media/accountfilters.go index acab6090ad5e..b3f842a5f23e 100644 --- a/services/mediaservices/mgmt/2018-07-01/media/accountfilters.go +++ b/services/mediaservices/mgmt/2018-07-01/media/accountfilters.go @@ -61,16 +61,8 @@ func (client AccountFiltersClient) CreateOrUpdate(ctx context.Context, resourceG if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, Constraints: []validation.Constraint{{Target: "parameters.FilterProperties", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.FilterProperties.PresentationTimeRange", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.FilterProperties.PresentationTimeRange.StartTimestamp", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.FilterProperties.PresentationTimeRange.EndTimestamp", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.FilterProperties.PresentationTimeRange.PresentationWindowDuration", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.FilterProperties.PresentationTimeRange.LiveBackoffDuration", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.FilterProperties.PresentationTimeRange.Timescale", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.FilterProperties.PresentationTimeRange.ForceEndTimestamp", Name: validation.Null, Rule: true, Chain: nil}, - }}, - {Target: "parameters.FilterProperties.FirstQuality", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.FilterProperties.FirstQuality.Bitrate", Name: validation.Null, Rule: true, Chain: nil}}}, + Chain: []validation.Constraint{{Target: "parameters.FilterProperties.FirstQuality", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.FilterProperties.FirstQuality.Bitrate", Name: validation.Null, Rule: true, Chain: nil}}}, }}}}}); err != nil { return result, validation.NewError("media.AccountFiltersClient", "CreateOrUpdate", err.Error()) } diff --git a/services/mediaservices/mgmt/2018-07-01/media/assetfilters.go b/services/mediaservices/mgmt/2018-07-01/media/assetfilters.go index f75be42769e3..a3cc34537bae 100644 --- a/services/mediaservices/mgmt/2018-07-01/media/assetfilters.go +++ b/services/mediaservices/mgmt/2018-07-01/media/assetfilters.go @@ -62,16 +62,8 @@ func (client AssetFiltersClient) CreateOrUpdate(ctx context.Context, resourceGro if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, Constraints: []validation.Constraint{{Target: "parameters.FilterProperties", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.FilterProperties.PresentationTimeRange", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.FilterProperties.PresentationTimeRange.StartTimestamp", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.FilterProperties.PresentationTimeRange.EndTimestamp", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.FilterProperties.PresentationTimeRange.PresentationWindowDuration", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.FilterProperties.PresentationTimeRange.LiveBackoffDuration", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.FilterProperties.PresentationTimeRange.Timescale", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "parameters.FilterProperties.PresentationTimeRange.ForceEndTimestamp", Name: validation.Null, Rule: true, Chain: nil}, - }}, - {Target: "parameters.FilterProperties.FirstQuality", Name: validation.Null, Rule: false, - Chain: []validation.Constraint{{Target: "parameters.FilterProperties.FirstQuality.Bitrate", Name: validation.Null, Rule: true, Chain: nil}}}, + Chain: []validation.Constraint{{Target: "parameters.FilterProperties.FirstQuality", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.FilterProperties.FirstQuality.Bitrate", Name: validation.Null, Rule: true, Chain: nil}}}, }}}}}); err != nil { return result, validation.NewError("media.AssetFiltersClient", "CreateOrUpdate", err.Error()) } diff --git a/services/mediaservices/mgmt/2018-07-01/media/jobs.go b/services/mediaservices/mgmt/2018-07-01/media/jobs.go index a0e82b89b606..557402103736 100644 --- a/services/mediaservices/mgmt/2018-07-01/media/jobs.go +++ b/services/mediaservices/mgmt/2018-07-01/media/jobs.go @@ -381,11 +381,8 @@ func (client JobsClient) GetResponder(resp *http.Response) (result Job, err erro // accountName - the Media Services account name. // transformName - the Transform name. // filter - restricts the set of items returned. -// top - specifies a non-negative integer n that limits the number of items returned from a collection. The -// service returns the number of available items up to but not greater than the specified value n. -// skip - specifies a non-negative integer n that excludes the first n items of the queried collection from the -// result. The service returns items starting at position n+1. -func (client JobsClient) List(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, top *int32, skip *int32) (result JobCollectionPage, err error) { +// orderby - specifies the the key by which the result collection should be ordered. +func (client JobsClient) List(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, orderby string) (result JobCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/JobsClient.List") defer func() { @@ -397,7 +394,7 @@ func (client JobsClient) List(ctx context.Context, resourceGroupName string, acc }() } result.fn = client.listNextResults - req, err := client.ListPreparer(ctx, resourceGroupName, accountName, transformName, filter, top, skip) + req, err := client.ListPreparer(ctx, resourceGroupName, accountName, transformName, filter, orderby) if err != nil { err = autorest.NewErrorWithError(err, "media.JobsClient", "List", nil, "Failure preparing request") return @@ -419,7 +416,7 @@ func (client JobsClient) List(ctx context.Context, resourceGroupName string, acc } // ListPreparer prepares the List request. -func (client JobsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, top *int32, skip *int32) (*http.Request, error) { +func (client JobsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, orderby string) (*http.Request, error) { pathParameters := map[string]interface{}{ "accountName": autorest.Encode("path", accountName), "resourceGroupName": autorest.Encode("path", resourceGroupName), @@ -434,11 +431,8 @@ func (client JobsClient) ListPreparer(ctx context.Context, resourceGroupName str if len(filter) > 0 { queryParameters["$filter"] = autorest.Encode("query", filter) } - if top != nil { - queryParameters["$top"] = autorest.Encode("query", *top) - } - if skip != nil { - queryParameters["$skip"] = autorest.Encode("query", *skip) + if len(orderby) > 0 { + queryParameters["$orderby"] = autorest.Encode("query", orderby) } preparer := autorest.CreatePreparer( @@ -491,7 +485,7 @@ func (client JobsClient) listNextResults(ctx context.Context, lastResults JobCol } // ListComplete enumerates all values, automatically crossing page boundaries as required. -func (client JobsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, top *int32, skip *int32) (result JobCollectionIterator, err error) { +func (client JobsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, orderby string) (result JobCollectionIterator, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/JobsClient.List") defer func() { @@ -502,11 +496,12 @@ func (client JobsClient) ListComplete(ctx context.Context, resourceGroupName str tracing.EndSpan(ctx, sc, err) }() } - result.page, err = client.List(ctx, resourceGroupName, accountName, transformName, filter, top, skip) + result.page, err = client.List(ctx, resourceGroupName, accountName, transformName, filter, orderby) return } -// Update updates a Job. +// Update update is only supported for description and priority. Updating Priority will take effect when the Job state +// is Queued or Scheduled and depending on the timing the priority update may be ignored. // Parameters: // resourceGroupName - the name of the resource group within the Azure subscription. // accountName - the Media Services account name. diff --git a/services/mediaservices/mgmt/2018-07-01/media/mediaapi/interfaces.go b/services/mediaservices/mgmt/2018-07-01/media/mediaapi/interfaces.go index e9cb2e36abcb..b693ec999289 100644 --- a/services/mediaservices/mgmt/2018-07-01/media/mediaapi/interfaces.go +++ b/services/mediaservices/mgmt/2018-07-01/media/mediaapi/interfaces.go @@ -104,7 +104,7 @@ type TransformsClientAPI interface { CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, transformName string, parameters media.Transform) (result media.Transform, err error) Delete(ctx context.Context, resourceGroupName string, accountName string, transformName string) (result autorest.Response, err error) Get(ctx context.Context, resourceGroupName string, accountName string, transformName string) (result media.Transform, err error) - List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32) (result media.TransformCollectionPage, err error) + List(ctx context.Context, resourceGroupName string, accountName string, filter string, orderby string) (result media.TransformCollectionPage, err error) Update(ctx context.Context, resourceGroupName string, accountName string, transformName string, parameters media.Transform) (result media.Transform, err error) } @@ -116,7 +116,7 @@ type JobsClientAPI interface { Create(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, parameters media.Job) (result media.Job, err error) Delete(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (result autorest.Response, err error) Get(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string) (result media.Job, err error) - List(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, top *int32, skip *int32) (result media.JobCollectionPage, err error) + List(ctx context.Context, resourceGroupName string, accountName string, transformName string, filter string, orderby string) (result media.JobCollectionPage, err error) Update(ctx context.Context, resourceGroupName string, accountName string, transformName string, jobName string, parameters media.Job) (result media.Job, err error) } diff --git a/services/mediaservices/mgmt/2018-07-01/media/models.go b/services/mediaservices/mgmt/2018-07-01/media/models.go index 2b74db336801..d2f175fc8f8e 100644 --- a/services/mediaservices/mgmt/2018-07-01/media/models.go +++ b/services/mediaservices/mgmt/2018-07-01/media/models.go @@ -225,7 +225,7 @@ const ( // AdaptiveStreaming Produces a set of GOP aligned MP4 files with H.264 video and stereo AAC audio. // Auto-generates a bitrate ladder based on the input resolution and bitrate. The auto-generated preset // will never exceed the input resolution and bitrate. For example, if the input is 720p at 3 Mbps, output - // will remain 720p at best, and will start at rates lower than 3 Mbps. The output will will have video and + // will remain 720p at best, and will start at rates lower than 3 Mbps. The output will have video and // audio in separate MP4 files, which is optimal for adaptive streaming. AdaptiveStreaming EncoderNamedPreset = "AdaptiveStreaming" // H264MultipleBitrate1080p Produces a set of 8 GOP-aligned MP4 files, ranging from 6000 kbps to 400 kbps, @@ -494,11 +494,13 @@ const ( LiveEventEncodingTypeBasic LiveEventEncodingType = "Basic" // LiveEventEncodingTypeNone ... LiveEventEncodingTypeNone LiveEventEncodingType = "None" + // LiveEventEncodingTypeStandard ... + LiveEventEncodingTypeStandard LiveEventEncodingType = "Standard" ) // PossibleLiveEventEncodingTypeValues returns an array of possible values for the LiveEventEncodingType const type. func PossibleLiveEventEncodingTypeValues() []LiveEventEncodingType { - return []LiveEventEncodingType{LiveEventEncodingTypeBasic, LiveEventEncodingTypeNone} + return []LiveEventEncodingType{LiveEventEncodingTypeBasic, LiveEventEncodingTypeNone, LiveEventEncodingTypeStandard} } // LiveEventInputProtocol enumerates the values for live event input protocol. @@ -4368,7 +4370,7 @@ type EnvelopeEncryption struct { ClearTracks *[]TrackSelection `json:"clearTracks,omitempty"` // ContentKeys - Representing default content key for each encryption scheme and separate content keys for specific tracks ContentKeys *StreamingPolicyContentKeys `json:"contentKeys,omitempty"` - // CustomKeyAcquisitionURLTemplate - KeyAcquistionUrlTemplate is used to point to user specified service to delivery content keys + // CustomKeyAcquisitionURLTemplate - KeyAcquisitionUrlTemplate is used to point to user specified service to delivery content keys CustomKeyAcquisitionURLTemplate *string `json:"customKeyAcquisitionUrlTemplate,omitempty"` } @@ -5754,7 +5756,7 @@ func (jih JobInputHTTP) AsBasicJobInput() (BasicJobInput, bool) { return &jih, true } -// JobInputs describes a list of of inputs to a Job. +// JobInputs describes a list of inputs to a Job. type JobInputs struct { // Inputs - List of inputs to a Job. Inputs *[]BasicJobInput `json:"inputs,omitempty"` @@ -6666,7 +6668,7 @@ type LiveEventActionInput struct { // LiveEventEncoding the Live Event encoding. type LiveEventEncoding struct { - // EncodingType - The encoding type for Live Event. This value is specified at creation time and cannot be updated. Possible values include: 'LiveEventEncodingTypeNone', 'LiveEventEncodingTypeBasic' + // EncodingType - The encoding type for Live Event. This value is specified at creation time and cannot be updated. Possible values include: 'LiveEventEncodingTypeNone', 'LiveEventEncodingTypeBasic', 'LiveEventEncodingTypeStandard' EncodingType LiveEventEncodingType `json:"encodingType,omitempty"` // PresetName - The encoding preset name. This value is specified at creation time and cannot be updated. PresetName *string `json:"presetName,omitempty"` @@ -9422,7 +9424,7 @@ type StreamingLocatorContentKey struct { Type StreamingLocatorContentKeyType `json:"type,omitempty"` // LabelReferenceInStreamingPolicy - Label of Content Key as specified in the Streaming Policy LabelReferenceInStreamingPolicy *string `json:"labelReferenceInStreamingPolicy,omitempty"` - // Value - Value of of Content Key + // Value - Value of Content Key Value *string `json:"value,omitempty"` // PolicyName - ContentKeyPolicy used by Content Key PolicyName *string `json:"policyName,omitempty"` @@ -10593,7 +10595,7 @@ func (vVar Video) AsBasicCodec() (BasicCodec, bool) { // VideoAnalyzerPreset a video analyzer preset that extracts insights (rich metadata) from both audio and // video, and outputs a JSON format file. type VideoAnalyzerPreset struct { - // InsightsToExtract - The type of insights to be extracted. If not set then based on the content the type will selected. If the content is audi only then only audio insights are extraced and if it is video only. Possible values include: 'AudioInsightsOnly', 'VideoInsightsOnly', 'AllInsights' + // InsightsToExtract - The type of insights to be extracted. If not set then based on the content the type will selected. If the content is audio only then only audio insights are extracted and if it is video only. Possible values include: 'AudioInsightsOnly', 'VideoInsightsOnly', 'AllInsights' InsightsToExtract InsightsType `json:"insightsToExtract,omitempty"` // AudioLanguage - The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). The list of supported languages are, 'en-US', 'en-GB', 'es-ES', 'es-MX', 'fr-FR', 'it-IT', 'ja-JP', 'pt-BR', 'zh-CN', 'de-DE', 'ar-EG', 'ru-RU', 'hi-IN'. If not specified, automatic language detection would be employed. This feature currently supports English, Chinese, French, German, Italian, Japanese, Spanish, Russian, and Portuguese. The automatic detection works best with audio recordings with clearly discernable speech. If automatic detection fails to find the language, transcription would fallback to English. AudioLanguage *string `json:"audioLanguage,omitempty"` diff --git a/services/mediaservices/mgmt/2018-07-01/media/streaminglocators.go b/services/mediaservices/mgmt/2018-07-01/media/streaminglocators.go index 2fcaf195ce31..6c6496b57e4a 100644 --- a/services/mediaservices/mgmt/2018-07-01/media/streaminglocators.go +++ b/services/mediaservices/mgmt/2018-07-01/media/streaminglocators.go @@ -296,7 +296,7 @@ func (client StreamingLocatorsClient) GetResponder(resp *http.Response) (result // filter - restricts the set of items returned. // top - specifies a non-negative integer n that limits the number of items returned from a collection. The // service returns the number of available items up to but not greater than the specified value n. -// orderby - specifies the the key by which the result collection should be ordered. +// orderby - specifies the key by which the result collection should be ordered. func (client StreamingLocatorsClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingLocatorCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StreamingLocatorsClient.List") diff --git a/services/mediaservices/mgmt/2018-07-01/media/streamingpolicies.go b/services/mediaservices/mgmt/2018-07-01/media/streamingpolicies.go index 55b0087b914d..649baab1ab24 100644 --- a/services/mediaservices/mgmt/2018-07-01/media/streamingpolicies.go +++ b/services/mediaservices/mgmt/2018-07-01/media/streamingpolicies.go @@ -330,7 +330,7 @@ func (client StreamingPoliciesClient) GetResponder(resp *http.Response) (result // filter - restricts the set of items returned. // top - specifies a non-negative integer n that limits the number of items returned from a collection. The // service returns the number of available items up to but not greater than the specified value n. -// orderby - specifies the the key by which the result collection should be ordered. +// orderby - specifies the key by which the result collection should be ordered. func (client StreamingPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingPolicyCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StreamingPoliciesClient.List") diff --git a/services/mediaservices/mgmt/2018-07-01/media/transforms.go b/services/mediaservices/mgmt/2018-07-01/media/transforms.go index a5d9a99c945d..07bd8ce90280 100644 --- a/services/mediaservices/mgmt/2018-07-01/media/transforms.go +++ b/services/mediaservices/mgmt/2018-07-01/media/transforms.go @@ -292,11 +292,8 @@ func (client TransformsClient) GetResponder(resp *http.Response) (result Transfo // resourceGroupName - the name of the resource group within the Azure subscription. // accountName - the Media Services account name. // filter - restricts the set of items returned. -// top - specifies a non-negative integer n that limits the number of items returned from a collection. The -// service returns the number of available items up to but not greater than the specified value n. -// skip - specifies a non-negative integer n that excludes the first n items of the queried collection from the -// result. The service returns items starting at position n+1. -func (client TransformsClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32) (result TransformCollectionPage, err error) { +// orderby - specifies the the key by which the result collection should be ordered. +func (client TransformsClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, orderby string) (result TransformCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/TransformsClient.List") defer func() { @@ -308,7 +305,7 @@ func (client TransformsClient) List(ctx context.Context, resourceGroupName strin }() } result.fn = client.listNextResults - req, err := client.ListPreparer(ctx, resourceGroupName, accountName, filter, top, skip) + req, err := client.ListPreparer(ctx, resourceGroupName, accountName, filter, orderby) if err != nil { err = autorest.NewErrorWithError(err, "media.TransformsClient", "List", nil, "Failure preparing request") return @@ -330,7 +327,7 @@ func (client TransformsClient) List(ctx context.Context, resourceGroupName strin } // ListPreparer prepares the List request. -func (client TransformsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32) (*http.Request, error) { +func (client TransformsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, orderby string) (*http.Request, error) { pathParameters := map[string]interface{}{ "accountName": autorest.Encode("path", accountName), "resourceGroupName": autorest.Encode("path", resourceGroupName), @@ -344,11 +341,8 @@ func (client TransformsClient) ListPreparer(ctx context.Context, resourceGroupNa if len(filter) > 0 { queryParameters["$filter"] = autorest.Encode("query", filter) } - if top != nil { - queryParameters["$top"] = autorest.Encode("query", *top) - } - if skip != nil { - queryParameters["$skip"] = autorest.Encode("query", *skip) + if len(orderby) > 0 { + queryParameters["$orderby"] = autorest.Encode("query", orderby) } preparer := autorest.CreatePreparer( @@ -401,7 +395,7 @@ func (client TransformsClient) listNextResults(ctx context.Context, lastResults } // ListComplete enumerates all values, automatically crossing page boundaries as required. -func (client TransformsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32) (result TransformCollectionIterator, err error) { +func (client TransformsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, orderby string) (result TransformCollectionIterator, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/TransformsClient.List") defer func() { @@ -412,7 +406,7 @@ func (client TransformsClient) ListComplete(ctx context.Context, resourceGroupNa tracing.EndSpan(ctx, sc, err) }() } - result.page, err = client.List(ctx, resourceGroupName, accountName, filter, top, skip) + result.page, err = client.List(ctx, resourceGroupName, accountName, filter, orderby) return } diff --git a/services/preview/mediaservices/mgmt/2018-03-30-preview/media/models.go b/services/preview/mediaservices/mgmt/2018-03-30-preview/media/models.go index 901fb5547d55..302b611b3f99 100644 --- a/services/preview/mediaservices/mgmt/2018-03-30-preview/media/models.go +++ b/services/preview/mediaservices/mgmt/2018-03-30-preview/media/models.go @@ -225,7 +225,7 @@ const ( // AdaptiveStreaming Produces a set of GOP aligned MP4 files with H.264 video and stereo AAC audio. // Auto-generates a bitrate ladder based on the input resolution and bitrate. The auto-generated preset // will never exceed the input resolution and bitrate. For example, if the input is 720p at 3 Mbps, output - // will remain 720p at best, and will start at rates lower than 3 Mbps. The output will will have video and + // will remain 720p at best, and will start at rates lower than 3 Mbps. The output will have video and // audio in separate MP4 files, which is optimal for adaptive streaming. AdaptiveStreaming EncoderNamedPreset = "AdaptiveStreaming" // H264MultipleBitrate1080p Produces a set of 8 GOP-aligned MP4 files, ranging from 6000 kbps to 400 kbps, @@ -3747,7 +3747,7 @@ type CrossSiteAccessPolicies struct { // DefaultKey class to specify properties of default content key for each encryption scheme type DefaultKey struct { - // Label - Label can be used to specify Content Key when creating Stremaing Locator + // Label - Label can be used to specify Content Key when creating Streaming Locator Label *string `json:"label,omitempty"` // PolicyName - Policy used by Default Key PolicyName *string `json:"policyName,omitempty"` @@ -3792,7 +3792,7 @@ type EnvelopeEncryption struct { ClearTracks *[]TrackSelection `json:"clearTracks,omitempty"` // ContentKeys - Representing default content key for each encryption scheme and separate content keys for specific tracks ContentKeys *StreamingPolicyContentKeys `json:"contentKeys,omitempty"` - // CustomLicenseAcquisitionURLTemplate - LicenseAcquistionUrlTemplate is used to point to user speicified service to delivery content keys + // CustomLicenseAcquisitionURLTemplate - LicenseAcquisitionUrlTemplate is used to point to user specified service to delivery content keys CustomLicenseAcquisitionURLTemplate *string `json:"customLicenseAcquisitionUrlTemplate,omitempty"` } @@ -5150,7 +5150,7 @@ func (jih JobInputHTTP) AsBasicJobInput() (BasicJobInput, bool) { return &jih, true } -// JobInputs describes a list of of inputs to a Job. +// JobInputs describes a list of inputs to a Job. type JobInputs struct { // Inputs - List of inputs to a Job. Inputs *[]BasicJobInput `json:"inputs,omitempty"` @@ -8697,7 +8697,7 @@ type StreamingLocatorContentKey struct { Type StreamingLocatorContentKeyType `json:"type,omitempty"` // ID - ID of Content Key ID *uuid.UUID `json:"id,omitempty"` - // Value - Value of of Content Key + // Value - Value of Content Key Value *string `json:"value,omitempty"` // PolicyName - ContentKeyPolicy used by Content Key PolicyName *string `json:"policyName,omitempty"` @@ -8975,7 +8975,7 @@ func NewStreamingPolicyCollectionPage(getNextPage func(context.Context, Streamin // StreamingPolicyContentKey class to specify properties of content key type StreamingPolicyContentKey struct { - // Label - Label can be used to specify Content Key when creating Stremaing Locator + // Label - Label can be used to specify Content Key when creating Streaming Locator Label *string `json:"label,omitempty"` // PolicyName - Policy used by Content Key PolicyName *string `json:"policyName,omitempty"` @@ -8987,7 +8987,7 @@ type StreamingPolicyContentKey struct { type StreamingPolicyContentKeys struct { // DefaultKey - Default content key for an encryption scheme DefaultKey *DefaultKey `json:"defaultKey,omitempty"` - // KeyToTrackMappings - Representing tracks needs sepearete content key + // KeyToTrackMappings - Representing tracks needs separate content key KeyToTrackMappings *[]StreamingPolicyContentKey `json:"keyToTrackMappings,omitempty"` } @@ -9019,7 +9019,7 @@ type StreamingPolicyProperties struct { CommonEncryptionCenc *CommonEncryptionCenc `json:"commonEncryptionCenc,omitempty"` // CommonEncryptionCbcs - Configuration of CommonEncryptionCbcs CommonEncryptionCbcs *CommonEncryptionCbcs `json:"commonEncryptionCbcs,omitempty"` - // NoEncryption - Configuations of NoEncryption + // NoEncryption - Configuration of NoEncryption NoEncryption *NoEncryption `json:"noEncryption,omitempty"` } @@ -9333,7 +9333,7 @@ type TrackPropertyCondition struct { Property TrackPropertyType `json:"property,omitempty"` // Operation - Track property condition operation. Possible values include: 'TrackPropertyCompareOperationUnknown', 'TrackPropertyCompareOperationEqual' Operation TrackPropertyCompareOperation `json:"operation,omitempty"` - // Value - Track proprty value + // Value - Track property value Value *string `json:"value,omitempty"` } diff --git a/services/preview/mediaservices/mgmt/2018-03-30-preview/media/streaminglocators.go b/services/preview/mediaservices/mgmt/2018-03-30-preview/media/streaminglocators.go index c4b2e1b1fcb1..540292ba3911 100644 --- a/services/preview/mediaservices/mgmt/2018-03-30-preview/media/streaminglocators.go +++ b/services/preview/mediaservices/mgmt/2018-03-30-preview/media/streaminglocators.go @@ -296,7 +296,7 @@ func (client StreamingLocatorsClient) GetResponder(resp *http.Response) (result // filter - restricts the set of items returned. // top - specifies a non-negative integer n that limits the number of items returned from a collection. The // service returns the number of available items up to but not greater than the specified value n. -// orderby - specifies the the key by which the result collection should be ordered. +// orderby - specifies the key by which the result collection should be ordered. func (client StreamingLocatorsClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingLocatorCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StreamingLocatorsClient.List") diff --git a/services/preview/mediaservices/mgmt/2018-03-30-preview/media/streamingpolicies.go b/services/preview/mediaservices/mgmt/2018-03-30-preview/media/streamingpolicies.go index 9acdf3cec984..0dea88998087 100644 --- a/services/preview/mediaservices/mgmt/2018-03-30-preview/media/streamingpolicies.go +++ b/services/preview/mediaservices/mgmt/2018-03-30-preview/media/streamingpolicies.go @@ -330,7 +330,7 @@ func (client StreamingPoliciesClient) GetResponder(resp *http.Response) (result // filter - restricts the set of items returned. // top - specifies a non-negative integer n that limits the number of items returned from a collection. The // service returns the number of available items up to but not greater than the specified value n. -// orderby - specifies the the key by which the result collection should be ordered. +// orderby - specifies the key by which the result collection should be ordered. func (client StreamingPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingPolicyCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StreamingPoliciesClient.List") diff --git a/services/preview/mediaservices/mgmt/2018-06-01-preview/media/models.go b/services/preview/mediaservices/mgmt/2018-06-01-preview/media/models.go index 2f281b380f06..dcda2078e228 100644 --- a/services/preview/mediaservices/mgmt/2018-06-01-preview/media/models.go +++ b/services/preview/mediaservices/mgmt/2018-06-01-preview/media/models.go @@ -225,7 +225,7 @@ const ( // AdaptiveStreaming Produces a set of GOP aligned MP4 files with H.264 video and stereo AAC audio. // Auto-generates a bitrate ladder based on the input resolution and bitrate. The auto-generated preset // will never exceed the input resolution and bitrate. For example, if the input is 720p at 3 Mbps, output - // will remain 720p at best, and will start at rates lower than 3 Mbps. The output will will have video and + // will remain 720p at best, and will start at rates lower than 3 Mbps. The output will have video and // audio in separate MP4 files, which is optimal for adaptive streaming. AdaptiveStreaming EncoderNamedPreset = "AdaptiveStreaming" // H264MultipleBitrate1080p Produces a set of 8 GOP-aligned MP4 files, ranging from 6000 kbps to 400 kbps, @@ -3792,7 +3792,7 @@ type EnvelopeEncryption struct { ClearTracks *[]TrackSelection `json:"clearTracks,omitempty"` // ContentKeys - Representing default content key for each encryption scheme and separate content keys for specific tracks ContentKeys *StreamingPolicyContentKeys `json:"contentKeys,omitempty"` - // CustomKeyAcquisitionURLTemplate - KeyAcquistionUrlTemplate is used to point to user specified service to delivery content keys + // CustomKeyAcquisitionURLTemplate - KeyAcquisitionUrlTemplate is used to point to user specified service to delivery content keys CustomKeyAcquisitionURLTemplate *string `json:"customKeyAcquisitionUrlTemplate,omitempty"` } @@ -5150,7 +5150,7 @@ func (jih JobInputHTTP) AsBasicJobInput() (BasicJobInput, bool) { return &jih, true } -// JobInputs describes a list of of inputs to a Job. +// JobInputs describes a list of inputs to a Job. type JobInputs struct { // Inputs - List of inputs to a Job. Inputs *[]BasicJobInput `json:"inputs,omitempty"` @@ -8738,7 +8738,7 @@ type StreamingLocatorContentKey struct { Type StreamingLocatorContentKeyType `json:"type,omitempty"` // Label - Label of Content Key Label *string `json:"label,omitempty"` - // Value - Value of of Content Key + // Value - Value of Content Key Value *string `json:"value,omitempty"` // PolicyName - ContentKeyPolicy used by Content Key PolicyName *string `json:"policyName,omitempty"` diff --git a/services/preview/mediaservices/mgmt/2018-06-01-preview/media/streaminglocators.go b/services/preview/mediaservices/mgmt/2018-06-01-preview/media/streaminglocators.go index 09a760dab30d..2e3317395442 100644 --- a/services/preview/mediaservices/mgmt/2018-06-01-preview/media/streaminglocators.go +++ b/services/preview/mediaservices/mgmt/2018-06-01-preview/media/streaminglocators.go @@ -296,7 +296,7 @@ func (client StreamingLocatorsClient) GetResponder(resp *http.Response) (result // filter - restricts the set of items returned. // top - specifies a non-negative integer n that limits the number of items returned from a collection. The // service returns the number of available items up to but not greater than the specified value n. -// orderby - specifies the the key by which the result collection should be ordered. +// orderby - specifies the key by which the result collection should be ordered. func (client StreamingLocatorsClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingLocatorCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StreamingLocatorsClient.List") diff --git a/services/preview/mediaservices/mgmt/2018-06-01-preview/media/streamingpolicies.go b/services/preview/mediaservices/mgmt/2018-06-01-preview/media/streamingpolicies.go index 78fc5ddd3e06..63201d2ab7c5 100644 --- a/services/preview/mediaservices/mgmt/2018-06-01-preview/media/streamingpolicies.go +++ b/services/preview/mediaservices/mgmt/2018-06-01-preview/media/streamingpolicies.go @@ -330,7 +330,7 @@ func (client StreamingPoliciesClient) GetResponder(resp *http.Response) (result // filter - restricts the set of items returned. // top - specifies a non-negative integer n that limits the number of items returned from a collection. The // service returns the number of available items up to but not greater than the specified value n. -// orderby - specifies the the key by which the result collection should be ordered. +// orderby - specifies the key by which the result collection should be ordered. func (client StreamingPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, orderby string) (result StreamingPolicyCollectionPage, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/StreamingPoliciesClient.List")