Service

Add

Add new external service connection
Usage:
1
dotnet occli.dll service add --name [name] --type [service type] --description [description]
Copied!
Option
Alias
Description
Allowed Values
DefaultValue
Mandatory
--name
-n
Name of the service connection
Yes
--type
-t
Type of the service
generic, Azure, GitHub
Yes
--description
-d
Description of the service connection
No
--property [key]:[value]
-prop
Property of the service
allowed multiple
No
Note:
    you could always use Generic type if your service is not supported yet
    the benefit of using supported type (other than Generic) is that it will have defined properties and input validation

Get

Get a single service details
Usage:
1
dotnet occli.dll service get --name [name]
Copied!
Option
Alias
Description
Allowed Values
DefaultValue
Mandatory
--name
-n
Name of the service connection
Yes

List

List all registered service connections
Usage:
1
dotnet occli.dll service list
Copied!
Option
Alias
Description
Allowed Values
DefaultValue
Mandatory
--type
-t
Type of the service
all, Generic, Azure, GitHub
all
No

Remove

Remove an external service
Usage:
1
dotnet occli.dll service remove --name [name]
Copied!
Option
Alias
Description
Allowed Values
DefaultValue
Mandatory
--name
-n
Name of the service connection
Yes
--autoconfirm
-ac
Perform the removal without asking for confirmation
false
No

Update

Update an external service
Usage:
1
dotnet occli.dll service update --name [name] --rename [new name]
Copied!
Option
Alias
Description
Allowed Values
DefaultValue
Mandatory
--name
-n
Name of the service connection
Yes
--rename
-rn
New name of the service connection
No
--description
-d
Description of the service connection
No
--property [key]:[value]
-prop
Property of the service
allowed multiple
No
Last modified 3yr ago
Copy link