PHP 클래스 Scalr_UI_Controller_Tools_Aws_Ec2_Elb

상속: extends Scalr_UI_Controller
파일 보기 프로젝트 열기: scalr/scalr

공개 메소드들

메소드 설명
createAction ( $cloudLocation )
defaultAction ( )
getElasticLoadBalancersList ( string $cloudLocation, string $placement = null )
hasAccess ( )
viewAction ( )
xCreateAction ( string $cloudLocation, JsonData $listeners, boolean $crossLoadBalancing, JsonData $healthcheck, string $scheme = null, JsonData $securityGroups = null, string $vpcId = null, JsonData $zones = null, JsonData $subnets = null, string $name = null )
xDeleteAction ( string $cloudLocation, JsonData $elbNames )
xDeregisterInstanceAction ( string $cloudLocation, string $elbName, string $awsInstanceId )
xGetDetailsAction ( string $cloudLocation, string $elbName )
xGetInstanceHealthAction ( string $cloudLocation, string $elbName, string $awsInstanceId )
xListElasticLoadBalancersAction ( string $cloudLocation, string $placement = null )
xListSecurityGroupsAction ( string $platform, string $cloudLocation, JsonData $filters = null ) Lists security groups
xSaveAction ( string $elbName, string $cloudLocation, JsonData $listeners, JsonData $policies = null ) xSaveAction

보호된 메소드들

메소드 설명
validateAccessToLoadBalancer ( string $elbName, string $cloudLocation ) Validates Access To Load Balancer

비공개 메소드들

메소드 설명
getDetails ( string $cloudLocation, string $elbName ) : array
validateElb ( string $cloudLocation, string $elbName ) Checks if elb exists

메소드 상세

createAction() 공개 메소드

public createAction ( $cloudLocation )

defaultAction() 공개 메소드

public defaultAction ( )

getElasticLoadBalancersList() 공개 메소드

public getElasticLoadBalancersList ( string $cloudLocation, string $placement = null )
$cloudLocation string Ec2 region
$placement string optional Placement

hasAccess() 공개 메소드

public hasAccess ( )

validateAccessToLoadBalancer() 보호된 메소드

Validates Access To Load Balancer
protected validateAccessToLoadBalancer ( string $elbName, string $cloudLocation )
$elbName string
$cloudLocation string

viewAction() 공개 메소드

public viewAction ( )

xCreateAction() 공개 메소드

public xCreateAction ( string $cloudLocation, JsonData $listeners, boolean $crossLoadBalancing, JsonData $healthcheck, string $scheme = null, JsonData $securityGroups = null, string $vpcId = null, JsonData $zones = null, JsonData $subnets = null, string $name = null )
$cloudLocation string Ec2 Region
$listeners Scalr\UI\Request\JsonData Listeners list
$crossLoadBalancing boolean Enable Cross balancing
$healthcheck Scalr\UI\Request\JsonData Health check data
$scheme string optional Scheme
$securityGroups Scalr\UI\Request\JsonData optional Security groups
$vpcId string optional Vpc id
$zones Scalr\UI\Request\JsonData optional Availability zones
$subnets Scalr\UI\Request\JsonData optional Subnets
$name string optional Name

xDeleteAction() 공개 메소드

public xDeleteAction ( string $cloudLocation, JsonData $elbNames )
$cloudLocation string Ec2 region
$elbNames Scalr\UI\Request\JsonData Array of elbNames to delete

xDeregisterInstanceAction() 공개 메소드

public xDeregisterInstanceAction ( string $cloudLocation, string $elbName, string $awsInstanceId )
$cloudLocation string Ec2 region
$elbName string Elb name
$awsInstanceId string

xGetDetailsAction() 공개 메소드

public xGetDetailsAction ( string $cloudLocation, string $elbName )
$cloudLocation string Ec2 region
$elbName string Elb name

xGetInstanceHealthAction() 공개 메소드

public xGetInstanceHealthAction ( string $cloudLocation, string $elbName, string $awsInstanceId )
$cloudLocation string Ec2 region
$elbName string Elb name
$awsInstanceId string

xListElasticLoadBalancersAction() 공개 메소드

public xListElasticLoadBalancersAction ( string $cloudLocation, string $placement = null )
$cloudLocation string Ec2 region
$placement string optional Placement

xListSecurityGroupsAction() 공개 메소드

Lists security groups
public xListSecurityGroupsAction ( string $platform, string $cloudLocation, JsonData $filters = null )
$platform string Platform
$cloudLocation string Cloud location
$filters Scalr\UI\Request\JsonData

xSaveAction() 공개 메소드

xSaveAction
public xSaveAction ( string $elbName, string $cloudLocation, JsonData $listeners, JsonData $policies = null )
$elbName string Load balancer name
$cloudLocation string Ec2 region
$listeners Scalr\UI\Request\JsonData Listeners array to create/update/delete
$policies Scalr\UI\Request\JsonData Policies array to create/delete