Managed
This section details Managed-related Linode CLI commands.
contact-view
Returns a single Managed Contact.
Usage
The format accepted by this command.
linode-cli managed contact-view [-h] [--group group]
[--order-by {group}] [--order {asc,desc}] contactId
Sample
Examples of how this command might be used.
linode-cli managed contact-view 567
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
contactId |
int |
The ID of the contact to access. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
str |
john.doe@example.org |
The address to email this Contact to alert them of issues. |
|
group |
str |
on-call |
A grouping for this Contact. |
id |
int |
567 |
This Contact’s unique ID. |
name |
str |
John Doe |
The name of this Contact. |
updated |
str |
2018-01-01T00:01:01 |
When this Contact was last updated. |
phone
Name |
Type |
Example |
Description |
---|---|---|---|
phone.primary |
str |
123-456-7890 |
This Contact’s primary phone number. |
phone.secondary |
str |
N/A |
This Contact’s secondary phone number. |
contact-create
Creates a Managed Contact.
Usage
The format accepted by this command.
linode-cli managed contact-create [-h] [--email email]
[--name name] [--phone.primary primary]
[--phone.secondary secondary] [--group group]
Sample
Examples of how this command might be used.
linode-cli managed contact-create \
--name "John Doe" \
--email "john.doe@example.org" \
--phone.primary "123-456-7890"
Arguments
Additional fields used to execute this request.
Name |
Type |
Example |
Description |
---|---|---|---|
str |
john.doe@example.org |
The address to email this Contact to alert them of issues. |
|
--group |
str |
on-call |
(nullable) A grouping for this Contact. |
--name |
str |
John Doe |
The name of this Contact. |
--phone.primary |
str |
123-456-7890 |
(nullable) This Contact’s primary phone number. |
--phone.secondary |
str |
N/A |
(nullable) This Contact’s secondary phone number. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
str |
john.doe@example.org |
The address to email this Contact to alert them of issues. |
|
group |
str |
on-call |
A grouping for this Contact. |
id |
int |
567 |
This Contact’s unique ID. |
name |
str |
John Doe |
The name of this Contact. |
updated |
str |
2018-01-01T00:01:01 |
When this Contact was last updated. |
phone
Name |
Type |
Example |
Description |
---|---|---|---|
phone.primary |
str |
123-456-7890 |
This Contact’s primary phone number. |
phone.secondary |
str |
N/A |
This Contact’s secondary phone number. |
contact-update
Updates information about a Managed Contact.
Usage
The format accepted by this command.
linode-cli managed contact-update [-h] [--email email]
[--name name] [--group group] [--phone.secondary secondary]
[--phone.primary primary] contactId
Sample
Examples of how this command might be used.
linode-cli managed contact-update 567 \
--name "John Doe" \
--email "john.doe@example.org" \
--phone.primary "123-456-7890"
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
contactId |
int |
The ID of the contact to access. |
Arguments
Additional fields used to execute this request.
Name |
Type |
Example |
Description |
---|---|---|---|
str |
john.doe@example.org |
The address to email this Contact to alert them of issues. |
|
--group |
str |
on-call |
(nullable) A grouping for this Contact. |
--name |
str |
John Doe |
The name of this Contact. |
--phone.primary |
str |
123-456-7890 |
(nullable) This Contact’s primary phone number. |
--phone.secondary |
str |
N/A |
(nullable) This Contact’s secondary phone number. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
str |
john.doe@example.org |
The address to email this Contact to alert them of issues. |
|
group |
str |
on-call |
A grouping for this Contact. |
id |
int |
567 |
This Contact’s unique ID. |
name |
str |
John Doe |
The name of this Contact. |
updated |
str |
2018-01-01T00:01:01 |
When this Contact was last updated. |
phone
Name |
Type |
Example |
Description |
---|---|---|---|
phone.primary |
str |
123-456-7890 |
This Contact’s primary phone number. |
phone.secondary |
str |
N/A |
This Contact’s secondary phone number. |
contact-delete
Deletes a Managed Contact.
Usage
The format accepted by this command.
linode-cli managed contact-delete [-h] contactId
Sample
Examples of how this command might be used.
linode-cli managed contact-delete 567
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
contactId |
int |
The ID of the contact to access. |
contacts-list
Returns a paginated list of Managed Contacts on your Account.
Usage
The format accepted by this command.
linode-cli managed contacts-list [-h] [--group group]
[--order-by {group}] [--order {asc,desc}]
Sample
Examples of how this command might be used.
linode-cli managed contacts-list
Filterable Attributes
Arguments used to define a filter for response entries.
Name |
Type |
Description |
---|---|---|
--group |
str |
A grouping for this Contact. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
str |
john.doe@example.org |
The address to email this Contact to alert them of issues. |
|
group |
str |
on-call |
A grouping for this Contact. |
id |
int |
567 |
This Contact’s unique ID. |
name |
str |
John Doe |
The name of this Contact. |
updated |
str |
2018-01-01T00:01:01 |
When this Contact was last updated. |
phone
Name |
Type |
Example |
Description |
---|---|---|---|
phone.primary |
str |
123-456-7890 |
This Contact’s primary phone number. |
phone.secondary |
str |
N/A |
This Contact’s secondary phone number. |
credential-view
Returns a single Managed Credential.
Usage
The format accepted by this command.
linode-cli managed credential-view [-h] [--order-by {}]
[--order {asc,desc}] credentialId
Sample
Examples of how this command might be used.
linode-cli managed credential-view 9991
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
credentialId |
int |
The ID of the Credential to access. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
id |
int |
9991 |
This Credential’s unique ID. |
label |
str |
prod-password-1 |
The unique label for this Credential. |
last_decrypted |
str |
2018-01-01T00:01:01 |
The date this Credential was last decrypted by a member of Linode special forces. |
credential-create
Creates a Managed Credential.
Usage
The format accepted by this command.
linode-cli managed credential-create [-h] [--label label]
[--username username] [--password password]
Sample
Examples of how this command might be used.
linode-cli managed credential-create \
--label prod-password-1 \
--username johndoe \
--password s3cur3P@ssw0rd
Arguments
Additional fields used to execute this request.
Name |
Type |
Example |
Description |
---|---|---|---|
--label * |
str |
prod-password-1 |
The unique label for this Credential. |
--password * |
str |
s3cur3P@ssw0rd |
The password to use when accessing the Managed Service. |
--username |
str |
johndoe |
The username to use when accessing the Managed Service. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
id |
int |
9991 |
This Credential’s unique ID. |
label |
str |
prod-password-1 |
The unique label for this Credential. |
last_decrypted |
str |
2018-01-01T00:01:01 |
The date this Credential was last decrypted by a member of Linode special forces. |
credential-update
Updates the label of a Managed Credential.
Usage
The format accepted by this command.
linode-cli managed credential-update [-h] [--label label]
credentialId
Sample
Examples of how this command might be used.
linode-cli managed credential-update 9991 \
--label prod-password-1
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
credentialId |
int |
The ID of the Credential to access. |
Arguments
Additional fields used to execute this request.
Name |
Type |
Example |
Description |
---|---|---|---|
--label |
str |
prod-password-1 |
The unique label for this Credential. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
id |
int |
9991 |
This Credential’s unique ID. |
label |
str |
prod-password-1 |
The unique label for this Credential. |
last_decrypted |
str |
2018-01-01T00:01:01 |
The date this Credential was last decrypted by a member of Linode special forces. |
credential-update-username-password
Updates the username and password for a Managed Credential.
Usage
The format accepted by this command.
linode-cli managed credential-update-username-password [-h]
[--username username] [--password password] credentialId
Sample
Examples of how this command might be used.
linode-cli managed credential-update-username-password 9991 \
--username johndoe \
--password s3cur3P@ssw0rd
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
credentialId |
int |
The ID of the Credential to update. |
Arguments
Additional fields used to execute this request.
Name |
Type |
Example |
Description |
---|---|---|---|
--password * |
str |
s3cur3P@ssw0rd |
The password to use when accessing the Managed Service. |
--username |
str |
johndoe |
The username to use when accessing the Managed Service. |
credential-revoke
Deletes a Managed Credential.
Usage
The format accepted by this command.
linode-cli managed credential-revoke [-h] credentialId
Sample
Examples of how this command might be used.
linode-cli managed credential-revoke 9991
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
credentialId |
int |
The ID of the Credential to access. |
credential-sshkey-view
Returns the unique SSH public key assigned to your Linode account’s Managed service.
Usage
The format accepted by this command.
linode-cli managed credential-sshkey-view [-h] [--order-by {}]
[--order {asc,desc}]
Sample
Examples of how this command might be used.
linode-cli managed credential-sshkey-view
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
ssh_key |
str |
ssh-rsa AAAA…vices@linode |
The unique SSH public key assigned to your Linode account’s Managed service. |
credentials-list
Returns a paginated list of Managed Credentials on your Account.
Usage
The format accepted by this command.
linode-cli managed credentials-list [-h] [--order-by {}]
[--order {asc,desc}]
Sample
Examples of how this command might be used.
linode-cli managed credentials-list
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
id |
int |
9991 |
This Credential’s unique ID. |
label |
str |
prod-password-1 |
The unique label for this Credential. |
last_decrypted |
str |
2018-01-01T00:01:01 |
The date this Credential was last decrypted by a member of Linode special forces. |
issue-view
Returns a single Issue that is impacting or did impact one of your Managed Services.
Usage
The format accepted by this command.
linode-cli managed issue-view [-h] [--order-by {}]
[--order {asc,desc}] issueId
Sample
Examples of how this command might be used.
linode-cli managed issue-view 823
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
issueId |
int |
The Issue to look up. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
created |
str |
2018-01-01T00:01:01 |
When this Issue was created. |
id |
int |
823 |
This Issue’s unique ID. |
services |
[]int |
654 |
An array of Managed Service IDs that were affected by this Issue. |
entity
Name |
Type |
Example |
Description |
---|---|---|---|
entity.id |
int |
98765 |
This ticket’s ID. |
entity.label |
str |
Managed Issue opened! |
The summary for this Ticket. |
entity.type |
str |
ticket |
The type of entity this is. |
entity.url |
str |
/support/tickets/98765 |
The relative URL where you can access this Ticket. |
issues-list
Returns a paginated list of recent and ongoing issues detected on your Managed Services.
Usage
The format accepted by this command.
linode-cli managed issues-list [-h] [--order-by {}]
[--order {asc,desc}]
Sample
Examples of how this command might be used.
linode-cli managed issues-list
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
created |
str |
2018-01-01T00:01:01 |
When this Issue was created. |
id |
int |
823 |
This Issue’s unique ID. |
services |
[]int |
654 |
An array of Managed Service IDs that were affected by this Issue. |
entity
Name |
Type |
Example |
Description |
---|---|---|---|
entity.id |
int |
98765 |
This ticket’s ID. |
entity.label |
str |
Managed Issue opened! |
The summary for this Ticket. |
entity.type |
str |
ticket |
The type of entity this is. |
entity.url |
str |
/support/tickets/98765 |
The relative URL where you can access this Ticket. |
linode-setting-view
Returns a single Linode’s Managed settings.
Usage
The format accepted by this command.
linode-cli managed linode-setting-view [-h] [--order-by {}]
[--order {asc,desc}] linodeId
Sample
Examples of how this command might be used.
linode-cli managed linode-setting-view 123
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
linodeId |
int |
The Linode ID whose settings we are accessing. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
group |
str |
linodes |
The group of the Linode these Settings are for. |
id |
int |
123 |
The ID of the Linode these Settings are for. |
label |
str |
linode123 |
The label of the Linode these Settings are for. |
ssh
Name |
Type |
Example |
Description |
---|---|---|---|
ssh.access |
bool |
true |
If true, Linode special forces may access this Linode over ssh to respond to Issues. |
ssh.ip |
str |
203.0.113.1 |
The IP Linode special forces should use to access this Linode when responding to an Issue. |
ssh.port |
int |
22 |
The port Linode special forces should use to access this Linode over ssh to respond to an Issue. |
ssh.user |
str |
linode |
The specific user, if any, Linode’s special forces should use when accessing this Linode to respond to an issue. |
linode-setting-update
Updates a single Linode’s Managed settings.
Usage
The format accepted by this command.
linode-cli managed linode-setting-update [-h] [--ssh.ip ip]
[--ssh.port port] [--ssh.user user] [--ssh.access access]
linodeId
Sample
Examples of how this command might be used.
linode-cli managed linode-setting-update \
7833234 \
--ssh.access true \
--ssh.user linode \
--ssh.port 22 \
--ssh.ip 203.0.113.1
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
linodeId |
int |
The Linode ID whose settings we are accessing. |
Arguments
Additional fields used to execute this request.
Name |
Type |
Example |
Description |
---|---|---|---|
--ssh.access |
bool |
true |
If true, Linode special forces may access this Linode over ssh to respond to Issues. |
--ssh.ip |
str |
203.0.113.1 |
The IP Linode special forces should use to access this Linode when responding to an Issue. |
--ssh.port |
int |
22 |
(nullable) The port Linode special forces should use to access this Linode over ssh to respond to an Issue. |
--ssh.user |
str |
linode |
(nullable) The specific user, if any, Linode’s special forces should use when accessing this Linode to respond to an issue. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
group |
str |
linodes |
The group of the Linode these Settings are for. |
id |
int |
123 |
The ID of the Linode these Settings are for. |
label |
str |
linode123 |
The label of the Linode these Settings are for. |
ssh
Name |
Type |
Example |
Description |
---|---|---|---|
ssh.access |
bool |
true |
If true, Linode special forces may access this Linode over ssh to respond to Issues. |
ssh.ip |
str |
203.0.113.1 |
The IP Linode special forces should use to access this Linode when responding to an Issue. |
ssh.port |
int |
22 |
The port Linode special forces should use to access this Linode over ssh to respond to an Issue. |
ssh.user |
str |
linode |
The specific user, if any, Linode’s special forces should use when accessing this Linode to respond to an issue. |
linode-settings-list
Returns a paginated list of Managed Settings for your Linodes.
Usage
The format accepted by this command.
linode-cli managed linode-settings-list [-h] [--order-by {}]
[--order {asc,desc}]
Sample
Examples of how this command might be used.
linode-cli managed linode-settings-list
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
group |
str |
linodes |
The group of the Linode these Settings are for. |
id |
int |
123 |
The ID of the Linode these Settings are for. |
label |
str |
linode123 |
The label of the Linode these Settings are for. |
ssh
Name |
Type |
Example |
Description |
---|---|---|---|
ssh.access |
bool |
true |
If true, Linode special forces may access this Linode over ssh to respond to Issues. |
ssh.ip |
str |
203.0.113.1 |
The IP Linode special forces should use to access this Linode when responding to an Issue. |
ssh.port |
int |
22 |
The port Linode special forces should use to access this Linode over ssh to respond to an Issue. |
ssh.user |
str |
linode |
The specific user, if any, Linode’s special forces should use when accessing this Linode to respond to an issue. |
service-view
Returns information about a single Managed Service on your Account.
Usage
The format accepted by this command.
linode-cli managed service-view [-h] [--order-by {}]
[--order {asc,desc}] serviceId
Sample
Examples of how this command might be used.
linode-cli managed service-view 9994
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
serviceId |
int |
The ID of the Managed Service to access. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
address |
str |
https://example.org |
The URL at which this Service is monitored. |
body |
str |
it worked |
What to expect to find in the response body for the Service to be considered up. |
consultation_group |
str |
on-call |
The group of ManagedContacts who should be notified or consulted with when an Issue is detected. |
created |
str |
2018-01-01T00:01:01 |
When this Managed Service was created. |
credentials |
[]int |
9991 |
An array of ManagedCredential IDs that should be used when attempting to resolve issues with this Service. |
id |
int |
9944 |
This Service’s unique ID. |
label |
str |
prod-1 |
The label for this Service. |
notes |
str |
The service n…-application |
Any information relevant to the Service that Linode special forces should know when attempting to resolve Issues. |
region |
str |
N/A |
The Region in which this Service is located. |
service_type |
str |
url |
How this Service is monitored. |
status |
str |
ok |
The current status of this Service. |
timeout |
int |
30 |
How long to wait, in seconds, for a response before considering the Service to be down. |
updated |
str |
2018-03-01T00:01:01 |
When this Managed Service was last updated. |
service-create
Creates a Managed Service.
Usage
The format accepted by this command.
linode-cli managed service-create [-h]
[--credentials credentials]
[--consultation_group consultation_group] [--region region]
[--service_type service_type] [--timeout timeout]
[--label label] [--notes notes] [--address address]
[--body body]
Sample
Examples of how this command might be used.
linode-cli managed service-create \
--service_type url \
--label prod-1 \
--address "https://example.org" \
--timeout 30 \
--body "it worked" \
--consultation_group on-call \
--notes "The service name is \
my-cool-application" \
--credentials 9991
Arguments
Additional fields used to execute this request.
Name |
Type |
Example |
Description |
---|---|---|---|
--address * |
str |
https://example.org |
The URL at which this Service is monitored. |
--label * |
str |
prod-1 |
The label for this Service. |
--service_type * |
str |
url |
How this Service is monitored. |
--timeout * |
int |
30 |
How long to wait, in seconds, for a response before considering the Service to be down. |
--body |
str |
it worked |
(nullable) What to expect to find in the response body for the Service to be considered up. |
--consultation_group |
str |
on-call |
The group of ManagedContacts who should be notified or consulted with when an Issue is detected. |
--credentials |
[]int |
N/A |
An array of ManagedCredential IDs that should be used when attempting to resolve issues with this Service. |
--notes |
str |
The service n…-application |
(nullable) Any information relevant to the Service that Linode special forces should know when attempting to resolve Issues. |
--region |
str |
N/A |
The Region in which this Service is located. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
address |
str |
https://example.org |
The URL at which this Service is monitored. |
body |
str |
it worked |
What to expect to find in the response body for the Service to be considered up. |
consultation_group |
str |
on-call |
The group of ManagedContacts who should be notified or consulted with when an Issue is detected. |
created |
str |
2018-01-01T00:01:01 |
When this Managed Service was created. |
credentials |
[]int |
9991 |
An array of ManagedCredential IDs that should be used when attempting to resolve issues with this Service. |
id |
int |
9944 |
This Service’s unique ID. |
label |
str |
prod-1 |
The label for this Service. |
notes |
str |
The service n…-application |
Any information relevant to the Service that Linode special forces should know when attempting to resolve Issues. |
region |
str |
N/A |
The Region in which this Service is located. |
service_type |
str |
url |
How this Service is monitored. |
status |
str |
ok |
The current status of this Service. |
timeout |
int |
30 |
How long to wait, in seconds, for a response before considering the Service to be down. |
updated |
str |
2018-03-01T00:01:01 |
When this Managed Service was last updated. |
service-update
Updates information about a Managed Service.
Usage
The format accepted by this command.
linode-cli managed service-update [-h] [--region region]
[--service_type service_type] [--credentials credentials]
[--consultation_group consultation_group] [--address address]
[--notes notes] [--body body] [--timeout timeout]
[--label label] serviceId
Sample
Examples of how this command might be used.
linode-cli managed service-update 9994 \
--service_type url \
--label prod-1 \
--address "https://example.org" \
--timeout 30 \
--body "it worked" \
--consultation_group on-call \
--notes "The service name is my-cool-application" \
--credentials 9991
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
serviceId |
int |
The ID of the Managed Service to access. |
Arguments
Additional fields used to execute this request.
Name |
Type |
Example |
Description |
---|---|---|---|
--address |
str |
https://example.org |
The URL at which this Service is monitored. |
--body |
str |
it worked |
(nullable) What to expect to find in the response body for the Service to be considered up. |
--consultation_group |
str |
on-call |
The group of ManagedContacts who should be notified or consulted with when an Issue is detected. |
--credentials |
[]int |
N/A |
An array of ManagedCredential IDs that should be used when attempting to resolve issues with this Service. |
--label |
str |
prod-1 |
The label for this Service. |
--notes |
str |
The service n…-application |
(nullable) Any information relevant to the Service that Linode special forces should know when attempting to resolve Issues. |
--region |
str |
N/A |
The Region in which this Service is located. |
--service_type |
str |
url |
How this Service is monitored. |
--timeout |
int |
30 |
How long to wait, in seconds, for a response before considering the Service to be down. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
address |
str |
https://example.org |
The URL at which this Service is monitored. |
body |
str |
it worked |
What to expect to find in the response body for the Service to be considered up. |
consultation_group |
str |
on-call |
The group of ManagedContacts who should be notified or consulted with when an Issue is detected. |
created |
str |
2018-01-01T00:01:01 |
When this Managed Service was created. |
credentials |
[]int |
9991 |
An array of ManagedCredential IDs that should be used when attempting to resolve issues with this Service. |
id |
int |
9944 |
This Service’s unique ID. |
label |
str |
prod-1 |
The label for this Service. |
notes |
str |
The service n…-application |
Any information relevant to the Service that Linode special forces should know when attempting to resolve Issues. |
region |
str |
N/A |
The Region in which this Service is located. |
service_type |
str |
url |
How this Service is monitored. |
status |
str |
ok |
The current status of this Service. |
timeout |
int |
30 |
How long to wait, in seconds, for a response before considering the Service to be down. |
updated |
str |
2018-03-01T00:01:01 |
When this Managed Service was last updated. |
service-delete
Deletes a Managed Service.
Usage
The format accepted by this command.
linode-cli managed service-delete [-h] serviceId
Sample
Examples of how this command might be used.
linode-cli managed service-delete 9994
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
serviceId |
int |
The ID of the Managed Service to access. |
service-disable
Temporarily disables monitoring of a Managed Service.
Usage
The format accepted by this command.
linode-cli managed service-disable [-h] serviceId
Sample
Examples of how this command might be used.
linode-cli managed service-disable 9994
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
serviceId |
int |
The ID of the Managed Service to disable. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
address |
str |
https://example.org |
The URL at which this Service is monitored. |
body |
str |
it worked |
What to expect to find in the response body for the Service to be considered up. |
consultation_group |
str |
on-call |
The group of ManagedContacts who should be notified or consulted with when an Issue is detected. |
created |
str |
2018-01-01T00:01:01 |
When this Managed Service was created. |
credentials |
[]int |
9991 |
An array of ManagedCredential IDs that should be used when attempting to resolve issues with this Service. |
id |
int |
9944 |
This Service’s unique ID. |
label |
str |
prod-1 |
The label for this Service. |
notes |
str |
The service n…-application |
Any information relevant to the Service that Linode special forces should know when attempting to resolve Issues. |
region |
str |
N/A |
The Region in which this Service is located. |
service_type |
str |
url |
How this Service is monitored. |
status |
str |
ok |
The current status of this Service. |
timeout |
int |
30 |
How long to wait, in seconds, for a response before considering the Service to be down. |
updated |
str |
2018-03-01T00:01:01 |
When this Managed Service was last updated. |
service-enable
Enables monitoring of a Managed Service.
Usage
The format accepted by this command.
linode-cli managed service-enable [-h] serviceId
Sample
Examples of how this command might be used.
linode-cli managed service-enable 9994
Parameters
Positional parameters used to define the resource this command should target.
Name |
Type |
Description |
---|---|---|
serviceId |
int |
The ID of the Managed Service to enable. |
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
address |
str |
https://example.org |
The URL at which this Service is monitored. |
body |
str |
it worked |
What to expect to find in the response body for the Service to be considered up. |
consultation_group |
str |
on-call |
The group of ManagedContacts who should be notified or consulted with when an Issue is detected. |
created |
str |
2018-01-01T00:01:01 |
When this Managed Service was created. |
credentials |
[]int |
9991 |
An array of ManagedCredential IDs that should be used when attempting to resolve issues with this Service. |
id |
int |
9944 |
This Service’s unique ID. |
label |
str |
prod-1 |
The label for this Service. |
notes |
str |
The service n…-application |
Any information relevant to the Service that Linode special forces should know when attempting to resolve Issues. |
region |
str |
N/A |
The Region in which this Service is located. |
service_type |
str |
url |
How this Service is monitored. |
status |
str |
ok |
The current status of this Service. |
timeout |
int |
30 |
How long to wait, in seconds, for a response before considering the Service to be down. |
updated |
str |
2018-03-01T00:01:01 |
When this Managed Service was last updated. |
services-list
Returns a paginated list of Managed Services on your Account.
Usage
The format accepted by this command.
linode-cli managed services-list [-h] [--order-by {}]
[--order {asc,desc}]
Sample
Examples of how this command might be used.
linode-cli managed services-list
Result Attributes
The attributes returned by this command.
Name |
Type |
Example |
Description |
---|---|---|---|
address |
str |
https://example.org |
The URL at which this Service is monitored. |
body |
str |
it worked |
What to expect to find in the response body for the Service to be considered up. |
consultation_group |
str |
on-call |
The group of ManagedContacts who should be notified or consulted with when an Issue is detected. |
created |
str |
2018-01-01T00:01:01 |
When this Managed Service was created. |
credentials |
[]int |
9991 |
An array of ManagedCredential IDs that should be used when attempting to resolve issues with this Service. |
id |
int |
9944 |
This Service’s unique ID. |
label |
str |
prod-1 |
The label for this Service. |
notes |
str |
The service n…-application |
Any information relevant to the Service that Linode special forces should know when attempting to resolve Issues. |
region |
str |
N/A |
The Region in which this Service is located. |
service_type |
str |
url |
How this Service is monitored. |
status |
str |
ok |
The current status of this Service. |
timeout |
int |
30 |
How long to wait, in seconds, for a response before considering the Service to be down. |
updated |
str |
2018-03-01T00:01:01 |
When this Managed Service was last updated. |
stats-list
Returns a list of Managed Stats on your Account in the form of x and y data points.
Usage
The format accepted by this command.
linode-cli managed stats-list [-h] [--order-by {}]
[--order {asc,desc}]
Sample
Examples of how this command might be used.
linode-cli managed stats-list