Exemplo n.º 1
0
 protected override void AddArguments()
 {
     _nameArg = CommandArgumentValue.AddArgument("un", "userName", new[] { "User name" }, true,
                                                 1);
     _passwordArg = CommandArgumentValue.AddArgument("p", "password", new[] { "New password of user" }, true,
                                                     1);
 }
Exemplo n.º 2
0
 protected override void AddArguments()
 {
     _eMailArg = CommandArgumentValue.AddArgument("e", "email",
                                                  new[] { "E-Mail of admin" }, 1);
     _passwordArg = CommandArgumentValue.AddArgument("p", "password",
                                                     new[] { "Password of admin" }, 1);
 }
Exemplo n.º 3
0
 protected override void AddArguments()
 {
     _clientUri   = CommandArgumentValue.AddArgument("u", "clientUri", new[] { "URI of client" }, false, 1);
     _redirectUri = CommandArgumentValue.AddArgument("ru", "redirectUri", new[] { "Redirect URI for login procedure" }, false, 1);
     _clientId    = CommandArgumentValue.AddArgument("id", "clientId", new[] { "ServiceClient ID, must be unique" }, false, 1);
     _clientName  = CommandArgumentValue.AddArgument("n", "name", new[] { "Display name of client used for grants" }, false, 1);
 }
Exemplo n.º 4
0
 protected override void AddArguments()
 {
     _tenantIdArg = CommandArgumentValue.AddArgument("tid", "tenantId", new[] { "Id of tenant" },
                                                     true, 1);
     _databaseArg = CommandArgumentValue.AddArgument("db", "database", new[] { "Name of database" }, true,
                                                     1);
 }
        protected override void AddArguments()
        {
            base.AddArguments();

            _fileArg  = CommandArgumentValue.AddArgument("f", "file", new[] { "File to import" }, true, 1);
            _scopeArg = CommandArgumentValue.AddArgument("s", "scope", new[] { "Scope to import, available is 'Application', 'Layer2', 'Layer3' or 'Layer4'" }, true, 1);
        }
Exemplo n.º 6
0
        protected override void AddArguments()
        {
            base.AddArguments();

            _waitForJobArg = CommandArgumentValue.AddArgument("w", "wait",
                                                              new[] { "Wait for a import job to complete" }, false, 0);
        }
        protected override void AddArguments()
        {
            _isEnabledArg = CommandArgumentValue.AddArgument("e", "enabled", new[] { "Enabled state of service hook" },
                                                             true, 1);
            _nameArg = CommandArgumentValue.AddArgument("n", "name", new[] { "Display name of service hook" },
                                                        true, 1);
            _ckIdArg = CommandArgumentValue.AddArgument("ck", "ckId",
                                                        new[] { "The construction kit id key the service hook is applied to" },
                                                        true, 1);
            _filterArg = CommandArgumentValue.AddArgument("f", "filter", new[]
            {
                "Filter arguments in form \"'{AttributeName}' {Operator} '{Value}'\"",
                "Sample: \"'State' Equals '2'\"",
                "Attribute name must be a valid argument of the defined entity",
                $"Possible operators: {string.Join(", ", Enum.GetNames(typeof(FieldFilterOperatorDto)))} ",
                "Value must be a string, integer, double, boolean, DateTime"
            },
                                                          true, 1, true);
            _serviceHookBaseUriArg = CommandArgumentValue.AddArgument("u", "uri",
                                                                      new[] { "The base uri of the service hook" },
                                                                      false, 1);

            _serviceHookActionArg = CommandArgumentValue.AddArgument("a", "action",
                                                                     new[] { "The action uri of the service hook" },
                                                                     false, 1);
        }
 protected override void AddArguments()
 {
     _clientId = CommandArgumentValue.AddArgument("id", "clientId", new[] { "ServiceClient ID, must be unique" }, true,
                                                  1);
     _clientName = CommandArgumentValue.AddArgument("n", "name", new[] { "Display name of client used for grants" }, true,
                                                    1);
     _clientSecret = CommandArgumentValue.AddArgument("s", "secret", new[] { "Secret that is used for client credential authentication" }, true,
                                                      1);
 }
 protected override void AddArguments()
 {
     _alias = CommandArgumentValue.AddArgument("a", "alias", new[] { "Alias of identity provider, must be unique" }, true,
                                               1);
     _enabled = CommandArgumentValue.AddArgument("e", "enabled", new[] { "True if identity provider should be enabled, otherwise false" }, true,
                                                 1);
     _clientId     = CommandArgumentValue.AddArgument("cid", "clientId", new[] { "ServiceClient ID, provided by provider" }, true, 1);
     _clientSecret = CommandArgumentValue.AddArgument("cs", "clientSecret", new[] { "ServiceClient secret, provided by provider" }, true, 1);
     _type         = CommandArgumentValue.AddArgument("t", "type", new[] { "Type of provider, available is 'google' or 'microsoft'" }, true, 1);
 }
Exemplo n.º 10
0
 protected override void AddArguments()
 {
     _eMailArg = CommandArgumentValue.AddArgument("e", "eMail", new[] { "E-Mail of user" },
                                                  false, 1);
     _nameArg = CommandArgumentValue.AddArgument("un", "userName", new[] { "User name" }, true,
                                                 1);
     _newNameArg = CommandArgumentValue.AddArgument("nun", "newUserName", new[] { "New user name, if the user name has to be changed" }, false,
                                                    1);
     _roleArg = CommandArgumentValue.AddArgument("r", "role", new[] { "Role of user" }, false,
                                                 1);
 }
 protected override void AddArguments()
 {
     _id = CommandArgumentValue.AddArgument("id", "identifier", new[] { "ID of identity provider, must be unique" }, true,
                                            1);
     _alias = CommandArgumentValue.AddArgument("a", "alias", new[] { "Alias of identity provider, must be unique" }, true,
                                               1);
     _enabled = CommandArgumentValue.AddArgument("e", "enabled", new[] { "True if identity provider should be enabled, otherwise false" }, true,
                                                 1);
     _clientId     = CommandArgumentValue.AddArgument("cid", "clientId", new[] { "ServiceClient ID, provided by provider" }, true, 1);
     _clientSecret = CommandArgumentValue.AddArgument("cs", "clientSecret", new[] { "ServiceClient secret, provided by provider" }, true, 1);
 }
Exemplo n.º 12
0
 protected override void AddArguments()
 {
     _coreServicesUriArg = CommandArgumentValue.AddArgument("csu", "coreServicesUri",
                                                            new[] { "URI of core services (e. g. 'https://localhost:5001/')" }, 1);
     _jobServicesUriArg = CommandArgumentValue.AddArgument("jsu", "jobServicesUri",
                                                           new[] { "URI of job services (e. g. 'https://localhost:5009/')" }, 1);
     _identityServicesUriArg = CommandArgumentValue.AddArgument("isu", "identityServicesUri",
                                                                new[] { "URI of identity services (e. g. 'https://localhost:5003/')" }, 1);
     _tenantIdArg = CommandArgumentValue.AddArgument("tid", "tenantId",
                                                     new[] { "Id of tenant (e. g. 'myService')" }, 1);
 }
Exemplo n.º 13
0
 protected override void AddArguments()
 {
     _fileArg    = CommandArgumentValue.AddArgument("f", "file", new[] { "File to export" }, true, 1);
     _queryIdArg = CommandArgumentValue.AddArgument("q", "queryId", new[] { "Query ID that is used for export" }, true, 1);
 }
Exemplo n.º 14
0
        protected override void AddArguments()
        {
            base.AddArguments();

            _fileArg = CommandArgumentValue.AddArgument("f", "file", new[] { "File to import" }, true, 1);
        }
Exemplo n.º 15
0
 protected override void AddArguments()
 {
     _tenantIdArg = CommandArgumentValue.AddArgument("tid", "tenantId", new[] { "Id of tenant" },
                                                     true, 1);
 }
 protected override void AddArguments()
 {
     _serviceHookIdArg = CommandArgumentValue.AddArgument("id", "serviceHookId", new[] { "ID of the service hook" },
                                                          true, 1);
 }
Exemplo n.º 17
0
 protected override void AddArguments()
 {
     _interactiveArg = CommandArgumentValue.AddArgument("i", "interactive",
                                                        new[] { "Interactive by opening a browser for device log-In" }, false);
 }
Exemplo n.º 18
0
 protected override void AddArguments()
 {
     _clientId = CommandArgumentValue.AddArgument("id", "clientId", new[] { "ServiceClient ID, must be unique" }, true,
                                                  1);
 }
Exemplo n.º 19
0
 protected override void AddArguments()
 {
     _type = CommandArgumentValue.AddArgument("t", "type",
                                              new[] { "Type of notification message, available is 'email' or 'sms'" }, true,
                                              1);
 }
Exemplo n.º 20
0
 protected override void AddArguments()
 {
     _id = CommandArgumentValue.AddArgument("id", "identifier", new[] { "ID of identity provider, must be unique" }, true,
                                            1);
 }
Exemplo n.º 21
0
 protected override void AddArguments()
 {
     _nameArg = CommandArgumentValue.AddArgument("un", "userName", new[] { "User name" }, true,
                                                 1);
 }