C# Класс AwsSnapshotScheduler.Ec2Helper

Показать файл Открыть проект Примеры использования класса

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

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

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

CreateClient() публичный статический Метод

Return the EC2 client
public static CreateClient ( ) : AmazonEC2Client
Результат Amazon.EC2.AmazonEC2Client

DeleteSnapsot() публичный статический Метод

Delete the snapshop with the given ID from EBS
public static DeleteSnapsot ( string snapshotid ) : void
snapshotid string
Результат void

GetInstanceName() публичный статический Метод

Get the name of the instances with the given instanceID from EC2
public static GetInstanceName ( string instanceId ) : string
instanceId string
Результат string

GetTagValue() публичный статический Метод

public static GetTagValue ( List Tags, string tagname ) : string
Tags List
tagname string
Результат string