waldur-api-client 0.2.0__py3-none-any.whl → 7.6.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of waldur-api-client might be problematic. Click here for more details.
- waldur_api_client/api/access_subnets/access_subnets_list.py +8 -4
- waldur_api_client/api/admin_announcements/admin_announcements_list.py +8 -4
- waldur_api_client/api/auth_tokens/auth_tokens_list.py +8 -4
- waldur_api_client/api/autoprovisioning_rule_plans/__init__.py +1 -0
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_create.py +148 -0
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_destroy.py +89 -0
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_list.py +173 -0
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_partial_update.py +162 -0
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_retrieve.py +140 -0
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_update.py +162 -0
- waldur_api_client/api/autoprovisioning_rules/__init__.py +1 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_create.py +148 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_destroy.py +89 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_list.py +171 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_partial_update.py +162 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_retrieve.py +140 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_update.py +162 -0
- waldur_api_client/api/aws_images/aws_images_list.py +8 -4
- waldur_api_client/api/aws_instances/aws_instances_list.py +8 -4
- waldur_api_client/api/aws_regions/aws_regions_list.py +8 -4
- waldur_api_client/api/aws_sizes/aws_sizes_list.py +8 -4
- waldur_api_client/api/aws_volumes/aws_volumes_list.py +8 -4
- waldur_api_client/api/azure_images/azure_images_list.py +8 -4
- waldur_api_client/api/azure_locations/azure_locations_list.py +8 -4
- waldur_api_client/api/azure_public_ips/azure_public_ips_list.py +8 -4
- waldur_api_client/api/azure_resource_groups/azure_resource_groups_list.py +8 -4
- waldur_api_client/api/azure_sizes/azure_sizes_list.py +8 -4
- waldur_api_client/api/azure_sql_databases/azure_sql_databases_list.py +8 -4
- waldur_api_client/api/azure_sql_servers/azure_sql_servers_list.py +8 -4
- waldur_api_client/api/azure_virtualmachines/azure_virtualmachines_list.py +8 -4
- waldur_api_client/api/booking_offerings/booking_offerings_list.py +8 -4
- waldur_api_client/api/booking_resources/booking_resources_list.py +8 -4
- waldur_api_client/api/broadcast_message_templates/broadcast_message_templates_list.py +8 -4
- waldur_api_client/api/broadcast_messages/broadcast_messages_list.py +8 -4
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_list.py +8 -4
- waldur_api_client/api/call_rounds/call_rounds_list.py +8 -4
- waldur_api_client/api/component_user_usage_limits/component_user_usage_limits_list.py +8 -4
- waldur_api_client/api/customer_credits/customer_credits_list.py +8 -4
- waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_list.py +8 -4
- waldur_api_client/api/digitalocean_droplets/digitalocean_droplets_list.py +8 -4
- waldur_api_client/api/digitalocean_images/digitalocean_images_list.py +8 -4
- waldur_api_client/api/digitalocean_regions/digitalocean_regions_list.py +8 -4
- waldur_api_client/api/digitalocean_sizes/digitalocean_sizes_list.py +8 -4
- waldur_api_client/api/email_logs/email_logs_list.py +8 -4
- waldur_api_client/api/event_subscriptions/event_subscriptions_list.py +8 -4
- waldur_api_client/api/events/events_list.py +8 -4
- waldur_api_client/api/events_stats/events_stats_list.py +8 -4
- waldur_api_client/api/financial_reports/financial_reports_list.py +8 -4
- waldur_api_client/api/freeipa_profiles/freeipa_profiles_list.py +8 -4
- waldur_api_client/api/google_auth/google_auth_list.py +8 -4
- waldur_api_client/api/hooks/hooks_list.py +4 -2
- waldur_api_client/api/hooks_email/hooks_email_list.py +8 -4
- waldur_api_client/api/hooks_web/hooks_web_list.py +8 -4
- waldur_api_client/api/identity_providers/identity_providers_list.py +8 -4
- waldur_api_client/api/invoice_items/invoice_items_list.py +8 -4
- waldur_api_client/api/invoices/invoices_list.py +8 -4
- waldur_api_client/api/keycloak_groups/keycloak_groups_list.py +8 -4
- waldur_api_client/api/keycloak_user_group_memberships/keycloak_user_group_memberships_list.py +8 -4
- waldur_api_client/api/keys/keys_list.py +8 -4
- waldur_api_client/api/lexis_links/lexis_links_list.py +8 -4
- waldur_api_client/api/marketplace_categories/marketplace_categories_list.py +8 -4
- waldur_api_client/api/marketplace_category_columns/marketplace_category_columns_list.py +8 -4
- waldur_api_client/api/marketplace_category_component_usages/marketplace_category_component_usages_list.py +8 -4
- waldur_api_client/api/marketplace_category_components/marketplace_category_components_list.py +8 -4
- waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_list.py +8 -4
- waldur_api_client/api/marketplace_category_help_articles/marketplace_category_help_articles_list.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_answers_list.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_list.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_questions_list.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_user_answers_list.py +8 -4
- waldur_api_client/api/marketplace_checklists_categories/marketplace_checklists_categories_checklists_list.py +8 -4
- waldur_api_client/api/marketplace_checklists_categories/marketplace_checklists_categories_list.py +8 -4
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_list.py +8 -4
- waldur_api_client/api/marketplace_component_user_usages/marketplace_component_user_usages_list.py +8 -4
- waldur_api_client/api/marketplace_customer_estimated_cost_policies/marketplace_customer_estimated_cost_policies_list.py +8 -4
- waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_list.py +8 -4
- waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_list.py +8 -4
- waldur_api_client/api/marketplace_offering_estimated_cost_policies/marketplace_offering_estimated_cost_policies_list.py +8 -4
- waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_list.py +8 -4
- waldur_api_client/api/marketplace_offering_permissions/marketplace_offering_permissions_list.py +18 -17
- waldur_api_client/api/marketplace_offering_permissions_log/marketplace_offering_permissions_log_list.py +18 -17
- waldur_api_client/api/marketplace_offering_referrals/marketplace_offering_referrals_list.py +8 -4
- waldur_api_client/api/marketplace_offering_usage_policies/marketplace_offering_usage_policies_list.py +8 -4
- waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_list.py +8 -4
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_list.py +8 -4
- waldur_api_client/api/marketplace_orders/marketplace_orders_list.py +8 -4
- waldur_api_client/api/marketplace_plan_components/marketplace_plan_components_list.py +8 -4
- waldur_api_client/api/marketplace_plans/marketplace_plans_list.py +8 -4
- waldur_api_client/api/marketplace_project_estimated_cost_policies/marketplace_project_estimated_cost_policies_list.py +8 -4
- waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_list.py +8 -4
- waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_list.py +8 -4
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +25 -13
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +25 -13
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +25 -13
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +25 -13
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +33 -17
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_refresh_offering_usernames.py +20 -16
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +8 -4
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_as_erred.py +11 -68
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_backend_id.py +20 -16
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_backend_metadata.py +12 -12
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_limits.py +12 -12
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_submit_report.py +20 -16
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +33 -17
- waldur_api_client/api/marketplace_remote_synchronisations/marketplace_remote_synchronisations_list.py +8 -4
- waldur_api_client/api/marketplace_resource_users/marketplace_resource_users_list.py +8 -4
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +8 -4
- waldur_api_client/api/marketplace_resources/marketplace_resources_update_options.py +20 -16
- waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_list.py +8 -4
- waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_list.py +8 -4
- waldur_api_client/api/marketplace_script_async_dry_run/marketplace_script_async_dry_run_list.py +8 -4
- waldur_api_client/api/marketplace_sections/marketplace_sections_list.py +8 -4
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_list.py +8 -4
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +25 -13
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_project_permissions_list.py +10 -13
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_users_list.py +15 -0
- waldur_api_client/api/notification_messages/notification_messages_list.py +8 -4
- waldur_api_client/api/notification_messages_templates/notification_messages_templates_list.py +8 -4
- waldur_api_client/api/openstack_backups/openstack_backups_list.py +8 -4
- waldur_api_client/api/openstack_flavors/openstack_flavors_list.py +26 -4
- waldur_api_client/api/openstack_images/openstack_images_list.py +26 -4
- waldur_api_client/api/openstack_instance_availability_zones/openstack_instance_availability_zones_list.py +8 -4
- waldur_api_client/api/openstack_instances/openstack_instances_list.py +8 -4
- waldur_api_client/api/openstack_marketplace_tenants/openstack_marketplace_tenants_list.py +8 -4
- waldur_api_client/api/openstack_migrations/openstack_migrations_list.py +8 -4
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_list.py +8 -4
- waldur_api_client/api/openstack_networks/openstack_networks_list.py +8 -4
- waldur_api_client/api/openstack_ports/openstack_ports_list.py +8 -4
- waldur_api_client/api/openstack_routers/openstack_routers_list.py +8 -4
- waldur_api_client/api/openstack_security_groups/openstack_security_groups_list.py +8 -4
- waldur_api_client/api/openstack_server_groups/openstack_server_groups_list.py +8 -4
- waldur_api_client/api/openstack_snapshots/openstack_snapshots_list.py +8 -4
- waldur_api_client/api/openstack_subnets/openstack_subnets_list.py +8 -4
- waldur_api_client/api/openstack_tenants/openstack_tenants_list.py +8 -4
- waldur_api_client/api/openstack_volume_availability_zones/openstack_volume_availability_zones_list.py +8 -4
- waldur_api_client/api/openstack_volume_types/openstack_volume_types_list.py +26 -4
- waldur_api_client/api/openstack_volumes/openstack_volumes_list.py +8 -4
- waldur_api_client/api/organization_groups/organization_groups_list.py +8 -4
- waldur_api_client/api/payment_profiles/payment_profiles_list.py +8 -4
- waldur_api_client/api/payments/payments_list.py +8 -4
- waldur_api_client/api/project_credits/project_credits_list.py +8 -4
- waldur_api_client/api/project_types/project_types_list.py +8 -4
- waldur_api_client/api/projects/projects_list.py +8 -4
- waldur_api_client/api/promotions_campaigns/promotions_campaigns_list.py +8 -4
- waldur_api_client/api/proposal_proposals/proposal_proposals_list.py +8 -4
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_list.py +8 -4
- waldur_api_client/api/proposal_public_calls/proposal_public_calls_list.py +8 -4
- waldur_api_client/api/proposal_requested_offerings/proposal_requested_offerings_list.py +8 -4
- waldur_api_client/api/proposal_requested_resources/proposal_requested_resources_list.py +8 -4
- waldur_api_client/api/proposal_reviews/proposal_reviews_list.py +8 -4
- waldur_api_client/api/provider_invoice_items/provider_invoice_items_list.py +8 -4
- waldur_api_client/api/rancher_apps/rancher_apps_list.py +8 -4
- waldur_api_client/api/rancher_catalogs/rancher_catalogs_list.py +8 -4
- waldur_api_client/api/rancher_cluster_security_groups/rancher_cluster_security_groups_list.py +8 -4
- waldur_api_client/api/rancher_cluster_templates/rancher_cluster_templates_list.py +8 -4
- waldur_api_client/api/rancher_clusters/rancher_clusters_list.py +8 -4
- waldur_api_client/api/rancher_hpas/rancher_hpas_list.py +8 -4
- waldur_api_client/api/rancher_ingresses/rancher_ingresses_list.py +8 -4
- waldur_api_client/api/rancher_namespaces/rancher_namespaces_list.py +8 -4
- waldur_api_client/api/rancher_nodes/rancher_nodes_list.py +8 -4
- waldur_api_client/api/rancher_projects/rancher_projects_list.py +8 -4
- waldur_api_client/api/rancher_role_templates/rancher_role_templates_list.py +8 -4
- waldur_api_client/api/rancher_services/rancher_services_list.py +8 -4
- waldur_api_client/api/rancher_templates/rancher_templates_list.py +8 -4
- waldur_api_client/api/rancher_users/rancher_users_list.py +8 -4
- waldur_api_client/api/rancher_workloads/rancher_workloads_list.py +8 -4
- waldur_api_client/api/roles/roles_list.py +8 -4
- waldur_api_client/api/service_settings/service_settings_list.py +18 -17
- waldur_api_client/api/slurm_allocation_user_usage/slurm_allocation_user_usage_list.py +8 -4
- waldur_api_client/api/slurm_allocations/slurm_allocations_list.py +8 -4
- waldur_api_client/api/slurm_associations/slurm_associations_list.py +8 -4
- waldur_api_client/api/slurm_jobs/slurm_jobs_list.py +8 -4
- waldur_api_client/api/support_attachments/support_attachments_list.py +8 -4
- waldur_api_client/api/support_comments/support_comments_list.py +8 -4
- waldur_api_client/api/support_feedbacks/support_feedbacks_list.py +8 -4
- waldur_api_client/api/support_issues/support_issues_list.py +8 -4
- waldur_api_client/api/support_priorities/support_priorities_list.py +8 -4
- waldur_api_client/api/support_templates/support_templates_list.py +8 -4
- waldur_api_client/api/support_users/support_users_list.py +8 -4
- waldur_api_client/api/user_agreements/user_agreements_list.py +8 -4
- waldur_api_client/api/user_group_invitations/user_group_invitations_list.py +8 -4
- waldur_api_client/api/user_invitations/user_invitations_list.py +8 -4
- waldur_api_client/api/user_permission_requests/user_permission_requests_list.py +8 -4
- waldur_api_client/api/user_permissions/user_permissions_list.py +18 -17
- waldur_api_client/api/users/users_list.py +23 -4
- waldur_api_client/api/vmware_clusters/vmware_clusters_list.py +8 -4
- waldur_api_client/api/vmware_datastores/vmware_datastores_list.py +8 -4
- waldur_api_client/api/vmware_disks/vmware_disks_list.py +8 -4
- waldur_api_client/api/vmware_folders/vmware_folders_list.py +8 -4
- waldur_api_client/api/vmware_networks/vmware_networks_list.py +8 -4
- waldur_api_client/api/vmware_ports/vmware_ports_list.py +8 -4
- waldur_api_client/api/vmware_templates/vmware_templates_list.py +8 -4
- waldur_api_client/api/vmware_virtual_machine/vmware_virtual_machine_list.py +8 -4
- waldur_api_client/models/__init__.py +26 -14
- waldur_api_client/models/constance_settings.py +18 -0
- waldur_api_client/models/constance_settings_request.py +18 -0
- waldur_api_client/models/customer.py +0 -21
- waldur_api_client/models/customers_list_field_item.py +0 -1
- waldur_api_client/models/customers_retrieve_field_item.py +0 -1
- waldur_api_client/models/event_types_enum.py +1 -0
- waldur_api_client/models/identity_provider.py +11 -11
- waldur_api_client/models/identity_provider_request.py +11 -11
- 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/nested_requested_offering.py +18 -0
- waldur_api_client/models/patched_identity_provider_request.py +11 -11
- waldur_api_client/models/patched_rule_plans_request.py +108 -0
- waldur_api_client/models/{resource_backend_metadata.py → patched_rule_plans_request_attributes.py} +6 -21
- waldur_api_client/models/{resource_options.py → patched_rule_plans_request_limits.py} +7 -22
- waldur_api_client/models/patched_rule_request.py +101 -0
- waldur_api_client/models/provider_requested_offering.py +10 -0
- waldur_api_client/models/rancher_cluster.py +11 -0
- waldur_api_client/models/rancher_clusters_list_field_item.py +1 -0
- waldur_api_client/models/rancher_clusters_retrieve_field_item.py +1 -0
- waldur_api_client/models/requested_offering.py +10 -0
- waldur_api_client/models/{resource_set_limits.py → resource_response_status.py} +11 -11
- waldur_api_client/models/rule.py +128 -0
- waldur_api_client/models/rule_plans.py +126 -0
- waldur_api_client/models/{resource_backend_id.py → rule_plans_attributes.py} +7 -22
- waldur_api_client/models/rule_plans_limits.py +44 -0
- waldur_api_client/models/rule_plans_request.py +109 -0
- waldur_api_client/models/rule_plans_request_attributes.py +44 -0
- waldur_api_client/models/rule_plans_request_limits.py +44 -0
- waldur_api_client/models/rule_request.py +103 -0
- {waldur_api_client-0.2.0.dist-info → waldur_api_client-7.6.7.dist-info}/METADATA +1 -1
- {waldur_api_client-0.2.0.dist-info → waldur_api_client-7.6.7.dist-info}/RECORD +228 -208
- waldur_api_client/models/permission_project.py +0 -147
- waldur_api_client/models/resource_report.py +0 -73
- waldur_api_client/models/resource_set_state_erred.py +0 -68
- {waldur_api_client-0.2.0.dist-info → waldur_api_client-7.6.7.dist-info}/LICENSE +0 -0
- {waldur_api_client-0.2.0.dist-info → waldur_api_client-7.6.7.dist-info}/WHEEL +0 -0
|
@@ -178,7 +178,8 @@ def sync_detailed(
|
|
|
178
178
|
state: Union[Unset, list[VmwareVirtualMachineListStateItem]] = UNSET,
|
|
179
179
|
uuid: Union[Unset, UUID] = UNSET,
|
|
180
180
|
) -> Response[list["VmwareVirtualMachine"]]:
|
|
181
|
-
"""
|
|
181
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
182
|
+
|
|
182
183
|
Args:
|
|
183
184
|
backend_id (Union[Unset, str]):
|
|
184
185
|
can_manage (Union[Unset, bool]):
|
|
@@ -269,7 +270,8 @@ def sync(
|
|
|
269
270
|
state: Union[Unset, list[VmwareVirtualMachineListStateItem]] = UNSET,
|
|
270
271
|
uuid: Union[Unset, UUID] = UNSET,
|
|
271
272
|
) -> list["VmwareVirtualMachine"]:
|
|
272
|
-
"""
|
|
273
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
274
|
+
|
|
273
275
|
Args:
|
|
274
276
|
backend_id (Union[Unset, str]):
|
|
275
277
|
can_manage (Union[Unset, bool]):
|
|
@@ -355,7 +357,8 @@ async def asyncio_detailed(
|
|
|
355
357
|
state: Union[Unset, list[VmwareVirtualMachineListStateItem]] = UNSET,
|
|
356
358
|
uuid: Union[Unset, UUID] = UNSET,
|
|
357
359
|
) -> Response[list["VmwareVirtualMachine"]]:
|
|
358
|
-
"""
|
|
360
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
361
|
+
|
|
359
362
|
Args:
|
|
360
363
|
backend_id (Union[Unset, str]):
|
|
361
364
|
can_manage (Union[Unset, bool]):
|
|
@@ -444,7 +447,8 @@ async def asyncio(
|
|
|
444
447
|
state: Union[Unset, list[VmwareVirtualMachineListStateItem]] = UNSET,
|
|
445
448
|
uuid: Union[Unset, UUID] = UNSET,
|
|
446
449
|
) -> list["VmwareVirtualMachine"]:
|
|
447
|
-
"""
|
|
450
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
451
|
+
|
|
448
452
|
Args:
|
|
449
453
|
backend_id (Union[Unset, str]):
|
|
450
454
|
can_manage (Union[Unset, bool]):
|
|
@@ -838,6 +838,10 @@ from .patched_requested_resource_request import PatchedRequestedResourceRequest
|
|
|
838
838
|
from .patched_resource_update_request import PatchedResourceUpdateRequest
|
|
839
839
|
from .patched_robot_account_request import PatchedRobotAccountRequest
|
|
840
840
|
from .patched_role_details_request import PatchedRoleDetailsRequest
|
|
841
|
+
from .patched_rule_plans_request import PatchedRulePlansRequest
|
|
842
|
+
from .patched_rule_plans_request_attributes import PatchedRulePlansRequestAttributes
|
|
843
|
+
from .patched_rule_plans_request_limits import PatchedRulePlansRequestLimits
|
|
844
|
+
from .patched_rule_request import PatchedRuleRequest
|
|
841
845
|
from .patched_screenshot_request import PatchedScreenshotRequest
|
|
842
846
|
from .patched_section_request import PatchedSectionRequest
|
|
843
847
|
from .patched_service_provider_request import PatchedServiceProviderRequest
|
|
@@ -859,7 +863,6 @@ from .payment_type_enum import PaymentTypeEnum
|
|
|
859
863
|
from .payment_url_request import PaymentURLRequest
|
|
860
864
|
from .period_enum import PeriodEnum
|
|
861
865
|
from .permission import Permission
|
|
862
|
-
from .permission_project import PermissionProject
|
|
863
866
|
from .permission_request import PermissionRequest
|
|
864
867
|
from .plan_component import PlanComponent
|
|
865
868
|
from .plan_usage_response import PlanUsageResponse
|
|
@@ -1074,9 +1077,7 @@ from .requested_resource import RequestedResource
|
|
|
1074
1077
|
from .requested_resource_request import RequestedResourceRequest
|
|
1075
1078
|
from .resource import Resource
|
|
1076
1079
|
from .resource_attributes import ResourceAttributes
|
|
1077
|
-
from .resource_backend_id import ResourceBackendID
|
|
1078
1080
|
from .resource_backend_id_request import ResourceBackendIDRequest
|
|
1079
|
-
from .resource_backend_metadata import ResourceBackendMetadata
|
|
1080
1081
|
from .resource_backend_metadata_request import ResourceBackendMetadataRequest
|
|
1081
1082
|
from .resource_current_usages import ResourceCurrentUsages
|
|
1082
1083
|
from .resource_end_date_by_provider_request import ResourceEndDateByProviderRequest
|
|
@@ -1084,14 +1085,11 @@ from .resource_limit_period import ResourceLimitPeriod
|
|
|
1084
1085
|
from .resource_limit_usage import ResourceLimitUsage
|
|
1085
1086
|
from .resource_limits import ResourceLimits
|
|
1086
1087
|
from .resource_offering import ResourceOffering
|
|
1087
|
-
from .resource_options import ResourceOptions
|
|
1088
1088
|
from .resource_options_request import ResourceOptionsRequest
|
|
1089
1089
|
from .resource_plan_period import ResourcePlanPeriod
|
|
1090
|
-
from .resource_report import ResourceReport
|
|
1091
1090
|
from .resource_report_request import ResourceReportRequest
|
|
1092
|
-
from .
|
|
1091
|
+
from .resource_response_status import ResourceResponseStatus
|
|
1093
1092
|
from .resource_set_limits_request import ResourceSetLimitsRequest
|
|
1094
|
-
from .resource_set_state_erred import ResourceSetStateErred
|
|
1095
1093
|
from .resource_set_state_erred_request import ResourceSetStateErredRequest
|
|
1096
1094
|
from .resource_slug_request import ResourceSlugRequest
|
|
1097
1095
|
from .resource_state import ResourceState
|
|
@@ -1130,6 +1128,14 @@ from .role_type import RoleType
|
|
|
1130
1128
|
from .roles_list_field_item import RolesListFieldItem
|
|
1131
1129
|
from .roles_retrieve_field_item import RolesRetrieveFieldItem
|
|
1132
1130
|
from .round_reviewer import RoundReviewer
|
|
1131
|
+
from .rule import Rule
|
|
1132
|
+
from .rule_plans import RulePlans
|
|
1133
|
+
from .rule_plans_attributes import RulePlansAttributes
|
|
1134
|
+
from .rule_plans_limits import RulePlansLimits
|
|
1135
|
+
from .rule_plans_request import RulePlansRequest
|
|
1136
|
+
from .rule_plans_request_attributes import RulePlansRequestAttributes
|
|
1137
|
+
from .rule_plans_request_limits import RulePlansRequestLimits
|
|
1138
|
+
from .rule_request import RuleRequest
|
|
1133
1139
|
from .runtime_states import RuntimeStates
|
|
1134
1140
|
from .saml_2_login import Saml2Login
|
|
1135
1141
|
from .saml_2_login_complete import Saml2LoginComplete
|
|
@@ -2042,6 +2048,10 @@ __all__ = (
|
|
|
2042
2048
|
"PatchedResourceUpdateRequest",
|
|
2043
2049
|
"PatchedRobotAccountRequest",
|
|
2044
2050
|
"PatchedRoleDetailsRequest",
|
|
2051
|
+
"PatchedRulePlansRequest",
|
|
2052
|
+
"PatchedRulePlansRequestAttributes",
|
|
2053
|
+
"PatchedRulePlansRequestLimits",
|
|
2054
|
+
"PatchedRuleRequest",
|
|
2045
2055
|
"PatchedScreenshotRequest",
|
|
2046
2056
|
"PatchedSectionRequest",
|
|
2047
2057
|
"PatchedServiceProviderRequest",
|
|
@@ -2063,7 +2073,6 @@ __all__ = (
|
|
|
2063
2073
|
"PaymentURLRequest",
|
|
2064
2074
|
"PeriodEnum",
|
|
2065
2075
|
"Permission",
|
|
2066
|
-
"PermissionProject",
|
|
2067
2076
|
"PermissionRequest",
|
|
2068
2077
|
"PlanComponent",
|
|
2069
2078
|
"PlanUsageResponse",
|
|
@@ -2262,9 +2271,7 @@ __all__ = (
|
|
|
2262
2271
|
"RequestTypes",
|
|
2263
2272
|
"Resource",
|
|
2264
2273
|
"ResourceAttributes",
|
|
2265
|
-
"ResourceBackendID",
|
|
2266
2274
|
"ResourceBackendIDRequest",
|
|
2267
|
-
"ResourceBackendMetadata",
|
|
2268
2275
|
"ResourceBackendMetadataRequest",
|
|
2269
2276
|
"ResourceCurrentUsages",
|
|
2270
2277
|
"ResourceEndDateByProviderRequest",
|
|
@@ -2272,14 +2279,11 @@ __all__ = (
|
|
|
2272
2279
|
"ResourceLimits",
|
|
2273
2280
|
"ResourceLimitUsage",
|
|
2274
2281
|
"ResourceOffering",
|
|
2275
|
-
"ResourceOptions",
|
|
2276
2282
|
"ResourceOptionsRequest",
|
|
2277
2283
|
"ResourcePlanPeriod",
|
|
2278
|
-
"ResourceReport",
|
|
2279
2284
|
"ResourceReportRequest",
|
|
2280
|
-
"
|
|
2285
|
+
"ResourceResponseStatus",
|
|
2281
2286
|
"ResourceSetLimitsRequest",
|
|
2282
|
-
"ResourceSetStateErred",
|
|
2283
2287
|
"ResourceSetStateErredRequest",
|
|
2284
2288
|
"ResourcesLimits",
|
|
2285
2289
|
"ResourceSlugRequest",
|
|
@@ -2318,6 +2322,14 @@ __all__ = (
|
|
|
2318
2322
|
"RoleTemplate",
|
|
2319
2323
|
"RoleType",
|
|
2320
2324
|
"RoundReviewer",
|
|
2325
|
+
"Rule",
|
|
2326
|
+
"RulePlans",
|
|
2327
|
+
"RulePlansAttributes",
|
|
2328
|
+
"RulePlansLimits",
|
|
2329
|
+
"RulePlansRequest",
|
|
2330
|
+
"RulePlansRequestAttributes",
|
|
2331
|
+
"RulePlansRequestLimits",
|
|
2332
|
+
"RuleRequest",
|
|
2321
2333
|
"RuntimeStates",
|
|
2322
2334
|
"Saml2Login",
|
|
2323
2335
|
"Saml2LoginComplete",
|
|
@@ -136,11 +136,13 @@ class ConstanceSettings:
|
|
|
136
136
|
freeipa_group_synchronization_enabled (Union[Unset, bool]):
|
|
137
137
|
keycloak_icon (Union[None, Unset, str]):
|
|
138
138
|
countries (Union[Unset, list[str]]):
|
|
139
|
+
oidc_auth_url (Union[Unset, str]):
|
|
139
140
|
oidc_introspection_url (Union[Unset, str]):
|
|
140
141
|
oidc_client_id (Union[Unset, str]):
|
|
141
142
|
oidc_client_secret (Union[Unset, str]):
|
|
142
143
|
oidc_user_field (Union[Unset, str]):
|
|
143
144
|
oidc_cache_timeout (Union[Unset, int]):
|
|
145
|
+
deactivate_user_if_no_roles (Union[Unset, bool]):
|
|
144
146
|
"""
|
|
145
147
|
|
|
146
148
|
site_name: Union[Unset, str] = UNSET
|
|
@@ -266,11 +268,13 @@ class ConstanceSettings:
|
|
|
266
268
|
freeipa_group_synchronization_enabled: Union[Unset, bool] = UNSET
|
|
267
269
|
keycloak_icon: Union[None, Unset, str] = UNSET
|
|
268
270
|
countries: Union[Unset, list[str]] = UNSET
|
|
271
|
+
oidc_auth_url: Union[Unset, str] = UNSET
|
|
269
272
|
oidc_introspection_url: Union[Unset, str] = UNSET
|
|
270
273
|
oidc_client_id: Union[Unset, str] = UNSET
|
|
271
274
|
oidc_client_secret: Union[Unset, str] = UNSET
|
|
272
275
|
oidc_user_field: Union[Unset, str] = UNSET
|
|
273
276
|
oidc_cache_timeout: Union[Unset, int] = UNSET
|
|
277
|
+
deactivate_user_if_no_roles: Union[Unset, bool] = UNSET
|
|
274
278
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
275
279
|
|
|
276
280
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -572,6 +576,8 @@ class ConstanceSettings:
|
|
|
572
576
|
if not isinstance(self.countries, Unset):
|
|
573
577
|
countries = self.countries
|
|
574
578
|
|
|
579
|
+
oidc_auth_url = self.oidc_auth_url
|
|
580
|
+
|
|
575
581
|
oidc_introspection_url = self.oidc_introspection_url
|
|
576
582
|
|
|
577
583
|
oidc_client_id = self.oidc_client_id
|
|
@@ -582,6 +588,8 @@ class ConstanceSettings:
|
|
|
582
588
|
|
|
583
589
|
oidc_cache_timeout = self.oidc_cache_timeout
|
|
584
590
|
|
|
591
|
+
deactivate_user_if_no_roles = self.deactivate_user_if_no_roles
|
|
592
|
+
|
|
585
593
|
field_dict: dict[str, Any] = {}
|
|
586
594
|
field_dict.update(self.additional_properties)
|
|
587
595
|
field_dict.update({})
|
|
@@ -835,6 +843,8 @@ class ConstanceSettings:
|
|
|
835
843
|
field_dict["KEYCLOAK_ICON"] = keycloak_icon
|
|
836
844
|
if countries is not UNSET:
|
|
837
845
|
field_dict["COUNTRIES"] = countries
|
|
846
|
+
if oidc_auth_url is not UNSET:
|
|
847
|
+
field_dict["OIDC_AUTH_URL"] = oidc_auth_url
|
|
838
848
|
if oidc_introspection_url is not UNSET:
|
|
839
849
|
field_dict["OIDC_INTROSPECTION_URL"] = oidc_introspection_url
|
|
840
850
|
if oidc_client_id is not UNSET:
|
|
@@ -845,6 +855,8 @@ class ConstanceSettings:
|
|
|
845
855
|
field_dict["OIDC_USER_FIELD"] = oidc_user_field
|
|
846
856
|
if oidc_cache_timeout is not UNSET:
|
|
847
857
|
field_dict["OIDC_CACHE_TIMEOUT"] = oidc_cache_timeout
|
|
858
|
+
if deactivate_user_if_no_roles is not UNSET:
|
|
859
|
+
field_dict["DEACTIVATE_USER_IF_NO_ROLES"] = deactivate_user_if_no_roles
|
|
848
860
|
|
|
849
861
|
return field_dict
|
|
850
862
|
|
|
@@ -1185,6 +1197,8 @@ class ConstanceSettings:
|
|
|
1185
1197
|
|
|
1186
1198
|
countries = cast(list[str], d.pop("COUNTRIES", UNSET))
|
|
1187
1199
|
|
|
1200
|
+
oidc_auth_url = d.pop("OIDC_AUTH_URL", UNSET)
|
|
1201
|
+
|
|
1188
1202
|
oidc_introspection_url = d.pop("OIDC_INTROSPECTION_URL", UNSET)
|
|
1189
1203
|
|
|
1190
1204
|
oidc_client_id = d.pop("OIDC_CLIENT_ID", UNSET)
|
|
@@ -1195,6 +1209,8 @@ class ConstanceSettings:
|
|
|
1195
1209
|
|
|
1196
1210
|
oidc_cache_timeout = d.pop("OIDC_CACHE_TIMEOUT", UNSET)
|
|
1197
1211
|
|
|
1212
|
+
deactivate_user_if_no_roles = d.pop("DEACTIVATE_USER_IF_NO_ROLES", UNSET)
|
|
1213
|
+
|
|
1198
1214
|
constance_settings = cls(
|
|
1199
1215
|
site_name=site_name,
|
|
1200
1216
|
site_description=site_description,
|
|
@@ -1319,11 +1335,13 @@ class ConstanceSettings:
|
|
|
1319
1335
|
freeipa_group_synchronization_enabled=freeipa_group_synchronization_enabled,
|
|
1320
1336
|
keycloak_icon=keycloak_icon,
|
|
1321
1337
|
countries=countries,
|
|
1338
|
+
oidc_auth_url=oidc_auth_url,
|
|
1322
1339
|
oidc_introspection_url=oidc_introspection_url,
|
|
1323
1340
|
oidc_client_id=oidc_client_id,
|
|
1324
1341
|
oidc_client_secret=oidc_client_secret,
|
|
1325
1342
|
oidc_user_field=oidc_user_field,
|
|
1326
1343
|
oidc_cache_timeout=oidc_cache_timeout,
|
|
1344
|
+
deactivate_user_if_no_roles=deactivate_user_if_no_roles,
|
|
1327
1345
|
)
|
|
1328
1346
|
|
|
1329
1347
|
constance_settings.additional_properties = d
|
|
@@ -138,11 +138,13 @@ class ConstanceSettingsRequest:
|
|
|
138
138
|
freeipa_group_synchronization_enabled (Union[Unset, bool]):
|
|
139
139
|
keycloak_icon (Union[File, None, Unset]):
|
|
140
140
|
countries (Union[Unset, list[str]]):
|
|
141
|
+
oidc_auth_url (Union[Unset, str]):
|
|
141
142
|
oidc_introspection_url (Union[Unset, str]):
|
|
142
143
|
oidc_client_id (Union[Unset, str]):
|
|
143
144
|
oidc_client_secret (Union[Unset, str]):
|
|
144
145
|
oidc_user_field (Union[Unset, str]):
|
|
145
146
|
oidc_cache_timeout (Union[Unset, int]):
|
|
147
|
+
deactivate_user_if_no_roles (Union[Unset, bool]):
|
|
146
148
|
"""
|
|
147
149
|
|
|
148
150
|
site_name: Union[Unset, str] = UNSET
|
|
@@ -268,11 +270,13 @@ class ConstanceSettingsRequest:
|
|
|
268
270
|
freeipa_group_synchronization_enabled: Union[Unset, bool] = UNSET
|
|
269
271
|
keycloak_icon: Union[File, None, Unset] = UNSET
|
|
270
272
|
countries: Union[Unset, list[str]] = UNSET
|
|
273
|
+
oidc_auth_url: Union[Unset, str] = UNSET
|
|
271
274
|
oidc_introspection_url: Union[Unset, str] = UNSET
|
|
272
275
|
oidc_client_id: Union[Unset, str] = UNSET
|
|
273
276
|
oidc_client_secret: Union[Unset, str] = UNSET
|
|
274
277
|
oidc_user_field: Union[Unset, str] = UNSET
|
|
275
278
|
oidc_cache_timeout: Union[Unset, int] = UNSET
|
|
279
|
+
deactivate_user_if_no_roles: Union[Unset, bool] = UNSET
|
|
276
280
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
277
281
|
|
|
278
282
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -610,6 +614,8 @@ class ConstanceSettingsRequest:
|
|
|
610
614
|
if not isinstance(self.countries, Unset):
|
|
611
615
|
countries = self.countries
|
|
612
616
|
|
|
617
|
+
oidc_auth_url = self.oidc_auth_url
|
|
618
|
+
|
|
613
619
|
oidc_introspection_url = self.oidc_introspection_url
|
|
614
620
|
|
|
615
621
|
oidc_client_id = self.oidc_client_id
|
|
@@ -620,6 +626,8 @@ class ConstanceSettingsRequest:
|
|
|
620
626
|
|
|
621
627
|
oidc_cache_timeout = self.oidc_cache_timeout
|
|
622
628
|
|
|
629
|
+
deactivate_user_if_no_roles = self.deactivate_user_if_no_roles
|
|
630
|
+
|
|
623
631
|
field_dict: dict[str, Any] = {}
|
|
624
632
|
field_dict.update(self.additional_properties)
|
|
625
633
|
field_dict.update({})
|
|
@@ -873,6 +881,8 @@ class ConstanceSettingsRequest:
|
|
|
873
881
|
field_dict["KEYCLOAK_ICON"] = keycloak_icon
|
|
874
882
|
if countries is not UNSET:
|
|
875
883
|
field_dict["COUNTRIES"] = countries
|
|
884
|
+
if oidc_auth_url is not UNSET:
|
|
885
|
+
field_dict["OIDC_AUTH_URL"] = oidc_auth_url
|
|
876
886
|
if oidc_introspection_url is not UNSET:
|
|
877
887
|
field_dict["OIDC_INTROSPECTION_URL"] = oidc_introspection_url
|
|
878
888
|
if oidc_client_id is not UNSET:
|
|
@@ -883,6 +893,8 @@ class ConstanceSettingsRequest:
|
|
|
883
893
|
field_dict["OIDC_USER_FIELD"] = oidc_user_field
|
|
884
894
|
if oidc_cache_timeout is not UNSET:
|
|
885
895
|
field_dict["OIDC_CACHE_TIMEOUT"] = oidc_cache_timeout
|
|
896
|
+
if deactivate_user_if_no_roles is not UNSET:
|
|
897
|
+
field_dict["DEACTIVATE_USER_IF_NO_ROLES"] = deactivate_user_if_no_roles
|
|
886
898
|
|
|
887
899
|
return field_dict
|
|
888
900
|
|
|
@@ -1319,6 +1331,8 @@ class ConstanceSettingsRequest:
|
|
|
1319
1331
|
|
|
1320
1332
|
countries = cast(list[str], d.pop("COUNTRIES", UNSET))
|
|
1321
1333
|
|
|
1334
|
+
oidc_auth_url = d.pop("OIDC_AUTH_URL", UNSET)
|
|
1335
|
+
|
|
1322
1336
|
oidc_introspection_url = d.pop("OIDC_INTROSPECTION_URL", UNSET)
|
|
1323
1337
|
|
|
1324
1338
|
oidc_client_id = d.pop("OIDC_CLIENT_ID", UNSET)
|
|
@@ -1329,6 +1343,8 @@ class ConstanceSettingsRequest:
|
|
|
1329
1343
|
|
|
1330
1344
|
oidc_cache_timeout = d.pop("OIDC_CACHE_TIMEOUT", UNSET)
|
|
1331
1345
|
|
|
1346
|
+
deactivate_user_if_no_roles = d.pop("DEACTIVATE_USER_IF_NO_ROLES", UNSET)
|
|
1347
|
+
|
|
1332
1348
|
constance_settings_request = cls(
|
|
1333
1349
|
site_name=site_name,
|
|
1334
1350
|
site_description=site_description,
|
|
@@ -1453,11 +1469,13 @@ class ConstanceSettingsRequest:
|
|
|
1453
1469
|
freeipa_group_synchronization_enabled=freeipa_group_synchronization_enabled,
|
|
1454
1470
|
keycloak_icon=keycloak_icon,
|
|
1455
1471
|
countries=countries,
|
|
1472
|
+
oidc_auth_url=oidc_auth_url,
|
|
1456
1473
|
oidc_introspection_url=oidc_introspection_url,
|
|
1457
1474
|
oidc_client_id=oidc_client_id,
|
|
1458
1475
|
oidc_client_secret=oidc_client_secret,
|
|
1459
1476
|
oidc_user_field=oidc_user_field,
|
|
1460
1477
|
oidc_cache_timeout=oidc_cache_timeout,
|
|
1478
|
+
deactivate_user_if_no_roles=deactivate_user_if_no_roles,
|
|
1461
1479
|
)
|
|
1462
1480
|
|
|
1463
1481
|
constance_settings_request.additional_properties = d
|
|
@@ -15,7 +15,6 @@ if TYPE_CHECKING:
|
|
|
15
15
|
from ..models.nested_price_estimate import NestedPriceEstimate
|
|
16
16
|
from ..models.organization_group import OrganizationGroup
|
|
17
17
|
from ..models.payment_profile import PaymentProfile
|
|
18
|
-
from ..models.permission_project import PermissionProject
|
|
19
18
|
|
|
20
19
|
|
|
21
20
|
T = TypeVar("T", bound="Customer")
|
|
@@ -30,7 +29,6 @@ class Customer:
|
|
|
30
29
|
created (Union[Unset, datetime.datetime]):
|
|
31
30
|
organization_groups (Union[Unset, list['OrganizationGroup']]):
|
|
32
31
|
display_name (Union[Unset, str]):
|
|
33
|
-
projects (Union[Unset, list['PermissionProject']]):
|
|
34
32
|
backend_id (Union[Unset, str]): Organization identifier in another application.
|
|
35
33
|
image (Union[None, Unset, str]):
|
|
36
34
|
blocked (Union[Unset, bool]):
|
|
@@ -78,7 +76,6 @@ class Customer:
|
|
|
78
76
|
created: Union[Unset, datetime.datetime] = UNSET
|
|
79
77
|
organization_groups: Union[Unset, list["OrganizationGroup"]] = UNSET
|
|
80
78
|
display_name: Union[Unset, str] = UNSET
|
|
81
|
-
projects: Union[Unset, list["PermissionProject"]] = UNSET
|
|
82
79
|
backend_id: Union[Unset, str] = UNSET
|
|
83
80
|
image: Union[None, Unset, str] = UNSET
|
|
84
81
|
blocked: Union[Unset, bool] = UNSET
|
|
@@ -140,13 +137,6 @@ class Customer:
|
|
|
140
137
|
|
|
141
138
|
display_name = self.display_name
|
|
142
139
|
|
|
143
|
-
projects: Union[Unset, list[dict[str, Any]]] = UNSET
|
|
144
|
-
if not isinstance(self.projects, Unset):
|
|
145
|
-
projects = []
|
|
146
|
-
for projects_item_data in self.projects:
|
|
147
|
-
projects_item = projects_item_data.to_dict()
|
|
148
|
-
projects.append(projects_item)
|
|
149
|
-
|
|
150
140
|
backend_id = self.backend_id
|
|
151
141
|
|
|
152
142
|
image: Union[None, Unset, str]
|
|
@@ -295,8 +285,6 @@ class Customer:
|
|
|
295
285
|
field_dict["organization_groups"] = organization_groups
|
|
296
286
|
if display_name is not UNSET:
|
|
297
287
|
field_dict["display_name"] = display_name
|
|
298
|
-
if projects is not UNSET:
|
|
299
|
-
field_dict["projects"] = projects
|
|
300
288
|
if backend_id is not UNSET:
|
|
301
289
|
field_dict["backend_id"] = backend_id
|
|
302
290
|
if image is not UNSET:
|
|
@@ -383,7 +371,6 @@ class Customer:
|
|
|
383
371
|
from ..models.nested_price_estimate import NestedPriceEstimate
|
|
384
372
|
from ..models.organization_group import OrganizationGroup
|
|
385
373
|
from ..models.payment_profile import PaymentProfile
|
|
386
|
-
from ..models.permission_project import PermissionProject
|
|
387
374
|
|
|
388
375
|
d = dict(src_dict)
|
|
389
376
|
url = d.pop("url", UNSET)
|
|
@@ -411,13 +398,6 @@ class Customer:
|
|
|
411
398
|
|
|
412
399
|
display_name = d.pop("display_name", UNSET)
|
|
413
400
|
|
|
414
|
-
projects = []
|
|
415
|
-
_projects = d.pop("projects", UNSET)
|
|
416
|
-
for projects_item_data in _projects or []:
|
|
417
|
-
projects_item = PermissionProject.from_dict(projects_item_data)
|
|
418
|
-
|
|
419
|
-
projects.append(projects_item)
|
|
420
|
-
|
|
421
401
|
backend_id = d.pop("backend_id", UNSET)
|
|
422
402
|
|
|
423
403
|
def _parse_image(data: object) -> Union[None, Unset, str]:
|
|
@@ -614,7 +594,6 @@ class Customer:
|
|
|
614
594
|
created=created,
|
|
615
595
|
organization_groups=organization_groups,
|
|
616
596
|
display_name=display_name,
|
|
617
|
-
projects=projects,
|
|
618
597
|
backend_id=backend_id,
|
|
619
598
|
image=image,
|
|
620
599
|
blocked=blocked,
|
|
@@ -36,7 +36,6 @@ class CustomersListFieldItem(str, Enum):
|
|
|
36
36
|
PAYMENT_PROFILES = "payment_profiles"
|
|
37
37
|
PHONE_NUMBER = "phone_number"
|
|
38
38
|
POSTAL = "postal"
|
|
39
|
-
PROJECTS = "projects"
|
|
40
39
|
PROJECTS_COUNT = "projects_count"
|
|
41
40
|
REGISTRATION_CODE = "registration_code"
|
|
42
41
|
SERVICE_PROVIDER = "service_provider"
|
|
@@ -36,7 +36,6 @@ class CustomersRetrieveFieldItem(str, Enum):
|
|
|
36
36
|
PAYMENT_PROFILES = "payment_profiles"
|
|
37
37
|
PHONE_NUMBER = "phone_number"
|
|
38
38
|
POSTAL = "postal"
|
|
39
|
-
PROJECTS = "projects"
|
|
40
39
|
PROJECTS_COUNT = "projects_count"
|
|
41
40
|
REGISTRATION_CODE = "registration_code"
|
|
42
41
|
SERVICE_PROVIDER = "service_provider"
|
|
@@ -240,6 +240,7 @@ class EventTypesEnum(str, Enum):
|
|
|
240
240
|
USER_ACTIVATED = "user_activated"
|
|
241
241
|
USER_CREATION_SUCCEEDED = "user_creation_succeeded"
|
|
242
242
|
USER_DEACTIVATED = "user_deactivated"
|
|
243
|
+
USER_DEACTIVATED_NO_ROLES = "user_deactivated_no_roles"
|
|
243
244
|
USER_DELETION_SUCCEEDED = "user_deletion_succeeded"
|
|
244
245
|
USER_DETAILS_UPDATE_SUCCEEDED = "user_details_update_succeeded"
|
|
245
246
|
USER_HAS_BEEN_CREATED_BY_STAFF = "user_has_been_created_by_staff"
|
|
@@ -27,7 +27,7 @@ class IdentityProvider:
|
|
|
27
27
|
enable_pkce (Union[Unset, bool]):
|
|
28
28
|
management_url (Union[Unset, str]): The endpoint for user details management.
|
|
29
29
|
protected_fields (Union[Unset, Any]):
|
|
30
|
-
|
|
30
|
+
extra_scope (Union[None, Unset, str]): Space-separated list of scopes to request during authentication.
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
33
|
provider: str
|
|
@@ -44,7 +44,7 @@ class IdentityProvider:
|
|
|
44
44
|
enable_pkce: Union[Unset, bool] = UNSET
|
|
45
45
|
management_url: Union[Unset, str] = UNSET
|
|
46
46
|
protected_fields: Union[Unset, Any] = UNSET
|
|
47
|
-
|
|
47
|
+
extra_scope: Union[None, Unset, str] = UNSET
|
|
48
48
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
49
49
|
|
|
50
50
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -76,11 +76,11 @@ class IdentityProvider:
|
|
|
76
76
|
|
|
77
77
|
protected_fields = self.protected_fields
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
if isinstance(self.
|
|
81
|
-
|
|
79
|
+
extra_scope: Union[None, Unset, str]
|
|
80
|
+
if isinstance(self.extra_scope, Unset):
|
|
81
|
+
extra_scope = UNSET
|
|
82
82
|
else:
|
|
83
|
-
|
|
83
|
+
extra_scope = self.extra_scope
|
|
84
84
|
|
|
85
85
|
field_dict: dict[str, Any] = {}
|
|
86
86
|
field_dict.update(self.additional_properties)
|
|
@@ -108,8 +108,8 @@ class IdentityProvider:
|
|
|
108
108
|
field_dict["management_url"] = management_url
|
|
109
109
|
if protected_fields is not UNSET:
|
|
110
110
|
field_dict["protected_fields"] = protected_fields
|
|
111
|
-
if
|
|
112
|
-
field_dict["
|
|
111
|
+
if extra_scope is not UNSET:
|
|
112
|
+
field_dict["extra_scope"] = extra_scope
|
|
113
113
|
|
|
114
114
|
return field_dict
|
|
115
115
|
|
|
@@ -144,14 +144,14 @@ class IdentityProvider:
|
|
|
144
144
|
|
|
145
145
|
protected_fields = d.pop("protected_fields", UNSET)
|
|
146
146
|
|
|
147
|
-
def
|
|
147
|
+
def _parse_extra_scope(data: object) -> Union[None, Unset, str]:
|
|
148
148
|
if data is None:
|
|
149
149
|
return data
|
|
150
150
|
if isinstance(data, Unset):
|
|
151
151
|
return data
|
|
152
152
|
return cast(Union[None, Unset, str], data)
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
extra_scope = _parse_extra_scope(d.pop("extra_scope", UNSET))
|
|
155
155
|
|
|
156
156
|
identity_provider = cls(
|
|
157
157
|
provider=provider,
|
|
@@ -168,7 +168,7 @@ class IdentityProvider:
|
|
|
168
168
|
enable_pkce=enable_pkce,
|
|
169
169
|
management_url=management_url,
|
|
170
170
|
protected_fields=protected_fields,
|
|
171
|
-
|
|
171
|
+
extra_scope=extra_scope,
|
|
172
172
|
)
|
|
173
173
|
|
|
174
174
|
identity_provider.additional_properties = d
|
|
@@ -23,7 +23,7 @@ class IdentityProviderRequest:
|
|
|
23
23
|
enable_pkce (Union[Unset, bool]):
|
|
24
24
|
management_url (Union[Unset, str]): The endpoint for user details management.
|
|
25
25
|
protected_fields (Union[Unset, Any]):
|
|
26
|
-
|
|
26
|
+
extra_scope (Union[None, Unset, str]): Space-separated list of scopes to request during authentication.
|
|
27
27
|
"""
|
|
28
28
|
|
|
29
29
|
provider: str
|
|
@@ -36,7 +36,7 @@ class IdentityProviderRequest:
|
|
|
36
36
|
enable_pkce: Union[Unset, bool] = UNSET
|
|
37
37
|
management_url: Union[Unset, str] = UNSET
|
|
38
38
|
protected_fields: Union[Unset, Any] = UNSET
|
|
39
|
-
|
|
39
|
+
extra_scope: Union[None, Unset, str] = UNSET
|
|
40
40
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
41
41
|
|
|
42
42
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -60,11 +60,11 @@ class IdentityProviderRequest:
|
|
|
60
60
|
|
|
61
61
|
protected_fields = self.protected_fields
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
if isinstance(self.
|
|
65
|
-
|
|
63
|
+
extra_scope: Union[None, Unset, str]
|
|
64
|
+
if isinstance(self.extra_scope, Unset):
|
|
65
|
+
extra_scope = UNSET
|
|
66
66
|
else:
|
|
67
|
-
|
|
67
|
+
extra_scope = self.extra_scope
|
|
68
68
|
|
|
69
69
|
field_dict: dict[str, Any] = {}
|
|
70
70
|
field_dict.update(self.additional_properties)
|
|
@@ -88,8 +88,8 @@ class IdentityProviderRequest:
|
|
|
88
88
|
field_dict["management_url"] = management_url
|
|
89
89
|
if protected_fields is not UNSET:
|
|
90
90
|
field_dict["protected_fields"] = protected_fields
|
|
91
|
-
if
|
|
92
|
-
field_dict["
|
|
91
|
+
if extra_scope is not UNSET:
|
|
92
|
+
field_dict["extra_scope"] = extra_scope
|
|
93
93
|
|
|
94
94
|
return field_dict
|
|
95
95
|
|
|
@@ -116,14 +116,14 @@ class IdentityProviderRequest:
|
|
|
116
116
|
|
|
117
117
|
protected_fields = d.pop("protected_fields", UNSET)
|
|
118
118
|
|
|
119
|
-
def
|
|
119
|
+
def _parse_extra_scope(data: object) -> Union[None, Unset, str]:
|
|
120
120
|
if data is None:
|
|
121
121
|
return data
|
|
122
122
|
if isinstance(data, Unset):
|
|
123
123
|
return data
|
|
124
124
|
return cast(Union[None, Unset, str], data)
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
extra_scope = _parse_extra_scope(d.pop("extra_scope", UNSET))
|
|
127
127
|
|
|
128
128
|
identity_provider_request = cls(
|
|
129
129
|
provider=provider,
|
|
@@ -136,7 +136,7 @@ class IdentityProviderRequest:
|
|
|
136
136
|
enable_pkce=enable_pkce,
|
|
137
137
|
management_url=management_url,
|
|
138
138
|
protected_fields=protected_fields,
|
|
139
|
-
|
|
139
|
+
extra_scope=extra_scope,
|
|
140
140
|
)
|
|
141
141
|
|
|
142
142
|
identity_provider_request.additional_properties = d
|
|
@@ -64,6 +64,9 @@ class MergedPluginOptions:
|
|
|
64
64
|
managed_rancher_load_balancer_system_volume_type_name (Union[Unset, str]):
|
|
65
65
|
managed_rancher_load_balancer_data_volume_size_gb (Union[Unset, int]):
|
|
66
66
|
managed_rancher_load_balancer_data_volume_type_name (Union[Unset, str]):
|
|
67
|
+
managed_rancher_tenant_max_cpu (Union[Unset, int]): Max number of vCPUs for tenants
|
|
68
|
+
managed_rancher_tenant_max_ram (Union[Unset, int]): Max number of RAM for tenants
|
|
69
|
+
managed_rancher_tenant_max_disk (Union[Unset, int]): Max size of disk space for tenants (GB)
|
|
67
70
|
account_name_generation_policy (Union[AccountNameGenerationPolicyEnum, None, Unset]): Slurm account name
|
|
68
71
|
generation policy
|
|
69
72
|
"""
|
|
@@ -109,6 +112,9 @@ class MergedPluginOptions:
|
|
|
109
112
|
managed_rancher_load_balancer_system_volume_type_name: Union[Unset, str] = UNSET
|
|
110
113
|
managed_rancher_load_balancer_data_volume_size_gb: Union[Unset, int] = UNSET
|
|
111
114
|
managed_rancher_load_balancer_data_volume_type_name: Union[Unset, str] = UNSET
|
|
115
|
+
managed_rancher_tenant_max_cpu: Union[Unset, int] = UNSET
|
|
116
|
+
managed_rancher_tenant_max_ram: Union[Unset, int] = UNSET
|
|
117
|
+
managed_rancher_tenant_max_disk: Union[Unset, int] = UNSET
|
|
112
118
|
account_name_generation_policy: Union[AccountNameGenerationPolicyEnum, None, Unset] = UNSET
|
|
113
119
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
114
120
|
|
|
@@ -201,6 +207,12 @@ class MergedPluginOptions:
|
|
|
201
207
|
|
|
202
208
|
managed_rancher_load_balancer_data_volume_type_name = self.managed_rancher_load_balancer_data_volume_type_name
|
|
203
209
|
|
|
210
|
+
managed_rancher_tenant_max_cpu = self.managed_rancher_tenant_max_cpu
|
|
211
|
+
|
|
212
|
+
managed_rancher_tenant_max_ram = self.managed_rancher_tenant_max_ram
|
|
213
|
+
|
|
214
|
+
managed_rancher_tenant_max_disk = self.managed_rancher_tenant_max_disk
|
|
215
|
+
|
|
204
216
|
account_name_generation_policy: Union[None, Unset, str]
|
|
205
217
|
if isinstance(self.account_name_generation_policy, Unset):
|
|
206
218
|
account_name_generation_policy = UNSET
|
|
@@ -302,6 +314,12 @@ class MergedPluginOptions:
|
|
|
302
314
|
field_dict["managed_rancher_load_balancer_data_volume_type_name"] = (
|
|
303
315
|
managed_rancher_load_balancer_data_volume_type_name
|
|
304
316
|
)
|
|
317
|
+
if managed_rancher_tenant_max_cpu is not UNSET:
|
|
318
|
+
field_dict["managed_rancher_tenant_max_cpu"] = managed_rancher_tenant_max_cpu
|
|
319
|
+
if managed_rancher_tenant_max_ram is not UNSET:
|
|
320
|
+
field_dict["managed_rancher_tenant_max_ram"] = managed_rancher_tenant_max_ram
|
|
321
|
+
if managed_rancher_tenant_max_disk is not UNSET:
|
|
322
|
+
field_dict["managed_rancher_tenant_max_disk"] = managed_rancher_tenant_max_disk
|
|
305
323
|
if account_name_generation_policy is not UNSET:
|
|
306
324
|
field_dict["account_name_generation_policy"] = account_name_generation_policy
|
|
307
325
|
|
|
@@ -411,6 +429,12 @@ class MergedPluginOptions:
|
|
|
411
429
|
"managed_rancher_load_balancer_data_volume_type_name", UNSET
|
|
412
430
|
)
|
|
413
431
|
|
|
432
|
+
managed_rancher_tenant_max_cpu = d.pop("managed_rancher_tenant_max_cpu", UNSET)
|
|
433
|
+
|
|
434
|
+
managed_rancher_tenant_max_ram = d.pop("managed_rancher_tenant_max_ram", UNSET)
|
|
435
|
+
|
|
436
|
+
managed_rancher_tenant_max_disk = d.pop("managed_rancher_tenant_max_disk", UNSET)
|
|
437
|
+
|
|
414
438
|
def _parse_account_name_generation_policy(data: object) -> Union[AccountNameGenerationPolicyEnum, None, Unset]:
|
|
415
439
|
if data is None:
|
|
416
440
|
return data
|
|
@@ -470,6 +494,9 @@ class MergedPluginOptions:
|
|
|
470
494
|
managed_rancher_load_balancer_system_volume_type_name=managed_rancher_load_balancer_system_volume_type_name,
|
|
471
495
|
managed_rancher_load_balancer_data_volume_size_gb=managed_rancher_load_balancer_data_volume_size_gb,
|
|
472
496
|
managed_rancher_load_balancer_data_volume_type_name=managed_rancher_load_balancer_data_volume_type_name,
|
|
497
|
+
managed_rancher_tenant_max_cpu=managed_rancher_tenant_max_cpu,
|
|
498
|
+
managed_rancher_tenant_max_ram=managed_rancher_tenant_max_ram,
|
|
499
|
+
managed_rancher_tenant_max_disk=managed_rancher_tenant_max_disk,
|
|
473
500
|
account_name_generation_policy=account_name_generation_policy,
|
|
474
501
|
)
|
|
475
502
|
|