PHP Класс Scalr_UI_Controller_Tools_Aws_Ec2_Elb

Наследование: extends Scalr_UI_Controller
Показать файл Открыть проект

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

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