diff --git a/sdk/cosmosdb/arm-cosmosdb/README.md b/sdk/cosmosdb/arm-cosmosdb/README.md index 60e1fb67c047..34d35f6daecc 100644 --- a/sdk/cosmosdb/arm-cosmosdb/README.md +++ b/sdk/cosmosdb/arm-cosmosdb/README.md @@ -98,5 +98,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/sdk/cosmosdb/arm-cosmosdb/README.png) diff --git a/sdk/cosmosdb/arm-cosmosdb/package.json b/sdk/cosmosdb/arm-cosmosdb/package.json index bb9deb00f035..d6a67c7914e7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/package.json +++ b/sdk/cosmosdb/arm-cosmosdb/package.json @@ -26,13 +26,13 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cosmosdb/arm-cosmosdb", + "homepage": "https://github.com/azure/azure-sdk-for-js", "repository": { "type": "git", - "url": "https://github.com/Azure/azure-sdk-for-js.git" + "url": "https://github.com/azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" + "url": "https://github.com/azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/parameters.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/parameters.ts index 178e0ec47263..3063fdc9c78d 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/models/parameters.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/models/parameters.ts @@ -27,7 +27,8 @@ export const accountName: msRest.OperationURLParameter = { serializedName: "accountName", constraints: { MaxLength: 50, - MinLength: 3 + MinLength: 3, + Pattern: /^[a-z0-9]+(-[a-z0-9]+)*/ }, type: { name: "String"