Skip to content

Conversation

@luluRagdoll
Copy link

@luluRagdoll luluRagdoll commented Sep 7, 2018

Description

Add CosmosDb in reserved resource enum type.
Add name property in PatchProperties

Checklist

@luluRagdoll
Copy link
Author

@cormacpayne Hi Cormac,
Since the .NET SDK Microsoft.Azure.Management.Reservations 1.9.0-preview version is not published, I added in the localfeed to get unblocked.
The change is to add CosmosDb as a new type in the reserved resource enum type.
Add name property in the Patch properties.

Could you help take a look?Thx

@maddieclayton
Copy link
Contributor

@luluRagdoll please link your cmdlet design review from here: https://github.com/Azure/azure-powershell-cmdlet-review-pr

@luluRagdoll
Copy link
Author

@maddieclayton Sure. I will work on that and link it. :)

@luluRagdoll
Copy link
Author

@maddieclayton This is the design review link: https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/154 Please feel free to let me know if you have any questions. Thanks

Copy link
Contributor

@MiYanni MiYanni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • You need a ChangeLog.md entry for Reservations for these changes to be accepted.
  • You are missing scenario tests using Name and the new value for ReservedResourceType.


```yaml
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Type: IAzureContextContainer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

@luluRagdoll luluRagdoll Sep 14, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MiYanni

  1. You need a ChangeLog.md entry for Reservations for these changes to be accepted. --- Seems we didn't put anything in the file before.
    Can I know what should be the version and what should be the date?
    The latest one in the ChangeLog.md is "## 6.8.1 - August 2018"

  2. Yes. I think I need to update the scenario test using Name and new reservedResourceType.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. In your changelog, src\ResourceManager\Reservations\ChangeLog.md, you add an entry under the Current Release header.
  2. Sounds good.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. DONE.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You didn't regenerate the help documentation using the UseFullTypeName flag.


[Parameter(Mandatory = false)]
[ValidateNotNull]
public string Name { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see updated help documentation for the Name parameter. Also, please provide an example in the help using this parameter.

@maddieclayton
Copy link
Contributor

@MiYanni this will need a new branch for preview release.

@MiYanni
Copy link
Contributor

MiYanni commented Sep 12, 2018

@maddieclayton I'll create a branch when this is ready for merging. As it stands, the design review hasn't been accepted yet.


```yaml
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Type: IAzureContextContainer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You didn't regenerate the help documentation using the UseFullTypeName flag.

@luluRagdoll
Copy link
Author

I see. Looks like I should not use the command that our team has in the doc. Will follow https://github.com/Azure/azure-powershell/blob/preview/documentation/development-docs/help-generation.md#updating-all-markdown-files-in-a-module to get the full name.

@luluRagdoll
Copy link
Author

@MiYanni I just updated the full name in the help file and updated our own one note. Thanks for pointing out. It looks much better. Please feel free to let me know if there is anything else.

- Additional information about change #1
-->
## Current Release
## Version 0.1.7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the ## Version 0.1.7 tag. Just keep the entries under the ## Current Release tag.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Done.

MiYanni
MiYanni previously approved these changes Sep 14, 2018
Copy link
Contributor

@MiYanni MiYanni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MiYanni
Copy link
Contributor

MiYanni commented Sep 14, 2018

@luluRagdoll
I've accepted the PR. However, the build failed. Please look into the details and fix the issues.

@luluRagdoll
Copy link
Author

Sure. Taking a look now.

@MiYanni MiYanni changed the base branch from preview to AzureRM.Reservations-preview September 17, 2018 19:20
@MiYanni
Copy link
Contributor

MiYanni commented Sep 19, 2018

@luluRagdoll Any update? It looks like 1 test is failing, TestGetCatalog.

@luluRagdoll
Copy link
Author

luluRagdoll commented Sep 19, 2018 via email

```

### -Name
{{Fill Name Description}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing a description for this parameter.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. Making the change now. :)

@MiYanni
Copy link
Contributor

MiYanni commented Sep 20, 2018

@luluRagdoll Build is passing, but just a minor change to the help documentation is needed. If you make this change, I can release the module to the test gallery today.

@MiYanni MiYanni merged commit c94afe2 into AzureRM.Reservations-preview Sep 21, 2018
@maddieclayton maddieclayton deleted the reservations branch October 1, 2018 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants