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

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

Private Properties

Property Type Description
GetExistingResource Task
GetResource JToken

Protected Methods

Method Description
GetPolicyRuleObject ( ) : JToken

Gets the policy rule object

GetResourceId ( ) : string

Gets the resource Id from the supplied PowerShell parameters.

OnProcessRecord ( ) : void

Executes the cmdlet.

Private Methods

Method Description
GetExistingResource ( string resourceId, string apiVersion ) : Task

Gets a resource.

GetResource ( string resourceId, string apiVersion ) : JToken

Constructs the resource

Method Details

GetPolicyRuleObject() protected method

Gets the policy rule object
protected GetPolicyRuleObject ( ) : JToken
return JToken

GetResourceId() protected method

Gets the resource Id from the supplied PowerShell parameters.
protected GetResourceId ( ) : string
return string

OnProcessRecord() protected method

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