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

Inheritance: PolicyDefinitionCmdletBase
Afficher le fichier Open project: Azure/azure-powershell

Private Properties

Свойство Type Description
GetExistingResource Task
GetResource JToken

Méthodes protégées

Méthode 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

Méthode Description
GetExistingResource ( string resourceId, string apiVersion ) : Task

Gets a resource.

GetResource ( string resourceId, string apiVersion ) : JToken

Constructs the resource

Method Details

GetPolicyRuleObject() protected méthode

Gets the policy rule object
protected GetPolicyRuleObject ( ) : JToken
Résultat JToken

GetResourceId() protected méthode

Gets the resource Id from the supplied PowerShell parameters.
protected GetResourceId ( ) : string
Résultat string

OnProcessRecord() protected méthode

Executes the cmdlet.
protected OnProcessRecord ( ) : void
Résultat void