org.jclouds.aws.ec2.services
Interface MonitoringClient


public interface MonitoringClient

Provides monitoring services for EC2. For more information, refer to the Amazon CloudWatch Developer Guide.

Author:
Adrian Cole

Method Summary
 Map<String,MonitoringState> monitorInstancesInRegion(String region, String instanceId, String... instanceIds)
          Enables monitoring for a running instance.
 Map<String,MonitoringState> unmonitorInstancesInRegion(String region, String instanceId, String... instanceIds)
          Disables monitoring for a running instance.
 

Method Detail

monitorInstancesInRegion

Map<String,MonitoringState> monitorInstancesInRegion(@Nullable
                                                     String region,
                                                     String instanceId,
                                                     String... instanceIds)
Enables monitoring for a running instance. For more information, refer to the Amazon CloudWatch Developer Guide.

Parameters:
region - Instances are tied to Availability Zones. However, the instance ID is tied to the Region.
See Also:
InstanceClient#runInstances, #unmonitorInstances,

unmonitorInstancesInRegion

Map<String,MonitoringState> unmonitorInstancesInRegion(@Nullable
                                                       String region,
                                                       String instanceId,
                                                       String... instanceIds)
Disables monitoring for a running instance. For more information, refer to the Amazon CloudWatch Developer Guide.

Parameters:
region - Instances are tied to Availability Zones. However, the instance ID is tied to the Region.
See Also:
InstanceClient#runInstances, #monitorInstances,


Copyright © 2009-2012 jclouds. All Rights Reserved.