C# Class OneAndOne.Client.Endpoints.MonitoringPolicies.MonitoringPoliciesProcesses

Inheritance: ResourceBase
Mostrar archivo Open project: 1and1/oneandone-cloudserver-sdk-dotnet

Public Methods

Method Description
Create ( List processes, string monitoring_policy_id ) : MonitoringPoliciesResponse

Adds new processes to a monitoring policy

Delete ( string monitoring_policy_id, string process_id ) : MonitoringPoliciesResponse

Removes a process from a monitoring policy.

Get ( string monitoring_policy_id ) : List

Returns a list of the processes of a monitoring policy.

MonitoringPoliciesProcesses ( object _apiUrl = null, object _apiKey = null ) : System
Show ( string monitoring_policy_id, string process_id ) : Processes

Returns information about a process of a monitoring policy.

Update ( OneAndOne processes, string monitoring_policy_id, string process_id ) : MonitoringPoliciesResponse

Modifies a process from a monitoring policy.

Method Details

Create() public method

Adds new processes to a monitoring policy
public Create ( List processes, string monitoring_policy_id ) : MonitoringPoliciesResponse
processes List
monitoring_policy_id string Unique monitoring policy's identifier.
return OneAndOne.POCO.Respones.MonitoringPolicies.MonitoringPoliciesResponse

Delete() public method

Removes a process from a monitoring policy.
public Delete ( string monitoring_policy_id, string process_id ) : MonitoringPoliciesResponse
monitoring_policy_id string Unique monitoring policy's identifier.
process_id string Unique process's identifier.
return OneAndOne.POCO.Respones.MonitoringPolicies.MonitoringPoliciesResponse

Get() public method

Returns a list of the processes of a monitoring policy.
public Get ( string monitoring_policy_id ) : List
monitoring_policy_id string Unique monitoring policy's identifier.
return List

MonitoringPoliciesProcesses() public method

public MonitoringPoliciesProcesses ( object _apiUrl = null, object _apiKey = null ) : System
_apiUrl object
_apiKey object
return System

Show() public method

Returns information about a process of a monitoring policy.
public Show ( string monitoring_policy_id, string process_id ) : Processes
monitoring_policy_id string Unique monitoring policy's identifier.
process_id string Unique process's identifier.
return OneAndOne.POCO.Respones.MonitoringPolicies.Processes

Update() public method

Modifies a process from a monitoring policy.
public Update ( OneAndOne processes, string monitoring_policy_id, string process_id ) : MonitoringPoliciesResponse
processes OneAndOne
monitoring_policy_id string Unique monitoring policy's identifier.
process_id string Unique process's identifier.
return OneAndOne.POCO.Respones.MonitoringPolicies.MonitoringPoliciesResponse