C# Класс NCloudWatch.ManagementService

Наследование: IManagementService
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

AddMetric() публичный Метод

Adds the specified metric.
public AddMetric ( Metric metric ) : void
metric Metric The metric.
Результат void

GetMetrics() публичный Метод

Retrieves a list of all metrics.
public GetMetrics ( ) : MetricList
Результат MetricList

ManagementService() публичный Метод

Initializes a new instance of the ManagementService class.
public ManagementService ( CloudWatchService service ) : System.ServiceModel
service CloudWatchService The service.
Результат System.ServiceModel

RemoveMetric() публичный Метод

Removes the metric with the specified metricName.
public RemoveMetric ( string metricName ) : void
metricName string Name of the metric.
Результат void

SetAwsCredentials() публичный Метод

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.
Результат void