-
Notifications
You must be signed in to change notification settings - Fork 4k
[Resources] Added ExpandProperties functionality to GetAzureResourceGroup
#28161
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
Merged
Merged
Changes from 22 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
cf092d6
Small fix to Test-AzResourceGroupDeployment
a0x1ab bca3600
added test case where there are no diagnostics and no errors
a0x1ab d913ffb
Merge branch 'Azure:main' into dev
a0x1ab ac02ac4
Update ChangeLog.md
a0x1ab 3530ef2
Update src/Resources/Resources/ChangeLog.md
a0x1ab 5d70050
Merge branch 'main' into dev
a0x1ab ef0c47d
added changes for resource group cmdlet new features
a0x1ab 13d5ac8
Merge branch 'main' into dev
a0x1ab e26ba12
Merge branch 'Azure:main' into dev
a0x1ab 2f9847f
Merge branch 'main' into dev
a0x1ab 3580222
Add support for $expand on createdTime and changedTime
a0x1ab 0ea5cc7
Update ChangeLog.md
a0x1ab 413b9ba
Update ChangeLog.md
a0x1ab f74e6cf
Update src/Resources/Resources/ChangeLog.md
a0x1ab e687d0d
added changes for resource group cmdlet new features
a0x1ab e3f1b87
Add support for $expand on createdTime and changedTime
a0x1ab ac0a62e
Update ChangeLog.md
a0x1ab 015146c
Merge branch 'dev' of https://github.com/a0x1ab/azure-powershell into…
a0x1ab 42d0ffd
Update ChangeLog.md
a0x1ab 73d3332
Remove duplicate test for resource group timestamps
a0x1ab d00d3dc
Fixed test and re-ran cassette recording
a0x1ab 765aff4
Merge branch 'main' into dev
a0x1ab 0843594
Reverted all recording
a0x1ab 451790f
Merge branch 'main' into dev
a0x1ab 1fab684
updated cmdlets, check-int tests, live tests
a0x1ab e95d149
Reset GetAzureResourceCommandTests
a0x1ab 59675ca
small optimisation
a0x1ab 8f29800
whitespace changes
a0x1ab 32f3b68
Merge branch 'main' into dev
a0x1ab 932ce7f
Update help for expanded properties in Get-AzResource* cmdlets
a0x1ab 4fb474c
Expand resource group properties in test scenario
a0x1ab 95d8693
Delete src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Co…
a0x1ab e976c51
Use It.IsAny<CancellationToken>() in test mocks
a0x1ab eb160cc
Fix tag filter logic and update test CancellationToken usage
a0x1ab 870b2d4
Update NewResourceManagerSdkClient.cs
a0x1ab File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
src/Resources/Resources.Management.Sdk/Generated/Models/GenericResourceFilterWithExpand.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
|
||
namespace Microsoft.Azure.Management.Resources.Models | ||
{ | ||
using System.Linq; | ||
|
||
public partial class GenericResourceFilterWithExpand : GenericResourceFilter | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the GenericResourceFilterWithExpand class. | ||
/// </summary> | ||
public GenericResourceFilterWithExpand() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the GenericResourceFilterWithExpand class. | ||
/// </summary> | ||
|
||
/// <param name="resourceType">The resource type. | ||
/// </param> | ||
|
||
/// <param name="tagname">The tag name. | ||
/// </param> | ||
|
||
/// <param name="tagvalue">The tag value. | ||
/// </param> | ||
|
||
/// <param name="expand">Comma-separated list of additional properties to be included in the | ||
/// response. Valid values include createdTime, changedTime. | ||
/// </param> | ||
public GenericResourceFilterWithExpand(string resourceType = default(string), string tagname = default(string), string tagvalue = default(string), string expand = default(string)) | ||
|
||
: base(resourceType, tagname, tagvalue) | ||
{ | ||
this.Expand = expand; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
|
||
/// <summary> | ||
/// Gets or sets comma-separated list of additional properties to be included | ||
/// in the response. Valid values include createdTime, changedTime. | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty(PropertyName = "$expand")] | ||
public string Expand {get; set; } | ||
} | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.