-
Notifications
You must be signed in to change notification settings - Fork 5.1k
CosmosDB PITR restorable resources dotnet sdk #17595
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 PITR restorable resources dotnet sdk #17595
Conversation
vinhms
commented
Dec 16, 2020
|
@kavskalyan @MehaKaushik please review this PR |
sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Microsoft.Azure.Management.CosmosDB.csproj
Show resolved
Hide resolved
sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Microsoft.Azure.Management.CosmosDB.csproj
Outdated
Show resolved
Hide resolved
| /// <summary> | ||
| /// Properties to create and update Azure Cosmos DB database accounts. | ||
| /// </summary> | ||
| [Newtonsoft.Json.JsonObject("DatabaseAccountCreateUpdateProperties")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why this got removed. It may have to do with the autorest version used to generate the package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the command you used to generate the package ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note this is not a blocking comment if you cant find the reason to this change,, feel free to ignore it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm not sure what that got removed..
this is the autorest command that i used:
autorest.cmd "C:\code\swagger\azure-rest-api-specs\specification\cosmos-db\resource-manager\readme.md" --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\code\sdk\azure-sdk-for-net\sdk
| /// <param name="type">The type of Azure resource.</param> | ||
| /// <param name="location">The location of the resource group to which | ||
| /// the resource belongs.</param> | ||
| public RestorableMongodbDatabaseGetResult(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), ManagedServiceIdentity identity = default(ManagedServiceIdentity), RestorableMongodbDatabasePropertiesResource resource = default(RestorableMongodbDatabasePropertiesResource)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vinhms can you please check if this is true? i.e. at our service side do we have each of location, tags and ManagedServiceIdentity for RestorableMongodbDatabaseGetResult.
If not, then we should fix this in swagger.
MehaKaushik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some minor comments, looks good otherwise.
|
@vinhms Could you please provide Swagger link? |
@nisha-bhatia here's the swagger: Azure/azure-rest-api-specs#11428 |
* add restorable tests * bump version * change version to 1.4.0