C# Class Microsoft.WindowsAzure.Commands.Common.AzureDataCmdlet

Inheritance: Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet
Show file Open project: Azure/azure-powershell

Protected Methods

Method Description
ConfirmAction ( bool force, string continueMessage, string processMessage, string target, System.Action action ) : void

Guards execution of the given action using ShouldProcess and ShouldContinue. The optional useSHouldContinue predicate determines whether SHouldContinue should be called for this particular action (e.g. a resource is being overwritten). By default, both ShouldProcess and ShouldContinue will be executed. Cmdlets that use this method overload must have a force parameter.

InitializeQosEvent ( ) : void
PromptForDataCollectionProfileIfNotExists ( ) : void
SaveDataCollectionProfile ( ) : void

Method Details

ConfirmAction() protected method

Guards execution of the given action using ShouldProcess and ShouldContinue. The optional useSHouldContinue predicate determines whether SHouldContinue should be called for this particular action (e.g. a resource is being overwritten). By default, both ShouldProcess and ShouldContinue will be executed. Cmdlets that use this method overload must have a force parameter.
protected ConfirmAction ( bool force, string continueMessage, string processMessage, string target, System.Action action ) : void
force bool Do not ask for confirmation
continueMessage string Message to describe the action
processMessage string Message to prompt after the active is performed.
target string The target name.
action System.Action The action code
return void

InitializeQosEvent() protected method

protected InitializeQosEvent ( ) : void
return void

PromptForDataCollectionProfileIfNotExists() protected method

protected PromptForDataCollectionProfileIfNotExists ( ) : void
return void

SaveDataCollectionProfile() protected method

protected SaveDataCollectionProfile ( ) : void
return void