Свойство | Type | Description | |
---|---|---|---|
_adalListener | |||
_clientRequestId | string | ||
_dataCollectionProfile | |||
_errorRecordFolderPath | string | ||
_metricHelper | |||
_qosEvent | AzurePSQoSEvent | ||
_sessionId | string |
Méthode | Description | |
---|---|---|
AzurePSCmdlet ( ) : Microsoft.ApplicationInsights |
Initializes AzurePSCmdlet properties.
|
|
Dispose ( ) : void | ||
ExecuteCmdlet ( ) : void | ||
IsDataCollectionAllowed ( ) : bool |
Check whether the data collection is opted in from user
|
Méthode | Description | |
---|---|---|
BeginProcessing ( ) : void |
Cmdlet begin process. Write to logs, setup Http Tracing and initialize profile
|
|
CheckIfInteractive ( ) : bool | ||
ConfirmAction ( bool force, string continueMessage, string processMessage, string target, System.Action action ) : void |
Guards execution of the given action using ShouldProcess and ShouldContinue. This is a legacy version forcompatibility with older RDFE cmdlets.
|
|
ConfirmAction ( bool force, string continueMessage, string processMessage, string target, System.Action action, Func |
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.
|
|
ConfirmAction ( string processMessage, string target, System.Action action ) : void |
Prompt for confirmation depending on the ConfirmLevel. By default No confirmation prompt occurs unless ConfirmLevel >= $ConfirmPreference. Guarding the actions of a cmdlet with this method will enable the cmdlet to support -WhatIf and -Confirm parameters.
|
|
ConstructPSObject ( string typeName ) : System.Management.Automation.PSObject | ||
CurrentPath ( ) : string | ||
Dispose ( bool disposing ) : void | ||
EndProcessing ( ) : void |
Perform end of pipeline processing.
|
|
GetDataCollectionProfile ( ) : |
Get the data collection profile
|
|
InitializeDataCollectionProfile ( ) : void |
Initialize the data collection profile
|
|
InitializeQosEvent ( ) : void | ||
IsVerbose ( ) : bool | ||
LogCmdletEndInvocationInfo ( ) : void | ||
LogCmdletStartInvocationInfo ( ) : void | ||
LogQosEvent ( ) : void |
Invoke this method when the cmdlet is completed or terminated.
|
|
ProcessRecord ( ) : void | ||
PromptForDataCollectionProfileIfNotExists ( ) : void |
Prompt for the current data collection profile
|
|
SafeWriteOutputPSObject ( string typeName ) : void | ||
SaveDataCollectionProfile ( ) : void |
Save the current data collection profile JSON data into the default file path
|
|
SetupDebuggingTraces ( ) : void | ||
SetupHttpClientPipeline ( ) : void | ||
TearDownDebuggingTraces ( ) : void | ||
TearDownHttpClientPipeline ( ) : void | ||
ThrowTerminatingError ( |
||
WriteCommandDetail ( string text ) : void | ||
WriteDebug ( string text ) : void | ||
WriteDebugWithTimestamp ( string message ) : void | ||
WriteError ( |
||
WriteErrorWithTimestamp ( string message ) : void | ||
WriteExceptionError ( |
Write an error message for a given exception.
|
|
WriteObject ( object sendToPipeline ) : void | ||
WriteObject ( object sendToPipeline, bool enumerateCollection ) : void | ||
WriteProgress ( System.Management.Automation.ProgressRecord progressRecord ) : void | ||
WriteVerbose ( string text ) : void | ||
WriteVerboseWithTimestamp ( string message ) : void | ||
WriteWarning ( string text ) : void | ||
WriteWarningWithTimestamp ( string message ) : void |
Méthode | Description | |
---|---|---|
FlushDebugMessages ( bool record = false ) : void | ||
RecordDebugMessages ( ) : void |
public AzurePSCmdlet ( ) : Microsoft.ApplicationInsights | ||
Résultat | Microsoft.ApplicationInsights |
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 |
Résultat | void |
protected ConfirmAction ( bool force, string continueMessage, string processMessage, string target, System.Action action, Func |
||
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 |
useShouldContinue | Func |
A predicate indicating whether ShouldContinue should be invoked for thsi action |
Résultat | void |
protected ConfirmAction ( string processMessage, string target, System.Action action ) : void | ||
processMessage | string | The change being made to the resource |
target | string | The resource that is being changed |
action | System.Action | The action to perform if confirmed |
Résultat | void |
protected ConstructPSObject ( string typeName ) : System.Management.Automation.PSObject | ||
typeName | string | |
Résultat | System.Management.Automation.PSObject |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
protected static GetDataCollectionProfile ( ) : |
||
Résultat |
protected static InitializeDataCollectionProfile ( ) : void | ||
Résultat | void |
protected abstract InitializeQosEvent ( ) : void | ||
Résultat | void |
public static IsDataCollectionAllowed ( ) : bool | ||
Résultat | bool |
protected LogCmdletEndInvocationInfo ( ) : void | ||
Résultat | void |
protected LogCmdletStartInvocationInfo ( ) : void | ||
Résultat | void |
protected abstract PromptForDataCollectionProfileIfNotExists ( ) : void | ||
Résultat | void |
protected SafeWriteOutputPSObject ( string typeName ) : void | ||
typeName | string | |
Résultat | void |
protected abstract SaveDataCollectionProfile ( ) : void | ||
Résultat | void |
protected SetupHttpClientPipeline ( ) : void | ||
Résultat | void |
protected TearDownDebuggingTraces ( ) : void | ||
Résultat | void |
protected TearDownHttpClientPipeline ( ) : void | ||
Résultat | void |
protected ThrowTerminatingError ( |
||
errorRecord | ||
Résultat | void |
protected WriteCommandDetail ( string text ) : void | ||
text | string | |
Résultat | void |
protected WriteDebug ( string text ) : void | ||
text | string | |
Résultat | void |
protected WriteDebugWithTimestamp ( string message ) : void | ||
message | string | |
Résultat | void |
protected WriteError ( |
||
errorRecord | ||
Résultat | void |
protected WriteErrorWithTimestamp ( string message ) : void | ||
message | string | |
Résultat | void |
protected WriteExceptionError ( |
||
ex | The exception resulting from the error. | |
Résultat | void |
protected WriteObject ( object sendToPipeline ) : void | ||
sendToPipeline | object | |
Résultat | void |
protected WriteObject ( object sendToPipeline, bool enumerateCollection ) : void | ||
sendToPipeline | object | |
enumerateCollection | bool | |
Résultat | void |
protected WriteProgress ( System.Management.Automation.ProgressRecord progressRecord ) : void | ||
progressRecord | System.Management.Automation.ProgressRecord | |
Résultat | void |
protected WriteVerbose ( string text ) : void | ||
text | string | |
Résultat | void |
protected WriteVerboseWithTimestamp ( string message ) : void | ||
message | string | |
Résultat | void |
protected WriteWarning ( string text ) : void | ||
text | string | |
Résultat | void |
protected WriteWarningWithTimestamp ( string message ) : void | ||
message | string | |
Résultat | void |
protected DebugStreamTraceListener,Microsoft.WindowsAzure.Commands.Common _adalListener | ||
Résultat |
protected static AzurePSDataCollectionProfile,Microsoft.WindowsAzure.Commands.Common _dataCollectionProfile | ||
Résultat |
protected static string _errorRecordFolderPath | ||
Résultat | string |
protected MetricHelper,Microsoft.WindowsAzure.Commands.Common _metricHelper | ||
Résultat |