CommandClientSendCommand - метод
Пространство имён: Tessa.Extensions.Default.Console.SendCommandСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
[VerbAttribute("SendCommandClient")]
[LocalizableDescriptionAttribute("Common_CLI_SendCommandClient")]
public static Task SendCommand(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_DiscoveryCommand")] string command,
[ArgumentAttribute("k")][LocalizableDescriptionAttribute("Common_CLI_KeyPath")] string keyPath,
[ArgumentAttribute("kp")][LocalizableDescriptionAttribute("Common_CLI_KeyPassword")] string? keyPassword = null,
[ArgumentAttribute("s")][LocalizableDescriptionAttribute("Common_CLI_CommandScopes")] string? scopes = null,
[ArgumentAttribute("t")][LocalizableDescriptionAttribute("Common_CLI_Targets")] string? targets = null,
[ArgumentAttribute("wa")][LocalizableDescriptionAttribute("Common_CLI_MaintenanceAddress")] string? webbiAddress = null,
[ArgumentAttribute("wm")][LocalizableDescriptionAttribute("Common_CLI_WebbiManagementRoute")] string? webbiManagementRoute = null,
[ArgumentAttribute("wt")][LocalizableDescriptionAttribute("Common_CLI_MaintenanceTimeout")] double? webbiTimeoutSeconds = null,
[ArgumentAttribute("timeout")][LocalizableDescriptionAttribute("Common_CLI_CommandTimeout")] double commandTimeoutMinutes = 2,
[ArgumentAttribute("pp")][LocalizableDescriptionAttribute("Common_CLI_CommandParameters")] IEnumerable<string>? parameters = null,
[ArgumentAttribute("a")][LocalizableDescriptionAttribute("Common_CLI_Address")] string? address = null,
[ArgumentAttribute("i")][LocalizableDescriptionAttribute("Common_CLI_Instance")] string? instanceName = null,
[ArgumentAttribute("u")][LocalizableDescriptionAttribute("Common_CLI_UserName")] string? userName = null,
[ArgumentAttribute("p")][LocalizableDescriptionAttribute("Common_CLI_Password")] string? password = null,
[ArgumentAttribute("nowait")][LocalizableDescriptionAttribute("Common_CLI_NoWait")] bool nowait = false,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("SendCommandClient")>
<LocalizableDescriptionAttribute("Common_CLI_SendCommandClient")>
Public Shared Function SendCommand (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_DiscoveryCommand")> command As String,
<ArgumentAttribute("k")><LocalizableDescriptionAttribute("Common_CLI_KeyPath")> keyPath As String,
<ArgumentAttribute("kp")><LocalizableDescriptionAttribute("Common_CLI_KeyPassword")> Optional keyPassword As String = Nothing,
<ArgumentAttribute("s")><LocalizableDescriptionAttribute("Common_CLI_CommandScopes")> Optional scopes As String = Nothing,
<ArgumentAttribute("t")><LocalizableDescriptionAttribute("Common_CLI_Targets")> Optional targets As String = Nothing,
<ArgumentAttribute("wa")><LocalizableDescriptionAttribute("Common_CLI_MaintenanceAddress")> Optional webbiAddress As String = Nothing,
<ArgumentAttribute("wm")><LocalizableDescriptionAttribute("Common_CLI_WebbiManagementRoute")> Optional webbiManagementRoute As String = Nothing,
<ArgumentAttribute("wt")><LocalizableDescriptionAttribute("Common_CLI_MaintenanceTimeout")> Optional webbiTimeoutSeconds As Double? = Nothing,
<ArgumentAttribute("timeout")><LocalizableDescriptionAttribute("Common_CLI_CommandTimeout")> Optional commandTimeoutMinutes As Double = 2,
<ArgumentAttribute("pp")><LocalizableDescriptionAttribute("Common_CLI_CommandParameters")> Optional parameters As IEnumerable(Of String) = Nothing,
<ArgumentAttribute("a")><LocalizableDescriptionAttribute("Common_CLI_Address")> Optional address As String = Nothing,
<ArgumentAttribute("i")><LocalizableDescriptionAttribute("Common_CLI_Instance")> Optional instanceName As String = Nothing,
<ArgumentAttribute("u")><LocalizableDescriptionAttribute("Common_CLI_UserName")> Optional userName As String = Nothing,
<ArgumentAttribute("p")><LocalizableDescriptionAttribute("Common_CLI_Password")> Optional password As String = Nothing,
<ArgumentAttribute("nowait")><LocalizableDescriptionAttribute("Common_CLI_NoWait")> Optional nowait As Boolean = false,
<ArgumentAttribute("q")><LocalizableDescriptionAttribute("Common_CLI_Quiet")> Optional quiet As Boolean = false,
<ArgumentAttribute("nologo")><LocalizableDescriptionAttribute("CLI_NoLogo")> Optional nologo As Boolean = false
) As Task
public:
[VerbAttribute(L"SendCommandClient")]
[LocalizableDescriptionAttribute(L"Common_CLI_SendCommandClient")]
static Task^ SendCommand(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_DiscoveryCommand")] String^ command,
[ArgumentAttribute(L"k")][LocalizableDescriptionAttribute(L"Common_CLI_KeyPath")] String^ keyPath,
[ArgumentAttribute(L"kp")][LocalizableDescriptionAttribute(L"Common_CLI_KeyPassword")] String^ keyPassword = nullptr,
[ArgumentAttribute(L"s")][LocalizableDescriptionAttribute(L"Common_CLI_CommandScopes")] String^ scopes = nullptr,
[ArgumentAttribute(L"t")][LocalizableDescriptionAttribute(L"Common_CLI_Targets")] String^ targets = nullptr,
[ArgumentAttribute(L"wa")][LocalizableDescriptionAttribute(L"Common_CLI_MaintenanceAddress")] String^ webbiAddress = nullptr,
[ArgumentAttribute(L"wm")][LocalizableDescriptionAttribute(L"Common_CLI_WebbiManagementRoute")] String^ webbiManagementRoute = nullptr,
[ArgumentAttribute(L"wt")][LocalizableDescriptionAttribute(L"Common_CLI_MaintenanceTimeout")] Nullable<double> webbiTimeoutSeconds = nullptr,
[ArgumentAttribute(L"timeout")][LocalizableDescriptionAttribute(L"Common_CLI_CommandTimeout")] double commandTimeoutMinutes = 2,
[ArgumentAttribute(L"pp")][LocalizableDescriptionAttribute(L"Common_CLI_CommandParameters")] IEnumerable<String^>^ parameters = nullptr,
[ArgumentAttribute(L"a")][LocalizableDescriptionAttribute(L"Common_CLI_Address")] String^ address = nullptr,
[ArgumentAttribute(L"i")][LocalizableDescriptionAttribute(L"Common_CLI_Instance")] String^ instanceName = nullptr,
[ArgumentAttribute(L"u")][LocalizableDescriptionAttribute(L"Common_CLI_UserName")] String^ userName = nullptr,
[ArgumentAttribute(L"p")][LocalizableDescriptionAttribute(L"Common_CLI_Password")] String^ password = nullptr,
[ArgumentAttribute(L"nowait")][LocalizableDescriptionAttribute(L"Common_CLI_NoWait")] bool nowait = false,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("SendCommandClient")>]
[<LocalizableDescriptionAttribute("Common_CLI_SendCommandClient")>]
static member SendCommand :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_DiscoveryCommand")>] command : string *
[<ArgumentAttribute("k")>][<LocalizableDescriptionAttribute("Common_CLI_KeyPath")>] keyPath : string *
[<ArgumentAttribute("kp")>][<LocalizableDescriptionAttribute("Common_CLI_KeyPassword")>] ?keyPassword : string *
[<ArgumentAttribute("s")>][<LocalizableDescriptionAttribute("Common_CLI_CommandScopes")>] ?scopes : string *
[<ArgumentAttribute("t")>][<LocalizableDescriptionAttribute("Common_CLI_Targets")>] ?targets : string *
[<ArgumentAttribute("wa")>][<LocalizableDescriptionAttribute("Common_CLI_MaintenanceAddress")>] ?webbiAddress : string *
[<ArgumentAttribute("wm")>][<LocalizableDescriptionAttribute("Common_CLI_WebbiManagementRoute")>] ?webbiManagementRoute : string *
[<ArgumentAttribute("wt")>][<LocalizableDescriptionAttribute("Common_CLI_MaintenanceTimeout")>] ?webbiTimeoutSeconds : Nullable<float> *
[<ArgumentAttribute("timeout")>][<LocalizableDescriptionAttribute("Common_CLI_CommandTimeout")>] ?commandTimeoutMinutes : float *
[<ArgumentAttribute("pp")>][<LocalizableDescriptionAttribute("Common_CLI_CommandParameters")>] ?parameters : IEnumerable<string> *
[<ArgumentAttribute("a")>][<LocalizableDescriptionAttribute("Common_CLI_Address")>] ?address : string *
[<ArgumentAttribute("i")>][<LocalizableDescriptionAttribute("Common_CLI_Instance")>] ?instanceName : string *
[<ArgumentAttribute("u")>][<LocalizableDescriptionAttribute("Common_CLI_UserName")>] ?userName : string *
[<ArgumentAttribute("p")>][<LocalizableDescriptionAttribute("Common_CLI_Password")>] ?password : string *
[<ArgumentAttribute("nowait")>][<LocalizableDescriptionAttribute("Common_CLI_NoWait")>] ?nowait : bool *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _keyPassword = defaultArg keyPassword null
let _scopes = defaultArg scopes null
let _targets = defaultArg targets null
let _webbiAddress = defaultArg webbiAddress null
let _webbiManagementRoute = defaultArg webbiManagementRoute null
let _webbiTimeoutSeconds = defaultArg webbiTimeoutSeconds null
let _commandTimeoutMinutes = defaultArg commandTimeoutMinutes 2
let _parameters = defaultArg parameters null
let _address = defaultArg address null
let _instanceName = defaultArg instanceName null
let _userName = defaultArg userName null
let _password = defaultArg password null
let _nowait = defaultArg nowait false
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- command String
-
- keyPath String
-
- keyPassword String (Optional)
-
- scopes String (Optional)
-
- targets String (Optional)
-
- webbiAddress String (Optional)
-
- webbiManagementRoute String (Optional)
-
- webbiTimeoutSeconds NullableDouble (Optional)
-
- commandTimeoutMinutes Double (Optional)
-
- parameters IEnumerableString (Optional)
-
- address String (Optional)
-
- instanceName String (Optional)
-
- userName String (Optional)
-
- password String (Optional)
-
- nowait Boolean (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task