From fcd641248bd98255f053dfa95f4979fa98dfbdf8 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 30 Sep 2021 06:02:53 +0000 Subject: [PATCH] CodeGen from PR 16089 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.Media to add version preview/2021-11-01-preview (#16089) * Adds base for updating Microsoft.Media from version preview/2021-05-01-preview to version 2021-11-01-preview * Updates readme * Updates API version in new specs and examples * Update to use 2021-11-01 version of the swaggers and examples * Remove unused examples and fix prettier errors. * fix patch where required is empty. * fix some lint errors * fix a json parse issue. * fix enum casing * fix missing 204 on endpointconnections delete * create entities for Patch operation * updating descriptions * fixed a bad commit. * fix validation errors * fix few more validation issues. * fix sample validaitons * fix examples * Update PrivateEndpoints to use v3 version of commonTypes to use systemData * change all commontypes to v3 * add long running operation to operations * update missing descriptions * fix a parameter name to operationId * Update few more descriptions * adding supressions for few failed validations * fix suppreesions * add few more descriptions --- .../videoanalyzer/CHANGELOG.md | 2 +- .../videoanalyzer/_meta.json | 2 +- .../videoanalyzer/accesspolicies.go | 18 +++++++--------- .../videoanalyzer/client.go | 3 ++- .../videoanalyzer/edgemodules.go | 18 +++++++--------- .../videoanalyzer/locations.go | 3 ++- .../videoanalyzer/operations.go | 3 ++- .../videoanalyzer/videoanalyzers.go | 21 +++++++------------ .../videoanalyzer/videos.go | 21 +++++++------------ 9 files changed, 38 insertions(+), 53 deletions(-) diff --git a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/CHANGELOG.md b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/CHANGELOG.md index 52911e4cc5e4..a1ecf841edb0 100644 --- a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/CHANGELOG.md +++ b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/CHANGELOG.md @@ -1,2 +1,2 @@ -# Change History +# Unreleased diff --git a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/_meta.json b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/_meta.json index 2cc54b0e85b4..c25f85b0ebc5 100644 --- a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/_meta.json +++ b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/_meta.json @@ -1,5 +1,5 @@ { - "commit": "c2ea3a3ccd14293b4bd1d17e684ef9129f0dc604", + "commit": "c4810837cd063eb4866ea1789388388bba3ea7c3", "readme": "/_/azure-rest-api-specs/specification/videoanalyzer/resource-manager/readme.md", "tag": "package-2021-05-01-preview", "use": "@microsoft.azure/autorest.go@2.1.187", diff --git a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/accesspolicies.go b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/accesspolicies.go index b2eed5f2f0b4..fb2d81ce115c 100644 --- a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/accesspolicies.go +++ b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/accesspolicies.go @@ -15,7 +15,8 @@ import ( "net/http" ) -// AccessPoliciesClient is the azure Video Analyzer ARM Client +// AccessPoliciesClient is the azure Video Analyzer provides a platform for you to build intelligent video applications +// that span the edge and the cloud type AccessPoliciesClient struct { BaseClient } @@ -53,8 +54,7 @@ func (client AccessPoliciesClient) CreateOrUpdate(ctx context.Context, resourceG Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.AccessPoliciesClient", "CreateOrUpdate", err.Error()) } @@ -144,8 +144,7 @@ func (client AccessPoliciesClient) Delete(ctx context.Context, resourceGroupName Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.AccessPoliciesClient", "Delete", err.Error()) } @@ -231,8 +230,7 @@ func (client AccessPoliciesClient) Get(ctx context.Context, resourceGroupName st Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.AccessPoliciesClient", "Get", err.Error()) } @@ -320,8 +318,7 @@ func (client AccessPoliciesClient) List(ctx context.Context, resourceGroupName s Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.AccessPoliciesClient", "List", err.Error()) } @@ -453,8 +450,7 @@ func (client AccessPoliciesClient) Update(ctx context.Context, resourceGroupName Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.AccessPoliciesClient", "Update", err.Error()) } diff --git a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/client.go b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/client.go index 6a14116bdfed..1455451e3d46 100644 --- a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/client.go +++ b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/client.go @@ -1,6 +1,7 @@ // Package videoanalyzer implements the Azure ARM Videoanalyzer service API version 2021-05-01-preview. // -// Azure Video Analyzer ARM Client +// Azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the +// cloud package videoanalyzer // Copyright (c) Microsoft Corporation. All rights reserved. diff --git a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/edgemodules.go b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/edgemodules.go index 5258de0d1142..8c0fe29a7e86 100644 --- a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/edgemodules.go +++ b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/edgemodules.go @@ -15,7 +15,8 @@ import ( "net/http" ) -// EdgeModulesClient is the azure Video Analyzer ARM Client +// EdgeModulesClient is the azure Video Analyzer provides a platform for you to build intelligent video applications +// that span the edge and the cloud type EdgeModulesClient struct { BaseClient } @@ -58,8 +59,7 @@ func (client EdgeModulesClient) CreateOrUpdate(ctx context.Context, resourceGrou Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.EdgeModulesClient", "CreateOrUpdate", err.Error()) } @@ -151,8 +151,7 @@ func (client EdgeModulesClient) Delete(ctx context.Context, resourceGroupName st Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.EdgeModulesClient", "Delete", err.Error()) } @@ -238,8 +237,7 @@ func (client EdgeModulesClient) Get(ctx context.Context, resourceGroupName strin Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.EdgeModulesClient", "Get", err.Error()) } @@ -329,8 +327,7 @@ func (client EdgeModulesClient) List(ctx context.Context, resourceGroupName stri Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.EdgeModulesClient", "List", err.Error()) } @@ -473,8 +470,7 @@ func (client EdgeModulesClient) ListProvisioningToken(ctx context.Context, resou Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: parameters, Constraints: []validation.Constraint{{Target: "parameters.ExpirationDate", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.EdgeModulesClient", "ListProvisioningToken", err.Error()) diff --git a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/locations.go b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/locations.go index 0a1d39f0d98d..bd5796c2e362 100644 --- a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/locations.go +++ b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/locations.go @@ -15,7 +15,8 @@ import ( "net/http" ) -// LocationsClient is the azure Video Analyzer ARM Client +// LocationsClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that +// span the edge and the cloud type LocationsClient struct { BaseClient } diff --git a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/operations.go b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/operations.go index 642961c23334..311c2de13dc7 100644 --- a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/operations.go +++ b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/operations.go @@ -14,7 +14,8 @@ import ( "net/http" ) -// OperationsClient is the azure Video Analyzer ARM Client +// OperationsClient is the azure Video Analyzer provides a platform for you to build intelligent video applications +// that span the edge and the cloud type OperationsClient struct { BaseClient } diff --git a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/videoanalyzers.go b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/videoanalyzers.go index 54071a11ec06..91499f03d1c0 100644 --- a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/videoanalyzers.go +++ b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/videoanalyzers.go @@ -15,7 +15,8 @@ import ( "net/http" ) -// VideoAnalyzersClient is the azure Video Analyzer ARM Client +// VideoAnalyzersClient is the azure Video Analyzer provides a platform for you to build intelligent video applications +// that span the edge and the cloud type VideoAnalyzersClient struct { BaseClient } @@ -52,8 +53,7 @@ func (client VideoAnalyzersClient) CreateOrUpdate(ctx context.Context, resourceG Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: parameters, Constraints: []validation.Constraint{{Target: "parameters.Identity", Name: validation.Null, Rule: false, Chain: []validation.Constraint{{Target: "parameters.Identity.Type", Name: validation.Null, Rule: true, Chain: nil}}}}}}); err != nil { @@ -144,8 +144,7 @@ func (client VideoAnalyzersClient) Delete(ctx context.Context, resourceGroupName Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.VideoAnalyzersClient", "Delete", err.Error()) } @@ -229,8 +228,7 @@ func (client VideoAnalyzersClient) Get(ctx context.Context, resourceGroupName st Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.VideoAnalyzersClient", "Get", err.Error()) } @@ -314,8 +312,7 @@ func (client VideoAnalyzersClient) List(ctx context.Context, resourceGroupName s Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.VideoAnalyzersClient", "List", err.Error()) } @@ -477,8 +474,7 @@ func (client VideoAnalyzersClient) SyncStorageKeys(ctx context.Context, resource Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.VideoAnalyzersClient", "SyncStorageKeys", err.Error()) } @@ -565,8 +561,7 @@ func (client VideoAnalyzersClient) Update(ctx context.Context, resourceGroupName Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.VideoAnalyzersClient", "Update", err.Error()) } diff --git a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/videos.go b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/videos.go index 25be1cbe8092..e160df5271b1 100644 --- a/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/videos.go +++ b/services/preview/videoanalyzer/mgmt/2021-05-01-preview/videoanalyzer/videos.go @@ -15,7 +15,8 @@ import ( "net/http" ) -// VideosClient is the azure Video Analyzer ARM Client +// VideosClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that +// span the edge and the cloud type VideosClient struct { BaseClient } @@ -53,8 +54,7 @@ func (client VideosClient) CreateOrUpdate(ctx context.Context, resourceGroupName Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: parameters, Constraints: []validation.Constraint{{Target: "parameters.VideoProperties", Name: validation.Null, Rule: false, Chain: []validation.Constraint{{Target: "parameters.VideoProperties.Flags", Name: validation.Null, Rule: false, @@ -152,8 +152,7 @@ func (client VideosClient) Delete(ctx context.Context, resourceGroupName string, Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.VideosClient", "Delete", err.Error()) } @@ -239,8 +238,7 @@ func (client VideosClient) Get(ctx context.Context, resourceGroupName string, ac Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.VideosClient", "Get", err.Error()) } @@ -328,8 +326,7 @@ func (client VideosClient) List(ctx context.Context, resourceGroupName string, a Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.VideosClient", "List", err.Error()) } @@ -460,8 +457,7 @@ func (client VideosClient) ListStreamingToken(ctx context.Context, resourceGroup Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.VideosClient", "ListStreamingToken", err.Error()) } @@ -549,8 +545,7 @@ func (client VideosClient) Update(ctx context.Context, resourceGroupName string, Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, - {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil { + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { return result, validation.NewError("videoanalyzer.VideosClient", "Update", err.Error()) }