C# Class NCloudWatch.ManagementService

Inheritance: IManagementService
ファイルを表示 Open project: sklose/NCloudWatch

Private Properties

Property Type Description

Public Methods

Method Description
AddMetric ( Metric metric ) : void

Adds the specified metric.

GetMetrics ( ) : MetricList

Retrieves a list of all metrics.

ManagementService ( CloudWatchService service ) : System.ServiceModel

Initializes a new instance of the ManagementService class.

RemoveMetric ( string metricName ) : void

Removes the metric with the specified metricName.

SetAwsCredentials ( string accessKeyId, string secretAccessKey ) : void

Sets the Amazon Web Services credentials.

Method Details

AddMetric() public method

Adds the specified metric.
public AddMetric ( Metric metric ) : void
metric Metric The metric.
return void

GetMetrics() public method

Retrieves a list of all metrics.
public GetMetrics ( ) : MetricList
return MetricList

ManagementService() public method

Initializes a new instance of the ManagementService class.
public ManagementService ( CloudWatchService service ) : System.ServiceModel
service CloudWatchService The service.
return System.ServiceModel

RemoveMetric() public method

Removes the metric with the specified metricName.
public RemoveMetric ( string metricName ) : void
metricName string Name of the metric.
return void

SetAwsCredentials() public method

Sets the Amazon Web Services credentials.
public SetAwsCredentials ( string accessKeyId, string secretAccessKey ) : void
accessKeyId string The access key id.
secretAccessKey string The secret access key.
return void