waldur-api-client 7.8.4__py3-none-any.whl → 7.8.5__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/backend_resources/backend_resources_import_resource.py +3 -3
- waldur_api_client/api/booking_resources/booking_resources_count.py +90 -0
- waldur_api_client/api/booking_resources/booking_resources_list.py +90 -0
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_add_user.py +17 -10
- waldur_api_client/api/customers/customers_add_user.py +17 -10
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_count.py +30 -0
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_list.py +30 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/__init__.py +1 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_count.py +125 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_retrieve.py +119 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_count.py +239 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_create.py +152 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_destroy.py +89 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_list.py +242 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_partial_update.py +166 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_retrieve.py +144 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_update.py +166 -0
- waldur_api_client/api/marketplace_orders/marketplace_orders_set_backend_id.py +105 -0
- waldur_api_client/api/marketplace_plans/marketplace_plans_update_discounts.py +123 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_partition.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_software_catalog.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_user.py +19 -10
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_create_offering_component.py +1 -1
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_partition.py +107 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_software_catalog.py +107 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_partition_partial_update.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_software_catalog_partial_update.py +168 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +90 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +90 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_downscaled.py +107 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_paused.py +107 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_restrict_member_access.py +107 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +15 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +90 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +90 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_downscaled.py +107 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_paused.py +107 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_restrict_member_access.py +107 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_add_user.py +17 -10
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_customer_projects_list.py +15 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_projects_list.py +14 -24
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_set_offerings_username.py +8 -67
- waldur_api_client/api/marketplace_site_agent_identities/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_count.py +240 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_create.py +148 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_destroy.py +89 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_list.py +241 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_event_subscription.py +176 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_service.py +170 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_retrieve.py +140 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_update.py +162 -0
- waldur_api_client/api/marketplace_site_agent_processors/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_count.py +240 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_list.py +241 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_retrieve.py +142 -0
- waldur_api_client/api/marketplace_site_agent_services/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_count.py +229 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_list.py +230 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_register_processor.py +172 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_retrieve.py +140 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_set_statistics.py +166 -0
- waldur_api_client/api/marketplace_software_catalogs/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_count.py +225 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_create.py +150 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_list.py +226 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_partial_update.py +164 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_update.py +164 -0
- waldur_api_client/api/marketplace_software_packages/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_count.py +352 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_create.py +150 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_list.py +353 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_partial_update.py +164 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_update.py +164 -0
- waldur_api_client/api/marketplace_software_targets/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_count.py +313 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_create.py +117 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_list.py +314 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_partial_update.py +142 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_update.py +142 -0
- waldur_api_client/api/marketplace_software_versions/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_count.py +310 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_create.py +117 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_list.py +311 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_partial_update.py +142 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_update.py +142 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_approve.py +168 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_reject.py +168 -0
- waldur_api_client/api/projects/projects_add_user.py +17 -10
- waldur_api_client/api/projects/projects_count.py +30 -0
- waldur_api_client/api/projects/projects_list.py +30 -0
- waldur_api_client/api/projects/projects_move_project.py +19 -10
- waldur_api_client/api/projects/projects_recover.py +166 -0
- waldur_api_client/api/proposal_proposals/proposal_proposals_add_user.py +17 -10
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_add_user.py +17 -10
- waldur_api_client/api/remote_waldur_api/remote_waldur_api_pull_resource_robot_accounts.py +88 -0
- waldur_api_client/models/__init__.py +152 -4
- waldur_api_client/models/agent_event_subscription_create_request.py +71 -0
- waldur_api_client/models/agent_identity.py +211 -0
- waldur_api_client/models/agent_identity_request.py +157 -0
- waldur_api_client/models/agent_processor.py +170 -0
- waldur_api_client/models/agent_processor_create_request.py +89 -0
- waldur_api_client/models/agent_service.py +172 -0
- waldur_api_client/models/agent_service_create_request.py +81 -0
- waldur_api_client/models/agent_service_state.py +10 -0
- waldur_api_client/models/agent_service_statistics_request.py +59 -0
- waldur_api_client/models/base_provider_plan.py +21 -0
- waldur_api_client/models/base_public_plan.py +21 -0
- waldur_api_client/models/booking_offerings_list_field_item.py +2 -0
- waldur_api_client/models/booking_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/booking_resource.py +33 -0
- waldur_api_client/models/booking_resource_renewal_date_type_0.py +53 -0
- waldur_api_client/models/booking_resources_list_field_item.py +1 -0
- waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/call_managing_organisations_add_user_response_400.py +65 -0
- waldur_api_client/models/constance_settings.py +81 -45
- waldur_api_client/models/constance_settings_request.py +81 -45
- waldur_api_client/models/constance_settings_request_form.py +81 -45
- waldur_api_client/models/constance_settings_request_multipart.py +134 -71
- waldur_api_client/models/customer_component_usage_policy.py +175 -0
- waldur_api_client/models/customer_component_usage_policy_request.py +102 -0
- waldur_api_client/models/customers_add_user_response_400.py +65 -0
- waldur_api_client/models/discount_config_request.py +91 -0
- waldur_api_client/models/discounts_update_request.py +65 -0
- waldur_api_client/models/discounts_update_request_discounts.py +57 -0
- waldur_api_client/models/issue.py +0 -25
- waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -0
- waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_orders_count_state_item.py +1 -0
- waldur_api_client/models/marketplace_orders_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_orders_list_state_item.py +1 -0
- waldur_api_client/models/marketplace_orders_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_add_user_response_400.py +65 -0
- waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_public_offerings_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_resources_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_service_providers_add_user_response_400.py +65 -0
- waldur_api_client/models/marketplace_site_agent_services_count_state_item.py +10 -0
- waldur_api_client/models/marketplace_site_agent_services_list_state_item.py +10 -0
- waldur_api_client/models/marketplace_software_catalogs_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_catalogs_list_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_packages_count_o_item.py +17 -0
- waldur_api_client/models/marketplace_software_packages_list_o_item.py +17 -0
- waldur_api_client/models/marketplace_software_targets_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_targets_list_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_versions_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_versions_list_o_item.py +15 -0
- waldur_api_client/models/merged_plugin_options.py +47 -8
- waldur_api_client/models/merged_plugin_options_request.py +47 -8
- waldur_api_client/models/nested_agent_processor.py +154 -0
- waldur_api_client/models/nested_agent_service.py +134 -0
- waldur_api_client/models/nested_agent_service_request.py +90 -0
- waldur_api_client/models/nested_customer_usage_policy_component.py +103 -0
- waldur_api_client/models/nested_customer_usage_policy_component_request.py +87 -0
- waldur_api_client/models/nested_partition.py +412 -0
- waldur_api_client/models/nested_partition_request.py +397 -0
- waldur_api_client/models/nested_plan_component.py +155 -0
- waldur_api_client/models/nested_plan_component_request.py +128 -0
- waldur_api_client/models/nested_software_catalog.py +134 -0
- waldur_api_client/models/nested_software_catalog_catalog.py +86 -0
- waldur_api_client/models/nested_software_catalog_partition.py +86 -0
- waldur_api_client/models/nested_software_catalog_request.py +68 -0
- waldur_api_client/models/nested_software_target.py +84 -0
- waldur_api_client/models/nested_software_target_request.py +75 -0
- waldur_api_client/models/nested_software_version.py +124 -0
- waldur_api_client/models/nested_software_version_request.py +93 -0
- waldur_api_client/models/observable_object_type_enum.py +14 -0
- waldur_api_client/models/offering.py +42 -0
- waldur_api_client/models/offering_create.py +36 -0
- waldur_api_client/models/offering_partition.py +440 -0
- waldur_api_client/models/offering_partition_request.py +406 -0
- waldur_api_client/models/offering_software_catalog.py +176 -0
- waldur_api_client/models/offering_software_catalog_request.py +118 -0
- waldur_api_client/models/onboarding_justification.py +35 -6
- waldur_api_client/models/onboarding_justification_create_request.py +8 -5
- waldur_api_client/models/onboarding_justification_request.py +20 -6
- waldur_api_client/models/onboarding_justification_review_request.py +59 -0
- waldur_api_client/models/order_backend_id_request.py +59 -0
- waldur_api_client/models/order_details.py +39 -0
- waldur_api_client/models/order_state.py +1 -0
- waldur_api_client/models/patched_customer_component_usage_policy_request.py +104 -0
- waldur_api_client/models/patched_offering_partition_request.py +412 -0
- waldur_api_client/models/patched_offering_software_catalog_update_request.py +131 -0
- waldur_api_client/models/patched_onboarding_justification_request.py +16 -5
- waldur_api_client/models/patched_project_request.py +9 -0
- waldur_api_client/models/patched_project_request_form.py +9 -0
- waldur_api_client/models/patched_project_request_multipart.py +12 -0
- waldur_api_client/models/patched_software_catalog_request.py +86 -0
- waldur_api_client/models/patched_software_package_request.py +86 -0
- waldur_api_client/models/plan_component.py +40 -0
- waldur_api_client/models/project.py +27 -0
- waldur_api_client/models/project_recovery_request.py +70 -0
- waldur_api_client/models/project_request.py +9 -0
- waldur_api_client/models/project_request_form.py +9 -0
- waldur_api_client/models/project_request_multipart.py +12 -0
- waldur_api_client/models/project_user.py +21 -4
- waldur_api_client/models/projects_add_user_response_400.py +65 -0
- waldur_api_client/models/projects_list_field_item.py +3 -0
- waldur_api_client/models/projects_move_project_response_400.py +65 -0
- waldur_api_client/models/projects_retrieve_field_item.py +3 -0
- waldur_api_client/models/proposal_proposals_add_user_response_400.py +65 -0
- waldur_api_client/models/proposal_protected_calls_add_user_response_400.py +65 -0
- waldur_api_client/models/provider_offering_details.py +42 -0
- waldur_api_client/models/provider_plan_details.py +18 -0
- waldur_api_client/models/public_offering_details.py +42 -0
- waldur_api_client/models/remote_resource_order_remote_state_enum.py +1 -0
- waldur_api_client/models/{set_offerings_username.py → remove_partition_request.py} +11 -19
- waldur_api_client/models/remove_software_catalog_request.py +60 -0
- waldur_api_client/models/resource.py +33 -0
- waldur_api_client/models/resource_downscaled_request.py +59 -0
- waldur_api_client/models/resource_paused_request.py +59 -0
- waldur_api_client/models/resource_renewal_date_type_0.py +53 -0
- waldur_api_client/models/resource_restrict_member_access_request.py +59 -0
- waldur_api_client/models/software_catalog.py +130 -0
- waldur_api_client/models/software_catalog_request.py +87 -0
- waldur_api_client/models/software_catalog_uuid.py +60 -0
- waldur_api_client/models/software_package.py +168 -0
- waldur_api_client/models/software_package_request.py +87 -0
- waldur_api_client/models/software_target.py +110 -0
- waldur_api_client/models/software_version.py +135 -0
- waldur_api_client/models/user.py +20 -0
- waldur_api_client/models/users_list_field_item.py +1 -0
- waldur_api_client/models/users_me_retrieve_field_item.py +1 -0
- waldur_api_client/models/users_retrieve_field_item.py +1 -0
- {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/METADATA +1 -1
- {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/RECORD +256 -103
- waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +0 -37
- {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/WHEEL +0 -0
- {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -39,6 +39,7 @@ class MarketplaceProviderOfferingsUserHasResourceAccessRetrieveFieldItem(str, En
|
|
|
39
39
|
PARENT_DESCRIPTION = "parent_description"
|
|
40
40
|
PARENT_NAME = "parent_name"
|
|
41
41
|
PARENT_UUID = "parent_uuid"
|
|
42
|
+
PARTITIONS = "partitions"
|
|
42
43
|
PAUSED_REASON = "paused_reason"
|
|
43
44
|
PLANS = "plans"
|
|
44
45
|
PLUGIN_OPTIONS = "plugin_options"
|
|
@@ -59,6 +60,7 @@ class MarketplaceProviderOfferingsUserHasResourceAccessRetrieveFieldItem(str, En
|
|
|
59
60
|
SERVICE_ATTRIBUTES = "service_attributes"
|
|
60
61
|
SHARED = "shared"
|
|
61
62
|
SLUG = "slug"
|
|
63
|
+
SOFTWARE_CATALOGS = "software_catalogs"
|
|
62
64
|
STATE = "state"
|
|
63
65
|
THUMBNAIL = "thumbnail"
|
|
64
66
|
TOTAL_COST = "total_cost"
|
|
@@ -65,6 +65,7 @@ class MarketplaceProviderResourcesDetailsRetrieveFieldItem(str, Enum):
|
|
|
65
65
|
PROVIDER_NAME = "provider_name"
|
|
66
66
|
PROVIDER_SLUG = "provider_slug"
|
|
67
67
|
PROVIDER_UUID = "provider_uuid"
|
|
68
|
+
RENEWAL_DATE = "renewal_date"
|
|
68
69
|
REPORT = "report"
|
|
69
70
|
RESOURCE_TYPE = "resource_type"
|
|
70
71
|
RESOURCE_UUID = "resource_uuid"
|
|
@@ -65,6 +65,7 @@ class MarketplaceProviderResourcesListFieldItem(str, Enum):
|
|
|
65
65
|
PROVIDER_NAME = "provider_name"
|
|
66
66
|
PROVIDER_SLUG = "provider_slug"
|
|
67
67
|
PROVIDER_UUID = "provider_uuid"
|
|
68
|
+
RENEWAL_DATE = "renewal_date"
|
|
68
69
|
REPORT = "report"
|
|
69
70
|
RESOURCE_TYPE = "resource_type"
|
|
70
71
|
RESOURCE_UUID = "resource_uuid"
|
|
@@ -65,6 +65,7 @@ class MarketplaceProviderResourcesRetrieveFieldItem(str, Enum):
|
|
|
65
65
|
PROVIDER_NAME = "provider_name"
|
|
66
66
|
PROVIDER_SLUG = "provider_slug"
|
|
67
67
|
PROVIDER_UUID = "provider_uuid"
|
|
68
|
+
RENEWAL_DATE = "renewal_date"
|
|
68
69
|
REPORT = "report"
|
|
69
70
|
RESOURCE_TYPE = "resource_type"
|
|
70
71
|
RESOURCE_UUID = "resource_uuid"
|
|
@@ -38,6 +38,7 @@ class MarketplacePublicOfferingsListFieldItem(str, Enum):
|
|
|
38
38
|
PARENT_DESCRIPTION = "parent_description"
|
|
39
39
|
PARENT_NAME = "parent_name"
|
|
40
40
|
PARENT_UUID = "parent_uuid"
|
|
41
|
+
PARTITIONS = "partitions"
|
|
41
42
|
PAUSED_REASON = "paused_reason"
|
|
42
43
|
PLANS = "plans"
|
|
43
44
|
PLUGIN_OPTIONS = "plugin_options"
|
|
@@ -57,6 +58,7 @@ class MarketplacePublicOfferingsListFieldItem(str, Enum):
|
|
|
57
58
|
SCREENSHOTS = "screenshots"
|
|
58
59
|
SHARED = "shared"
|
|
59
60
|
SLUG = "slug"
|
|
61
|
+
SOFTWARE_CATALOGS = "software_catalogs"
|
|
60
62
|
STATE = "state"
|
|
61
63
|
THUMBNAIL = "thumbnail"
|
|
62
64
|
TOTAL_COST = "total_cost"
|
|
@@ -38,6 +38,7 @@ class MarketplacePublicOfferingsRetrieveFieldItem(str, Enum):
|
|
|
38
38
|
PARENT_DESCRIPTION = "parent_description"
|
|
39
39
|
PARENT_NAME = "parent_name"
|
|
40
40
|
PARENT_UUID = "parent_uuid"
|
|
41
|
+
PARTITIONS = "partitions"
|
|
41
42
|
PAUSED_REASON = "paused_reason"
|
|
42
43
|
PLANS = "plans"
|
|
43
44
|
PLUGIN_OPTIONS = "plugin_options"
|
|
@@ -57,6 +58,7 @@ class MarketplacePublicOfferingsRetrieveFieldItem(str, Enum):
|
|
|
57
58
|
SCREENSHOTS = "screenshots"
|
|
58
59
|
SHARED = "shared"
|
|
59
60
|
SLUG = "slug"
|
|
61
|
+
SOFTWARE_CATALOGS = "software_catalogs"
|
|
60
62
|
STATE = "state"
|
|
61
63
|
THUMBNAIL = "thumbnail"
|
|
62
64
|
TOTAL_COST = "total_cost"
|
|
@@ -65,6 +65,7 @@ class MarketplaceResourcesDetailsRetrieveFieldItem(str, Enum):
|
|
|
65
65
|
PROVIDER_NAME = "provider_name"
|
|
66
66
|
PROVIDER_SLUG = "provider_slug"
|
|
67
67
|
PROVIDER_UUID = "provider_uuid"
|
|
68
|
+
RENEWAL_DATE = "renewal_date"
|
|
68
69
|
REPORT = "report"
|
|
69
70
|
RESOURCE_TYPE = "resource_type"
|
|
70
71
|
RESOURCE_UUID = "resource_uuid"
|
|
@@ -65,6 +65,7 @@ class MarketplaceResourcesListFieldItem(str, Enum):
|
|
|
65
65
|
PROVIDER_NAME = "provider_name"
|
|
66
66
|
PROVIDER_SLUG = "provider_slug"
|
|
67
67
|
PROVIDER_UUID = "provider_uuid"
|
|
68
|
+
RENEWAL_DATE = "renewal_date"
|
|
68
69
|
REPORT = "report"
|
|
69
70
|
RESOURCE_TYPE = "resource_type"
|
|
70
71
|
RESOURCE_UUID = "resource_uuid"
|
|
@@ -65,6 +65,7 @@ class MarketplaceResourcesRetrieveFieldItem(str, Enum):
|
|
|
65
65
|
PROVIDER_NAME = "provider_name"
|
|
66
66
|
PROVIDER_SLUG = "provider_slug"
|
|
67
67
|
PROVIDER_UUID = "provider_uuid"
|
|
68
|
+
RENEWAL_DATE = "renewal_date"
|
|
68
69
|
REPORT = "report"
|
|
69
70
|
RESOURCE_TYPE = "resource_type"
|
|
70
71
|
RESOURCE_UUID = "resource_uuid"
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union, cast
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
9
|
+
T = TypeVar("T", bound="MarketplaceServiceProvidersAddUserResponse400")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class MarketplaceServiceProvidersAddUserResponse400:
|
|
14
|
+
"""Validation error when trying to add user to terminated project
|
|
15
|
+
|
|
16
|
+
Example:
|
|
17
|
+
{'non_field_errors': ['Cannot manage team members for terminated projects.']}
|
|
18
|
+
|
|
19
|
+
Attributes:
|
|
20
|
+
non_field_errors (Union[Unset, list[str]]):
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
non_field_errors: Union[Unset, list[str]] = UNSET
|
|
24
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
25
|
+
|
|
26
|
+
def to_dict(self) -> dict[str, Any]:
|
|
27
|
+
non_field_errors: Union[Unset, list[str]] = UNSET
|
|
28
|
+
if not isinstance(self.non_field_errors, Unset):
|
|
29
|
+
non_field_errors = self.non_field_errors
|
|
30
|
+
|
|
31
|
+
field_dict: dict[str, Any] = {}
|
|
32
|
+
field_dict.update(self.additional_properties)
|
|
33
|
+
field_dict.update({})
|
|
34
|
+
if non_field_errors is not UNSET:
|
|
35
|
+
field_dict["non_field_errors"] = non_field_errors
|
|
36
|
+
|
|
37
|
+
return field_dict
|
|
38
|
+
|
|
39
|
+
@classmethod
|
|
40
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
41
|
+
d = dict(src_dict)
|
|
42
|
+
non_field_errors = cast(list[str], d.pop("non_field_errors", UNSET))
|
|
43
|
+
|
|
44
|
+
marketplace_service_providers_add_user_response_400 = cls(
|
|
45
|
+
non_field_errors=non_field_errors,
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
marketplace_service_providers_add_user_response_400.additional_properties = d
|
|
49
|
+
return marketplace_service_providers_add_user_response_400
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
def additional_keys(self) -> list[str]:
|
|
53
|
+
return list(self.additional_properties.keys())
|
|
54
|
+
|
|
55
|
+
def __getitem__(self, key: str) -> Any:
|
|
56
|
+
return self.additional_properties[key]
|
|
57
|
+
|
|
58
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
59
|
+
self.additional_properties[key] = value
|
|
60
|
+
|
|
61
|
+
def __delitem__(self, key: str) -> None:
|
|
62
|
+
del self.additional_properties[key]
|
|
63
|
+
|
|
64
|
+
def __contains__(self, key: str) -> bool:
|
|
65
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class MarketplaceSoftwareCatalogsCountOItem(str, Enum):
|
|
5
|
+
CREATED = "created"
|
|
6
|
+
MODIFIED = "modified"
|
|
7
|
+
NAME = "name"
|
|
8
|
+
VALUE_0 = "-created"
|
|
9
|
+
VALUE_1 = "-modified"
|
|
10
|
+
VALUE_2 = "-name"
|
|
11
|
+
VALUE_3 = "-version"
|
|
12
|
+
VERSION = "version"
|
|
13
|
+
|
|
14
|
+
def __str__(self) -> str:
|
|
15
|
+
return str(self.value)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class MarketplaceSoftwareCatalogsListOItem(str, Enum):
|
|
5
|
+
CREATED = "created"
|
|
6
|
+
MODIFIED = "modified"
|
|
7
|
+
NAME = "name"
|
|
8
|
+
VALUE_0 = "-created"
|
|
9
|
+
VALUE_1 = "-modified"
|
|
10
|
+
VALUE_2 = "-name"
|
|
11
|
+
VALUE_3 = "-version"
|
|
12
|
+
VERSION = "version"
|
|
13
|
+
|
|
14
|
+
def __str__(self) -> str:
|
|
15
|
+
return str(self.value)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class MarketplaceSoftwarePackagesCountOItem(str, Enum):
|
|
5
|
+
CATALOG_NAME = "catalog_name"
|
|
6
|
+
CATALOG_VERSION = "catalog_version"
|
|
7
|
+
CREATED = "created"
|
|
8
|
+
MODIFIED = "modified"
|
|
9
|
+
NAME = "name"
|
|
10
|
+
VALUE_0 = "-catalog_name"
|
|
11
|
+
VALUE_1 = "-catalog_version"
|
|
12
|
+
VALUE_2 = "-created"
|
|
13
|
+
VALUE_3 = "-modified"
|
|
14
|
+
VALUE_4 = "-name"
|
|
15
|
+
|
|
16
|
+
def __str__(self) -> str:
|
|
17
|
+
return str(self.value)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class MarketplaceSoftwarePackagesListOItem(str, Enum):
|
|
5
|
+
CATALOG_NAME = "catalog_name"
|
|
6
|
+
CATALOG_VERSION = "catalog_version"
|
|
7
|
+
CREATED = "created"
|
|
8
|
+
MODIFIED = "modified"
|
|
9
|
+
NAME = "name"
|
|
10
|
+
VALUE_0 = "-catalog_name"
|
|
11
|
+
VALUE_1 = "-catalog_version"
|
|
12
|
+
VALUE_2 = "-created"
|
|
13
|
+
VALUE_3 = "-modified"
|
|
14
|
+
VALUE_4 = "-name"
|
|
15
|
+
|
|
16
|
+
def __str__(self) -> str:
|
|
17
|
+
return str(self.value)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class MarketplaceSoftwareTargetsCountOItem(str, Enum):
|
|
5
|
+
CPU_FAMILY = "cpu_family"
|
|
6
|
+
CPU_MICROARCHITECTURE = "cpu_microarchitecture"
|
|
7
|
+
CREATED = "created"
|
|
8
|
+
PACKAGE_NAME = "package_name"
|
|
9
|
+
VALUE_0 = "-cpu_family"
|
|
10
|
+
VALUE_1 = "-cpu_microarchitecture"
|
|
11
|
+
VALUE_2 = "-created"
|
|
12
|
+
VALUE_3 = "-package_name"
|
|
13
|
+
|
|
14
|
+
def __str__(self) -> str:
|
|
15
|
+
return str(self.value)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class MarketplaceSoftwareTargetsListOItem(str, Enum):
|
|
5
|
+
CPU_FAMILY = "cpu_family"
|
|
6
|
+
CPU_MICROARCHITECTURE = "cpu_microarchitecture"
|
|
7
|
+
CREATED = "created"
|
|
8
|
+
PACKAGE_NAME = "package_name"
|
|
9
|
+
VALUE_0 = "-cpu_family"
|
|
10
|
+
VALUE_1 = "-cpu_microarchitecture"
|
|
11
|
+
VALUE_2 = "-created"
|
|
12
|
+
VALUE_3 = "-package_name"
|
|
13
|
+
|
|
14
|
+
def __str__(self) -> str:
|
|
15
|
+
return str(self.value)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class MarketplaceSoftwareVersionsCountOItem(str, Enum):
|
|
5
|
+
CREATED = "created"
|
|
6
|
+
PACKAGE_NAME = "package_name"
|
|
7
|
+
RELEASE_DATE = "release_date"
|
|
8
|
+
VALUE_0 = "-created"
|
|
9
|
+
VALUE_1 = "-package_name"
|
|
10
|
+
VALUE_2 = "-release_date"
|
|
11
|
+
VALUE_3 = "-version"
|
|
12
|
+
VERSION = "version"
|
|
13
|
+
|
|
14
|
+
def __str__(self) -> str:
|
|
15
|
+
return str(self.value)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class MarketplaceSoftwareVersionsListOItem(str, Enum):
|
|
5
|
+
CREATED = "created"
|
|
6
|
+
PACKAGE_NAME = "package_name"
|
|
7
|
+
RELEASE_DATE = "release_date"
|
|
8
|
+
VALUE_0 = "-created"
|
|
9
|
+
VALUE_1 = "-package_name"
|
|
10
|
+
VALUE_2 = "-release_date"
|
|
11
|
+
VALUE_3 = "-version"
|
|
12
|
+
VERSION = "version"
|
|
13
|
+
|
|
14
|
+
def __str__(self) -> str:
|
|
15
|
+
return str(self.value)
|
|
@@ -37,9 +37,12 @@ class MergedPluginOptions:
|
|
|
37
37
|
maximal_resource_count_per_project (Union[Unset, int]): Maximal number of offering resources allowed per project
|
|
38
38
|
required_team_role_for_provisioning (Union[Unset, str]): Required user role in a project for provisioning of
|
|
39
39
|
resources
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
enable_purchase_order_upload (Union[Unset, bool]): If set to True, users will be able to upload purchase orders.
|
|
41
|
+
require_purchase_order_upload (Union[Unset, bool]): If set to True, users will be required to upload purchase
|
|
42
|
+
orders.
|
|
42
43
|
conceal_billing_data (Union[Unset, bool]): If set to True, pricing and components tab would be concealed.
|
|
44
|
+
create_orders_on_resource_option_change (Union[Unset, bool]): If set to True, create orders when options of
|
|
45
|
+
related resources are changed.
|
|
43
46
|
default_internal_network_mtu (Union[Unset, int]): If set, it will be used as a default MTU for the first network
|
|
44
47
|
in a tenant
|
|
45
48
|
max_instances (Union[Unset, int]): Default limit for number of instances in OpenStack tenant
|
|
@@ -81,6 +84,10 @@ class MergedPluginOptions:
|
|
|
81
84
|
managed_rancher_tenant_max_disk (Union[Unset, int]): Max size of disk space for tenants (GB)
|
|
82
85
|
account_name_generation_policy (Union[AccountNameGenerationPolicyEnum, None, Unset]): Slurm account name
|
|
83
86
|
generation policy
|
|
87
|
+
highlight_backend_id_display (Union[Unset, bool]): Defines if backend_id should be shown more prominently by the
|
|
88
|
+
UI Default: False.
|
|
89
|
+
backend_id_display_label (Union[Unset, str]): Label used by UI for showing value of the backend_id Default:
|
|
90
|
+
'Backend ID'.
|
|
84
91
|
"""
|
|
85
92
|
|
|
86
93
|
auto_approve_remote_orders: Union[Unset, bool] = UNSET
|
|
@@ -95,8 +102,10 @@ class MergedPluginOptions:
|
|
|
95
102
|
minimal_team_count_for_provisioning: Union[Unset, int] = UNSET
|
|
96
103
|
maximal_resource_count_per_project: Union[Unset, int] = UNSET
|
|
97
104
|
required_team_role_for_provisioning: Union[Unset, str] = UNSET
|
|
98
|
-
|
|
105
|
+
enable_purchase_order_upload: Union[Unset, bool] = UNSET
|
|
106
|
+
require_purchase_order_upload: Union[Unset, bool] = UNSET
|
|
99
107
|
conceal_billing_data: Union[Unset, bool] = UNSET
|
|
108
|
+
create_orders_on_resource_option_change: Union[Unset, bool] = UNSET
|
|
100
109
|
default_internal_network_mtu: Union[Unset, int] = UNSET
|
|
101
110
|
max_instances: Union[Unset, int] = UNSET
|
|
102
111
|
max_volumes: Union[Unset, int] = UNSET
|
|
@@ -136,6 +145,8 @@ class MergedPluginOptions:
|
|
|
136
145
|
managed_rancher_tenant_max_ram: Union[Unset, int] = UNSET
|
|
137
146
|
managed_rancher_tenant_max_disk: Union[Unset, int] = UNSET
|
|
138
147
|
account_name_generation_policy: Union[AccountNameGenerationPolicyEnum, None, Unset] = UNSET
|
|
148
|
+
highlight_backend_id_display: Union[Unset, bool] = False
|
|
149
|
+
backend_id_display_label: Union[Unset, str] = "Backend ID"
|
|
139
150
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
140
151
|
|
|
141
152
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -165,10 +176,14 @@ class MergedPluginOptions:
|
|
|
165
176
|
|
|
166
177
|
required_team_role_for_provisioning = self.required_team_role_for_provisioning
|
|
167
178
|
|
|
168
|
-
|
|
179
|
+
enable_purchase_order_upload = self.enable_purchase_order_upload
|
|
180
|
+
|
|
181
|
+
require_purchase_order_upload = self.require_purchase_order_upload
|
|
169
182
|
|
|
170
183
|
conceal_billing_data = self.conceal_billing_data
|
|
171
184
|
|
|
185
|
+
create_orders_on_resource_option_change = self.create_orders_on_resource_option_change
|
|
186
|
+
|
|
172
187
|
default_internal_network_mtu = self.default_internal_network_mtu
|
|
173
188
|
|
|
174
189
|
max_instances = self.max_instances
|
|
@@ -259,6 +274,10 @@ class MergedPluginOptions:
|
|
|
259
274
|
else:
|
|
260
275
|
account_name_generation_policy = self.account_name_generation_policy
|
|
261
276
|
|
|
277
|
+
highlight_backend_id_display = self.highlight_backend_id_display
|
|
278
|
+
|
|
279
|
+
backend_id_display_label = self.backend_id_display_label
|
|
280
|
+
|
|
262
281
|
field_dict: dict[str, Any] = {}
|
|
263
282
|
field_dict.update(self.additional_properties)
|
|
264
283
|
field_dict.update({})
|
|
@@ -286,10 +305,14 @@ class MergedPluginOptions:
|
|
|
286
305
|
field_dict["maximal_resource_count_per_project"] = maximal_resource_count_per_project
|
|
287
306
|
if required_team_role_for_provisioning is not UNSET:
|
|
288
307
|
field_dict["required_team_role_for_provisioning"] = required_team_role_for_provisioning
|
|
289
|
-
if
|
|
290
|
-
field_dict["
|
|
308
|
+
if enable_purchase_order_upload is not UNSET:
|
|
309
|
+
field_dict["enable_purchase_order_upload"] = enable_purchase_order_upload
|
|
310
|
+
if require_purchase_order_upload is not UNSET:
|
|
311
|
+
field_dict["require_purchase_order_upload"] = require_purchase_order_upload
|
|
291
312
|
if conceal_billing_data is not UNSET:
|
|
292
313
|
field_dict["conceal_billing_data"] = conceal_billing_data
|
|
314
|
+
if create_orders_on_resource_option_change is not UNSET:
|
|
315
|
+
field_dict["create_orders_on_resource_option_change"] = create_orders_on_resource_option_change
|
|
293
316
|
if default_internal_network_mtu is not UNSET:
|
|
294
317
|
field_dict["default_internal_network_mtu"] = default_internal_network_mtu
|
|
295
318
|
if max_instances is not UNSET:
|
|
@@ -376,6 +399,10 @@ class MergedPluginOptions:
|
|
|
376
399
|
field_dict["managed_rancher_tenant_max_disk"] = managed_rancher_tenant_max_disk
|
|
377
400
|
if account_name_generation_policy is not UNSET:
|
|
378
401
|
field_dict["account_name_generation_policy"] = account_name_generation_policy
|
|
402
|
+
if highlight_backend_id_display is not UNSET:
|
|
403
|
+
field_dict["highlight_backend_id_display"] = highlight_backend_id_display
|
|
404
|
+
if backend_id_display_label is not UNSET:
|
|
405
|
+
field_dict["backend_id_display_label"] = backend_id_display_label
|
|
379
406
|
|
|
380
407
|
return field_dict
|
|
381
408
|
|
|
@@ -411,10 +438,14 @@ class MergedPluginOptions:
|
|
|
411
438
|
|
|
412
439
|
required_team_role_for_provisioning = d.pop("required_team_role_for_provisioning", UNSET)
|
|
413
440
|
|
|
414
|
-
|
|
441
|
+
enable_purchase_order_upload = d.pop("enable_purchase_order_upload", UNSET)
|
|
442
|
+
|
|
443
|
+
require_purchase_order_upload = d.pop("require_purchase_order_upload", UNSET)
|
|
415
444
|
|
|
416
445
|
conceal_billing_data = d.pop("conceal_billing_data", UNSET)
|
|
417
446
|
|
|
447
|
+
create_orders_on_resource_option_change = d.pop("create_orders_on_resource_option_change", UNSET)
|
|
448
|
+
|
|
418
449
|
default_internal_network_mtu = d.pop("default_internal_network_mtu", UNSET)
|
|
419
450
|
|
|
420
451
|
max_instances = d.pop("max_instances", UNSET)
|
|
@@ -529,6 +560,10 @@ class MergedPluginOptions:
|
|
|
529
560
|
d.pop("account_name_generation_policy", UNSET)
|
|
530
561
|
)
|
|
531
562
|
|
|
563
|
+
highlight_backend_id_display = d.pop("highlight_backend_id_display", UNSET)
|
|
564
|
+
|
|
565
|
+
backend_id_display_label = d.pop("backend_id_display_label", UNSET)
|
|
566
|
+
|
|
532
567
|
merged_plugin_options = cls(
|
|
533
568
|
auto_approve_remote_orders=auto_approve_remote_orders,
|
|
534
569
|
service_provider_can_create_offering_user=service_provider_can_create_offering_user,
|
|
@@ -542,8 +577,10 @@ class MergedPluginOptions:
|
|
|
542
577
|
minimal_team_count_for_provisioning=minimal_team_count_for_provisioning,
|
|
543
578
|
maximal_resource_count_per_project=maximal_resource_count_per_project,
|
|
544
579
|
required_team_role_for_provisioning=required_team_role_for_provisioning,
|
|
545
|
-
|
|
580
|
+
enable_purchase_order_upload=enable_purchase_order_upload,
|
|
581
|
+
require_purchase_order_upload=require_purchase_order_upload,
|
|
546
582
|
conceal_billing_data=conceal_billing_data,
|
|
583
|
+
create_orders_on_resource_option_change=create_orders_on_resource_option_change,
|
|
547
584
|
default_internal_network_mtu=default_internal_network_mtu,
|
|
548
585
|
max_instances=max_instances,
|
|
549
586
|
max_volumes=max_volumes,
|
|
@@ -581,6 +618,8 @@ class MergedPluginOptions:
|
|
|
581
618
|
managed_rancher_tenant_max_ram=managed_rancher_tenant_max_ram,
|
|
582
619
|
managed_rancher_tenant_max_disk=managed_rancher_tenant_max_disk,
|
|
583
620
|
account_name_generation_policy=account_name_generation_policy,
|
|
621
|
+
highlight_backend_id_display=highlight_backend_id_display,
|
|
622
|
+
backend_id_display_label=backend_id_display_label,
|
|
584
623
|
)
|
|
585
624
|
|
|
586
625
|
merged_plugin_options.additional_properties = d
|
|
@@ -37,9 +37,12 @@ class MergedPluginOptionsRequest:
|
|
|
37
37
|
maximal_resource_count_per_project (Union[Unset, int]): Maximal number of offering resources allowed per project
|
|
38
38
|
required_team_role_for_provisioning (Union[Unset, str]): Required user role in a project for provisioning of
|
|
39
39
|
resources
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
enable_purchase_order_upload (Union[Unset, bool]): If set to True, users will be able to upload purchase orders.
|
|
41
|
+
require_purchase_order_upload (Union[Unset, bool]): If set to True, users will be required to upload purchase
|
|
42
|
+
orders.
|
|
42
43
|
conceal_billing_data (Union[Unset, bool]): If set to True, pricing and components tab would be concealed.
|
|
44
|
+
create_orders_on_resource_option_change (Union[Unset, bool]): If set to True, create orders when options of
|
|
45
|
+
related resources are changed.
|
|
43
46
|
default_internal_network_mtu (Union[Unset, int]): If set, it will be used as a default MTU for the first network
|
|
44
47
|
in a tenant
|
|
45
48
|
max_instances (Union[Unset, int]): Default limit for number of instances in OpenStack tenant
|
|
@@ -81,6 +84,10 @@ class MergedPluginOptionsRequest:
|
|
|
81
84
|
managed_rancher_tenant_max_disk (Union[Unset, int]): Max size of disk space for tenants (GB)
|
|
82
85
|
account_name_generation_policy (Union[AccountNameGenerationPolicyEnum, None, Unset]): Slurm account name
|
|
83
86
|
generation policy
|
|
87
|
+
highlight_backend_id_display (Union[Unset, bool]): Defines if backend_id should be shown more prominently by the
|
|
88
|
+
UI Default: False.
|
|
89
|
+
backend_id_display_label (Union[Unset, str]): Label used by UI for showing value of the backend_id Default:
|
|
90
|
+
'Backend ID'.
|
|
84
91
|
"""
|
|
85
92
|
|
|
86
93
|
auto_approve_remote_orders: Union[Unset, bool] = UNSET
|
|
@@ -95,8 +102,10 @@ class MergedPluginOptionsRequest:
|
|
|
95
102
|
minimal_team_count_for_provisioning: Union[Unset, int] = UNSET
|
|
96
103
|
maximal_resource_count_per_project: Union[Unset, int] = UNSET
|
|
97
104
|
required_team_role_for_provisioning: Union[Unset, str] = UNSET
|
|
98
|
-
|
|
105
|
+
enable_purchase_order_upload: Union[Unset, bool] = UNSET
|
|
106
|
+
require_purchase_order_upload: Union[Unset, bool] = UNSET
|
|
99
107
|
conceal_billing_data: Union[Unset, bool] = UNSET
|
|
108
|
+
create_orders_on_resource_option_change: Union[Unset, bool] = UNSET
|
|
100
109
|
default_internal_network_mtu: Union[Unset, int] = UNSET
|
|
101
110
|
max_instances: Union[Unset, int] = UNSET
|
|
102
111
|
max_volumes: Union[Unset, int] = UNSET
|
|
@@ -136,6 +145,8 @@ class MergedPluginOptionsRequest:
|
|
|
136
145
|
managed_rancher_tenant_max_ram: Union[Unset, int] = UNSET
|
|
137
146
|
managed_rancher_tenant_max_disk: Union[Unset, int] = UNSET
|
|
138
147
|
account_name_generation_policy: Union[AccountNameGenerationPolicyEnum, None, Unset] = UNSET
|
|
148
|
+
highlight_backend_id_display: Union[Unset, bool] = False
|
|
149
|
+
backend_id_display_label: Union[Unset, str] = "Backend ID"
|
|
139
150
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
140
151
|
|
|
141
152
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -165,10 +176,14 @@ class MergedPluginOptionsRequest:
|
|
|
165
176
|
|
|
166
177
|
required_team_role_for_provisioning = self.required_team_role_for_provisioning
|
|
167
178
|
|
|
168
|
-
|
|
179
|
+
enable_purchase_order_upload = self.enable_purchase_order_upload
|
|
180
|
+
|
|
181
|
+
require_purchase_order_upload = self.require_purchase_order_upload
|
|
169
182
|
|
|
170
183
|
conceal_billing_data = self.conceal_billing_data
|
|
171
184
|
|
|
185
|
+
create_orders_on_resource_option_change = self.create_orders_on_resource_option_change
|
|
186
|
+
|
|
172
187
|
default_internal_network_mtu = self.default_internal_network_mtu
|
|
173
188
|
|
|
174
189
|
max_instances = self.max_instances
|
|
@@ -259,6 +274,10 @@ class MergedPluginOptionsRequest:
|
|
|
259
274
|
else:
|
|
260
275
|
account_name_generation_policy = self.account_name_generation_policy
|
|
261
276
|
|
|
277
|
+
highlight_backend_id_display = self.highlight_backend_id_display
|
|
278
|
+
|
|
279
|
+
backend_id_display_label = self.backend_id_display_label
|
|
280
|
+
|
|
262
281
|
field_dict: dict[str, Any] = {}
|
|
263
282
|
field_dict.update(self.additional_properties)
|
|
264
283
|
field_dict.update({})
|
|
@@ -286,10 +305,14 @@ class MergedPluginOptionsRequest:
|
|
|
286
305
|
field_dict["maximal_resource_count_per_project"] = maximal_resource_count_per_project
|
|
287
306
|
if required_team_role_for_provisioning is not UNSET:
|
|
288
307
|
field_dict["required_team_role_for_provisioning"] = required_team_role_for_provisioning
|
|
289
|
-
if
|
|
290
|
-
field_dict["
|
|
308
|
+
if enable_purchase_order_upload is not UNSET:
|
|
309
|
+
field_dict["enable_purchase_order_upload"] = enable_purchase_order_upload
|
|
310
|
+
if require_purchase_order_upload is not UNSET:
|
|
311
|
+
field_dict["require_purchase_order_upload"] = require_purchase_order_upload
|
|
291
312
|
if conceal_billing_data is not UNSET:
|
|
292
313
|
field_dict["conceal_billing_data"] = conceal_billing_data
|
|
314
|
+
if create_orders_on_resource_option_change is not UNSET:
|
|
315
|
+
field_dict["create_orders_on_resource_option_change"] = create_orders_on_resource_option_change
|
|
293
316
|
if default_internal_network_mtu is not UNSET:
|
|
294
317
|
field_dict["default_internal_network_mtu"] = default_internal_network_mtu
|
|
295
318
|
if max_instances is not UNSET:
|
|
@@ -376,6 +399,10 @@ class MergedPluginOptionsRequest:
|
|
|
376
399
|
field_dict["managed_rancher_tenant_max_disk"] = managed_rancher_tenant_max_disk
|
|
377
400
|
if account_name_generation_policy is not UNSET:
|
|
378
401
|
field_dict["account_name_generation_policy"] = account_name_generation_policy
|
|
402
|
+
if highlight_backend_id_display is not UNSET:
|
|
403
|
+
field_dict["highlight_backend_id_display"] = highlight_backend_id_display
|
|
404
|
+
if backend_id_display_label is not UNSET:
|
|
405
|
+
field_dict["backend_id_display_label"] = backend_id_display_label
|
|
379
406
|
|
|
380
407
|
return field_dict
|
|
381
408
|
|
|
@@ -411,10 +438,14 @@ class MergedPluginOptionsRequest:
|
|
|
411
438
|
|
|
412
439
|
required_team_role_for_provisioning = d.pop("required_team_role_for_provisioning", UNSET)
|
|
413
440
|
|
|
414
|
-
|
|
441
|
+
enable_purchase_order_upload = d.pop("enable_purchase_order_upload", UNSET)
|
|
442
|
+
|
|
443
|
+
require_purchase_order_upload = d.pop("require_purchase_order_upload", UNSET)
|
|
415
444
|
|
|
416
445
|
conceal_billing_data = d.pop("conceal_billing_data", UNSET)
|
|
417
446
|
|
|
447
|
+
create_orders_on_resource_option_change = d.pop("create_orders_on_resource_option_change", UNSET)
|
|
448
|
+
|
|
418
449
|
default_internal_network_mtu = d.pop("default_internal_network_mtu", UNSET)
|
|
419
450
|
|
|
420
451
|
max_instances = d.pop("max_instances", UNSET)
|
|
@@ -529,6 +560,10 @@ class MergedPluginOptionsRequest:
|
|
|
529
560
|
d.pop("account_name_generation_policy", UNSET)
|
|
530
561
|
)
|
|
531
562
|
|
|
563
|
+
highlight_backend_id_display = d.pop("highlight_backend_id_display", UNSET)
|
|
564
|
+
|
|
565
|
+
backend_id_display_label = d.pop("backend_id_display_label", UNSET)
|
|
566
|
+
|
|
532
567
|
merged_plugin_options_request = cls(
|
|
533
568
|
auto_approve_remote_orders=auto_approve_remote_orders,
|
|
534
569
|
service_provider_can_create_offering_user=service_provider_can_create_offering_user,
|
|
@@ -542,8 +577,10 @@ class MergedPluginOptionsRequest:
|
|
|
542
577
|
minimal_team_count_for_provisioning=minimal_team_count_for_provisioning,
|
|
543
578
|
maximal_resource_count_per_project=maximal_resource_count_per_project,
|
|
544
579
|
required_team_role_for_provisioning=required_team_role_for_provisioning,
|
|
545
|
-
|
|
580
|
+
enable_purchase_order_upload=enable_purchase_order_upload,
|
|
581
|
+
require_purchase_order_upload=require_purchase_order_upload,
|
|
546
582
|
conceal_billing_data=conceal_billing_data,
|
|
583
|
+
create_orders_on_resource_option_change=create_orders_on_resource_option_change,
|
|
547
584
|
default_internal_network_mtu=default_internal_network_mtu,
|
|
548
585
|
max_instances=max_instances,
|
|
549
586
|
max_volumes=max_volumes,
|
|
@@ -581,6 +618,8 @@ class MergedPluginOptionsRequest:
|
|
|
581
618
|
managed_rancher_tenant_max_ram=managed_rancher_tenant_max_ram,
|
|
582
619
|
managed_rancher_tenant_max_disk=managed_rancher_tenant_max_disk,
|
|
583
620
|
account_name_generation_policy=account_name_generation_policy,
|
|
621
|
+
highlight_backend_id_display=highlight_backend_id_display,
|
|
622
|
+
backend_id_display_label=backend_id_display_label,
|
|
584
623
|
)
|
|
585
624
|
|
|
586
625
|
merged_plugin_options_request.additional_properties = d
|