Classes | |
class | BackendServiceProtocol |
class | GcpResource |
class | HealthCheckProtocol |
class | ZonalGcpResource |
Static Public Attributes | |
frozen | |
Private Member Functions | |
bool | _delete_resource (self, discovery.Resource collection, str resource_type, str resource_name) |
def | _execute (self, request, *test_success_fn=None, timeout_sec=_WAIT_FOR_OPERATION_SEC) |
bool | _exists_resource (self, discovery.Resource collection, str filter) |
'GcpResource' | _get_resource (self, discovery.Resource collection, **kwargs) |
'GcpResource' | _insert_resource (self, discovery.Resource collection, Dict[str, Any] body) |
def | _list_resource (self, discovery.Resource collection) |
def | _patch_resource (self, collection, body, **kwargs) |
Static Private Member Functions | |
def | _network_endpoint_group_not_ready (neg) |
def | _operation_status_done (operation) |
Static Private Attributes | |
int | _WAIT_FOR_BACKEND_SEC = 60 * 10 |
int | _WAIT_FOR_OPERATION_SEC = 60 * 10 |
Additional Inherited Members | |
![]() | |
def | wait_for_operation (operation_request, test_success_fn, timeout_sec=_WAIT_FOR_OPERATION_SEC, wait_sec=_WAIT_FIXED_SEC) |
Definition at line 29 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.__init__ | ( | self, | |
gcp.api.GcpApiManager | api_manager, | ||
str | project, | ||
str | version = 'v1' |
||
) |
Definition at line 43 of file compute.py.
|
private |
Definition at line 406 of file compute.py.
|
private |
Definition at line 426 of file compute.py.
|
private |
Definition at line 379 of file compute.py.
|
private |
Definition at line 372 of file compute.py.
|
private |
Definition at line 389 of file compute.py.
|
private |
Definition at line 402 of file compute.py.
|
staticprivate |
Definition at line 290 of file compute.py.
|
staticprivate |
Definition at line 423 of file compute.py.
|
private |
Definition at line 396 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.backend_service_patch_backends | ( | self, | |
backend_service, | |||
backends, | |||
Optional[int] | max_rate_per_endpoint = None |
||
) |
Definition at line 160 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.backend_service_remove_all_backends | ( | self, | |
backend_service | |||
) |
Definition at line 177 of file compute.py.
'GcpResource' framework.infrastructure.gcp.compute.ComputeV1.create_backend_service_traffic_director | ( | self, | |
str | name, | ||
'GcpResource' | health_check, | ||
Optional[str] | affinity_header = None , |
||
Optional[BackendServiceProtocol] | protocol = None , |
||
Optional[int] | subset_size = None , |
||
Optional[List[dict]] | locality_lb_policies = None |
||
) |
Definition at line 117 of file compute.py.
Optional['GcpResource'] framework.infrastructure.gcp.compute.ComputeV1.create_firewall_rule | ( | self, | |
str | name, | ||
str | network_url, | ||
List[str] | source_ranges, | ||
List[str] | ports | ||
) |
Definition at line 89 of file compute.py.
'GcpResource' framework.infrastructure.gcp.compute.ComputeV1.create_forwarding_rule | ( | self, | |
str | name, | ||
int | src_port, | ||
'GcpResource' | target_proxy, | ||
str | network_url, | ||
*str | ip_address = '0.0.0.0' |
||
) |
Definition at line 255 of file compute.py.
'GcpResource' framework.infrastructure.gcp.compute.ComputeV1.create_health_check | ( | self, | |
str | name, | ||
HealthCheckProtocol | protocol, | ||
*Optional[int] | port = None |
||
) |
Definition at line 57 of file compute.py.
'GcpResource' framework.infrastructure.gcp.compute.ComputeV1.create_target_grpc_proxy | ( | self, | |
str | name, | ||
'GcpResource' | url_map, | ||
bool | validate_for_proxyless = True |
||
) |
Definition at line 224 of file compute.py.
'GcpResource' framework.infrastructure.gcp.compute.ComputeV1.create_target_http_proxy | ( | self, | |
str | name, | ||
'GcpResource' | url_map | ||
) |
Definition at line 241 of file compute.py.
'GcpResource' framework.infrastructure.gcp.compute.ComputeV1.create_url_map | ( | self, | |
str | name, | ||
str | matcher_name, | ||
src_hosts, | |||
'GcpResource' | dst_default_backend_service, | ||
Optional['GcpResource'] | dst_host_rule_match_backend_service = None |
||
) |
Definition at line 186 of file compute.py.
'GcpResource' framework.infrastructure.gcp.compute.ComputeV1.create_url_map_with_content | ( | self, | |
Any | url_map_body | ||
) |
Definition at line 212 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.delete_backend_service | ( | self, | |
name | |||
) |
Definition at line 182 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.delete_firewall_rule | ( | self, | |
name | |||
) |
Definition at line 114 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.delete_forwarding_rule | ( | self, | |
name | |||
) |
Definition at line 285 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.delete_health_check | ( | self, | |
name | |||
) |
Definition at line 86 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.delete_target_grpc_proxy | ( | self, | |
name | |||
) |
Definition at line 237 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.delete_target_http_proxy | ( | self, | |
name | |||
) |
Definition at line 251 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.delete_url_map | ( | self, | |
name | |||
) |
Definition at line 221 of file compute.py.
bool framework.infrastructure.gcp.compute.ComputeV1.exists_forwarding_rule | ( | self, | |
src_port | |||
) |
Definition at line 274 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.get_backend_service_backend_health | ( | self, | |
backend_service, | |||
backend | |||
) |
Definition at line 364 of file compute.py.
'GcpResource' framework.infrastructure.gcp.compute.ComputeV1.get_backend_service_traffic_director | ( | self, | |
str | name | ||
) |
Definition at line 150 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.get_network_endpoint_group | ( | self, | |
name, | |||
zone | |||
) |
Definition at line 317 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.list_health_check | ( | self | ) |
Definition at line 83 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.patch_backend_service | ( | self, | |
backend_service, | |||
body, | |||
** | kwargs | ||
) |
Definition at line 154 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.patch_url_map | ( | self, | |
'GcpResource' | url_map, | ||
body, | |||
** | kwargs | ||
) |
Definition at line 215 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.wait_for_backends_healthy_status | ( | self, | |
backend_service, | |||
backends, | |||
timeout_sec = _WAIT_FOR_BACKEND_SEC , |
|||
wait_sec = 4 |
|||
) |
Definition at line 324 of file compute.py.
def framework.infrastructure.gcp.compute.ComputeV1.wait_for_network_endpoint_group | ( | self, | |
name, | |||
zone | |||
) |
Definition at line 293 of file compute.py.
|
staticprivate |
Definition at line 31 of file compute.py.
|
staticprivate |
Definition at line 32 of file compute.py.
|
static |
Definition at line 34 of file compute.py.