Skip to content

Commit feaedcc

Browse files
[skip ci] Archive 6ddf8d6 (#27319)
1 parent bbe6b2f commit feaedcc

File tree

209 files changed

+6174
-5069
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+6174
-5069
lines changed

generated/DynatraceObservability/DynatraceObservability.Autorest/Az.DynatraceObservability.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<PropertyGroup>
33
<PsModuleName>DynatraceObservability</PsModuleName>
44
<PsRootModuleName>DynatraceObservability</PsRootModuleName>
5+
<PsModuleFolder>DynatraceObservability.Autorest</PsModuleFolder>
56
</PropertyGroup>
67

78
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., build.proj))\src\Az.autorest.props" />
89
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., build.proj))\src\Az.Post.props" />
9-
1010
</Project>

generated/DynatraceObservability/DynatraceObservability.Autorest/Az.DynatraceObservability.format.ps1xml

Lines changed: 162 additions & 118 deletions
Large diffs are not rendered by default.

generated/DynatraceObservability/DynatraceObservability.Autorest/Az.DynatraceObservability.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
DotNetFrameworkVersion = '4.7.2'
1212
RequiredAssemblies = './bin/Az.DynatraceObservability.private.dll'
1313
FormatsToProcess = './Az.DynatraceObservability.format.ps1xml'
14-
FunctionsToExport = 'Get-AzDynatraceMonitor', 'Get-AzDynatraceMonitorAppService', 'Get-AzDynatraceMonitoredResource', 'Get-AzDynatraceMonitorHost', 'Get-AzDynatraceMonitorLinkableEnv', 'Get-AzDynatraceMonitorSSOConfig', 'Get-AzDynatraceMonitorSSODetail', 'Get-AzDynatraceMonitorTagRule', 'Get-AzDynatraceMonitorVMHostPayload', 'New-AzDynatraceMonitor', 'New-AzDynatraceMonitorFilteringTagObject', 'New-AzDynatraceMonitorSSOConfig', 'New-AzDynatraceMonitorTagRule', 'Remove-AzDynatraceMonitor', 'Remove-AzDynatraceMonitorTagRule', 'Update-AzDynatraceMonitor', 'Update-AzDynatraceMonitorTagRule', '*'
14+
FunctionsToExport = 'Get-AzDynatraceMonitor', 'Get-AzDynatraceMonitorAppService', 'Get-AzDynatraceMonitoredResource', 'Get-AzDynatraceMonitorHost', 'Get-AzDynatraceMonitorLinkableEnv', 'Get-AzDynatraceMonitorMarketplaceSaaSResourceDetail', 'Get-AzDynatraceMonitorMetricStatus', 'Get-AzDynatraceMonitorSSOConfig', 'Get-AzDynatraceMonitorSSODetail', 'Get-AzDynatraceMonitorTagRule', 'Get-AzDynatraceMonitorVMHostPayload', 'New-AzDynatraceMonitor', 'New-AzDynatraceMonitorFilteringTagObject', 'New-AzDynatraceMonitorSSOConfig', 'New-AzDynatraceMonitorTagRule', 'Remove-AzDynatraceMonitor', 'Remove-AzDynatraceMonitorTagRule', 'Update-AzDynatraceMonitor', '*'
1515
AliasesToExport = '*'
1616
PrivateData = @{
1717
PSData = @{
Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
1-
// ----------------------------------------------------------------------------------
2-
//
3-
// Copyright Microsoft Corporation
4-
// Licensed under the Apache License, Version 2.0 (the "License");
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0 (the ""License"");
53
// you may not use this file except in compliance with the License.
64
// You may obtain a copy of the License at
75
// http://www.apache.org/licenses/LICENSE-2.0
86
// Unless required by applicable law or agreed to in writing, software
9-
// distributed under the License is distributed on an "AS IS" BASIS,
7+
// distributed under the License is distributed on an ""AS IS"" BASIS,
108
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
119
// See the License for the specific language governing permissions and
1210
// limitations under the License.
13-
// ----------------------------------------------------------------------------------
11+
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
12+
// is regenerated.
1413

1514
using System;
1615
using System.Reflection;
16+
using System.Runtime.CompilerServices;
1717
using System.Runtime.InteropServices;
1818

19-
[assembly: AssemblyTitle("Microsoft Azure Powershell - DynatraceObservability")]
20-
[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
21-
[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
22-
[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
19+
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
20+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DynatraceObservability")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.2")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.2")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]
2327

24-
[assembly: ComVisible(false)]
25-
[assembly: CLSCompliant(false)]
26-
[assembly: Guid("1cb0a900-7463-4143-89fb-66c16b8f210d")]
27-
[assembly: AssemblyVersion("0.1.2")]
28-
[assembly: AssemblyFileVersion("0.1.2")]

generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitor.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ New-AzDynatraceMonitor -ResourceGroupName dyobrg -Name dyob-pwsh01 -Location eas
3131
.Inputs
3232
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.IDynatraceObservabilityIdentity
3333
.Outputs
34-
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.IMonitorResource
34+
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20230427.IMonitorResource
3535
.Notes
3636
COMPLEX PARAMETER PROPERTIES
3737
@@ -48,7 +48,7 @@ INPUTOBJECT <IDynatraceObservabilityIdentity>: Identity Parameter
4848
https://learn.microsoft.com/powershell/module/az.dynatraceobservability/get-azdynatracemonitor
4949
#>
5050
function Get-AzDynatraceMonitor {
51-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.IMonitorResource])]
51+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20230427.IMonitorResource])]
5252
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
5353
param(
5454
[Parameter(ParameterSetName='Get', Mandatory)]

generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorAppService.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ Gets list of App Services with Dynatrace PaaS OneAgent enabled
2323
Get-AzDynatraceMonitorAppService -ResourceGroupName dyobrg -MonitorName dyob-pwsh01
2424
2525
.Outputs
26-
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.IAppServiceInfo
26+
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20230427.IAppServiceInfo
2727
.Link
2828
https://learn.microsoft.com/powershell/module/az.dynatraceobservability/get-azdynatracemonitorappservice
2929
#>
3030
function Get-AzDynatraceMonitorAppService {
31-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.IAppServiceInfo])]
31+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20230427.IAppServiceInfo])]
3232
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
3333
param(
3434
[Parameter(Mandatory)]

generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorHost.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@
1616

1717
<#
1818
.Synopsis
19-
List the compute resources currently being monitored by the Dynatrace resource.
19+
List the VM/VMSS resources currently being monitored by the Dynatrace resource.
2020
.Description
21-
List the compute resources currently being monitored by the Dynatrace resource.
21+
List the VM/VMSS resources currently being monitored by the Dynatrace resource.
2222
.Example
2323
Get-AzDynatraceMonitorHost -ResourceGroupName dyobrg -MonitorName dyob-pwsh01
2424
2525
.Outputs
26-
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.IVMInfo
26+
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20230427.IVMInfo
2727
.Link
2828
https://learn.microsoft.com/powershell/module/az.dynatraceobservability/get-azdynatracemonitorhost
2929
#>
3030
function Get-AzDynatraceMonitorHost {
31-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.IVMInfo])]
31+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20230427.IVMInfo])]
3232
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
3333
param(
3434
[Parameter(Mandatory)]

generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorLinkableEnv.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ Gets all the Dynatrace environments that a user can link a azure resource to
2323
Get-AzDynatraceMonitorLinkableEnv -ResourceGroupName dyobrg -Name dyob-pwsh01 -Region 'East US' -UserPrincipal '[email protected]' -TenantId 'xxxxxxxx-xxxxx-xxxx-xxxx-xxxxx'
2424
2525
.Outputs
26-
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.ILinkableEnvironmentResponse
26+
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20230427.ILinkableEnvironmentResponse
2727
.Link
2828
https://learn.microsoft.com/powershell/module/az.dynatraceobservability/get-azdynatracemonitorlinkableenv
2929
#>
3030
function Get-AzDynatraceMonitorLinkableEnv {
31-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.ILinkableEnvironmentResponse])]
31+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20230427.ILinkableEnvironmentResponse])]
3232
[CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false)]
3333
param(
3434
[Parameter(Mandatory)]
@@ -51,19 +51,19 @@ param(
5151
# The ID of the target subscription.
5252
${SubscriptionId},
5353

54-
[Parameter()]
54+
[Parameter(Mandatory)]
5555
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Body')]
5656
[System.String]
5757
# Azure region in which we want to link the environment
5858
${Region},
5959

60-
[Parameter()]
60+
[Parameter(Mandatory)]
6161
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Body')]
6262
[System.String]
6363
# Tenant Id of the user in which they want to link the environment
6464
${TenantId},
6565

66-
[Parameter()]
66+
[Parameter(Mandatory)]
6767
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Body')]
6868
[System.String]
6969
# user principal id of the user

generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Update-AzDynatraceMonitorTagRule.ps1 renamed to generated/DynatraceObservability/DynatraceObservability.Autorest/exports/Get-AzDynatraceMonitorMarketplaceSaaSResourceDetail.ps1

Lines changed: 39 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,18 @@
1616

1717
<#
1818
.Synopsis
19-
Update a TagRule
19+
Get Marketplace SaaS resource details of a tenant under a specific subscription
2020
.Description
21-
Update a TagRule
21+
Get Marketplace SaaS resource details of a tenant under a specific subscription
2222
.Example
23-
$tagFilter = New-AzDynatraceMonitorFilteringTagObject -Action 'Include' -Name 'Environment' -Value 'Prod'
24-
Update-AzDynatraceMonitorTagRule -ResourceGroupName dyobrg -MonitorName dyob-pwsh01 -LogRuleFilteringTag $tagFilter
25-
.Example
26-
$tagFilter = New-AzDynatraceMonitorFilteringTagObject -Action 'Include' -Name 'Environment' -Value 'Prod'
27-
Get-AzDynatraceMonitorTagRule -ResourceGroupName dyobrg -MonitorName dyob-pwsh01 | Update-AzDynatraceMonitorTagRule -LogRuleFilteringTag $tagFilter
23+
Get-AzDynatraceMonitorMarketplaceSaaSResourceDetail -TenantId 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
2824
25+
.Inputs
26+
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20230427.IMarketplaceSaaSResourceDetailsRequest
2927
.Inputs
3028
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.IDynatraceObservabilityIdentity
3129
.Outputs
32-
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.ITagRule
30+
Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20230427.IMarketplaceSaaSResourceDetailsResponse
3331
.Notes
3432
COMPLEX PARAMETER PROPERTIES
3533
@@ -43,91 +41,45 @@ INPUTOBJECT <IDynatraceObservabilityIdentity>: Identity Parameter
4341
[RuleSetName <String>]: Monitor resource name
4442
[SubscriptionId <String>]: The ID of the target subscription.
4543
46-
LOGRULEFILTERINGTAG <IFilteringTag[]>: List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured.If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
47-
[Action <TagAction?>]: Valid actions for a filtering tag. Exclusion takes priority over inclusion.
48-
[Name <String>]: The name (also known as the key) of the tag.
49-
[Value <String>]: The value of the tag.
50-
51-
METRICRULEFILTERINGTAG <IFilteringTag[]>: List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
52-
[Action <TagAction?>]: Valid actions for a filtering tag. Exclusion takes priority over inclusion.
53-
[Name <String>]: The name (also known as the key) of the tag.
54-
[Value <String>]: The value of the tag.
44+
REQUEST <IMarketplaceSaaSResourceDetailsRequest>: Request for getting Marketplace SaaS resource details for a tenant Id
45+
TenantId <String>: Tenant Id
5546
.Link
56-
https://learn.microsoft.com/powershell/module/az.dynatraceobservability/update-azdynatracemonitortagrule
47+
https://learn.microsoft.com/powershell/module/az.dynatraceobservability/get-azdynatracemonitormarketplacesaasresourcedetail
5748
#>
58-
function Update-AzDynatraceMonitorTagRule {
59-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.ITagRule])]
60-
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
49+
function Get-AzDynatraceMonitorMarketplaceSaaSResourceDetail {
50+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20230427.IMarketplaceSaaSResourceDetailsResponse])]
51+
[CmdletBinding(DefaultParameterSetName='GetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
6152
param(
62-
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
63-
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Path')]
64-
[System.String]
65-
# Monitor resource name
66-
${MonitorName},
67-
68-
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
69-
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Path')]
70-
[System.String]
71-
# The name of the resource group.
72-
# The name is case insensitive.
73-
${ResourceGroupName},
74-
75-
[Parameter(ParameterSetName='UpdateExpanded')]
53+
[Parameter(ParameterSetName='Get')]
54+
[Parameter(ParameterSetName='GetExpanded')]
7655
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Path')]
7756
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
78-
[System.String]
57+
[System.String[]]
7958
# The ID of the target subscription.
8059
${SubscriptionId},
8160

82-
[Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
61+
[Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
62+
[Parameter(ParameterSetName='GetViaIdentityExpanded', Mandatory, ValueFromPipeline)]
8363
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Path')]
8464
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.IDynatraceObservabilityIdentity]
8565
# Identity Parameter
8666
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
8767
${InputObject},
8868

89-
[Parameter()]
90-
[AllowEmptyCollection()]
69+
[Parameter(ParameterSetName='Get', Mandatory, ValueFromPipeline)]
70+
[Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
9171
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Body')]
92-
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.IFilteringTag[]]
93-
# List of filtering tags to be used for capturing logs.
94-
# This only takes effect if SendActivityLogs flag is enabled.
95-
# If empty, all resources will be captured.If only Exclude action is specified, the rules will apply to the list of all available resources.
96-
# If Include actions are specified, the rules will only include resources with the associated tags.
97-
# To construct, see NOTES section for LOGRULEFILTERINGTAG properties and create a hash table.
98-
${LogRuleFilteringTag},
72+
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20230427.IMarketplaceSaaSResourceDetailsRequest]
73+
# Request for getting Marketplace SaaS resource details for a tenant Id
74+
# To construct, see NOTES section for REQUEST properties and create a hash table.
75+
${Request},
9976

100-
[Parameter()]
101-
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Support.SendAadLogsStatus])]
77+
[Parameter(ParameterSetName='GetExpanded', Mandatory)]
78+
[Parameter(ParameterSetName='GetViaIdentityExpanded', Mandatory)]
10279
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Body')]
103-
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Support.SendAadLogsStatus]
104-
# Flag specifying if AAD logs should be sent for the Monitor resource.
105-
${LogRuleSendAadLog},
106-
107-
[Parameter()]
108-
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Support.SendActivityLogsStatus])]
109-
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Body')]
110-
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Support.SendActivityLogsStatus]
111-
# Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
112-
${LogRuleSendActivityLog},
113-
114-
[Parameter()]
115-
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Support.SendSubscriptionLogsStatus])]
116-
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Body')]
117-
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Support.SendSubscriptionLogsStatus]
118-
# Flag specifying if subscription logs should be sent for the Monitor resource.
119-
${LogRuleSendSubscriptionLog},
120-
121-
[Parameter()]
122-
[AllowEmptyCollection()]
123-
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Body')]
124-
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.IFilteringTag[]]
125-
# List of filtering tags to be used for capturing metrics.
126-
# If empty, all resources will be captured.
127-
# If only Exclude action is specified, the rules will apply to the list of all available resources.
128-
# If Include actions are specified, the rules will only include resources with the associated tags.
129-
# To construct, see NOTES section for METRICRULEFILTERINGTAG properties and create a hash table.
130-
${MetricRuleFilteringTag},
80+
[System.String]
81+
# Tenant Id
82+
${TenantId},
13183

13284
[Parameter()]
13385
[Alias('AzureRMContext', 'AzureCredential')]
@@ -158,6 +110,12 @@ param(
158110
# SendAsync Pipeline Steps to be prepended to the front of the pipeline
159111
${HttpPipelinePrepend},
160112

113+
[Parameter()]
114+
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Runtime')]
115+
[System.Management.Automation.SwitchParameter]
116+
# Returns true when the command succeeds
117+
${PassThru},
118+
161119
[Parameter(DontShow)]
162120
[Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Category('Runtime')]
163121
[System.Uri]
@@ -204,13 +162,12 @@ begin {
204162
}
205163

206164
$mapping = @{
207-
UpdateExpanded = 'Az.DynatraceObservability.private\Update-AzDynatraceMonitorTagRule_UpdateExpanded';
208-
UpdateViaIdentityExpanded = 'Az.DynatraceObservability.private\Update-AzDynatraceMonitorTagRule_UpdateViaIdentityExpanded';
209-
}
210-
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('Name')) {
211-
$PSBoundParameters['Name'] = "default"
165+
Get = 'Az.DynatraceObservability.private\Get-AzDynatraceMonitorMarketplaceSaaSResourceDetail_Get';
166+
GetExpanded = 'Az.DynatraceObservability.private\Get-AzDynatraceMonitorMarketplaceSaaSResourceDetail_GetExpanded';
167+
GetViaIdentity = 'Az.DynatraceObservability.private\Get-AzDynatraceMonitorMarketplaceSaaSResourceDetail_GetViaIdentity';
168+
GetViaIdentityExpanded = 'Az.DynatraceObservability.private\Get-AzDynatraceMonitorMarketplaceSaaSResourceDetail_GetViaIdentityExpanded';
212169
}
213-
if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
170+
if (('Get', 'GetExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
214171
$testPlayback = $false
215172
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
216173
if ($testPlayback) {

0 commit comments

Comments
 (0)