waldur-api-client 7.7.5__py3-none-any.whl → 7.7.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of waldur-api-client might be problematic. Click here for more details.
- waldur_api_client/api/booking_resources/booking_resources_count.py +34 -11
- waldur_api_client/api/booking_resources/booking_resources_list.py +34 -11
- waldur_api_client/api/customers/customers_project_metadata_compliance_details_list.py +189 -0
- waldur_api_client/api/customers/customers_project_metadata_compliance_overview_list.py +189 -0
- waldur_api_client/api/customers/customers_project_metadata_compliance_projects_list.py +187 -0
- waldur_api_client/api/customers/customers_project_metadata_question_answers_list.py +187 -0
- waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_count.py +34 -11
- waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_list.py +34 -11
- waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_count.py +34 -11
- waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_list.py +34 -11
- waldur_api_client/api/marketplace_offering_terms_of_service/__init__.py +1 -0
- waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_count.py +274 -0
- waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_create.py +152 -0
- waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_destroy.py +89 -0
- waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_list.py +277 -0
- waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_partial_update.py +164 -0
- waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_retrieve.py +142 -0
- waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_update.py +164 -0
- waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_count.py +34 -11
- waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_list.py +34 -11
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_retrieve.py +154 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_review_retrieve.py +154 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_completion_review_status_retrieve.py +154 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_completion_status_retrieve.py +154 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_count.py +34 -11
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_list.py +34 -11
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_submit_answers.py +179 -0
- waldur_api_client/api/marketplace_orders/marketplace_orders_count.py +19 -0
- waldur_api_client/api/marketplace_orders/marketplace_orders_list.py +19 -0
- waldur_api_client/api/marketplace_plans/marketplace_plans_count.py +19 -0
- waldur_api_client/api/marketplace_plans/marketplace_plans_list.py +19 -0
- waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_count.py +19 -0
- waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_list.py +19 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +34 -11
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +34 -11
- waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +34 -11
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +34 -11
- waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_list.py +23 -0
- waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_retrieve.py +30 -1
- waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_count.py +34 -11
- waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_list.py +34 -11
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_project_service_accounts_list.py +276 -0
- waldur_api_client/api/marketplace_service_providers/service_provider_compliance_overview.py +189 -0
- waldur_api_client/api/marketplace_service_providers/service_provider_offering_users_compliance.py +222 -0
- waldur_api_client/api/marketplace_user_offering_consents/__init__.py +1 -0
- waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_count.py +307 -0
- waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_create.py +152 -0
- waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_destroy.py +89 -0
- waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_list.py +310 -0
- waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_partial_update.py +164 -0
- waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_retrieve.py +142 -0
- waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_revoke.py +146 -0
- waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_update.py +164 -0
- waldur_api_client/api/public_maintenance_announcements/__init__.py +1 -0
- waldur_api_client/api/public_maintenance_announcements/public_maintenance_announcements_count.py +325 -0
- waldur_api_client/api/public_maintenance_announcements/public_maintenance_announcements_list.py +328 -0
- waldur_api_client/api/public_maintenance_announcements/public_maintenance_announcements_retrieve.py +144 -0
- waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_order_status_retrieve.py +145 -0
- waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_status_retrieve.py +147 -0
- waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_team_status_list.py +188 -0
- waldur_api_client/models/__init__.py +118 -4
- waldur_api_client/models/admin_announcement.py +109 -1
- waldur_api_client/models/admin_announcement_maintenance_affected_offerings_item.py +103 -0
- waldur_api_client/models/admin_announcements_list_field_item.py +8 -0
- waldur_api_client/models/admin_announcements_retrieve_field_item.py +8 -0
- waldur_api_client/models/azure_sql_server_create_order_attributes.py +83 -0
- waldur_api_client/models/azure_virtual_machine_create_order_attributes.py +99 -0
- waldur_api_client/models/basic_user.py +30 -21
- waldur_api_client/models/booking_offerings_list_field_item.py +1 -2
- waldur_api_client/models/booking_offerings_retrieve_field_item.py +1 -2
- waldur_api_client/models/booking_resource.py +10 -9
- waldur_api_client/models/booking_resources_list_field_item.py +1 -1
- waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -1
- waldur_api_client/models/checklist_info.py +76 -0
- waldur_api_client/models/compliance_overview.py +91 -0
- waldur_api_client/models/create_router.py +1 -1
- waldur_api_client/models/create_router_request.py +1 -1
- waldur_api_client/models/customer.py +51 -0
- waldur_api_client/models/customers_list_field_item.py +2 -0
- waldur_api_client/models/customers_retrieve_field_item.py +2 -0
- waldur_api_client/models/fingerprint.py +19 -17
- waldur_api_client/models/generic_order_attributes.py +69 -0
- waldur_api_client/models/google_auth_authorize_retrieve_field_item.py +1 -0
- waldur_api_client/models/google_auth_list_field_item.py +1 -0
- waldur_api_client/models/google_auth_retrieve_field_item.py +1 -0
- waldur_api_client/models/google_credentials.py +9 -0
- waldur_api_client/models/group_invitation.py +24 -0
- waldur_api_client/models/group_invitation_request.py +10 -0
- waldur_api_client/models/instance_flavor_change_request.py +1 -1
- waldur_api_client/models/maintenance_announcement.py +8 -0
- waldur_api_client/models/marketplace_managed_rancher_create_order_attributes.py +144 -0
- waldur_api_client/models/marketplace_offering_terms_of_service_count_o_item.py +13 -0
- waldur_api_client/models/marketplace_offering_terms_of_service_list_o_item.py +13 -0
- waldur_api_client/models/marketplace_orders_list_field_item.py +1 -1
- waldur_api_client/models/marketplace_orders_retrieve_field_item.py +1 -1
- waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +1 -2
- waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +1 -2
- waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +1 -2
- waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +1 -2
- waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +1 -2
- waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +1 -2
- waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -1
- waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -1
- waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -1
- waldur_api_client/models/marketplace_public_offerings_list_field_item.py +1 -2
- waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +1 -2
- waldur_api_client/models/marketplace_rancher_create_order_attributes.py +145 -0
- waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -1
- waldur_api_client/models/marketplace_resources_list_field_item.py +1 -1
- waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -1
- waldur_api_client/models/marketplace_robot_accounts_list_field_item.py +32 -0
- waldur_api_client/models/marketplace_robot_accounts_retrieve_field_item.py +32 -0
- waldur_api_client/models/marketplace_service_providers_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_service_providers_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_user_offering_consents_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_user_offering_consents_list_o_item.py +15 -0
- waldur_api_client/models/offering.py +9 -18
- waldur_api_client/models/offering_create.py +8 -18
- waldur_api_client/models/offering_create_request.py +0 -18
- waldur_api_client/models/offering_overview_update_request.py +0 -18
- waldur_api_client/models/offering_terms_of_service.py +142 -0
- waldur_api_client/models/offering_terms_of_service_create.py +107 -0
- waldur_api_client/models/offering_terms_of_service_create_request.py +107 -0
- waldur_api_client/models/offering_terms_of_service_request.py +96 -0
- waldur_api_client/models/open_stack_backend_instance.py +2 -2
- waldur_api_client/models/open_stack_backend_volumes.py +3 -3
- waldur_api_client/models/open_stack_backup.py +1 -1
- waldur_api_client/models/open_stack_backup_restoration.py +8 -5
- waldur_api_client/models/open_stack_backup_restoration_request.py +28 -3
- waldur_api_client/models/open_stack_fixed_ip.py +2 -2
- waldur_api_client/models/open_stack_fixed_ip_request.py +2 -2
- waldur_api_client/models/open_stack_floating_ip.py +5 -4
- waldur_api_client/models/open_stack_instance.py +17 -15
- waldur_api_client/models/open_stack_instance_allowed_address_pairs_update_request.py +3 -2
- waldur_api_client/models/open_stack_instance_availability_zone.py +1 -1
- waldur_api_client/models/open_stack_instance_create_order_attributes.py +283 -0
- waldur_api_client/models/open_stack_instance_request.py +4 -3
- waldur_api_client/models/open_stack_instance_security_groups_update_request.py +1 -1
- waldur_api_client/models/open_stack_nested_floating_ip.py +3 -3
- waldur_api_client/models/open_stack_nested_instance.py +1 -1
- waldur_api_client/models/open_stack_nested_port.py +5 -5
- waldur_api_client/models/open_stack_nested_port_request.py +1 -1
- waldur_api_client/models/open_stack_nested_security_group.py +16 -16
- waldur_api_client/models/open_stack_nested_security_group_request.py +59 -0
- waldur_api_client/models/{nested_security_group_rule_request.py → open_stack_nested_security_group_rules_item.py} +73 -63
- waldur_api_client/models/open_stack_nested_sub_net.py +4 -4
- waldur_api_client/models/open_stack_nested_sub_net_request.py +4 -4
- waldur_api_client/models/open_stack_nested_volume.py +3 -3
- waldur_api_client/models/open_stack_nested_volume_request.py +3 -3
- waldur_api_client/models/open_stack_network.py +23 -3
- waldur_api_client/models/open_stack_port.py +10 -9
- waldur_api_client/models/open_stack_port_ip_update_request.py +2 -2
- waldur_api_client/models/open_stack_port_request.py +3 -3
- waldur_api_client/models/open_stack_router.py +2 -2
- waldur_api_client/models/open_stack_router_interface_request.py +4 -2
- waldur_api_client/models/open_stack_security_group_rule_create.py +6 -5
- waldur_api_client/models/open_stack_security_group_rule_create_request.py +6 -5
- waldur_api_client/models/open_stack_security_group_rule_update_request.py +10 -9
- waldur_api_client/models/open_stack_server_group.py +2 -1
- waldur_api_client/models/open_stack_server_group_request.py +2 -1
- waldur_api_client/models/open_stack_snapshot.py +2 -2
- waldur_api_client/models/open_stack_snapshot_restoration.py +1 -1
- waldur_api_client/models/open_stack_sub_net.py +5 -5
- waldur_api_client/models/open_stack_sub_net_request.py +2 -2
- waldur_api_client/models/open_stack_tenant.py +41 -3
- waldur_api_client/models/open_stack_tenant_create_order_attributes.py +130 -0
- waldur_api_client/models/open_stack_volume.py +9 -9
- waldur_api_client/models/open_stack_volume_create_order_attributes.py +155 -0
- waldur_api_client/models/open_stack_volume_request.py +1 -1
- waldur_api_client/models/openstack_networks_list_field_item.py +1 -0
- waldur_api_client/models/openstack_networks_retrieve_field_item.py +1 -0
- waldur_api_client/models/openstack_tenants_list_field_item.py +3 -0
- waldur_api_client/models/openstack_tenants_retrieve_field_item.py +3 -0
- waldur_api_client/models/order_create.py +0 -8
- waldur_api_client/models/order_create_request.py +181 -4
- waldur_api_client/models/order_details.py +0 -9
- waldur_api_client/models/patched_offering_terms_of_service_request.py +96 -0
- waldur_api_client/models/patched_open_stack_instance_request.py +4 -3
- waldur_api_client/models/patched_open_stack_server_group_request.py +2 -1
- waldur_api_client/models/patched_open_stack_sub_net_request.py +2 -2
- waldur_api_client/models/patched_open_stack_volume_request.py +1 -1
- waldur_api_client/models/patched_user_offering_consent_request.py +59 -0
- waldur_api_client/models/permission_project.py +147 -0
- waldur_api_client/models/permission_request.py +2 -2
- waldur_api_client/models/project_answer.py +122 -0
- waldur_api_client/models/project_detail.py +133 -0
- waldur_api_client/models/project_details_response.py +115 -0
- waldur_api_client/models/provider_offering_details.py +9 -18
- waldur_api_client/models/provider_offering_details_request.py +0 -18
- waldur_api_client/models/public_maintenance_announcement.py +217 -0
- waldur_api_client/models/public_maintenance_announcement_state_enum.py +10 -0
- waldur_api_client/models/public_maintenance_announcements_count_o_item.py +15 -0
- waldur_api_client/models/public_maintenance_announcements_count_state_item.py +12 -0
- waldur_api_client/models/public_maintenance_announcements_list_o_item.py +15 -0
- waldur_api_client/models/public_maintenance_announcements_list_state_item.py +12 -0
- waldur_api_client/models/public_offering_details.py +9 -18
- waldur_api_client/models/question_answer.py +176 -0
- waldur_api_client/models/question_answer_project_answers_item.py +44 -0
- waldur_api_client/models/question_answer_question_options_item.py +44 -0
- waldur_api_client/models/rancher_cluster_security_group_rule.py +5 -4
- waldur_api_client/models/rancher_cluster_security_group_rule_request.py +5 -4
- waldur_api_client/models/remote_project_update_request.py +2 -2
- waldur_api_client/models/remote_resource_order.py +88 -0
- waldur_api_client/models/remote_resource_order_remote_state_enum.py +15 -0
- waldur_api_client/models/remote_resource_sync_status.py +123 -0
- waldur_api_client/models/remote_resource_sync_status_remote_state_enum.py +13 -0
- waldur_api_client/models/remote_resource_team_member.py +85 -0
- waldur_api_client/models/resource.py +10 -9
- waldur_api_client/models/robot_account_details.py +226 -144
- waldur_api_client/models/service_provider.py +9 -0
- waldur_api_client/models/service_provider_compliance_overview.py +122 -0
- waldur_api_client/models/service_provider_offering_user_compliance.py +179 -0
- waldur_api_client/models/service_provider_offering_user_compliance_state_enum.py +17 -0
- waldur_api_client/models/slurm_invoices_slurm_package_create_order_attributes.py +75 -0
- waldur_api_client/models/sync_status_enum.py +10 -0
- waldur_api_client/models/user_offering_consent.py +202 -0
- waldur_api_client/models/user_offering_consent_create.py +60 -0
- waldur_api_client/models/user_offering_consent_create_request.py +60 -0
- waldur_api_client/models/user_offering_consent_request.py +59 -0
- waldur_api_client/models/v_mware_virtual_machine_create_order_attributes.py +228 -0
- waldur_api_client/models/v_mware_virtual_machine_create_order_attributes_guest_os_type_1.py +155 -0
- waldur_api_client/models/v_mware_virtual_machine_create_order_attributes_guest_os_type_2_type_1.py +155 -0
- waldur_api_client/models/v_mware_virtual_machine_create_order_attributes_guest_os_type_3_type_1.py +155 -0
- waldur_api_client/models/volume_attach_request.py +1 -1
- {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.7.dist-info}/METADATA +1 -1
- {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.7.dist-info}/RECORD +228 -138
- waldur_api_client/models/nested_security_group_rule.py +0 -222
- {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.7.dist-info}/LICENSE +0 -0
- {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.7.dist-info}/WHEEL +0 -0
|
@@ -4,53 +4,45 @@ from typing import Any, TypeVar, Union, cast
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
|
|
7
|
-
from ..models.blank_enum import BlankEnum
|
|
8
|
-
from ..models.direction_enum import DirectionEnum
|
|
9
|
-
from ..models.ethertype_enum import EthertypeEnum
|
|
10
|
-
from ..models.protocol_enum import ProtocolEnum
|
|
11
7
|
from ..types import UNSET, Unset
|
|
12
8
|
|
|
13
|
-
T = TypeVar("T", bound="
|
|
9
|
+
T = TypeVar("T", bound="OpenStackNestedSecurityGroupRulesItem")
|
|
14
10
|
|
|
15
11
|
|
|
16
12
|
@_attrs_define
|
|
17
|
-
class
|
|
13
|
+
class OpenStackNestedSecurityGroupRulesItem:
|
|
18
14
|
"""
|
|
19
15
|
Attributes:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
protocol (Union[BlankEnum, ProtocolEnum, Unset]):
|
|
16
|
+
id (Union[Unset, int]):
|
|
17
|
+
protocol (Union[None, Unset, str]):
|
|
23
18
|
from_port (Union[None, Unset, int]):
|
|
24
19
|
to_port (Union[None, Unset, int]):
|
|
25
20
|
cidr (Union[None, Unset, str]):
|
|
26
|
-
|
|
21
|
+
remote_group (Union[None, Unset, str]):
|
|
22
|
+
direction (Union[Unset, str]):
|
|
23
|
+
ethertype (Union[Unset, str]):
|
|
24
|
+
description (Union[None, Unset, str]):
|
|
27
25
|
"""
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
protocol: Union[BlankEnum, ProtocolEnum, Unset] = UNSET
|
|
27
|
+
id: Union[Unset, int] = UNSET
|
|
28
|
+
protocol: Union[None, Unset, str] = UNSET
|
|
32
29
|
from_port: Union[None, Unset, int] = UNSET
|
|
33
30
|
to_port: Union[None, Unset, int] = UNSET
|
|
34
31
|
cidr: Union[None, Unset, str] = UNSET
|
|
35
|
-
|
|
32
|
+
remote_group: Union[None, Unset, str] = UNSET
|
|
33
|
+
direction: Union[Unset, str] = UNSET
|
|
34
|
+
ethertype: Union[Unset, str] = UNSET
|
|
35
|
+
description: Union[None, Unset, str] = UNSET
|
|
36
36
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
37
37
|
|
|
38
38
|
def to_dict(self) -> dict[str, Any]:
|
|
39
|
-
|
|
40
|
-
if not isinstance(self.ethertype, Unset):
|
|
41
|
-
ethertype = self.ethertype.value
|
|
39
|
+
id = self.id
|
|
42
40
|
|
|
43
|
-
|
|
44
|
-
if not isinstance(self.direction, Unset):
|
|
45
|
-
direction = self.direction.value
|
|
46
|
-
|
|
47
|
-
protocol: Union[Unset, str]
|
|
41
|
+
protocol: Union[None, Unset, str]
|
|
48
42
|
if isinstance(self.protocol, Unset):
|
|
49
43
|
protocol = UNSET
|
|
50
|
-
elif isinstance(self.protocol, ProtocolEnum):
|
|
51
|
-
protocol = self.protocol.value
|
|
52
44
|
else:
|
|
53
|
-
protocol = self.protocol
|
|
45
|
+
protocol = self.protocol
|
|
54
46
|
|
|
55
47
|
from_port: Union[None, Unset, int]
|
|
56
48
|
if isinstance(self.from_port, Unset):
|
|
@@ -70,15 +62,27 @@ class NestedSecurityGroupRuleRequest:
|
|
|
70
62
|
else:
|
|
71
63
|
cidr = self.cidr
|
|
72
64
|
|
|
73
|
-
|
|
65
|
+
remote_group: Union[None, Unset, str]
|
|
66
|
+
if isinstance(self.remote_group, Unset):
|
|
67
|
+
remote_group = UNSET
|
|
68
|
+
else:
|
|
69
|
+
remote_group = self.remote_group
|
|
70
|
+
|
|
71
|
+
direction = self.direction
|
|
72
|
+
|
|
73
|
+
ethertype = self.ethertype
|
|
74
|
+
|
|
75
|
+
description: Union[None, Unset, str]
|
|
76
|
+
if isinstance(self.description, Unset):
|
|
77
|
+
description = UNSET
|
|
78
|
+
else:
|
|
79
|
+
description = self.description
|
|
74
80
|
|
|
75
81
|
field_dict: dict[str, Any] = {}
|
|
76
82
|
field_dict.update(self.additional_properties)
|
|
77
83
|
field_dict.update({})
|
|
78
|
-
if
|
|
79
|
-
field_dict["
|
|
80
|
-
if direction is not UNSET:
|
|
81
|
-
field_dict["direction"] = direction
|
|
84
|
+
if id is not UNSET:
|
|
85
|
+
field_dict["id"] = id
|
|
82
86
|
if protocol is not UNSET:
|
|
83
87
|
field_dict["protocol"] = protocol
|
|
84
88
|
if from_port is not UNSET:
|
|
@@ -87,6 +91,12 @@ class NestedSecurityGroupRuleRequest:
|
|
|
87
91
|
field_dict["to_port"] = to_port
|
|
88
92
|
if cidr is not UNSET:
|
|
89
93
|
field_dict["cidr"] = cidr
|
|
94
|
+
if remote_group is not UNSET:
|
|
95
|
+
field_dict["remote_group"] = remote_group
|
|
96
|
+
if direction is not UNSET:
|
|
97
|
+
field_dict["direction"] = direction
|
|
98
|
+
if ethertype is not UNSET:
|
|
99
|
+
field_dict["ethertype"] = ethertype
|
|
90
100
|
if description is not UNSET:
|
|
91
101
|
field_dict["description"] = description
|
|
92
102
|
|
|
@@ -95,36 +105,14 @@ class NestedSecurityGroupRuleRequest:
|
|
|
95
105
|
@classmethod
|
|
96
106
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
97
107
|
d = dict(src_dict)
|
|
98
|
-
|
|
99
|
-
ethertype: Union[Unset, EthertypeEnum]
|
|
100
|
-
if isinstance(_ethertype, Unset):
|
|
101
|
-
ethertype = UNSET
|
|
102
|
-
else:
|
|
103
|
-
ethertype = EthertypeEnum(_ethertype)
|
|
104
|
-
|
|
105
|
-
_direction = d.pop("direction", UNSET)
|
|
106
|
-
direction: Union[Unset, DirectionEnum]
|
|
107
|
-
if isinstance(_direction, Unset):
|
|
108
|
-
direction = UNSET
|
|
109
|
-
else:
|
|
110
|
-
direction = DirectionEnum(_direction)
|
|
108
|
+
id = d.pop("id", UNSET)
|
|
111
109
|
|
|
112
|
-
def _parse_protocol(data: object) -> Union[
|
|
110
|
+
def _parse_protocol(data: object) -> Union[None, Unset, str]:
|
|
111
|
+
if data is None:
|
|
112
|
+
return data
|
|
113
113
|
if isinstance(data, Unset):
|
|
114
114
|
return data
|
|
115
|
-
|
|
116
|
-
if not isinstance(data, str):
|
|
117
|
-
raise TypeError()
|
|
118
|
-
protocol_type_0 = ProtocolEnum(data)
|
|
119
|
-
|
|
120
|
-
return protocol_type_0
|
|
121
|
-
except: # noqa: E722
|
|
122
|
-
pass
|
|
123
|
-
if not isinstance(data, str):
|
|
124
|
-
raise TypeError()
|
|
125
|
-
protocol_type_1 = BlankEnum(data)
|
|
126
|
-
|
|
127
|
-
return protocol_type_1
|
|
115
|
+
return cast(Union[None, Unset, str], data)
|
|
128
116
|
|
|
129
117
|
protocol = _parse_protocol(d.pop("protocol", UNSET))
|
|
130
118
|
|
|
@@ -155,20 +143,42 @@ class NestedSecurityGroupRuleRequest:
|
|
|
155
143
|
|
|
156
144
|
cidr = _parse_cidr(d.pop("cidr", UNSET))
|
|
157
145
|
|
|
158
|
-
|
|
146
|
+
def _parse_remote_group(data: object) -> Union[None, Unset, str]:
|
|
147
|
+
if data is None:
|
|
148
|
+
return data
|
|
149
|
+
if isinstance(data, Unset):
|
|
150
|
+
return data
|
|
151
|
+
return cast(Union[None, Unset, str], data)
|
|
152
|
+
|
|
153
|
+
remote_group = _parse_remote_group(d.pop("remote_group", UNSET))
|
|
159
154
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
155
|
+
direction = d.pop("direction", UNSET)
|
|
156
|
+
|
|
157
|
+
ethertype = d.pop("ethertype", UNSET)
|
|
158
|
+
|
|
159
|
+
def _parse_description(data: object) -> Union[None, Unset, str]:
|
|
160
|
+
if data is None:
|
|
161
|
+
return data
|
|
162
|
+
if isinstance(data, Unset):
|
|
163
|
+
return data
|
|
164
|
+
return cast(Union[None, Unset, str], data)
|
|
165
|
+
|
|
166
|
+
description = _parse_description(d.pop("description", UNSET))
|
|
167
|
+
|
|
168
|
+
open_stack_nested_security_group_rules_item = cls(
|
|
169
|
+
id=id,
|
|
163
170
|
protocol=protocol,
|
|
164
171
|
from_port=from_port,
|
|
165
172
|
to_port=to_port,
|
|
166
173
|
cidr=cidr,
|
|
174
|
+
remote_group=remote_group,
|
|
175
|
+
direction=direction,
|
|
176
|
+
ethertype=ethertype,
|
|
167
177
|
description=description,
|
|
168
178
|
)
|
|
169
179
|
|
|
170
|
-
|
|
171
|
-
return
|
|
180
|
+
open_stack_nested_security_group_rules_item.additional_properties = d
|
|
181
|
+
return open_stack_nested_security_group_rules_item
|
|
172
182
|
|
|
173
183
|
@property
|
|
174
184
|
def additional_keys(self) -> list[str]:
|
|
@@ -21,11 +21,11 @@ class OpenStackNestedSubNet:
|
|
|
21
21
|
uuid (Union[Unset, UUID]):
|
|
22
22
|
name (Union[Unset, str]):
|
|
23
23
|
description (Union[Unset, str]):
|
|
24
|
-
cidr (Union[Unset, str]):
|
|
25
|
-
gateway_ip (Union[None, Unset, str]):
|
|
24
|
+
cidr (Union[Unset, str]): IPv4 network address in CIDR format (e.g. 192.168.0.0/24)
|
|
25
|
+
gateway_ip (Union[None, Unset, str]): IP address of the gateway for this subnet
|
|
26
26
|
allocation_pools (Union[Unset, list['OpenStackSubNetAllocationPool']]):
|
|
27
|
-
ip_version (Union[Unset, int]):
|
|
28
|
-
enable_dhcp (Union[Unset, bool]):
|
|
27
|
+
ip_version (Union[Unset, int]): IP protocol version (4 or 6)
|
|
28
|
+
enable_dhcp (Union[Unset, bool]): If True, DHCP service will be enabled on this subnet
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
31
|
uuid: Union[Unset, UUID] = UNSET
|
|
@@ -15,10 +15,10 @@ class OpenStackNestedSubNetRequest:
|
|
|
15
15
|
Attributes:
|
|
16
16
|
name (str):
|
|
17
17
|
description (Union[Unset, str]):
|
|
18
|
-
cidr (Union[Unset, str]):
|
|
19
|
-
gateway_ip (Union[None, Unset, str]):
|
|
20
|
-
ip_version (Union[Unset, int]):
|
|
21
|
-
enable_dhcp (Union[Unset, bool]):
|
|
18
|
+
cidr (Union[Unset, str]): IPv4 network address in CIDR format (e.g. 192.168.0.0/24)
|
|
19
|
+
gateway_ip (Union[None, Unset, str]): IP address of the gateway for this subnet
|
|
20
|
+
ip_version (Union[Unset, int]): IP protocol version (4 or 6)
|
|
21
|
+
enable_dhcp (Union[Unset, bool]): If True, DHCP service will be enabled on this subnet
|
|
22
22
|
"""
|
|
23
23
|
|
|
24
24
|
name: str
|
|
@@ -17,13 +17,13 @@ class OpenStackNestedVolume:
|
|
|
17
17
|
url (Union[Unset, str]):
|
|
18
18
|
uuid (Union[Unset, UUID]):
|
|
19
19
|
name (Union[Unset, str]):
|
|
20
|
-
image_name (Union[Unset, str]):
|
|
20
|
+
image_name (Union[Unset, str]): Name of the image this volume was created from
|
|
21
21
|
state (Union[Unset, str]):
|
|
22
|
-
bootable (Union[Unset, bool]):
|
|
22
|
+
bootable (Union[Unset, bool]): Indicates if this volume can be used to boot an instance
|
|
23
23
|
size (Union[Unset, int]): Size in MiB
|
|
24
24
|
device (Union[Unset, str]): Name of volume as instance device e.g. /dev/vdb.
|
|
25
25
|
resource_type (Union[Unset, str]):
|
|
26
|
-
type_ (Union[None, Unset, str]):
|
|
26
|
+
type_ (Union[None, Unset, str]): Type of the volume (e.g. SSD, HDD)
|
|
27
27
|
type_name (Union[Unset, str]):
|
|
28
28
|
marketplace_resource_uuid (Union[None, Unset, str]):
|
|
29
29
|
"""
|
|
@@ -14,10 +14,10 @@ class OpenStackNestedVolumeRequest:
|
|
|
14
14
|
"""
|
|
15
15
|
Attributes:
|
|
16
16
|
size (int): Size in MiB
|
|
17
|
-
image_name (Union[Unset, str]):
|
|
18
|
-
bootable (Union[Unset, bool]):
|
|
17
|
+
image_name (Union[Unset, str]): Name of the image this volume was created from
|
|
18
|
+
bootable (Union[Unset, bool]): Indicates if this volume can be used to boot an instance
|
|
19
19
|
device (Union[Unset, str]): Name of volume as instance device e.g. /dev/vdb.
|
|
20
|
-
type_ (Union[None, Unset, str]):
|
|
20
|
+
type_ (Union[None, Unset, str]): Type of the volume (e.g. SSD, HDD)
|
|
21
21
|
"""
|
|
22
22
|
|
|
23
23
|
size: int
|
|
@@ -49,11 +49,12 @@ class OpenStackNetwork:
|
|
|
49
49
|
modified (Union[Unset, datetime.datetime]):
|
|
50
50
|
backend_id (Union[Unset, str]):
|
|
51
51
|
access_url (Union[None, Unset, str]):
|
|
52
|
-
tenant (Union[Unset, str]):
|
|
52
|
+
tenant (Union[Unset, str]): OpenStack tenant this network belongs to
|
|
53
53
|
tenant_name (Union[Unset, str]):
|
|
54
54
|
tenant_uuid (Union[Unset, UUID]):
|
|
55
|
-
is_external (Union[Unset, bool]):
|
|
56
|
-
type_ (Union[Unset, str]):
|
|
55
|
+
is_external (Union[Unset, bool]): Defines whether this network is external (public) or internal (private)
|
|
56
|
+
type_ (Union[Unset, str]): Network type, such as local, flat, vlan, vxlan, or gre
|
|
57
|
+
segmentation_id (Union[None, Unset, int]): VLAN ID for VLAN networks or tunnel ID for VXLAN/GRE networks
|
|
57
58
|
subnets (Union[Unset, list['OpenStackNestedSubNet']]):
|
|
58
59
|
mtu (Union[None, Unset, int]): The maximum transmission unit (MTU) value to address fragmentation.
|
|
59
60
|
rbac_policies (Union[Unset, list['NetworkRBACPolicy']]):
|
|
@@ -99,6 +100,7 @@ class OpenStackNetwork:
|
|
|
99
100
|
tenant_uuid: Union[Unset, UUID] = UNSET
|
|
100
101
|
is_external: Union[Unset, bool] = UNSET
|
|
101
102
|
type_: Union[Unset, str] = UNSET
|
|
103
|
+
segmentation_id: Union[None, Unset, int] = UNSET
|
|
102
104
|
subnets: Union[Unset, list["OpenStackNestedSubNet"]] = UNSET
|
|
103
105
|
mtu: Union[None, Unset, int] = UNSET
|
|
104
106
|
rbac_policies: Union[Unset, list["NetworkRBACPolicy"]] = UNSET
|
|
@@ -197,6 +199,12 @@ class OpenStackNetwork:
|
|
|
197
199
|
|
|
198
200
|
type_ = self.type_
|
|
199
201
|
|
|
202
|
+
segmentation_id: Union[None, Unset, int]
|
|
203
|
+
if isinstance(self.segmentation_id, Unset):
|
|
204
|
+
segmentation_id = UNSET
|
|
205
|
+
else:
|
|
206
|
+
segmentation_id = self.segmentation_id
|
|
207
|
+
|
|
200
208
|
subnets: Union[Unset, list[dict[str, Any]]] = UNSET
|
|
201
209
|
if not isinstance(self.subnets, Unset):
|
|
202
210
|
subnets = []
|
|
@@ -342,6 +350,8 @@ class OpenStackNetwork:
|
|
|
342
350
|
field_dict["is_external"] = is_external
|
|
343
351
|
if type_ is not UNSET:
|
|
344
352
|
field_dict["type"] = type_
|
|
353
|
+
if segmentation_id is not UNSET:
|
|
354
|
+
field_dict["segmentation_id"] = segmentation_id
|
|
345
355
|
if subnets is not UNSET:
|
|
346
356
|
field_dict["subnets"] = subnets
|
|
347
357
|
if mtu is not UNSET:
|
|
@@ -480,6 +490,15 @@ class OpenStackNetwork:
|
|
|
480
490
|
|
|
481
491
|
type_ = d.pop("type", UNSET)
|
|
482
492
|
|
|
493
|
+
def _parse_segmentation_id(data: object) -> Union[None, Unset, int]:
|
|
494
|
+
if data is None:
|
|
495
|
+
return data
|
|
496
|
+
if isinstance(data, Unset):
|
|
497
|
+
return data
|
|
498
|
+
return cast(Union[None, Unset, int], data)
|
|
499
|
+
|
|
500
|
+
segmentation_id = _parse_segmentation_id(d.pop("segmentation_id", UNSET))
|
|
501
|
+
|
|
483
502
|
subnets = []
|
|
484
503
|
_subnets = d.pop("subnets", UNSET)
|
|
485
504
|
for subnets_item_data in _subnets or []:
|
|
@@ -637,6 +656,7 @@ class OpenStackNetwork:
|
|
|
637
656
|
tenant_uuid=tenant_uuid,
|
|
638
657
|
is_external=is_external,
|
|
639
658
|
type_=type_,
|
|
659
|
+
segmentation_id=segmentation_id,
|
|
640
660
|
subnets=subnets,
|
|
641
661
|
mtu=mtu,
|
|
642
662
|
rbac_policies=rbac_policies,
|
|
@@ -48,24 +48,25 @@ class OpenStackPort:
|
|
|
48
48
|
state (Union[Unset, CoreStates]):
|
|
49
49
|
created (Union[Unset, datetime.datetime]):
|
|
50
50
|
modified (Union[Unset, datetime.datetime]):
|
|
51
|
-
backend_id (Union[None, Unset, str]):
|
|
51
|
+
backend_id (Union[None, Unset, str]): Port ID in OpenStack
|
|
52
52
|
access_url (Union[None, Unset, str]):
|
|
53
53
|
fixed_ips (Union[Unset, list['OpenStackFixedIp']]):
|
|
54
|
-
mac_address (Union[Unset, str]):
|
|
54
|
+
mac_address (Union[Unset, str]): MAC address of the port
|
|
55
55
|
allowed_address_pairs (Union[Unset, list['OpenStackAllowedAddressPair']]):
|
|
56
|
-
tenant (Union[Unset, str]):
|
|
56
|
+
tenant (Union[Unset, str]): OpenStack tenant this port belongs to
|
|
57
57
|
tenant_name (Union[Unset, str]):
|
|
58
58
|
tenant_uuid (Union[Unset, UUID]):
|
|
59
|
-
network (Union[None, Unset, str]):
|
|
59
|
+
network (Union[None, Unset, str]): Network to which this port belongs
|
|
60
60
|
network_name (Union[Unset, str]):
|
|
61
61
|
network_uuid (Union[Unset, UUID]):
|
|
62
62
|
floating_ips (Union[Unset, list[str]]):
|
|
63
|
-
device_id (Union[None, Unset, str]):
|
|
64
|
-
device_owner (Union[None, Unset, str]):
|
|
65
|
-
port_security_enabled (Union[Unset, bool]):
|
|
63
|
+
device_id (Union[None, Unset, str]): ID of device (instance, router etc) to which this port is connected
|
|
64
|
+
device_owner (Union[None, Unset, str]): Entity that uses this port (e.g. network:router_interface)
|
|
65
|
+
port_security_enabled (Union[Unset, bool]): If True, security groups and rules will be applied to this port
|
|
66
66
|
security_groups (Union[Unset, list['OpenStackPortNestedSecurityGroup']]):
|
|
67
|
-
admin_state_up (Union[None, Unset, bool]):
|
|
68
|
-
|
|
67
|
+
admin_state_up (Union[None, Unset, bool]): Administrative state of the port. If down, port does not forward
|
|
68
|
+
packets
|
|
69
|
+
status (Union[None, Unset, str]): Port status in OpenStack (e.g. ACTIVE, DOWN)
|
|
69
70
|
marketplace_offering_uuid (Union[None, Unset, str]):
|
|
70
71
|
marketplace_offering_name (Union[None, Unset, str]):
|
|
71
72
|
marketplace_offering_plugin_options (Union['OpenStackPortMarketplaceOfferingPluginOptionsType0', None, Unset]):
|
|
@@ -11,8 +11,8 @@ T = TypeVar("T", bound="OpenStackPortIPUpdateRequest")
|
|
|
11
11
|
class OpenStackPortIPUpdateRequest:
|
|
12
12
|
"""
|
|
13
13
|
Attributes:
|
|
14
|
-
subnet (str):
|
|
15
|
-
ip_address (str):
|
|
14
|
+
subnet (str): The subnet where the new IP address will be allocated
|
|
15
|
+
ip_address (str): The IP address to assign within the subnet
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
subnet: str
|
|
@@ -22,10 +22,10 @@ class OpenStackPortRequest:
|
|
|
22
22
|
name (str):
|
|
23
23
|
description (Union[Unset, str]):
|
|
24
24
|
fixed_ips (Union[Unset, list['OpenStackFixedIpRequest']]):
|
|
25
|
-
mac_address (Union[Unset, str]):
|
|
25
|
+
mac_address (Union[Unset, str]): MAC address of the port
|
|
26
26
|
allowed_address_pairs (Union[Unset, list['OpenStackAllowedAddressPairRequest']]):
|
|
27
|
-
network (Union[None, Unset, str]):
|
|
28
|
-
port_security_enabled (Union[Unset, bool]):
|
|
27
|
+
network (Union[None, Unset, str]): Network to which this port belongs
|
|
28
|
+
port_security_enabled (Union[Unset, bool]): If True, security groups and rules will be applied to this port
|
|
29
29
|
security_groups (Union[Unset, list['OpenStackPortNestedSecurityGroupRequest']]):
|
|
30
30
|
"""
|
|
31
31
|
|
|
@@ -48,9 +48,9 @@ class OpenStackRouter:
|
|
|
48
48
|
state (Union[Unset, CoreStates]):
|
|
49
49
|
created (Union[Unset, datetime.datetime]):
|
|
50
50
|
modified (Union[Unset, datetime.datetime]):
|
|
51
|
-
backend_id (Union[None, Unset, str]):
|
|
51
|
+
backend_id (Union[None, Unset, str]): Router ID in OpenStack
|
|
52
52
|
access_url (Union[None, Unset, str]):
|
|
53
|
-
tenant (Union[Unset, str]):
|
|
53
|
+
tenant (Union[Unset, str]): OpenStack tenant this router belongs to
|
|
54
54
|
tenant_name (Union[Unset, str]):
|
|
55
55
|
tenant_uuid (Union[Unset, UUID]):
|
|
56
56
|
routes (Union[Unset, list['OpenStackStaticRoute']]):
|
|
@@ -13,8 +13,10 @@ T = TypeVar("T", bound="OpenStackRouterInterfaceRequest")
|
|
|
13
13
|
class OpenStackRouterInterfaceRequest:
|
|
14
14
|
"""
|
|
15
15
|
Attributes:
|
|
16
|
-
subnet (Union[Unset, str]):
|
|
17
|
-
|
|
16
|
+
subnet (Union[Unset, str]): The subnet to connect to the router. Either subnet or port must be specified, but
|
|
17
|
+
not both.
|
|
18
|
+
port (Union[Unset, str]): The port to connect to the router. Either subnet or port must be specified, but not
|
|
19
|
+
both.
|
|
18
20
|
"""
|
|
19
21
|
|
|
20
22
|
subnet: Union[Unset, str] = UNSET
|
|
@@ -20,15 +20,16 @@ class OpenStackSecurityGroupRuleCreate:
|
|
|
20
20
|
Attributes:
|
|
21
21
|
ethertype (Union[Unset, EthertypeEnum]):
|
|
22
22
|
direction (Union[Unset, DirectionEnum]):
|
|
23
|
-
protocol (Union[BlankEnum, ProtocolEnum, Unset]):
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
protocol (Union[BlankEnum, ProtocolEnum, Unset]): The network protocol (TCP, UDP, ICMP, or empty for any
|
|
24
|
+
protocol)
|
|
25
|
+
from_port (Union[None, Unset, int]): Starting port number in the range (1-65535)
|
|
26
|
+
to_port (Union[None, Unset, int]): Ending port number in the range (1-65535)
|
|
27
|
+
cidr (Union[None, Unset, str]): CIDR notation for the source/destination network address range
|
|
27
28
|
description (Union[Unset, str]):
|
|
28
29
|
remote_group_name (Union[Unset, str]):
|
|
29
30
|
remote_group_uuid (Union[Unset, UUID]):
|
|
30
31
|
id (Union[Unset, int]):
|
|
31
|
-
remote_group (Union[None, Unset, str]):
|
|
32
|
+
remote_group (Union[None, Unset, str]): Remote security group that this rule references, if any
|
|
32
33
|
"""
|
|
33
34
|
|
|
34
35
|
ethertype: Union[Unset, EthertypeEnum] = UNSET
|
|
@@ -19,12 +19,13 @@ class OpenStackSecurityGroupRuleCreateRequest:
|
|
|
19
19
|
Attributes:
|
|
20
20
|
ethertype (Union[Unset, EthertypeEnum]):
|
|
21
21
|
direction (Union[Unset, DirectionEnum]):
|
|
22
|
-
protocol (Union[BlankEnum, ProtocolEnum, Unset]):
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
protocol (Union[BlankEnum, ProtocolEnum, Unset]): The network protocol (TCP, UDP, ICMP, or empty for any
|
|
23
|
+
protocol)
|
|
24
|
+
from_port (Union[None, Unset, int]): Starting port number in the range (1-65535)
|
|
25
|
+
to_port (Union[None, Unset, int]): Ending port number in the range (1-65535)
|
|
26
|
+
cidr (Union[None, Unset, str]): CIDR notation for the source/destination network address range
|
|
26
27
|
description (Union[Unset, str]):
|
|
27
|
-
remote_group (Union[None, Unset, str]):
|
|
28
|
+
remote_group (Union[None, Unset, str]): Remote security group that this rule references, if any
|
|
28
29
|
"""
|
|
29
30
|
|
|
30
31
|
ethertype: Union[Unset, EthertypeEnum] = UNSET
|
|
@@ -17,18 +17,19 @@ T = TypeVar("T", bound="OpenStackSecurityGroupRuleUpdateRequest")
|
|
|
17
17
|
class OpenStackSecurityGroupRuleUpdateRequest:
|
|
18
18
|
"""
|
|
19
19
|
Attributes:
|
|
20
|
-
ethertype (Union[Unset, EthertypeEnum]):
|
|
21
|
-
direction (Union[Unset, DirectionEnum]):
|
|
22
|
-
protocol (Union[BlankEnum, ProtocolEnum, Unset]):
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
ethertype (Union[Unset, EthertypeEnum]): Default: EthertypeEnum.IPV4.
|
|
21
|
+
direction (Union[Unset, DirectionEnum]): Default: DirectionEnum.INGRESS.
|
|
22
|
+
protocol (Union[BlankEnum, ProtocolEnum, Unset]): The network protocol (TCP, UDP, ICMP, or empty for any
|
|
23
|
+
protocol)
|
|
24
|
+
from_port (Union[None, Unset, int]): Starting port number in the range (1-65535)
|
|
25
|
+
to_port (Union[None, Unset, int]): Ending port number in the range (1-65535)
|
|
26
|
+
cidr (Union[None, Unset, str]): CIDR notation for the source/destination network address range
|
|
26
27
|
description (Union[Unset, str]):
|
|
27
|
-
remote_group (Union[None, Unset, str]):
|
|
28
|
+
remote_group (Union[None, Unset, str]): Remote security group that this rule references, if any
|
|
28
29
|
"""
|
|
29
30
|
|
|
30
|
-
ethertype: Union[Unset, EthertypeEnum] =
|
|
31
|
-
direction: Union[Unset, DirectionEnum] =
|
|
31
|
+
ethertype: Union[Unset, EthertypeEnum] = EthertypeEnum.IPV4
|
|
32
|
+
direction: Union[Unset, DirectionEnum] = DirectionEnum.INGRESS
|
|
32
33
|
protocol: Union[BlankEnum, ProtocolEnum, Unset] = UNSET
|
|
33
34
|
from_port: Union[None, Unset, int] = UNSET
|
|
34
35
|
to_port: Union[None, Unset, int] = UNSET
|
|
@@ -53,7 +53,8 @@ class OpenStackServerGroup:
|
|
|
53
53
|
tenant (Union[Unset, str]):
|
|
54
54
|
tenant_name (Union[Unset, str]):
|
|
55
55
|
tenant_uuid (Union[Unset, UUID]):
|
|
56
|
-
policy (Union[BlankEnum, PolicyEnum, Unset]):
|
|
56
|
+
policy (Union[BlankEnum, PolicyEnum, Unset]): Server group policy determining the rules for scheduling servers
|
|
57
|
+
in this group
|
|
57
58
|
display_name (Union[Unset, str]):
|
|
58
59
|
instances (Union[Unset, list['OpenStackNestedInstance']]):
|
|
59
60
|
marketplace_offering_uuid (Union[None, Unset, str]):
|
|
@@ -17,7 +17,8 @@ class OpenStackServerGroupRequest:
|
|
|
17
17
|
Attributes:
|
|
18
18
|
name (str):
|
|
19
19
|
description (Union[Unset, str]):
|
|
20
|
-
policy (Union[BlankEnum, PolicyEnum, Unset]):
|
|
20
|
+
policy (Union[BlankEnum, PolicyEnum, Unset]): Server group policy determining the rules for scheduling servers
|
|
21
|
+
in this group
|
|
21
22
|
"""
|
|
22
23
|
|
|
23
24
|
name: str
|
|
@@ -46,9 +46,9 @@ class OpenStackSnapshot:
|
|
|
46
46
|
state (Union[Unset, CoreStates]):
|
|
47
47
|
created (Union[Unset, datetime.datetime]):
|
|
48
48
|
modified (Union[Unset, datetime.datetime]):
|
|
49
|
-
backend_id (Union[None, Unset, str]):
|
|
49
|
+
backend_id (Union[None, Unset, str]): Snapshot ID in the OpenStack backend
|
|
50
50
|
access_url (Union[None, Unset, str]):
|
|
51
|
-
source_volume (Union[None, Unset, str]):
|
|
51
|
+
source_volume (Union[None, Unset, str]): Volume from which this snapshot was created
|
|
52
52
|
size (Union[Unset, int]): Size in MiB
|
|
53
53
|
metadata (Union[Unset, Any]):
|
|
54
54
|
runtime_state (Union[Unset, str]):
|
|
@@ -19,7 +19,7 @@ class OpenStackSnapshotRestoration:
|
|
|
19
19
|
uuid (Union[Unset, UUID]):
|
|
20
20
|
created (Union[Unset, datetime.datetime]):
|
|
21
21
|
description (Union[Unset, str]): New volume description.
|
|
22
|
-
volume (Union[Unset, str]):
|
|
22
|
+
volume (Union[Unset, str]): Volume that is being restored from the snapshot
|
|
23
23
|
volume_name (Union[Unset, str]):
|
|
24
24
|
volume_state (Union[Unset, str]):
|
|
25
25
|
volume_runtime_state (Union[Unset, str]):
|
|
@@ -51,14 +51,14 @@ class OpenStackSubNet:
|
|
|
51
51
|
access_url (Union[None, Unset, str]):
|
|
52
52
|
tenant (Union[Unset, str]):
|
|
53
53
|
tenant_name (Union[Unset, str]):
|
|
54
|
-
network (Union[Unset, str]):
|
|
54
|
+
network (Union[Unset, str]): Network to which this subnet belongs
|
|
55
55
|
network_name (Union[Unset, str]):
|
|
56
56
|
cidr (Union[Unset, str]):
|
|
57
|
-
gateway_ip (Union[None, Unset, str]):
|
|
58
|
-
disable_gateway (Union[Unset, bool]):
|
|
57
|
+
gateway_ip (Union[None, Unset, str]): IP address of the gateway for this subnet
|
|
58
|
+
disable_gateway (Union[Unset, bool]): If True, no gateway IP address will be allocated
|
|
59
59
|
allocation_pools (Union[Unset, list['OpenStackSubNetAllocationPool']]):
|
|
60
|
-
ip_version (Union[Unset, int]):
|
|
61
|
-
enable_dhcp (Union[Unset, bool]):
|
|
60
|
+
ip_version (Union[Unset, int]): IP protocol version (4 or 6)
|
|
61
|
+
enable_dhcp (Union[Unset, bool]): If True, DHCP service will be enabled on this subnet
|
|
62
62
|
dns_nameservers (Union[Unset, list[str]]):
|
|
63
63
|
host_routes (Union[Unset, list['OpenStackStaticRoute']]):
|
|
64
64
|
is_connected (Union[Unset, bool]): Is subnet connected to the default tenant router.
|
|
@@ -21,8 +21,8 @@ class OpenStackSubNetRequest:
|
|
|
21
21
|
name (str):
|
|
22
22
|
description (Union[Unset, str]):
|
|
23
23
|
cidr (Union[Unset, str]):
|
|
24
|
-
gateway_ip (Union[None, Unset, str]):
|
|
25
|
-
disable_gateway (Union[Unset, bool]):
|
|
24
|
+
gateway_ip (Union[None, Unset, str]): IP address of the gateway for this subnet
|
|
25
|
+
disable_gateway (Union[Unset, bool]): If True, no gateway IP address will be allocated
|
|
26
26
|
allocation_pools (Union[Unset, list['OpenStackSubNetAllocationPoolRequest']]):
|
|
27
27
|
dns_nameservers (Union[Unset, list[str]]):
|
|
28
28
|
host_routes (Union[Unset, list['OpenStackStaticRouteRequest']]):
|