C# 클래스 AwsSnapshotScheduler.Program

파일 보기 프로젝트 열기: ronmichael/aws-snapshot-scheduler

공개 프로퍼티들

프로퍼티 타입 설명
options Options

공개 메소드들

메소드 설명
Backup ( string name, string description, string volumeid, string volumename, string instancename, string expires ) : void
CheckForExpiredSnapshots ( ) : void

Check for any snapshots set to expire -- that have a tag key of "expires" with a value that is in the past.

CheckForScheduledSnapshots ( ) : void

Check for any volumes that have a snapshot scheduled based on the schedule in the snapshotSchedule tag key.

GetAfterTheHour ( string p, int def ) : int
GetDow ( string p, DayOfWeek def = DayOfWeek.Sunday ) : DayOfWeek
GetExpireHours ( string p, int def ) : int
GetInt ( string p, int def ) : int
GetTime ( string p, System.DateTime def = null ) : System.DateTime
ListVolumes ( ) : void

List all volumes found in region

Main ( string args ) : void
RegisterKeys ( string access, string secret ) : void

비공개 메소드들

메소드 설명
SendMessageTimeout ( IntPtr hWnd, int Msg, int wParam, string lParam, int fuFlags, int uTimeout, int &lpdwResult ) : bool

메소드 상세

Backup() 공개 정적인 메소드

public static Backup ( string name, string description, string volumeid, string volumename, string instancename, string expires ) : void
name string
description string
volumeid string
volumename string
instancename string
expires string
리턴 void

CheckForExpiredSnapshots() 공개 정적인 메소드

Check for any snapshots set to expire -- that have a tag key of "expires" with a value that is in the past.
public static CheckForExpiredSnapshots ( ) : void
리턴 void

CheckForScheduledSnapshots() 공개 정적인 메소드

Check for any volumes that have a snapshot scheduled based on the schedule in the snapshotSchedule tag key.
public static CheckForScheduledSnapshots ( ) : void
리턴 void

GetAfterTheHour() 공개 정적인 메소드

public static GetAfterTheHour ( string p, int def ) : int
p string
def int
리턴 int

GetDow() 공개 정적인 메소드

public static GetDow ( string p, DayOfWeek def = DayOfWeek.Sunday ) : DayOfWeek
p string
def DayOfWeek
리턴 DayOfWeek

GetExpireHours() 공개 정적인 메소드

public static GetExpireHours ( string p, int def ) : int
p string
def int
리턴 int

GetInt() 공개 정적인 메소드

public static GetInt ( string p, int def ) : int
p string
def int
리턴 int

GetTime() 공개 정적인 메소드

public static GetTime ( string p, System.DateTime def = null ) : System.DateTime
p string
def System.DateTime
리턴 System.DateTime

ListVolumes() 공개 정적인 메소드

List all volumes found in region
public static ListVolumes ( ) : void
리턴 void

Main() 공개 정적인 메소드

public static Main ( string args ) : void
args string
리턴 void

RegisterKeys() 공개 정적인 메소드

public static RegisterKeys ( string access, string secret ) : void
access string
secret string
리턴 void

프로퍼티 상세

options 공개적으로 정적으로 프로퍼티

public static Options,AwsSnapshotScheduler options
리턴 Options