Свойство | Тип | Описание | |
---|---|---|---|
$service | Scalr\Service\OpenStack\Services\NetworkService |
Метод | Описание | |
---|---|---|
__construct ( Scalr\Service\OpenStack\Services\NetworkService $network ) | Constructor | |
addRouterInterface ( string $routerId, string $subnetId = null, string $portId = null ) : object | Add Router Interface action (PUT /routers/router-id/add_router_interface) | |
associateLbHealthMonitorWithPool ( string $poolId, string $healthMonitorId ) : object | Associate health monitor with the pool (POST /lb/pools/pool-id/health_monitors) | |
createFloatingIp ( string $floatingNetworkId, string $portId = null, $fixedIpAddress = null ) : object | This operation creates a floating IP. | |
createLbHealthMonitor ( Scalr\Service\OpenStack\Services\Network\Type\CreateLbHealthMonitor $request ) : object | Creates LBaaS Health Monitor (POST /lb/health_monitors) | |
createLbMember ( Scalr\Service\OpenStack\Services\Network\Type\CreateLbMember $request ) : object | Creates LBaaS member (POST /lb/members) | |
createLbPool ( Scalr\Service\OpenStack\Services\Network\Type\CreateLbPool $request ) : object | Creates LBaaS pool (POST /lb/pools) | |
createLbVip ( Scalr\Service\OpenStack\Services\Network\Type\CreateLbVip $request ) : object | Creates LBaaS vip (POST /lb/vips) | |
createNetwork ( string $name = null, boolean $adminStateUp = null, boolean $shared = null, string $tenantId = null ) : object | Create Network action (POST /networks) | |
createPort ( Scalr\Service\OpenStack\Services\Network\Type\CreatePort $request ) : object | Create Port action (POST /ports) | |
createRouter ( Scalr\Service\OpenStack\Services\Network\Type\CreateRouter $request ) : object | Create Router action (POST /routers) | |
createSecurityGroup ( string $name, string $description = null ) : object | Creates Security group (POST /security-groups) | |
createSecurityGroupRule ( Scalr\Service\OpenStack\Services\Network\Type\CreateSecurityGroupRule $request ) : object | Creates Security Group Rule (POST /security-group-rules) | |
createSubnet ( Scalr\Service\OpenStack\Services\Network\Type\CreateSubnet $request ) : object | Creates Subnet (POST /subnets) | |
deleteFloatingIp ( integer $floatingIpId ) : boolean | The operation removes the floating IP | |
deleteLbHealthMonitor ( string $healthMonitorId ) : boolean | Deletes LBaaS health monitor (DELETE /lb/health_monitors/health_monitor-id) | |
deleteLbMember ( string $memberId ) : boolean | Deletes LBaaS member (DELETE /lb/members/member-id) | |
deleteLbPool ( string $poolId ) : boolean | Deletes LBaaS pool (DELETE /lb/pools/pool-id) | |
deleteLbVip ( string $vipId ) : boolean | Deletes LBaaS VIP (DELETE /lb/vips/vip-id) | |
deleteNetwork ( string $networkId ) : boolean | Delete Network action (DELETE /networks/network-id) | |
deletePort ( string $portId ) : boolean | Delete Port action (DELETE /ports/port-id) | |
deleteRouter ( string $routerId ) : boolean | Delete Router action (DELETE /routers/router-id) | |
deleteSecurityGroup ( string $id ) : boolean | Deletes Security Group (DELETE /security-groups/security-group-id) | |
deleteSecurityGroupRule ( string $id ) : boolean | Deletes Security Group Rule (DELETE /security-group-rules/rules-security-groups-id}) | |
deleteSubnet ( string $subnetId ) : boolean | Delete Subnet action (DELETE /subnets/subnet-id) | |
disassociateLbHealthMonitorFromPool ( string $poolId, string $healthMonitorId ) : boolean | Disassociates health monitor from a pool (DELETE /lb/pools/pool-id/health_monitors/healthmonitor-id) | |
escape ( string $string ) : string | Escapes string | |
getClient ( ) : Scalr\Service\OpenStack\Client\ClientInterface | Gets HTTP Client | |
getFloatingIp ( integer $floatingIpId ) : object | Gets floating Ip details | |
listExtensions ( ) : array | List Extensions action | |
listFloatingIps ( ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | List Floating Ips action | |
listLbHealthMonitors ( string $healthMonitorId = null, Scalr\Service\OpenStack\Services\Network\Type\ListLbHealthMonitorsFilter $filter = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | List LBaaS Health Monitors action (GET /lb/health_monitors[/health-monitors-id]) | |
listLbMembers ( string $memberId = null, Scalr\Service\OpenStack\Services\Network\Type\ListLbMembersFilter $filter = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | List Members action (GET /lb/members[/member-id]) | |
listLbPools ( string $poolId = null, Scalr\Service\OpenStack\Services\Network\Type\ListLbPoolsFilter $filter = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | List Pools action (GET /lb/pools[/pool-id]) | |
listLbVips ( string $vipId = null, Scalr\Service\OpenStack\Services\Network\Type\ListLbVipsFilter $filter = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | List VIPs action (GET /lb/vips[/vip-id]) | |
listNetworks ( string $networkId = null, Scalr\Service\OpenStack\Services\Network\Type\ListNetworksFilter $filter = null ) : array | object | List Networks action (GET /networks[/network-id]) | |
listPorts ( string $portId = null, Scalr\Service\OpenStack\Services\Network\Type\ListPortsFilter $filter = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | ListPorts action (GET /ports[/port-id]) | |
listRouters ( string $routerId = null, Scalr\Service\OpenStack\Services\Network\Type\ListRoutersFilter $filter = null, array $fields = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | Gets the routers list | |
listSecurityGroupRules ( string $id = null, Scalr\Service\OpenStack\Services\Network\Type\ListSecurityGroupRulesFilter $filter = null, array $fields = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | Gets the list of the security group rules (GET /security-group-rules/[rules-security-groups-id] ) | |
listSecurityGroups ( string $id = null, Scalr\Service\OpenStack\Services\Network\Type\ListSecurityGroupsFilter $filter = null, array $fields = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | Gets the list of the security groups | |
listSubnets ( string $subnetId = null, Scalr\Service\OpenStack\Services\Network\Type\ListSubnetsFilter $filter = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | ListSubnets action (GET /subnets[/subnet-id]) | |
removeRouterInterface ( string $routerId, string $subnetId = null, string $portId = null ) : object | Remove Router Interface action (PUT /routers/router-id/remove_router_interface) | |
updateFloatingIp ( string $floatingIpId, string $portId = null ) : object | This operation updates a floating IP. | |
updateLbHealthMonitor ( string $healthMonitorId, array | object $options ) : object | Update LBaaS health monitor (PUT /lb/health_monitors/health_monitors-id) | |
updateLbMember ( string $memberId, array | object $options ) : object | Update LBaaS member (PUT /lb/members/member-id) | |
updateLbPool ( string $poolId, array | object $options ) : object | Update LBaaS pool (PUT /lb/pools/pool-id) | |
updateLbVip ( string $vipId, array | object $options ) : object | Update LBaaS VIP (PUT /lb/vips/vip-id) | |
updateNetwork ( string $networkId, string $name = null, boolean $adminStateUp = null ) : object | Update Network action (PUT /networks/network-id) | |
updatePort ( string $portId, array | object $options ) : object | Update port action (PUT /ports/port-id) | |
updateRouter ( string $routerId, array | object $options ) : object | Update Router action (PUT /routers/router-id) | |
updateSubnet ( string $subnetId, array | object $options ) : object | Update Subnet action (PUT /subnets/subnet-id) |
Метод | Описание | |
---|---|---|
filterNull ( mixed $v ) : boolean | NULL value filter callback |
public __construct ( Scalr\Service\OpenStack\Services\NetworkService $network ) | ||
$network | Scalr\Service\OpenStack\Services\NetworkService |
public addRouterInterface ( string $routerId, string $subnetId = null, string $portId = null ) : object | ||
$routerId | string | The ID of the router |
$subnetId | string | optional The identifier of the subnet |
$portId | string | optional The identifier of the port |
Результат | object | Returns both port and subnet identifiers as object's properties |
public createLbHealthMonitor ( Scalr\Service\OpenStack\Services\Network\Type\CreateLbHealthMonitor $request ) : object | ||
$request | Scalr\Service\OpenStack\Services\Network\Type\CreateLbHealthMonitor | The request object |
Результат | object | Returns LBaaS health monitor object |
public createLbMember ( Scalr\Service\OpenStack\Services\Network\Type\CreateLbMember $request ) : object | ||
$request | Scalr\Service\OpenStack\Services\Network\Type\CreateLbMember | The request object |
Результат | object | Returns LBaaS member object |
public createLbPool ( Scalr\Service\OpenStack\Services\Network\Type\CreateLbPool $request ) : object | ||
$request | Scalr\Service\OpenStack\Services\Network\Type\CreateLbPool | The request object |
Результат | object | Returns detailed info of the created pool |
public createLbVip ( Scalr\Service\OpenStack\Services\Network\Type\CreateLbVip $request ) : object | ||
$request | Scalr\Service\OpenStack\Services\Network\Type\CreateLbVip | The request object |
Результат | object | Returns detailed info of the created VIP |
public createNetwork ( string $name = null, boolean $adminStateUp = null, boolean $shared = null, string $tenantId = null ) : object | ||
$name | string | optional A string specifying a symbolic name for the network, which is not required to be unique |
$adminStateUp | boolean | optional The administrative status of the network |
$shared | boolean | optional Whether this network should be shared across all tenants or not. Note that the default policy setting restrict usage of this attribute to administrative users only |
$tenantId | string | optional The tenant which will own the network. Only administrative users can set the tenant identifier. This cannot be changed using authorization policies |
Результат | object | Returns detailed information for the created network |
public createPort ( Scalr\Service\OpenStack\Services\Network\Type\CreatePort $request ) : object | ||
$request | Scalr\Service\OpenStack\Services\Network\Type\CreatePort | Create port request object |
Результат | object | Returns port object on success or throws an exception otherwise |
public createRouter ( Scalr\Service\OpenStack\Services\Network\Type\CreateRouter $request ) : object | ||
$request | Scalr\Service\OpenStack\Services\Network\Type\CreateRouter | Create router request object |
Результат | object | Returns router object on success or throws an exception otherwise |
public createSecurityGroupRule ( Scalr\Service\OpenStack\Services\Network\Type\CreateSecurityGroupRule $request ) : object | ||
$request | Scalr\Service\OpenStack\Services\Network\Type\CreateSecurityGroupRule | The request object |
Результат | object | Returns Security Group Rule object |
public createSubnet ( Scalr\Service\OpenStack\Services\Network\Type\CreateSubnet $request ) : object | ||
$request | Scalr\Service\OpenStack\Services\Network\Type\CreateSubnet | Create subnet request object |
Результат | object | Returns subnet object on success or throws an exception otherwise |
public deleteFloatingIp ( integer $floatingIpId ) : boolean | ||
$floatingIpId | integer | Floating IP address ID |
Результат | boolean | Returns true on success or throws an exception |
public deleteLbHealthMonitor ( string $healthMonitorId ) : boolean | ||
$healthMonitorId | string | The ID of the health monitor to delete |
Результат | boolean | Returns true on success or throws an exception |
public deleteLbMember ( string $memberId ) : boolean | ||
$memberId | string | The ID of the member to delete |
Результат | boolean | Returns true on success or throws an exception |
public deleteLbPool ( string $poolId ) : boolean | ||
$poolId | string | The ID of the pool to delete |
Результат | boolean | Returns true on success or throws an exception |
public deleteLbVip ( string $vipId ) : boolean | ||
$vipId | string | The ID of the VIP to delete |
Результат | boolean | Returns true on success or throws an exception |
public deleteNetwork ( string $networkId ) : boolean | ||
$networkId | string | The ID of the network to remove. |
Результат | boolean | Returns true on success or throws an exception otherwise |
public deletePort ( string $portId ) : boolean | ||
$portId | string | The ID of the port to remove. |
Результат | boolean | Returns true on success or throws an exception otherwise |
public deleteRouter ( string $routerId ) : boolean | ||
$routerId | string | The ID of the router to remove. |
Результат | boolean | Returns true on success or throws an exception otherwise |
public deleteSecurityGroup ( string $id ) : boolean | ||
$id | string | The UUID of the security group to delete |
Результат | boolean | Returns true on success or throws an exception |
public deleteSecurityGroupRule ( string $id ) : boolean | ||
$id | string | The UUID of the security group rule to delete |
Результат | boolean | Returns true on success or throws an exception |
public deleteSubnet ( string $subnetId ) : boolean | ||
$subnetId | string | The ID of the subnet to remove. |
Результат | boolean | Returns true on success or throws an exception otherwise |
public getClient ( ) : Scalr\Service\OpenStack\Client\ClientInterface | ||
Результат | Scalr\Service\OpenStack\Client\ClientInterface | Returns HTTP Client |
public getFloatingIp ( integer $floatingIpId ) : object | ||
$floatingIpId | integer | The unique identifier associated with allocated floating IP address. |
Результат | object | Returns details of the floating IP address. |
public listExtensions ( ) : array | ||
Результат | array | Returns list of available extensions |
public listFloatingIps ( ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | ||
Результат | Scalr\Service\OpenStack\Type\DefaultPaginationList | Returns the list floating IP addresses associated with the tenant or account. |
public listLbHealthMonitors ( string $healthMonitorId = null, Scalr\Service\OpenStack\Services\Network\Type\ListLbHealthMonitorsFilter $filter = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | ||
$healthMonitorId | string | optional The ID of the health monitor to show detailed info |
$filter | Scalr\Service\OpenStack\Services\Network\Type\ListLbHealthMonitorsFilter | optional The query filter. |
Результат | Scalr\Service\OpenStack\Type\DefaultPaginationList | object | Returns the list of the Health Monitors or the requested pool |
public listLbMembers ( string $memberId = null, Scalr\Service\OpenStack\Services\Network\Type\ListLbMembersFilter $filter = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | ||
$memberId | string | optional The ID of the member to show detailed info |
$filter | Scalr\Service\OpenStack\Services\Network\Type\ListLbMembersFilter | optional The query filter. |
Результат | Scalr\Service\OpenStack\Type\DefaultPaginationList | object | Returns the list of the Members or the requested pool |
public listLbPools ( string $poolId = null, Scalr\Service\OpenStack\Services\Network\Type\ListLbPoolsFilter $filter = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | ||
$poolId | string | optional The ID of the Pool to show detailed info |
$filter | Scalr\Service\OpenStack\Services\Network\Type\ListLbPoolsFilter | optional The query filter. |
Результат | Scalr\Service\OpenStack\Type\DefaultPaginationList | object | Returns the list of the Pools or the requested pool |
public listLbVips ( string $vipId = null, Scalr\Service\OpenStack\Services\Network\Type\ListLbVipsFilter $filter = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | ||
$vipId | string | optional The ID of the VIP to show detailed info |
$filter | Scalr\Service\OpenStack\Services\Network\Type\ListLbVipsFilter | optional The query filter. |
Результат | Scalr\Service\OpenStack\Type\DefaultPaginationList | object | Returns the list of the VIPs or the requested VIP |
public listNetworks ( string $networkId = null, Scalr\Service\OpenStack\Services\Network\Type\ListNetworksFilter $filter = null ) : array | object | ||
$networkId | string | optional The ID of the network to show detailed info |
$filter | Scalr\Service\OpenStack\Services\Network\Type\ListNetworksFilter | optional The query filter. |
Результат | array | object | Returns the list of the networks or one network |
public listPorts ( string $portId = null, Scalr\Service\OpenStack\Services\Network\Type\ListPortsFilter $filter = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | ||
$portId | string | optional The ID of the port to show detailed info |
$filter | Scalr\Service\OpenStack\Services\Network\Type\ListPortsFilter | The filter options |
Результат | Scalr\Service\OpenStack\Type\DefaultPaginationList | object | Returns the list of the ports or the information about one port |
public listRouters ( string $routerId = null, Scalr\Service\OpenStack\Services\Network\Type\ListRoutersFilter $filter = null, array $fields = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | ||
$routerId | string | optional The ID of the router to show detailed info |
$filter | Scalr\Service\OpenStack\Services\Network\Type\ListRoutersFilter | optional The filter options. Filter doesn't apply to detailed info |
$fields | array | optional The list of the fields to show |
Результат | Scalr\Service\OpenStack\Type\DefaultPaginationList | object | Returns the list of the router or the information about one router |
public listSecurityGroupRules ( string $id = null, Scalr\Service\OpenStack\Services\Network\Type\ListSecurityGroupRulesFilter $filter = null, array $fields = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | ||
$id | string | optional The ID of the security group rule to view |
$filter | Scalr\Service\OpenStack\Services\Network\Type\ListSecurityGroupRulesFilter | optional The filter options. Filter doesn't apply to detailed info |
$fields | array | optional The list of the fields to show |
Результат | Scalr\Service\OpenStack\Type\DefaultPaginationList | object | Returns the list of the security groups or specified security group |
public listSecurityGroups ( string $id = null, Scalr\Service\OpenStack\Services\Network\Type\ListSecurityGroupsFilter $filter = null, array $fields = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | ||
$id | string | optional The ID of the security group to view |
$filter | Scalr\Service\OpenStack\Services\Network\Type\ListSecurityGroupsFilter | optional The filter options. Filter doesn't apply to detailed info |
$fields | array | optional The list of the fields to show |
Результат | Scalr\Service\OpenStack\Type\DefaultPaginationList | object | Returns the list of the security groups or specified security group |
public listSubnets ( string $subnetId = null, Scalr\Service\OpenStack\Services\Network\Type\ListSubnetsFilter $filter = null ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | object | ||
$subnetId | string | optional The ID of the subnet to show detailed info |
$filter | Scalr\Service\OpenStack\Services\Network\Type\ListSubnetsFilter | optional The filter. |
Результат | Scalr\Service\OpenStack\Type\DefaultPaginationList | object | Returns the list of the subnets or one subnet |
public updateLbHealthMonitor ( string $healthMonitorId, array | object $options ) : object | ||
$healthMonitorId | string | The Id of the LBaaS health monitor to update |
$options | array | object | Raw options object (It will be json_encoded and passed as is.) |
Результат | object | Returns LBaaS health monitor object on success or throws an exception otherwise |
public updateLbMember ( string $memberId, array | object $options ) : object | ||
$memberId | string | The Id of the LBaaS member to update |
$options | array | object | Raw options object (It will be json_encoded and passed as is.) |
Результат | object | Returns LBaaS member object on success or throws an exception otherwise |
public updateNetwork ( string $networkId, string $name = null, boolean $adminStateUp = null ) : object | ||
$networkId | string | The ID of the network to update. |
$name | string | optional A string specifying a symbolic name for the network, which is not required to be unique |
$adminStateUp | boolean | optional The administrative status of the network |
Результат | object | Returns detailed information for the updated network |