Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{CosmosDB} | Getting location from the Resource Group Name #18449

Merged
merged 4 commits into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/CosmosDB/CosmosDB/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

## Upcoming Release

## Version 1.9.0
* Fixed the optional Location paramater of New-AzCosmosDBAccount cmdlet.

## Version 1.8.0
* Introduced support for creating containers with Client Encryption Policy. The current supported version of Client Encryption Policy is 1.

Expand Down
6 changes: 0 additions & 6 deletions src/CosmosDB/CosmosDB/CosmosDBAccount/NewAzCosmosDBAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,6 @@ public override void ExecuteCmdlet()
}
}

if (string.IsNullOrEmpty(writeLocation))
{
WriteWarning("Cannot create Account without a Write Location.");
return;
}

Dictionary<string, string> tags = new Dictionary<string, string>();
if (Tag != null)
{
Expand Down