Dela via


RemediationCmdletBase.GetRootScope Method

Definition

Gets the root scope of the remediation that is being acted upon.

protected string GetRootScope (string scope = default, string resourceId = default, string managementGroupId = default, string resourceGroupName = default, Microsoft.Azure.Commands.PolicyInsights.Models.Remediation.PSRemediation inputObject = default);
member this.GetRootScope : string * string * string * string * Microsoft.Azure.Commands.PolicyInsights.Models.Remediation.PSRemediation -> string
Protected Function GetRootScope (Optional scope As String = Nothing, Optional resourceId As String = Nothing, Optional managementGroupId As String = Nothing, Optional resourceGroupName As String = Nothing, Optional inputObject As PSRemediation = Nothing) As String

Parameters

scope
String

The full scope

resourceId
String

The full resource ID of the remediation resource

managementGroupId
String

The management group ID

resourceGroupName
String

The resource group name

inputObject
PSRemediation

The remediation input object

Returns

Applies to