You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Resource/FindAzureResourceCmdlet.cs
+44-13Lines changed: 44 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ public sealed class FindAzureResourceCmdlet : ResourceManagerCmdletBase
/// Gets or sets the resource name for query as contains.
62
62
/// </summary>
63
63
[Alias("Name")]
64
64
[Parameter(ParameterSetName=FindAzureResourceCmdlet.ListResourcesParameterSet,Mandatory=false,ValueFromPipelineByPropertyName=true,HelpMessage="The resource name substring. e.g. if your resource name is testResource, you can specify test.")]
@@ -67,6 +67,15 @@ public sealed class FindAzureResourceCmdlet : ResourceManagerCmdletBase
67
67
[ValidateNotNullOrEmpty]
68
68
publicstringResourceNameContains{get;set;}
69
69
70
+
/// <summary>
71
+
/// Gets or sets the resource name for query as equals.
72
+
/// </summary>
73
+
[Parameter(ParameterSetName=FindAzureResourceCmdlet.ListResourcesParameterSet,Mandatory=false,ValueFromPipelineByPropertyName=true,HelpMessage="The resource name for a full match. e.g. if your resource name is testResource, you can specify testResource.")]
74
+
[Parameter(ParameterSetName=FindAzureResourceCmdlet.ListTenantResourcesParameterSet,Mandatory=false,ValueFromPipelineByPropertyName=true,HelpMessage="The resource name for a full match. e.g. if your resource name is testResource, you can specify testResource.")]
75
+
[Parameter(ParameterSetName=FindAzureResourceCmdlet.MultiSubscriptionListResourcesParameterSet,Mandatory=false,ValueFromPipelineByPropertyName=true,HelpMessage="The resource name for a full match. e.g. if your resource name is testResource, you can specify testResource.")]
76
+
[ValidateNotNullOrEmpty]
77
+
publicstringResourceNameEquals{get;set;}
78
+
70
79
/// <summary>
71
80
/// Gets or sets the resource type parameter.
72
81
/// </summary>
@@ -118,14 +127,22 @@ public sealed class FindAzureResourceCmdlet : ResourceManagerCmdletBase
118
127
publicstringTagValue{get;set;}
119
128
120
129
/// <summary>
121
-
/// Gets or sets the resource group name.
130
+
/// Gets or sets the resource group name for query as contains.
122
131
/// </summary>
123
132
[Alias("ResourceGroupName")]
124
133
[Parameter(Mandatory=false,ParameterSetName=FindAzureResourceCmdlet.ListResourcesParameterSet,ValueFromPipelineByPropertyName=true,HelpMessage="The resource group name substring.")]
125
134
[Parameter(Mandatory=false,ParameterSetName=FindAzureResourceCmdlet.MultiSubscriptionListResourcesParameterSet,ValueFromPipelineByPropertyName=true,HelpMessage="The resource group name substring.")]
126
135
[ValidateNotNullOrEmpty]
127
136
publicstringResourceGroupNameContains{get;set;}
128
137
138
+
/// <summary>
139
+
/// Gets or sets the resource group name for query as equals.
140
+
/// </summary>
141
+
[Parameter(Mandatory=false,ParameterSetName=FindAzureResourceCmdlet.ListResourcesParameterSet,ValueFromPipelineByPropertyName=true,HelpMessage="The resource group name for a full match.")]
142
+
[Parameter(Mandatory=false,ParameterSetName=FindAzureResourceCmdlet.MultiSubscriptionListResourcesParameterSet,ValueFromPipelineByPropertyName=true,HelpMessage="The resource group name for a full match.")]
Copy file name to clipboardExpand all lines: src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Resource/GetAzureResourceCmdlet.cs
0 commit comments