waldur-api-client 7.8.2__py3-none-any.whl → 7.8.4__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 +18 -0
- waldur_api_client/api/booking_resources/booking_resources_list.py +18 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_count.py +125 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_retrieve.py +126 -0
- waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_count.py +18 -18
- waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_list.py +18 -18
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_tos_stats_retrieve.py +146 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +18 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +18 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_move_resource.py +22 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_update_options.py +168 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +18 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +18 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_move_resource.py +22 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_renew.py +166 -0
- waldur_api_client/api/marketplace_service_providers/service_provider_checklists_summary.py +189 -0
- waldur_api_client/api/onboarding/__init__.py +1 -0
- waldur_api_client/api/onboarding/onboarding_supported_countries_retrieve.py +74 -0
- waldur_api_client/api/onboarding_justifications/__init__.py +1 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_attach_document.py +211 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_count.py +172 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_create.py +150 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_create_justification.py +154 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_destroy.py +89 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_list.py +175 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_partial_update.py +164 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_retrieve.py +142 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_update.py +164 -0
- waldur_api_client/api/onboarding_verifications/__init__.py +1 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_count.py +172 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_create.py +150 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_create_customer.py +144 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_destroy.py +89 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_list.py +175 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_partial_update.py +164 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_retrieve.py +142 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_update.py +164 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_validate_company.py +154 -0
- waldur_api_client/api/openstack_backups/openstack_backups_restore.py +10 -10
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_count.py +33 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_create.py +154 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_destroy.py +91 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_list.py +33 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_partial_update.py +164 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_update.py +164 -0
- waldur_api_client/api/openstack_networks/openstack_networks_rbac_policy_create.py +24 -22
- waldur_api_client/api/projects/projects_checklist_template_count.py +125 -0
- waldur_api_client/api/projects/projects_checklist_template_retrieve.py +126 -0
- waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_count.py +125 -0
- waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_retrieve.py +126 -0
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_offerings_list.py +15 -0
- waldur_api_client/api/rancher_services/rancher_services_create.py +22 -22
- waldur_api_client/models/__init__.py +88 -10
- waldur_api_client/models/azure_sql_server_create_order_attributes.py +5 -10
- waldur_api_client/models/azure_virtual_machine_create_order_attributes.py +7 -12
- waldur_api_client/models/booking_resource.py +9 -34
- waldur_api_client/models/booking_resources_list_field_item.py +1 -3
- waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -3
- waldur_api_client/models/call_round.py +4 -4
- waldur_api_client/models/checklist_template.py +99 -0
- waldur_api_client/models/checklist_template_checklist.py +44 -0
- waldur_api_client/models/constance_settings.py +54 -0
- waldur_api_client/models/constance_settings_request.py +54 -0
- waldur_api_client/models/constance_settings_request_form.py +54 -0
- waldur_api_client/models/constance_settings_request_multipart.py +99 -0
- waldur_api_client/models/customer.py +9 -0
- waldur_api_client/models/customers_list_field_item.py +1 -0
- waldur_api_client/models/customers_retrieve_field_item.py +1 -0
- waldur_api_client/models/deprecated_network_rbac_policy.py +137 -0
- waldur_api_client/models/deprecated_network_rbac_policy_request.py +78 -0
- waldur_api_client/models/event_groups_enum.py +1 -0
- waldur_api_client/models/event_types_enum.py +3 -0
- waldur_api_client/models/generic_order_attributes.py +1 -2
- waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -3
- waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -3
- waldur_api_client/models/marketplace_orders_list_field_item.py +1 -3
- waldur_api_client/models/marketplace_orders_retrieve_field_item.py +1 -3
- waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -3
- waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -3
- waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -3
- waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -3
- waldur_api_client/models/marketplace_resources_list_field_item.py +1 -3
- waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -3
- waldur_api_client/models/marketplace_robot_accounts_list_field_item.py +2 -1
- waldur_api_client/models/marketplace_robot_accounts_retrieve_field_item.py +2 -1
- waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +1 -0
- waldur_api_client/models/merged_plugin_options.py +27 -0
- waldur_api_client/models/merged_plugin_options_request.py +27 -0
- waldur_api_client/models/move_resource_request.py +65 -0
- waldur_api_client/models/nested_round.py +5 -5
- waldur_api_client/models/network_rbac_policy_request.py +8 -0
- waldur_api_client/models/notification.py +9 -9
- waldur_api_client/models/{notification_context_fields.py → notification_context_schema.py} +6 -6
- waldur_api_client/models/notification_template_detail_serializers.py +9 -3
- waldur_api_client/models/offering_component.py +79 -0
- waldur_api_client/models/offering_component_request.py +80 -0
- waldur_api_client/models/onboarding_company_validation_request_request.py +88 -0
- waldur_api_client/models/onboarding_justification.py +183 -0
- waldur_api_client/models/onboarding_justification_create_request.py +68 -0
- waldur_api_client/models/onboarding_justification_documentation.py +108 -0
- waldur_api_client/models/onboarding_justification_documentation_request.py +84 -0
- waldur_api_client/models/onboarding_justification_documentation_request_form.py +84 -0
- waldur_api_client/models/onboarding_justification_documentation_request_multipart.py +98 -0
- waldur_api_client/models/onboarding_justification_request.py +75 -0
- waldur_api_client/models/onboarding_verification.py +250 -0
- waldur_api_client/models/onboarding_verification_request.py +128 -0
- waldur_api_client/models/onboarding_verification_status_enum.py +12 -0
- waldur_api_client/models/open_stack_backup_restoration.py +3 -5
- waldur_api_client/models/open_stack_backup_restoration_create_request.py +141 -0
- waldur_api_client/models/open_stack_backup_restoration_request.py +22 -30
- waldur_api_client/models/open_stack_create_floating_ip_request.py +89 -0
- waldur_api_client/models/open_stack_create_port_request.py +104 -0
- waldur_api_client/models/open_stack_instance.py +13 -29
- waldur_api_client/models/open_stack_instance_create_order_attributes.py +67 -54
- waldur_api_client/models/open_stack_instance_floating_i_ps_update_request.py +5 -5
- waldur_api_client/models/open_stack_instance_ports_update_request.py +5 -5
- waldur_api_client/models/open_stack_instance_request.py +1 -67
- waldur_api_client/models/open_stack_nested_port_request.py +0 -9
- waldur_api_client/models/{open_stack_nested_security_group_request.py → open_stack_security_group_hyperlink_request.py} +14 -14
- waldur_api_client/models/open_stack_server_group_hyperlink_request.py +59 -0
- waldur_api_client/models/open_stack_tenant_create_order_attributes.py +9 -14
- waldur_api_client/models/open_stack_volume_create_order_attributes.py +8 -13
- waldur_api_client/models/openstack_instances_list_field_item.py +0 -7
- waldur_api_client/models/openstack_instances_retrieve_field_item.py +0 -7
- waldur_api_client/models/order_create.py +8 -0
- waldur_api_client/models/order_details.py +9 -34
- waldur_api_client/models/patched_network_rbac_policy_request.py +85 -0
- waldur_api_client/models/patched_onboarding_justification_request.py +77 -0
- waldur_api_client/models/patched_onboarding_verification_request.py +128 -0
- waldur_api_client/models/patched_open_stack_instance_request.py +1 -67
- waldur_api_client/models/patched_project_credit_request.py +13 -0
- waldur_api_client/models/patched_project_request.py +1 -2
- waldur_api_client/models/patched_project_request_form.py +1 -2
- waldur_api_client/models/patched_project_request_multipart.py +1 -2
- waldur_api_client/models/project.py +10 -2
- waldur_api_client/models/project_credit.py +13 -0
- waldur_api_client/models/project_credit_request.py +13 -0
- waldur_api_client/models/{rancher_nested_security_group.py → project_hyperlink_request.py} +5 -5
- waldur_api_client/models/project_request.py +1 -2
- waldur_api_client/models/project_request_form.py +1 -2
- waldur_api_client/models/project_request_multipart.py +1 -2
- waldur_api_client/models/projects_list_field_item.py +1 -0
- waldur_api_client/models/projects_retrieve_field_item.py +1 -0
- waldur_api_client/models/protected_round.py +4 -4
- waldur_api_client/models/question.py +102 -0
- waldur_api_client/models/{open_stack_data_volume.py → question_options.py} +27 -29
- waldur_api_client/models/rancher_clusters_list_field_item.py +0 -1
- waldur_api_client/models/rancher_clusters_retrieve_field_item.py +0 -1
- waldur_api_client/models/rancher_service_create.py +508 -0
- waldur_api_client/models/rancher_service_create_marketplace_offering_plugin_options_type_0.py +44 -0
- waldur_api_client/models/rancher_service_create_request.py +185 -0
- waldur_api_client/models/rancher_service_request.py +16 -19
- waldur_api_client/models/rancher_workload_create.py +59 -0
- waldur_api_client/models/rancher_workload_create_request.py +59 -0
- waldur_api_client/models/resource.py +9 -34
- waldur_api_client/models/resource_renew_request.py +83 -0
- waldur_api_client/models/resource_renew_request_limits.py +44 -0
- waldur_api_client/models/robot_account_details.py +22 -13
- waldur_api_client/models/{status_enum.py → round_status.py} +1 -1
- waldur_api_client/models/service_provider_checklist_summary.py +98 -0
- waldur_api_client/models/slurm_invoices_slurm_package_create_order_attributes.py +4 -9
- waldur_api_client/models/time_series_to_s_data.py +69 -0
- waldur_api_client/models/to_s_consent_dashboard.py +155 -0
- waldur_api_client/models/update_offering_component_request.py +79 -0
- waldur_api_client/models/v_mware_virtual_machine_create_order_attributes.py +11 -16
- waldur_api_client/models/validation_decision_enum.py +10 -0
- waldur_api_client/models/validation_method_enum.py +8 -0
- waldur_api_client/models/version_adoption.py +67 -0
- waldur_api_client/models/vmware_nested_network.py +0 -25
- waldur_api_client/models/vmware_nested_network_request.py +6 -14
- {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.4.dist-info}/METADATA +1 -1
- {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.4.dist-info}/RECORD +174 -101
- {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.4.dist-info}/WHEEL +0 -0
- {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -145,11 +145,17 @@ class ConstanceSettingsRequestForm:
|
|
|
145
145
|
oidc_client_secret (Union[Unset, str]):
|
|
146
146
|
oidc_user_field (Union[Unset, str]):
|
|
147
147
|
oidc_cache_timeout (Union[Unset, int]):
|
|
148
|
+
oidc_access_token_enabled (Union[Unset, bool]):
|
|
148
149
|
oidc_block_creation_of_uninvited_users (Union[Unset, bool]):
|
|
149
150
|
deactivate_user_if_no_roles (Union[Unset, bool]):
|
|
150
151
|
maintenance_announcement_notify_before_minutes (Union[Unset, int]):
|
|
151
152
|
maintenance_announcement_notify_system (Union[Unset, list[str]]):
|
|
152
153
|
enforce_user_consent_for_offerings (Union[Unset, bool]):
|
|
154
|
+
onboarding_verification_expiry_hours (Union[Unset, int]):
|
|
155
|
+
onboarding_ariregister_base_url (Union[Unset, str]):
|
|
156
|
+
onboarding_ariregister_username (Union[Unset, str]):
|
|
157
|
+
onboarding_ariregister_password (Union[Unset, str]):
|
|
158
|
+
onboarding_ariregister_timeout (Union[Unset, int]):
|
|
153
159
|
"""
|
|
154
160
|
|
|
155
161
|
site_name: Union[Unset, str] = UNSET
|
|
@@ -282,11 +288,17 @@ class ConstanceSettingsRequestForm:
|
|
|
282
288
|
oidc_client_secret: Union[Unset, str] = UNSET
|
|
283
289
|
oidc_user_field: Union[Unset, str] = UNSET
|
|
284
290
|
oidc_cache_timeout: Union[Unset, int] = UNSET
|
|
291
|
+
oidc_access_token_enabled: Union[Unset, bool] = UNSET
|
|
285
292
|
oidc_block_creation_of_uninvited_users: Union[Unset, bool] = UNSET
|
|
286
293
|
deactivate_user_if_no_roles: Union[Unset, bool] = UNSET
|
|
287
294
|
maintenance_announcement_notify_before_minutes: Union[Unset, int] = UNSET
|
|
288
295
|
maintenance_announcement_notify_system: Union[Unset, list[str]] = UNSET
|
|
289
296
|
enforce_user_consent_for_offerings: Union[Unset, bool] = UNSET
|
|
297
|
+
onboarding_verification_expiry_hours: Union[Unset, int] = UNSET
|
|
298
|
+
onboarding_ariregister_base_url: Union[Unset, str] = UNSET
|
|
299
|
+
onboarding_ariregister_username: Union[Unset, str] = UNSET
|
|
300
|
+
onboarding_ariregister_password: Union[Unset, str] = UNSET
|
|
301
|
+
onboarding_ariregister_timeout: Union[Unset, int] = UNSET
|
|
290
302
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
291
303
|
|
|
292
304
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -638,6 +650,8 @@ class ConstanceSettingsRequestForm:
|
|
|
638
650
|
|
|
639
651
|
oidc_cache_timeout = self.oidc_cache_timeout
|
|
640
652
|
|
|
653
|
+
oidc_access_token_enabled = self.oidc_access_token_enabled
|
|
654
|
+
|
|
641
655
|
oidc_block_creation_of_uninvited_users = self.oidc_block_creation_of_uninvited_users
|
|
642
656
|
|
|
643
657
|
deactivate_user_if_no_roles = self.deactivate_user_if_no_roles
|
|
@@ -650,6 +664,16 @@ class ConstanceSettingsRequestForm:
|
|
|
650
664
|
|
|
651
665
|
enforce_user_consent_for_offerings = self.enforce_user_consent_for_offerings
|
|
652
666
|
|
|
667
|
+
onboarding_verification_expiry_hours = self.onboarding_verification_expiry_hours
|
|
668
|
+
|
|
669
|
+
onboarding_ariregister_base_url = self.onboarding_ariregister_base_url
|
|
670
|
+
|
|
671
|
+
onboarding_ariregister_username = self.onboarding_ariregister_username
|
|
672
|
+
|
|
673
|
+
onboarding_ariregister_password = self.onboarding_ariregister_password
|
|
674
|
+
|
|
675
|
+
onboarding_ariregister_timeout = self.onboarding_ariregister_timeout
|
|
676
|
+
|
|
653
677
|
field_dict: dict[str, Any] = {}
|
|
654
678
|
field_dict.update(self.additional_properties)
|
|
655
679
|
field_dict.update({})
|
|
@@ -917,6 +941,8 @@ class ConstanceSettingsRequestForm:
|
|
|
917
941
|
field_dict["OIDC_USER_FIELD"] = oidc_user_field
|
|
918
942
|
if oidc_cache_timeout is not UNSET:
|
|
919
943
|
field_dict["OIDC_CACHE_TIMEOUT"] = oidc_cache_timeout
|
|
944
|
+
if oidc_access_token_enabled is not UNSET:
|
|
945
|
+
field_dict["OIDC_ACCESS_TOKEN_ENABLED"] = oidc_access_token_enabled
|
|
920
946
|
if oidc_block_creation_of_uninvited_users is not UNSET:
|
|
921
947
|
field_dict["OIDC_BLOCK_CREATION_OF_UNINVITED_USERS"] = oidc_block_creation_of_uninvited_users
|
|
922
948
|
if deactivate_user_if_no_roles is not UNSET:
|
|
@@ -929,6 +955,16 @@ class ConstanceSettingsRequestForm:
|
|
|
929
955
|
field_dict["MAINTENANCE_ANNOUNCEMENT_NOTIFY_SYSTEM"] = maintenance_announcement_notify_system
|
|
930
956
|
if enforce_user_consent_for_offerings is not UNSET:
|
|
931
957
|
field_dict["ENFORCE_USER_CONSENT_FOR_OFFERINGS"] = enforce_user_consent_for_offerings
|
|
958
|
+
if onboarding_verification_expiry_hours is not UNSET:
|
|
959
|
+
field_dict["ONBOARDING_VERIFICATION_EXPIRY_HOURS"] = onboarding_verification_expiry_hours
|
|
960
|
+
if onboarding_ariregister_base_url is not UNSET:
|
|
961
|
+
field_dict["ONBOARDING_ARIREGISTER_BASE_URL"] = onboarding_ariregister_base_url
|
|
962
|
+
if onboarding_ariregister_username is not UNSET:
|
|
963
|
+
field_dict["ONBOARDING_ARIREGISTER_USERNAME"] = onboarding_ariregister_username
|
|
964
|
+
if onboarding_ariregister_password is not UNSET:
|
|
965
|
+
field_dict["ONBOARDING_ARIREGISTER_PASSWORD"] = onboarding_ariregister_password
|
|
966
|
+
if onboarding_ariregister_timeout is not UNSET:
|
|
967
|
+
field_dict["ONBOARDING_ARIREGISTER_TIMEOUT"] = onboarding_ariregister_timeout
|
|
932
968
|
|
|
933
969
|
return field_dict
|
|
934
970
|
|
|
@@ -1379,6 +1415,8 @@ class ConstanceSettingsRequestForm:
|
|
|
1379
1415
|
|
|
1380
1416
|
oidc_cache_timeout = d.pop("OIDC_CACHE_TIMEOUT", UNSET)
|
|
1381
1417
|
|
|
1418
|
+
oidc_access_token_enabled = d.pop("OIDC_ACCESS_TOKEN_ENABLED", UNSET)
|
|
1419
|
+
|
|
1382
1420
|
oidc_block_creation_of_uninvited_users = d.pop("OIDC_BLOCK_CREATION_OF_UNINVITED_USERS", UNSET)
|
|
1383
1421
|
|
|
1384
1422
|
deactivate_user_if_no_roles = d.pop("DEACTIVATE_USER_IF_NO_ROLES", UNSET)
|
|
@@ -1389,6 +1427,16 @@ class ConstanceSettingsRequestForm:
|
|
|
1389
1427
|
|
|
1390
1428
|
enforce_user_consent_for_offerings = d.pop("ENFORCE_USER_CONSENT_FOR_OFFERINGS", UNSET)
|
|
1391
1429
|
|
|
1430
|
+
onboarding_verification_expiry_hours = d.pop("ONBOARDING_VERIFICATION_EXPIRY_HOURS", UNSET)
|
|
1431
|
+
|
|
1432
|
+
onboarding_ariregister_base_url = d.pop("ONBOARDING_ARIREGISTER_BASE_URL", UNSET)
|
|
1433
|
+
|
|
1434
|
+
onboarding_ariregister_username = d.pop("ONBOARDING_ARIREGISTER_USERNAME", UNSET)
|
|
1435
|
+
|
|
1436
|
+
onboarding_ariregister_password = d.pop("ONBOARDING_ARIREGISTER_PASSWORD", UNSET)
|
|
1437
|
+
|
|
1438
|
+
onboarding_ariregister_timeout = d.pop("ONBOARDING_ARIREGISTER_TIMEOUT", UNSET)
|
|
1439
|
+
|
|
1392
1440
|
constance_settings_request_form = cls(
|
|
1393
1441
|
site_name=site_name,
|
|
1394
1442
|
site_description=site_description,
|
|
@@ -1520,11 +1568,17 @@ class ConstanceSettingsRequestForm:
|
|
|
1520
1568
|
oidc_client_secret=oidc_client_secret,
|
|
1521
1569
|
oidc_user_field=oidc_user_field,
|
|
1522
1570
|
oidc_cache_timeout=oidc_cache_timeout,
|
|
1571
|
+
oidc_access_token_enabled=oidc_access_token_enabled,
|
|
1523
1572
|
oidc_block_creation_of_uninvited_users=oidc_block_creation_of_uninvited_users,
|
|
1524
1573
|
deactivate_user_if_no_roles=deactivate_user_if_no_roles,
|
|
1525
1574
|
maintenance_announcement_notify_before_minutes=maintenance_announcement_notify_before_minutes,
|
|
1526
1575
|
maintenance_announcement_notify_system=maintenance_announcement_notify_system,
|
|
1527
1576
|
enforce_user_consent_for_offerings=enforce_user_consent_for_offerings,
|
|
1577
|
+
onboarding_verification_expiry_hours=onboarding_verification_expiry_hours,
|
|
1578
|
+
onboarding_ariregister_base_url=onboarding_ariregister_base_url,
|
|
1579
|
+
onboarding_ariregister_username=onboarding_ariregister_username,
|
|
1580
|
+
onboarding_ariregister_password=onboarding_ariregister_password,
|
|
1581
|
+
onboarding_ariregister_timeout=onboarding_ariregister_timeout,
|
|
1528
1582
|
)
|
|
1529
1583
|
|
|
1530
1584
|
constance_settings_request_form.additional_properties = d
|
|
@@ -145,11 +145,17 @@ class ConstanceSettingsRequestMultipart:
|
|
|
145
145
|
oidc_client_secret (Union[Unset, str]):
|
|
146
146
|
oidc_user_field (Union[Unset, str]):
|
|
147
147
|
oidc_cache_timeout (Union[Unset, int]):
|
|
148
|
+
oidc_access_token_enabled (Union[Unset, bool]):
|
|
148
149
|
oidc_block_creation_of_uninvited_users (Union[Unset, bool]):
|
|
149
150
|
deactivate_user_if_no_roles (Union[Unset, bool]):
|
|
150
151
|
maintenance_announcement_notify_before_minutes (Union[Unset, int]):
|
|
151
152
|
maintenance_announcement_notify_system (Union[Unset, list[str]]):
|
|
152
153
|
enforce_user_consent_for_offerings (Union[Unset, bool]):
|
|
154
|
+
onboarding_verification_expiry_hours (Union[Unset, int]):
|
|
155
|
+
onboarding_ariregister_base_url (Union[Unset, str]):
|
|
156
|
+
onboarding_ariregister_username (Union[Unset, str]):
|
|
157
|
+
onboarding_ariregister_password (Union[Unset, str]):
|
|
158
|
+
onboarding_ariregister_timeout (Union[Unset, int]):
|
|
153
159
|
"""
|
|
154
160
|
|
|
155
161
|
site_name: Union[Unset, str] = UNSET
|
|
@@ -282,11 +288,17 @@ class ConstanceSettingsRequestMultipart:
|
|
|
282
288
|
oidc_client_secret: Union[Unset, str] = UNSET
|
|
283
289
|
oidc_user_field: Union[Unset, str] = UNSET
|
|
284
290
|
oidc_cache_timeout: Union[Unset, int] = UNSET
|
|
291
|
+
oidc_access_token_enabled: Union[Unset, bool] = UNSET
|
|
285
292
|
oidc_block_creation_of_uninvited_users: Union[Unset, bool] = UNSET
|
|
286
293
|
deactivate_user_if_no_roles: Union[Unset, bool] = UNSET
|
|
287
294
|
maintenance_announcement_notify_before_minutes: Union[Unset, int] = UNSET
|
|
288
295
|
maintenance_announcement_notify_system: Union[Unset, list[str]] = UNSET
|
|
289
296
|
enforce_user_consent_for_offerings: Union[Unset, bool] = UNSET
|
|
297
|
+
onboarding_verification_expiry_hours: Union[Unset, int] = UNSET
|
|
298
|
+
onboarding_ariregister_base_url: Union[Unset, str] = UNSET
|
|
299
|
+
onboarding_ariregister_username: Union[Unset, str] = UNSET
|
|
300
|
+
onboarding_ariregister_password: Union[Unset, str] = UNSET
|
|
301
|
+
onboarding_ariregister_timeout: Union[Unset, int] = UNSET
|
|
290
302
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
291
303
|
|
|
292
304
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -638,6 +650,8 @@ class ConstanceSettingsRequestMultipart:
|
|
|
638
650
|
|
|
639
651
|
oidc_cache_timeout = self.oidc_cache_timeout
|
|
640
652
|
|
|
653
|
+
oidc_access_token_enabled = self.oidc_access_token_enabled
|
|
654
|
+
|
|
641
655
|
oidc_block_creation_of_uninvited_users = self.oidc_block_creation_of_uninvited_users
|
|
642
656
|
|
|
643
657
|
deactivate_user_if_no_roles = self.deactivate_user_if_no_roles
|
|
@@ -650,6 +664,16 @@ class ConstanceSettingsRequestMultipart:
|
|
|
650
664
|
|
|
651
665
|
enforce_user_consent_for_offerings = self.enforce_user_consent_for_offerings
|
|
652
666
|
|
|
667
|
+
onboarding_verification_expiry_hours = self.onboarding_verification_expiry_hours
|
|
668
|
+
|
|
669
|
+
onboarding_ariregister_base_url = self.onboarding_ariregister_base_url
|
|
670
|
+
|
|
671
|
+
onboarding_ariregister_username = self.onboarding_ariregister_username
|
|
672
|
+
|
|
673
|
+
onboarding_ariregister_password = self.onboarding_ariregister_password
|
|
674
|
+
|
|
675
|
+
onboarding_ariregister_timeout = self.onboarding_ariregister_timeout
|
|
676
|
+
|
|
653
677
|
field_dict: dict[str, Any] = {}
|
|
654
678
|
field_dict.update(self.additional_properties)
|
|
655
679
|
field_dict.update({})
|
|
@@ -917,6 +941,8 @@ class ConstanceSettingsRequestMultipart:
|
|
|
917
941
|
field_dict["OIDC_USER_FIELD"] = oidc_user_field
|
|
918
942
|
if oidc_cache_timeout is not UNSET:
|
|
919
943
|
field_dict["OIDC_CACHE_TIMEOUT"] = oidc_cache_timeout
|
|
944
|
+
if oidc_access_token_enabled is not UNSET:
|
|
945
|
+
field_dict["OIDC_ACCESS_TOKEN_ENABLED"] = oidc_access_token_enabled
|
|
920
946
|
if oidc_block_creation_of_uninvited_users is not UNSET:
|
|
921
947
|
field_dict["OIDC_BLOCK_CREATION_OF_UNINVITED_USERS"] = oidc_block_creation_of_uninvited_users
|
|
922
948
|
if deactivate_user_if_no_roles is not UNSET:
|
|
@@ -929,6 +955,16 @@ class ConstanceSettingsRequestMultipart:
|
|
|
929
955
|
field_dict["MAINTENANCE_ANNOUNCEMENT_NOTIFY_SYSTEM"] = maintenance_announcement_notify_system
|
|
930
956
|
if enforce_user_consent_for_offerings is not UNSET:
|
|
931
957
|
field_dict["ENFORCE_USER_CONSENT_FOR_OFFERINGS"] = enforce_user_consent_for_offerings
|
|
958
|
+
if onboarding_verification_expiry_hours is not UNSET:
|
|
959
|
+
field_dict["ONBOARDING_VERIFICATION_EXPIRY_HOURS"] = onboarding_verification_expiry_hours
|
|
960
|
+
if onboarding_ariregister_base_url is not UNSET:
|
|
961
|
+
field_dict["ONBOARDING_ARIREGISTER_BASE_URL"] = onboarding_ariregister_base_url
|
|
962
|
+
if onboarding_ariregister_username is not UNSET:
|
|
963
|
+
field_dict["ONBOARDING_ARIREGISTER_USERNAME"] = onboarding_ariregister_username
|
|
964
|
+
if onboarding_ariregister_password is not UNSET:
|
|
965
|
+
field_dict["ONBOARDING_ARIREGISTER_PASSWORD"] = onboarding_ariregister_password
|
|
966
|
+
if onboarding_ariregister_timeout is not UNSET:
|
|
967
|
+
field_dict["ONBOARDING_ARIREGISTER_TIMEOUT"] = onboarding_ariregister_timeout
|
|
932
968
|
|
|
933
969
|
return field_dict
|
|
934
970
|
|
|
@@ -1515,6 +1551,11 @@ class ConstanceSettingsRequestMultipart:
|
|
|
1515
1551
|
if not isinstance(self.oidc_cache_timeout, Unset):
|
|
1516
1552
|
files.append(("OIDC_CACHE_TIMEOUT", (None, str(self.oidc_cache_timeout).encode(), "text/plain")))
|
|
1517
1553
|
|
|
1554
|
+
if not isinstance(self.oidc_access_token_enabled, Unset):
|
|
1555
|
+
files.append(
|
|
1556
|
+
("OIDC_ACCESS_TOKEN_ENABLED", (None, str(self.oidc_access_token_enabled).encode(), "text/plain"))
|
|
1557
|
+
)
|
|
1558
|
+
|
|
1518
1559
|
if not isinstance(self.oidc_block_creation_of_uninvited_users, Unset):
|
|
1519
1560
|
files.append(
|
|
1520
1561
|
(
|
|
@@ -1553,6 +1594,46 @@ class ConstanceSettingsRequestMultipart:
|
|
|
1553
1594
|
)
|
|
1554
1595
|
)
|
|
1555
1596
|
|
|
1597
|
+
if not isinstance(self.onboarding_verification_expiry_hours, Unset):
|
|
1598
|
+
files.append(
|
|
1599
|
+
(
|
|
1600
|
+
"ONBOARDING_VERIFICATION_EXPIRY_HOURS",
|
|
1601
|
+
(None, str(self.onboarding_verification_expiry_hours).encode(), "text/plain"),
|
|
1602
|
+
)
|
|
1603
|
+
)
|
|
1604
|
+
|
|
1605
|
+
if not isinstance(self.onboarding_ariregister_base_url, Unset):
|
|
1606
|
+
files.append(
|
|
1607
|
+
(
|
|
1608
|
+
"ONBOARDING_ARIREGISTER_BASE_URL",
|
|
1609
|
+
(None, str(self.onboarding_ariregister_base_url).encode(), "text/plain"),
|
|
1610
|
+
)
|
|
1611
|
+
)
|
|
1612
|
+
|
|
1613
|
+
if not isinstance(self.onboarding_ariregister_username, Unset):
|
|
1614
|
+
files.append(
|
|
1615
|
+
(
|
|
1616
|
+
"ONBOARDING_ARIREGISTER_USERNAME",
|
|
1617
|
+
(None, str(self.onboarding_ariregister_username).encode(), "text/plain"),
|
|
1618
|
+
)
|
|
1619
|
+
)
|
|
1620
|
+
|
|
1621
|
+
if not isinstance(self.onboarding_ariregister_password, Unset):
|
|
1622
|
+
files.append(
|
|
1623
|
+
(
|
|
1624
|
+
"ONBOARDING_ARIREGISTER_PASSWORD",
|
|
1625
|
+
(None, str(self.onboarding_ariregister_password).encode(), "text/plain"),
|
|
1626
|
+
)
|
|
1627
|
+
)
|
|
1628
|
+
|
|
1629
|
+
if not isinstance(self.onboarding_ariregister_timeout, Unset):
|
|
1630
|
+
files.append(
|
|
1631
|
+
(
|
|
1632
|
+
"ONBOARDING_ARIREGISTER_TIMEOUT",
|
|
1633
|
+
(None, str(self.onboarding_ariregister_timeout).encode(), "text/plain"),
|
|
1634
|
+
)
|
|
1635
|
+
)
|
|
1636
|
+
|
|
1556
1637
|
for prop_name, prop in self.additional_properties.items():
|
|
1557
1638
|
files.append((prop_name, (None, str(prop).encode(), "text/plain")))
|
|
1558
1639
|
|
|
@@ -2005,6 +2086,8 @@ class ConstanceSettingsRequestMultipart:
|
|
|
2005
2086
|
|
|
2006
2087
|
oidc_cache_timeout = d.pop("OIDC_CACHE_TIMEOUT", UNSET)
|
|
2007
2088
|
|
|
2089
|
+
oidc_access_token_enabled = d.pop("OIDC_ACCESS_TOKEN_ENABLED", UNSET)
|
|
2090
|
+
|
|
2008
2091
|
oidc_block_creation_of_uninvited_users = d.pop("OIDC_BLOCK_CREATION_OF_UNINVITED_USERS", UNSET)
|
|
2009
2092
|
|
|
2010
2093
|
deactivate_user_if_no_roles = d.pop("DEACTIVATE_USER_IF_NO_ROLES", UNSET)
|
|
@@ -2015,6 +2098,16 @@ class ConstanceSettingsRequestMultipart:
|
|
|
2015
2098
|
|
|
2016
2099
|
enforce_user_consent_for_offerings = d.pop("ENFORCE_USER_CONSENT_FOR_OFFERINGS", UNSET)
|
|
2017
2100
|
|
|
2101
|
+
onboarding_verification_expiry_hours = d.pop("ONBOARDING_VERIFICATION_EXPIRY_HOURS", UNSET)
|
|
2102
|
+
|
|
2103
|
+
onboarding_ariregister_base_url = d.pop("ONBOARDING_ARIREGISTER_BASE_URL", UNSET)
|
|
2104
|
+
|
|
2105
|
+
onboarding_ariregister_username = d.pop("ONBOARDING_ARIREGISTER_USERNAME", UNSET)
|
|
2106
|
+
|
|
2107
|
+
onboarding_ariregister_password = d.pop("ONBOARDING_ARIREGISTER_PASSWORD", UNSET)
|
|
2108
|
+
|
|
2109
|
+
onboarding_ariregister_timeout = d.pop("ONBOARDING_ARIREGISTER_TIMEOUT", UNSET)
|
|
2110
|
+
|
|
2018
2111
|
constance_settings_request_multipart = cls(
|
|
2019
2112
|
site_name=site_name,
|
|
2020
2113
|
site_description=site_description,
|
|
@@ -2146,11 +2239,17 @@ class ConstanceSettingsRequestMultipart:
|
|
|
2146
2239
|
oidc_client_secret=oidc_client_secret,
|
|
2147
2240
|
oidc_user_field=oidc_user_field,
|
|
2148
2241
|
oidc_cache_timeout=oidc_cache_timeout,
|
|
2242
|
+
oidc_access_token_enabled=oidc_access_token_enabled,
|
|
2149
2243
|
oidc_block_creation_of_uninvited_users=oidc_block_creation_of_uninvited_users,
|
|
2150
2244
|
deactivate_user_if_no_roles=deactivate_user_if_no_roles,
|
|
2151
2245
|
maintenance_announcement_notify_before_minutes=maintenance_announcement_notify_before_minutes,
|
|
2152
2246
|
maintenance_announcement_notify_system=maintenance_announcement_notify_system,
|
|
2153
2247
|
enforce_user_consent_for_offerings=enforce_user_consent_for_offerings,
|
|
2248
|
+
onboarding_verification_expiry_hours=onboarding_verification_expiry_hours,
|
|
2249
|
+
onboarding_ariregister_base_url=onboarding_ariregister_base_url,
|
|
2250
|
+
onboarding_ariregister_username=onboarding_ariregister_username,
|
|
2251
|
+
onboarding_ariregister_password=onboarding_ariregister_password,
|
|
2252
|
+
onboarding_ariregister_timeout=onboarding_ariregister_timeout,
|
|
2154
2253
|
)
|
|
2155
2254
|
|
|
2156
2255
|
constance_settings_request_multipart.additional_properties = d
|
|
@@ -35,6 +35,7 @@ class Customer:
|
|
|
35
35
|
image (Union[None, Unset, str]):
|
|
36
36
|
blocked (Union[Unset, bool]):
|
|
37
37
|
archived (Union[Unset, bool]):
|
|
38
|
+
display_billing_info_in_projects (Union[Unset, bool]):
|
|
38
39
|
default_tax_percent (Union[Unset, str]):
|
|
39
40
|
accounting_start_date (Union[Unset, datetime.datetime]):
|
|
40
41
|
projects_count (Union[Unset, int]):
|
|
@@ -86,6 +87,7 @@ class Customer:
|
|
|
86
87
|
image: Union[None, Unset, str] = UNSET
|
|
87
88
|
blocked: Union[Unset, bool] = UNSET
|
|
88
89
|
archived: Union[Unset, bool] = UNSET
|
|
90
|
+
display_billing_info_in_projects: Union[Unset, bool] = UNSET
|
|
89
91
|
default_tax_percent: Union[Unset, str] = UNSET
|
|
90
92
|
accounting_start_date: Union[Unset, datetime.datetime] = UNSET
|
|
91
93
|
projects_count: Union[Unset, int] = UNSET
|
|
@@ -165,6 +167,8 @@ class Customer:
|
|
|
165
167
|
|
|
166
168
|
archived = self.archived
|
|
167
169
|
|
|
170
|
+
display_billing_info_in_projects = self.display_billing_info_in_projects
|
|
171
|
+
|
|
168
172
|
default_tax_percent = self.default_tax_percent
|
|
169
173
|
|
|
170
174
|
accounting_start_date: Union[Unset, str] = UNSET
|
|
@@ -323,6 +327,8 @@ class Customer:
|
|
|
323
327
|
field_dict["blocked"] = blocked
|
|
324
328
|
if archived is not UNSET:
|
|
325
329
|
field_dict["archived"] = archived
|
|
330
|
+
if display_billing_info_in_projects is not UNSET:
|
|
331
|
+
field_dict["display_billing_info_in_projects"] = display_billing_info_in_projects
|
|
326
332
|
if default_tax_percent is not UNSET:
|
|
327
333
|
field_dict["default_tax_percent"] = default_tax_percent
|
|
328
334
|
if accounting_start_date is not UNSET:
|
|
@@ -457,6 +463,8 @@ class Customer:
|
|
|
457
463
|
|
|
458
464
|
archived = d.pop("archived", UNSET)
|
|
459
465
|
|
|
466
|
+
display_billing_info_in_projects = d.pop("display_billing_info_in_projects", UNSET)
|
|
467
|
+
|
|
460
468
|
default_tax_percent = d.pop("default_tax_percent", UNSET)
|
|
461
469
|
|
|
462
470
|
_accounting_start_date = d.pop("accounting_start_date", UNSET)
|
|
@@ -664,6 +672,7 @@ class Customer:
|
|
|
664
672
|
image=image,
|
|
665
673
|
blocked=blocked,
|
|
666
674
|
archived=archived,
|
|
675
|
+
display_billing_info_in_projects=display_billing_info_in_projects,
|
|
667
676
|
default_tax_percent=default_tax_percent,
|
|
668
677
|
accounting_start_date=accounting_start_date,
|
|
669
678
|
projects_count=projects_count,
|
|
@@ -22,6 +22,7 @@ class CustomersListFieldItem(str, Enum):
|
|
|
22
22
|
CUSTOMER_UNALLOCATED_CREDIT = "customer_unallocated_credit"
|
|
23
23
|
DEFAULT_TAX_PERCENT = "default_tax_percent"
|
|
24
24
|
DESCRIPTION = "description"
|
|
25
|
+
DISPLAY_BILLING_INFO_IN_PROJECTS = "display_billing_info_in_projects"
|
|
25
26
|
DISPLAY_NAME = "display_name"
|
|
26
27
|
DOMAIN = "domain"
|
|
27
28
|
EMAIL = "email"
|
|
@@ -22,6 +22,7 @@ class CustomersRetrieveFieldItem(str, Enum):
|
|
|
22
22
|
CUSTOMER_UNALLOCATED_CREDIT = "customer_unallocated_credit"
|
|
23
23
|
DEFAULT_TAX_PERCENT = "default_tax_percent"
|
|
24
24
|
DESCRIPTION = "description"
|
|
25
|
+
DISPLAY_BILLING_INFO_IN_PROJECTS = "display_billing_info_in_projects"
|
|
25
26
|
DISPLAY_NAME = "display_name"
|
|
26
27
|
DOMAIN = "domain"
|
|
27
28
|
EMAIL = "email"
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
from collections.abc import Mapping
|
|
3
|
+
from typing import Any, TypeVar, Union
|
|
4
|
+
from uuid import UUID
|
|
5
|
+
|
|
6
|
+
from attrs import define as _attrs_define
|
|
7
|
+
from attrs import field as _attrs_field
|
|
8
|
+
from dateutil.parser import isoparse
|
|
9
|
+
|
|
10
|
+
from ..models.policy_type_enum import PolicyTypeEnum
|
|
11
|
+
from ..types import UNSET, Unset
|
|
12
|
+
|
|
13
|
+
T = TypeVar("T", bound="DeprecatedNetworkRBACPolicy")
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@_attrs_define
|
|
17
|
+
class DeprecatedNetworkRBACPolicy:
|
|
18
|
+
"""
|
|
19
|
+
Attributes:
|
|
20
|
+
url (str):
|
|
21
|
+
uuid (UUID):
|
|
22
|
+
network (str):
|
|
23
|
+
network_name (str):
|
|
24
|
+
target_tenant (str):
|
|
25
|
+
target_tenant_name (str):
|
|
26
|
+
backend_id (str):
|
|
27
|
+
created (datetime.datetime):
|
|
28
|
+
policy_type (Union[Unset, PolicyTypeEnum]): Default: PolicyTypeEnum.ACCESS_AS_SHARED.
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
url: str
|
|
32
|
+
uuid: UUID
|
|
33
|
+
network: str
|
|
34
|
+
network_name: str
|
|
35
|
+
target_tenant: str
|
|
36
|
+
target_tenant_name: str
|
|
37
|
+
backend_id: str
|
|
38
|
+
created: datetime.datetime
|
|
39
|
+
policy_type: Union[Unset, PolicyTypeEnum] = PolicyTypeEnum.ACCESS_AS_SHARED
|
|
40
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
41
|
+
|
|
42
|
+
def to_dict(self) -> dict[str, Any]:
|
|
43
|
+
url = self.url
|
|
44
|
+
|
|
45
|
+
uuid = str(self.uuid)
|
|
46
|
+
|
|
47
|
+
network = self.network
|
|
48
|
+
|
|
49
|
+
network_name = self.network_name
|
|
50
|
+
|
|
51
|
+
target_tenant = self.target_tenant
|
|
52
|
+
|
|
53
|
+
target_tenant_name = self.target_tenant_name
|
|
54
|
+
|
|
55
|
+
backend_id = self.backend_id
|
|
56
|
+
|
|
57
|
+
created = self.created.isoformat()
|
|
58
|
+
|
|
59
|
+
policy_type: Union[Unset, str] = UNSET
|
|
60
|
+
if not isinstance(self.policy_type, Unset):
|
|
61
|
+
policy_type = self.policy_type.value
|
|
62
|
+
|
|
63
|
+
field_dict: dict[str, Any] = {}
|
|
64
|
+
field_dict.update(self.additional_properties)
|
|
65
|
+
field_dict.update(
|
|
66
|
+
{
|
|
67
|
+
"url": url,
|
|
68
|
+
"uuid": uuid,
|
|
69
|
+
"network": network,
|
|
70
|
+
"network_name": network_name,
|
|
71
|
+
"target_tenant": target_tenant,
|
|
72
|
+
"target_tenant_name": target_tenant_name,
|
|
73
|
+
"backend_id": backend_id,
|
|
74
|
+
"created": created,
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
if policy_type is not UNSET:
|
|
78
|
+
field_dict["policy_type"] = policy_type
|
|
79
|
+
|
|
80
|
+
return field_dict
|
|
81
|
+
|
|
82
|
+
@classmethod
|
|
83
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
84
|
+
d = dict(src_dict)
|
|
85
|
+
url = d.pop("url")
|
|
86
|
+
|
|
87
|
+
uuid = UUID(d.pop("uuid"))
|
|
88
|
+
|
|
89
|
+
network = d.pop("network")
|
|
90
|
+
|
|
91
|
+
network_name = d.pop("network_name")
|
|
92
|
+
|
|
93
|
+
target_tenant = d.pop("target_tenant")
|
|
94
|
+
|
|
95
|
+
target_tenant_name = d.pop("target_tenant_name")
|
|
96
|
+
|
|
97
|
+
backend_id = d.pop("backend_id")
|
|
98
|
+
|
|
99
|
+
created = isoparse(d.pop("created"))
|
|
100
|
+
|
|
101
|
+
_policy_type = d.pop("policy_type", UNSET)
|
|
102
|
+
policy_type: Union[Unset, PolicyTypeEnum]
|
|
103
|
+
if isinstance(_policy_type, Unset):
|
|
104
|
+
policy_type = UNSET
|
|
105
|
+
else:
|
|
106
|
+
policy_type = PolicyTypeEnum(_policy_type)
|
|
107
|
+
|
|
108
|
+
deprecated_network_rbac_policy = cls(
|
|
109
|
+
url=url,
|
|
110
|
+
uuid=uuid,
|
|
111
|
+
network=network,
|
|
112
|
+
network_name=network_name,
|
|
113
|
+
target_tenant=target_tenant,
|
|
114
|
+
target_tenant_name=target_tenant_name,
|
|
115
|
+
backend_id=backend_id,
|
|
116
|
+
created=created,
|
|
117
|
+
policy_type=policy_type,
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
deprecated_network_rbac_policy.additional_properties = d
|
|
121
|
+
return deprecated_network_rbac_policy
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def additional_keys(self) -> list[str]:
|
|
125
|
+
return list(self.additional_properties.keys())
|
|
126
|
+
|
|
127
|
+
def __getitem__(self, key: str) -> Any:
|
|
128
|
+
return self.additional_properties[key]
|
|
129
|
+
|
|
130
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
131
|
+
self.additional_properties[key] = value
|
|
132
|
+
|
|
133
|
+
def __delitem__(self, key: str) -> None:
|
|
134
|
+
del self.additional_properties[key]
|
|
135
|
+
|
|
136
|
+
def __contains__(self, key: str) -> bool:
|
|
137
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
from ..models.policy_type_enum import PolicyTypeEnum
|
|
8
|
+
from ..types import UNSET, Unset
|
|
9
|
+
|
|
10
|
+
T = TypeVar("T", bound="DeprecatedNetworkRBACPolicyRequest")
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@_attrs_define
|
|
14
|
+
class DeprecatedNetworkRBACPolicyRequest:
|
|
15
|
+
"""
|
|
16
|
+
Attributes:
|
|
17
|
+
target_tenant (str):
|
|
18
|
+
policy_type (Union[Unset, PolicyTypeEnum]): Default: PolicyTypeEnum.ACCESS_AS_SHARED.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
target_tenant: str
|
|
22
|
+
policy_type: Union[Unset, PolicyTypeEnum] = PolicyTypeEnum.ACCESS_AS_SHARED
|
|
23
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
24
|
+
|
|
25
|
+
def to_dict(self) -> dict[str, Any]:
|
|
26
|
+
target_tenant = self.target_tenant
|
|
27
|
+
|
|
28
|
+
policy_type: Union[Unset, str] = UNSET
|
|
29
|
+
if not isinstance(self.policy_type, Unset):
|
|
30
|
+
policy_type = self.policy_type.value
|
|
31
|
+
|
|
32
|
+
field_dict: dict[str, Any] = {}
|
|
33
|
+
field_dict.update(self.additional_properties)
|
|
34
|
+
field_dict.update(
|
|
35
|
+
{
|
|
36
|
+
"target_tenant": target_tenant,
|
|
37
|
+
}
|
|
38
|
+
)
|
|
39
|
+
if policy_type is not UNSET:
|
|
40
|
+
field_dict["policy_type"] = policy_type
|
|
41
|
+
|
|
42
|
+
return field_dict
|
|
43
|
+
|
|
44
|
+
@classmethod
|
|
45
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
46
|
+
d = dict(src_dict)
|
|
47
|
+
target_tenant = d.pop("target_tenant")
|
|
48
|
+
|
|
49
|
+
_policy_type = d.pop("policy_type", UNSET)
|
|
50
|
+
policy_type: Union[Unset, PolicyTypeEnum]
|
|
51
|
+
if isinstance(_policy_type, Unset):
|
|
52
|
+
policy_type = UNSET
|
|
53
|
+
else:
|
|
54
|
+
policy_type = PolicyTypeEnum(_policy_type)
|
|
55
|
+
|
|
56
|
+
deprecated_network_rbac_policy_request = cls(
|
|
57
|
+
target_tenant=target_tenant,
|
|
58
|
+
policy_type=policy_type,
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
deprecated_network_rbac_policy_request.additional_properties = d
|
|
62
|
+
return deprecated_network_rbac_policy_request
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
def additional_keys(self) -> list[str]:
|
|
66
|
+
return list(self.additional_properties.keys())
|
|
67
|
+
|
|
68
|
+
def __getitem__(self, key: str) -> Any:
|
|
69
|
+
return self.additional_properties[key]
|
|
70
|
+
|
|
71
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
72
|
+
self.additional_properties[key] = value
|
|
73
|
+
|
|
74
|
+
def __delitem__(self, key: str) -> None:
|
|
75
|
+
del self.additional_properties[key]
|
|
76
|
+
|
|
77
|
+
def __contains__(self, key: str) -> bool:
|
|
78
|
+
return key in self.additional_properties
|
|
@@ -15,6 +15,7 @@ class EventTypesEnum(str, Enum):
|
|
|
15
15
|
AUTH_LOGGED_OUT = "auth_logged_out"
|
|
16
16
|
AUTH_LOGGED_OUT_WITH_SAML2 = "auth_logged_out_with_saml2"
|
|
17
17
|
AUTH_LOGIN_FAILED_WITH_USERNAME = "auth_login_failed_with_username"
|
|
18
|
+
AUTOMATIC_CREDIT_ADJUSTMENT = "automatic_credit_adjustment"
|
|
18
19
|
BLOCK_CREATION_OF_NEW_RESOURCES = "block_creation_of_new_resources"
|
|
19
20
|
BLOCK_MODIFICATION_OF_EXISTING_RESOURCES = "block_modification_of_existing_resources"
|
|
20
21
|
CALL_DOCUMENT_ADDED = "call_document_added"
|
|
@@ -244,6 +245,8 @@ class EventTypesEnum(str, Enum):
|
|
|
244
245
|
SSH_KEY_CREATION_SUCCEEDED = "ssh_key_creation_succeeded"
|
|
245
246
|
SSH_KEY_DELETION_SUCCEEDED = "ssh_key_deletion_succeeded"
|
|
246
247
|
TERMINATE_RESOURCES = "terminate_resources"
|
|
248
|
+
TERMS_OF_SERVICE_CONSENT_GRANTED = "terms_of_service_consent_granted"
|
|
249
|
+
TERMS_OF_SERVICE_CONSENT_REVOKED = "terms_of_service_consent_revoked"
|
|
247
250
|
TOKEN_CREATED = "token_created"
|
|
248
251
|
TOKEN_LIFETIME_UPDATED = "token_lifetime_updated"
|
|
249
252
|
UPDATE_OF_CREDIT_BY_STAFF = "update_of_credit_by_staff"
|
|
@@ -11,8 +11,7 @@ T = TypeVar("T", bound="GenericOrderAttributes")
|
|
|
11
11
|
|
|
12
12
|
@_attrs_define
|
|
13
13
|
class GenericOrderAttributes:
|
|
14
|
-
"""
|
|
15
|
-
|
|
14
|
+
"""
|
|
16
15
|
Attributes:
|
|
17
16
|
name (Union[Unset, str]): The name of the resource to be created. Will be displayed in the portal.
|
|
18
17
|
description (Union[Unset, str]): A free-form description for the resource.
|
|
@@ -33,9 +33,6 @@ class ManagedRancherClusterResourcesListFieldItem(str, Enum):
|
|
|
33
33
|
NAME = "name"
|
|
34
34
|
OFFERING = "offering"
|
|
35
35
|
OFFERING_BILLABLE = "offering_billable"
|
|
36
|
-
OFFERING_CUSTOMER_NAME = "offering_customer_name"
|
|
37
|
-
OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
|
|
38
|
-
OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
|
|
39
36
|
OFFERING_DESCRIPTION = "offering_description"
|
|
40
37
|
OFFERING_IMAGE = "offering_image"
|
|
41
38
|
OFFERING_NAME = "offering_name"
|
|
@@ -66,6 +63,7 @@ class ManagedRancherClusterResourcesListFieldItem(str, Enum):
|
|
|
66
63
|
PROJECT_SLUG = "project_slug"
|
|
67
64
|
PROJECT_UUID = "project_uuid"
|
|
68
65
|
PROVIDER_NAME = "provider_name"
|
|
66
|
+
PROVIDER_SLUG = "provider_slug"
|
|
69
67
|
PROVIDER_UUID = "provider_uuid"
|
|
70
68
|
REPORT = "report"
|
|
71
69
|
RESOURCE_TYPE = "resource_type"
|
|
@@ -33,9 +33,6 @@ class ManagedRancherClusterResourcesRetrieveFieldItem(str, Enum):
|
|
|
33
33
|
NAME = "name"
|
|
34
34
|
OFFERING = "offering"
|
|
35
35
|
OFFERING_BILLABLE = "offering_billable"
|
|
36
|
-
OFFERING_CUSTOMER_NAME = "offering_customer_name"
|
|
37
|
-
OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
|
|
38
|
-
OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
|
|
39
36
|
OFFERING_DESCRIPTION = "offering_description"
|
|
40
37
|
OFFERING_IMAGE = "offering_image"
|
|
41
38
|
OFFERING_NAME = "offering_name"
|
|
@@ -66,6 +63,7 @@ class ManagedRancherClusterResourcesRetrieveFieldItem(str, Enum):
|
|
|
66
63
|
PROJECT_SLUG = "project_slug"
|
|
67
64
|
PROJECT_UUID = "project_uuid"
|
|
68
65
|
PROVIDER_NAME = "provider_name"
|
|
66
|
+
PROVIDER_SLUG = "provider_slug"
|
|
69
67
|
PROVIDER_UUID = "provider_uuid"
|
|
70
68
|
REPORT = "report"
|
|
71
69
|
RESOURCE_TYPE = "resource_type"
|