C# Class AwsSnapshotScheduler.Ec2Helper

Afficher le fichier Open project: ronmichael/aws-snapshot-scheduler Class Usage Examples

Méthodes publiques

Méthode Description
CreateClient ( ) : AmazonEC2Client

Return the EC2 client

DeleteSnapsot ( string snapshotid ) : void

Delete the snapshop with the given ID from EBS

GetInstanceName ( string instanceId ) : string

Get the name of the instances with the given instanceID from EC2

GetTagValue ( List Tags, string tagname ) : string

Method Details

CreateClient() public static méthode

Return the EC2 client
public static CreateClient ( ) : AmazonEC2Client
Résultat Amazon.EC2.AmazonEC2Client

DeleteSnapsot() public static méthode

Delete the snapshop with the given ID from EBS
public static DeleteSnapsot ( string snapshotid ) : void
snapshotid string
Résultat void

GetInstanceName() public static méthode

Get the name of the instances with the given instanceID from EC2
public static GetInstanceName ( string instanceId ) : string
instanceId string
Résultat string

GetTagValue() public static méthode

public static GetTagValue ( List Tags, string tagname ) : string
Tags List
tagname string
Résultat string