CommandGenerateCommandKey - метод
Пространство имён: Tessa.Extensions.Default.Console.GenerateDiscoveryKeyСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
[VerbAttribute("GenerateDiscoveryKey")]
[LocalizableDescriptionAttribute("Common_CLI_GenerateDiscoveryKey")]
public static Task GenerateCommandKey(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_KeyScopes")] IEnumerable<string> scopes,
[ArgumentAttribute("p")][LocalizableDescriptionAttribute("Common_CLI_KeyPassword")] string password,
[ArgumentAttribute("s")][LocalizableDescriptionAttribute("Common_CLI_Subject")] string subject,
[ArgumentAttribute("k")][LocalizableDescriptionAttribute("Common_CLI_Parent")] string? parent = null,
[ArgumentAttribute("kp")][LocalizableDescriptionAttribute("Common_CLI_ParentPassword")] string? parentPassword = null,
[ArgumentAttribute("o")][LocalizableDescriptionAttribute("Common_CLI_GenerateDiscoveryKeyOutput")] string? output = null,
[ArgumentAttribute("em")][LocalizableDescriptionAttribute("Common_CLI_ExpirationMonths")] int expirationMonths = 3,
[ArgumentAttribute("self")][LocalizableDescriptionAttribute("Common_CLI_SelfSigned")] bool selfSigned = false,
[ArgumentAttribute("mode")][LocalizableDescriptionAttribute("Common_CLI_GenerateDiscoveryKeyMode")] Mode mode = Mode.Generate,
[ArgumentAttribute("r")][LocalizableDescriptionAttribute("Common_CLI_RedisConnectionString")] string? redisConnectionString = null,
[ArgumentAttribute("sc")][LocalizableDescriptionAttribute("Common_CLI_ServerCode")] string? serverCode = null,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("GenerateDiscoveryKey")>
<LocalizableDescriptionAttribute("Common_CLI_GenerateDiscoveryKey")>
Public Shared Function GenerateCommandKey (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_KeyScopes")> scopes As IEnumerable(Of String),
<ArgumentAttribute("p")><LocalizableDescriptionAttribute("Common_CLI_KeyPassword")> password As String,
<ArgumentAttribute("s")><LocalizableDescriptionAttribute("Common_CLI_Subject")> subject As String,
<ArgumentAttribute("k")><LocalizableDescriptionAttribute("Common_CLI_Parent")> Optional parent As String = Nothing,
<ArgumentAttribute("kp")><LocalizableDescriptionAttribute("Common_CLI_ParentPassword")> Optional parentPassword As String = Nothing,
<ArgumentAttribute("o")><LocalizableDescriptionAttribute("Common_CLI_GenerateDiscoveryKeyOutput")> Optional output As String = Nothing,
<ArgumentAttribute("em")><LocalizableDescriptionAttribute("Common_CLI_ExpirationMonths")> Optional expirationMonths As Integer = 3,
<ArgumentAttribute("self")><LocalizableDescriptionAttribute("Common_CLI_SelfSigned")> Optional selfSigned As Boolean = false,
<ArgumentAttribute("mode")><LocalizableDescriptionAttribute("Common_CLI_GenerateDiscoveryKeyMode")> Optional mode As Mode = Mode.Generate,
<ArgumentAttribute("r")><LocalizableDescriptionAttribute("Common_CLI_RedisConnectionString")> Optional redisConnectionString As String = Nothing,
<ArgumentAttribute("sc")><LocalizableDescriptionAttribute("Common_CLI_ServerCode")> Optional serverCode As String = Nothing,
<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"GenerateDiscoveryKey")]
[LocalizableDescriptionAttribute(L"Common_CLI_GenerateDiscoveryKey")]
static Task^ GenerateCommandKey(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_KeyScopes")] IEnumerable<String^>^ scopes,
[ArgumentAttribute(L"p")][LocalizableDescriptionAttribute(L"Common_CLI_KeyPassword")] String^ password,
[ArgumentAttribute(L"s")][LocalizableDescriptionAttribute(L"Common_CLI_Subject")] String^ subject,
[ArgumentAttribute(L"k")][LocalizableDescriptionAttribute(L"Common_CLI_Parent")] String^ parent = nullptr,
[ArgumentAttribute(L"kp")][LocalizableDescriptionAttribute(L"Common_CLI_ParentPassword")] String^ parentPassword = nullptr,
[ArgumentAttribute(L"o")][LocalizableDescriptionAttribute(L"Common_CLI_GenerateDiscoveryKeyOutput")] String^ output = nullptr,
[ArgumentAttribute(L"em")][LocalizableDescriptionAttribute(L"Common_CLI_ExpirationMonths")] int expirationMonths = 3,
[ArgumentAttribute(L"self")][LocalizableDescriptionAttribute(L"Common_CLI_SelfSigned")] bool selfSigned = false,
[ArgumentAttribute(L"mode")][LocalizableDescriptionAttribute(L"Common_CLI_GenerateDiscoveryKeyMode")] Mode mode = Mode::Generate,
[ArgumentAttribute(L"r")][LocalizableDescriptionAttribute(L"Common_CLI_RedisConnectionString")] String^ redisConnectionString = nullptr,
[ArgumentAttribute(L"sc")][LocalizableDescriptionAttribute(L"Common_CLI_ServerCode")] String^ serverCode = nullptr,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("GenerateDiscoveryKey")>]
[<LocalizableDescriptionAttribute("Common_CLI_GenerateDiscoveryKey")>]
static member GenerateCommandKey :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_KeyScopes")>] scopes : IEnumerable<string> *
[<ArgumentAttribute("p")>][<LocalizableDescriptionAttribute("Common_CLI_KeyPassword")>] password : string *
[<ArgumentAttribute("s")>][<LocalizableDescriptionAttribute("Common_CLI_Subject")>] subject : string *
[<ArgumentAttribute("k")>][<LocalizableDescriptionAttribute("Common_CLI_Parent")>] ?parent : string *
[<ArgumentAttribute("kp")>][<LocalizableDescriptionAttribute("Common_CLI_ParentPassword")>] ?parentPassword : string *
[<ArgumentAttribute("o")>][<LocalizableDescriptionAttribute("Common_CLI_GenerateDiscoveryKeyOutput")>] ?output : string *
[<ArgumentAttribute("em")>][<LocalizableDescriptionAttribute("Common_CLI_ExpirationMonths")>] ?expirationMonths : int *
[<ArgumentAttribute("self")>][<LocalizableDescriptionAttribute("Common_CLI_SelfSigned")>] ?selfSigned : bool *
[<ArgumentAttribute("mode")>][<LocalizableDescriptionAttribute("Common_CLI_GenerateDiscoveryKeyMode")>] ?mode : Mode *
[<ArgumentAttribute("r")>][<LocalizableDescriptionAttribute("Common_CLI_RedisConnectionString")>] ?redisConnectionString : string *
[<ArgumentAttribute("sc")>][<LocalizableDescriptionAttribute("Common_CLI_ServerCode")>] ?serverCode : string *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _parent = defaultArg parent null
let _parentPassword = defaultArg parentPassword null
let _output = defaultArg output null
let _expirationMonths = defaultArg expirationMonths 3
let _selfSigned = defaultArg selfSigned false
let _mode = defaultArg mode Mode.Generate
let _redisConnectionString = defaultArg redisConnectionString null
let _serverCode = defaultArg serverCode null
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- scopes IEnumerableString
-
- password String
-
- subject String
-
- parent String (Optional)
-
- parentPassword String (Optional)
-
- output String (Optional)
-
- expirationMonths Int32 (Optional)
-
- selfSigned Boolean (Optional)
-
- mode Mode (Optional)
-
- redisConnectionString String (Optional)
-
- serverCode String (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task