C# Class Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.GetAzurePolicyAssignmentCmdlet

Inheritance: PolicyAssignmentCmdletBase
ファイルを表示 Open project: Azure/azure-powershell

Private Properties

Property Type Description
GetResourceId string
GetResources Task>
IsResourceGet bool
IsScopeLevelList bool
RunCmdlet void

Protected Methods

Method Description
OnProcessRecord ( ) : void

Executes the cmdlet.

Private Methods

Method Description
GetResourceId ( ) : string

Gets the resource Id

GetResources ( ) : Task>

Queries the ARM cache and returns the cached resource that match the query specified.

IsResourceGet ( string resourceId ) : bool

Returns true if it is a single policy assignment get

IsScopeLevelList ( string resourceId ) : bool

Returns true if it is scope level policy assignment list call

RunCmdlet ( ) : void

Contains the cmdlet's execution logic.

Method Details

OnProcessRecord() protected method

Executes the cmdlet.
protected OnProcessRecord ( ) : void
return void