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
|
@@ -64,6 +64,9 @@ class MergedPluginOptionsRequest:
|
|
|
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 MergedPluginOptionsRequest:
|
|
|
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 MergedPluginOptionsRequest:
|
|
|
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 MergedPluginOptionsRequest:
|
|
|
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 MergedPluginOptionsRequest:
|
|
|
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 MergedPluginOptionsRequest:
|
|
|
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
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import datetime
|
|
1
2
|
from collections.abc import Mapping
|
|
2
3
|
from typing import TYPE_CHECKING, Any, TypeVar, Union, cast
|
|
3
4
|
from uuid import UUID
|
|
4
5
|
|
|
5
6
|
from attrs import define as _attrs_define
|
|
6
7
|
from attrs import field as _attrs_field
|
|
8
|
+
from dateutil.parser import isoparse
|
|
7
9
|
|
|
8
10
|
from ..models.requested_offering_states import RequestedOfferingStates
|
|
9
11
|
from ..types import UNSET, Unset
|
|
@@ -35,6 +37,7 @@ class NestedRequestedOffering:
|
|
|
35
37
|
plan_details (Union[Unset, BasePublicPlan]):
|
|
36
38
|
options (Union[Unset, OfferingOptions]):
|
|
37
39
|
components (Union[Unset, list['OfferingComponent']]):
|
|
40
|
+
created (Union[Unset, datetime.datetime]):
|
|
38
41
|
"""
|
|
39
42
|
|
|
40
43
|
uuid: Union[Unset, UUID] = UNSET
|
|
@@ -51,6 +54,7 @@ class NestedRequestedOffering:
|
|
|
51
54
|
plan_details: Union[Unset, "BasePublicPlan"] = UNSET
|
|
52
55
|
options: Union[Unset, "OfferingOptions"] = UNSET
|
|
53
56
|
components: Union[Unset, list["OfferingComponent"]] = UNSET
|
|
57
|
+
created: Union[Unset, datetime.datetime] = UNSET
|
|
54
58
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
55
59
|
|
|
56
60
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -103,6 +107,10 @@ class NestedRequestedOffering:
|
|
|
103
107
|
components_item = components_item_data.to_dict()
|
|
104
108
|
components.append(components_item)
|
|
105
109
|
|
|
110
|
+
created: Union[Unset, str] = UNSET
|
|
111
|
+
if not isinstance(self.created, Unset):
|
|
112
|
+
created = self.created.isoformat()
|
|
113
|
+
|
|
106
114
|
field_dict: dict[str, Any] = {}
|
|
107
115
|
field_dict.update(self.additional_properties)
|
|
108
116
|
field_dict.update({})
|
|
@@ -134,6 +142,8 @@ class NestedRequestedOffering:
|
|
|
134
142
|
field_dict["options"] = options
|
|
135
143
|
if components is not UNSET:
|
|
136
144
|
field_dict["components"] = components
|
|
145
|
+
if created is not UNSET:
|
|
146
|
+
field_dict["created"] = created
|
|
137
147
|
|
|
138
148
|
return field_dict
|
|
139
149
|
|
|
@@ -214,6 +224,13 @@ class NestedRequestedOffering:
|
|
|
214
224
|
|
|
215
225
|
components.append(components_item)
|
|
216
226
|
|
|
227
|
+
_created = d.pop("created", UNSET)
|
|
228
|
+
created: Union[Unset, datetime.datetime]
|
|
229
|
+
if isinstance(_created, Unset):
|
|
230
|
+
created = UNSET
|
|
231
|
+
else:
|
|
232
|
+
created = isoparse(_created)
|
|
233
|
+
|
|
217
234
|
nested_requested_offering = cls(
|
|
218
235
|
uuid=uuid,
|
|
219
236
|
state=state,
|
|
@@ -229,6 +246,7 @@ class NestedRequestedOffering:
|
|
|
229
246
|
plan_details=plan_details,
|
|
230
247
|
options=options,
|
|
231
248
|
components=components,
|
|
249
|
+
created=created,
|
|
232
250
|
)
|
|
233
251
|
|
|
234
252
|
nested_requested_offering.additional_properties = d
|
|
@@ -23,7 +23,7 @@ class PatchedIdentityProviderRequest:
|
|
|
23
23
|
label (Union[Unset, str]): Human-readable identity provider is label.
|
|
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: Union[Unset, str] = UNSET
|
|
@@ -36,7 +36,7 @@ class PatchedIdentityProviderRequest:
|
|
|
36
36
|
label: Union[Unset, str] = 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 PatchedIdentityProviderRequest:
|
|
|
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)
|
|
@@ -89,8 +89,8 @@ class PatchedIdentityProviderRequest:
|
|
|
89
89
|
field_dict["management_url"] = management_url
|
|
90
90
|
if protected_fields is not UNSET:
|
|
91
91
|
field_dict["protected_fields"] = protected_fields
|
|
92
|
-
if
|
|
93
|
-
field_dict["
|
|
92
|
+
if extra_scope is not UNSET:
|
|
93
|
+
field_dict["extra_scope"] = extra_scope
|
|
94
94
|
|
|
95
95
|
return field_dict
|
|
96
96
|
|
|
@@ -117,14 +117,14 @@ class PatchedIdentityProviderRequest:
|
|
|
117
117
|
|
|
118
118
|
protected_fields = d.pop("protected_fields", UNSET)
|
|
119
119
|
|
|
120
|
-
def
|
|
120
|
+
def _parse_extra_scope(data: object) -> Union[None, Unset, str]:
|
|
121
121
|
if data is None:
|
|
122
122
|
return data
|
|
123
123
|
if isinstance(data, Unset):
|
|
124
124
|
return data
|
|
125
125
|
return cast(Union[None, Unset, str], data)
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
extra_scope = _parse_extra_scope(d.pop("extra_scope", UNSET))
|
|
128
128
|
|
|
129
129
|
patched_identity_provider_request = cls(
|
|
130
130
|
provider=provider,
|
|
@@ -137,7 +137,7 @@ class PatchedIdentityProviderRequest:
|
|
|
137
137
|
label=label,
|
|
138
138
|
management_url=management_url,
|
|
139
139
|
protected_fields=protected_fields,
|
|
140
|
-
|
|
140
|
+
extra_scope=extra_scope,
|
|
141
141
|
)
|
|
142
142
|
|
|
143
143
|
patched_identity_provider_request.additional_properties = d
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar, Union
|
|
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
|
+
if TYPE_CHECKING:
|
|
10
|
+
from ..models.patched_rule_plans_request_attributes import PatchedRulePlansRequestAttributes
|
|
11
|
+
from ..models.patched_rule_plans_request_limits import PatchedRulePlansRequestLimits
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
T = TypeVar("T", bound="PatchedRulePlansRequest")
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@_attrs_define
|
|
18
|
+
class PatchedRulePlansRequest:
|
|
19
|
+
"""
|
|
20
|
+
Attributes:
|
|
21
|
+
rule (Union[Unset, str]):
|
|
22
|
+
plan (Union[Unset, str]):
|
|
23
|
+
attributes (Union[Unset, PatchedRulePlansRequestAttributes]):
|
|
24
|
+
limits (Union[Unset, PatchedRulePlansRequestLimits]):
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
rule: Union[Unset, str] = UNSET
|
|
28
|
+
plan: Union[Unset, str] = UNSET
|
|
29
|
+
attributes: Union[Unset, "PatchedRulePlansRequestAttributes"] = UNSET
|
|
30
|
+
limits: Union[Unset, "PatchedRulePlansRequestLimits"] = UNSET
|
|
31
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
32
|
+
|
|
33
|
+
def to_dict(self) -> dict[str, Any]:
|
|
34
|
+
rule = self.rule
|
|
35
|
+
|
|
36
|
+
plan = self.plan
|
|
37
|
+
|
|
38
|
+
attributes: Union[Unset, dict[str, Any]] = UNSET
|
|
39
|
+
if not isinstance(self.attributes, Unset):
|
|
40
|
+
attributes = self.attributes.to_dict()
|
|
41
|
+
|
|
42
|
+
limits: Union[Unset, dict[str, Any]] = UNSET
|
|
43
|
+
if not isinstance(self.limits, Unset):
|
|
44
|
+
limits = self.limits.to_dict()
|
|
45
|
+
|
|
46
|
+
field_dict: dict[str, Any] = {}
|
|
47
|
+
field_dict.update(self.additional_properties)
|
|
48
|
+
field_dict.update({})
|
|
49
|
+
if rule is not UNSET:
|
|
50
|
+
field_dict["rule"] = rule
|
|
51
|
+
if plan is not UNSET:
|
|
52
|
+
field_dict["plan"] = plan
|
|
53
|
+
if attributes is not UNSET:
|
|
54
|
+
field_dict["attributes"] = attributes
|
|
55
|
+
if limits is not UNSET:
|
|
56
|
+
field_dict["limits"] = limits
|
|
57
|
+
|
|
58
|
+
return field_dict
|
|
59
|
+
|
|
60
|
+
@classmethod
|
|
61
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
62
|
+
from ..models.patched_rule_plans_request_attributes import PatchedRulePlansRequestAttributes
|
|
63
|
+
from ..models.patched_rule_plans_request_limits import PatchedRulePlansRequestLimits
|
|
64
|
+
|
|
65
|
+
d = dict(src_dict)
|
|
66
|
+
rule = d.pop("rule", UNSET)
|
|
67
|
+
|
|
68
|
+
plan = d.pop("plan", UNSET)
|
|
69
|
+
|
|
70
|
+
_attributes = d.pop("attributes", UNSET)
|
|
71
|
+
attributes: Union[Unset, PatchedRulePlansRequestAttributes]
|
|
72
|
+
if isinstance(_attributes, Unset):
|
|
73
|
+
attributes = UNSET
|
|
74
|
+
else:
|
|
75
|
+
attributes = PatchedRulePlansRequestAttributes.from_dict(_attributes)
|
|
76
|
+
|
|
77
|
+
_limits = d.pop("limits", UNSET)
|
|
78
|
+
limits: Union[Unset, PatchedRulePlansRequestLimits]
|
|
79
|
+
if isinstance(_limits, Unset):
|
|
80
|
+
limits = UNSET
|
|
81
|
+
else:
|
|
82
|
+
limits = PatchedRulePlansRequestLimits.from_dict(_limits)
|
|
83
|
+
|
|
84
|
+
patched_rule_plans_request = cls(
|
|
85
|
+
rule=rule,
|
|
86
|
+
plan=plan,
|
|
87
|
+
attributes=attributes,
|
|
88
|
+
limits=limits,
|
|
89
|
+
)
|
|
90
|
+
|
|
91
|
+
patched_rule_plans_request.additional_properties = d
|
|
92
|
+
return patched_rule_plans_request
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
def additional_keys(self) -> list[str]:
|
|
96
|
+
return list(self.additional_properties.keys())
|
|
97
|
+
|
|
98
|
+
def __getitem__(self, key: str) -> Any:
|
|
99
|
+
return self.additional_properties[key]
|
|
100
|
+
|
|
101
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
102
|
+
self.additional_properties[key] = value
|
|
103
|
+
|
|
104
|
+
def __delitem__(self, key: str) -> None:
|
|
105
|
+
del self.additional_properties[key]
|
|
106
|
+
|
|
107
|
+
def __contains__(self, key: str) -> bool:
|
|
108
|
+
return key in self.additional_properties
|
waldur_api_client/models/{resource_backend_metadata.py → patched_rule_plans_request_attributes.py}
RENAMED
|
@@ -4,43 +4,28 @@ from typing import Any, TypeVar
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
|
|
7
|
-
T = TypeVar("T", bound="
|
|
7
|
+
T = TypeVar("T", bound="PatchedRulePlansRequestAttributes")
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
@_attrs_define
|
|
11
|
-
class
|
|
12
|
-
"""
|
|
13
|
-
Attributes:
|
|
14
|
-
backend_metadata (Any):
|
|
15
|
-
"""
|
|
11
|
+
class PatchedRulePlansRequestAttributes:
|
|
12
|
+
""" """
|
|
16
13
|
|
|
17
|
-
backend_metadata: Any
|
|
18
14
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
19
15
|
|
|
20
16
|
def to_dict(self) -> dict[str, Any]:
|
|
21
|
-
backend_metadata = self.backend_metadata
|
|
22
|
-
|
|
23
17
|
field_dict: dict[str, Any] = {}
|
|
24
18
|
field_dict.update(self.additional_properties)
|
|
25
|
-
field_dict.update(
|
|
26
|
-
{
|
|
27
|
-
"backend_metadata": backend_metadata,
|
|
28
|
-
}
|
|
29
|
-
)
|
|
30
19
|
|
|
31
20
|
return field_dict
|
|
32
21
|
|
|
33
22
|
@classmethod
|
|
34
23
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
35
24
|
d = dict(src_dict)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
resource_backend_metadata = cls(
|
|
39
|
-
backend_metadata=backend_metadata,
|
|
40
|
-
)
|
|
25
|
+
patched_rule_plans_request_attributes = cls()
|
|
41
26
|
|
|
42
|
-
|
|
43
|
-
return
|
|
27
|
+
patched_rule_plans_request_attributes.additional_properties = d
|
|
28
|
+
return patched_rule_plans_request_attributes
|
|
44
29
|
|
|
45
30
|
@property
|
|
46
31
|
def additional_keys(self) -> list[str]:
|
|
@@ -1,46 +1,31 @@
|
|
|
1
1
|
from collections.abc import Mapping
|
|
2
|
-
from typing import Any, TypeVar
|
|
2
|
+
from typing import Any, TypeVar
|
|
3
3
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
T = TypeVar("T", bound="ResourceOptions")
|
|
7
|
+
T = TypeVar("T", bound="PatchedRulePlansRequestLimits")
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
@_attrs_define
|
|
13
|
-
class
|
|
14
|
-
"""
|
|
15
|
-
Attributes:
|
|
16
|
-
options (Union[Unset, Any]):
|
|
17
|
-
"""
|
|
11
|
+
class PatchedRulePlansRequestLimits:
|
|
12
|
+
""" """
|
|
18
13
|
|
|
19
|
-
options: Union[Unset, Any] = UNSET
|
|
20
14
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
21
15
|
|
|
22
16
|
def to_dict(self) -> dict[str, Any]:
|
|
23
|
-
options = self.options
|
|
24
|
-
|
|
25
17
|
field_dict: dict[str, Any] = {}
|
|
26
18
|
field_dict.update(self.additional_properties)
|
|
27
|
-
field_dict.update({})
|
|
28
|
-
if options is not UNSET:
|
|
29
|
-
field_dict["options"] = options
|
|
30
19
|
|
|
31
20
|
return field_dict
|
|
32
21
|
|
|
33
22
|
@classmethod
|
|
34
23
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
35
24
|
d = dict(src_dict)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
resource_options = cls(
|
|
39
|
-
options=options,
|
|
40
|
-
)
|
|
25
|
+
patched_rule_plans_request_limits = cls()
|
|
41
26
|
|
|
42
|
-
|
|
43
|
-
return
|
|
27
|
+
patched_rule_plans_request_limits.additional_properties = d
|
|
28
|
+
return patched_rule_plans_request_limits
|
|
44
29
|
|
|
45
30
|
@property
|
|
46
31
|
def additional_keys(self) -> list[str]:
|
|
@@ -0,0 +1,101 @@
|
|
|
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="PatchedRuleRequest")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class PatchedRuleRequest:
|
|
14
|
+
"""
|
|
15
|
+
Attributes:
|
|
16
|
+
user_affiliations (Union[Unset, list[str]]):
|
|
17
|
+
user_email_patterns (Union[Unset, list[str]]):
|
|
18
|
+
customer (Union[Unset, str]):
|
|
19
|
+
project_role (Union[None, Unset, str]):
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
user_affiliations: Union[Unset, list[str]] = UNSET
|
|
23
|
+
user_email_patterns: Union[Unset, list[str]] = UNSET
|
|
24
|
+
customer: Union[Unset, str] = UNSET
|
|
25
|
+
project_role: Union[None, Unset, str] = UNSET
|
|
26
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
27
|
+
|
|
28
|
+
def to_dict(self) -> dict[str, Any]:
|
|
29
|
+
user_affiliations: Union[Unset, list[str]] = UNSET
|
|
30
|
+
if not isinstance(self.user_affiliations, Unset):
|
|
31
|
+
user_affiliations = self.user_affiliations
|
|
32
|
+
|
|
33
|
+
user_email_patterns: Union[Unset, list[str]] = UNSET
|
|
34
|
+
if not isinstance(self.user_email_patterns, Unset):
|
|
35
|
+
user_email_patterns = self.user_email_patterns
|
|
36
|
+
|
|
37
|
+
customer = self.customer
|
|
38
|
+
|
|
39
|
+
project_role: Union[None, Unset, str]
|
|
40
|
+
if isinstance(self.project_role, Unset):
|
|
41
|
+
project_role = UNSET
|
|
42
|
+
else:
|
|
43
|
+
project_role = self.project_role
|
|
44
|
+
|
|
45
|
+
field_dict: dict[str, Any] = {}
|
|
46
|
+
field_dict.update(self.additional_properties)
|
|
47
|
+
field_dict.update({})
|
|
48
|
+
if user_affiliations is not UNSET:
|
|
49
|
+
field_dict["user_affiliations"] = user_affiliations
|
|
50
|
+
if user_email_patterns is not UNSET:
|
|
51
|
+
field_dict["user_email_patterns"] = user_email_patterns
|
|
52
|
+
if customer is not UNSET:
|
|
53
|
+
field_dict["customer"] = customer
|
|
54
|
+
if project_role is not UNSET:
|
|
55
|
+
field_dict["project_role"] = project_role
|
|
56
|
+
|
|
57
|
+
return field_dict
|
|
58
|
+
|
|
59
|
+
@classmethod
|
|
60
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
61
|
+
d = dict(src_dict)
|
|
62
|
+
user_affiliations = cast(list[str], d.pop("user_affiliations", UNSET))
|
|
63
|
+
|
|
64
|
+
user_email_patterns = cast(list[str], d.pop("user_email_patterns", UNSET))
|
|
65
|
+
|
|
66
|
+
customer = d.pop("customer", UNSET)
|
|
67
|
+
|
|
68
|
+
def _parse_project_role(data: object) -> Union[None, Unset, str]:
|
|
69
|
+
if data is None:
|
|
70
|
+
return data
|
|
71
|
+
if isinstance(data, Unset):
|
|
72
|
+
return data
|
|
73
|
+
return cast(Union[None, Unset, str], data)
|
|
74
|
+
|
|
75
|
+
project_role = _parse_project_role(d.pop("project_role", UNSET))
|
|
76
|
+
|
|
77
|
+
patched_rule_request = cls(
|
|
78
|
+
user_affiliations=user_affiliations,
|
|
79
|
+
user_email_patterns=user_email_patterns,
|
|
80
|
+
customer=customer,
|
|
81
|
+
project_role=project_role,
|
|
82
|
+
)
|
|
83
|
+
|
|
84
|
+
patched_rule_request.additional_properties = d
|
|
85
|
+
return patched_rule_request
|
|
86
|
+
|
|
87
|
+
@property
|
|
88
|
+
def additional_keys(self) -> list[str]:
|
|
89
|
+
return list(self.additional_properties.keys())
|
|
90
|
+
|
|
91
|
+
def __getitem__(self, key: str) -> Any:
|
|
92
|
+
return self.additional_properties[key]
|
|
93
|
+
|
|
94
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
95
|
+
self.additional_properties[key] = value
|
|
96
|
+
|
|
97
|
+
def __delitem__(self, key: str) -> None:
|
|
98
|
+
del self.additional_properties[key]
|
|
99
|
+
|
|
100
|
+
def __contains__(self, key: str) -> bool:
|
|
101
|
+
return key in self.additional_properties
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import datetime
|
|
1
2
|
from collections.abc import Mapping
|
|
2
3
|
from typing import TYPE_CHECKING, Any, TypeVar, Union, cast
|
|
3
4
|
from uuid import UUID
|
|
4
5
|
|
|
5
6
|
from attrs import define as _attrs_define
|
|
6
7
|
from attrs import field as _attrs_field
|
|
8
|
+
from dateutil.parser import isoparse
|
|
7
9
|
|
|
8
10
|
from ..models.requested_offering_states import RequestedOfferingStates
|
|
9
11
|
from ..types import UNSET, Unset
|
|
@@ -34,6 +36,7 @@ class ProviderRequestedOffering:
|
|
|
34
36
|
plan_details (BasePublicPlan):
|
|
35
37
|
options (OfferingOptions):
|
|
36
38
|
components (list['OfferingComponent']):
|
|
39
|
+
created (datetime.datetime):
|
|
37
40
|
url (str):
|
|
38
41
|
call_name (str):
|
|
39
42
|
call (str):
|
|
@@ -56,6 +59,7 @@ class ProviderRequestedOffering:
|
|
|
56
59
|
plan_details: "BasePublicPlan"
|
|
57
60
|
options: "OfferingOptions"
|
|
58
61
|
components: list["OfferingComponent"]
|
|
62
|
+
created: datetime.datetime
|
|
59
63
|
url: str
|
|
60
64
|
call_name: str
|
|
61
65
|
call: str
|
|
@@ -96,6 +100,8 @@ class ProviderRequestedOffering:
|
|
|
96
100
|
components_item = components_item_data.to_dict()
|
|
97
101
|
components.append(components_item)
|
|
98
102
|
|
|
103
|
+
created = self.created.isoformat()
|
|
104
|
+
|
|
99
105
|
url = self.url
|
|
100
106
|
|
|
101
107
|
call_name = self.call_name
|
|
@@ -127,6 +133,7 @@ class ProviderRequestedOffering:
|
|
|
127
133
|
"plan_details": plan_details,
|
|
128
134
|
"options": options,
|
|
129
135
|
"components": components,
|
|
136
|
+
"created": created,
|
|
130
137
|
"url": url,
|
|
131
138
|
"call_name": call_name,
|
|
132
139
|
"call": call,
|
|
@@ -183,6 +190,8 @@ class ProviderRequestedOffering:
|
|
|
183
190
|
|
|
184
191
|
components.append(components_item)
|
|
185
192
|
|
|
193
|
+
created = isoparse(d.pop("created"))
|
|
194
|
+
|
|
186
195
|
url = d.pop("url")
|
|
187
196
|
|
|
188
197
|
call_name = d.pop("call_name")
|
|
@@ -211,6 +220,7 @@ class ProviderRequestedOffering:
|
|
|
211
220
|
plan_details=plan_details,
|
|
212
221
|
options=options,
|
|
213
222
|
components=components,
|
|
223
|
+
created=created,
|
|
214
224
|
url=url,
|
|
215
225
|
call_name=call_name,
|
|
216
226
|
call=call,
|
|
@@ -62,6 +62,7 @@ class RancherCluster:
|
|
|
62
62
|
requested (Union[Unset, Any]): Cluster requested resources in the format {'cpu': '1450m', 'memory': '884Mi',
|
|
63
63
|
'pods': '13'}
|
|
64
64
|
kubernetes_version (Union[Unset, str]): Kubernetes version used in the cluster.
|
|
65
|
+
router_ips (Union[Unset, list[Any]]):
|
|
65
66
|
marketplace_offering_uuid (Union[None, Unset, str]):
|
|
66
67
|
marketplace_offering_name (Union[None, Unset, str]):
|
|
67
68
|
marketplace_offering_plugin_options (Union['RancherClusterMarketplaceOfferingPluginOptionsType0', None, Unset]):
|
|
@@ -109,6 +110,7 @@ class RancherCluster:
|
|
|
109
110
|
capacity: Union[Unset, Any] = UNSET
|
|
110
111
|
requested: Union[Unset, Any] = UNSET
|
|
111
112
|
kubernetes_version: Union[Unset, str] = UNSET
|
|
113
|
+
router_ips: Union[Unset, list[Any]] = UNSET
|
|
112
114
|
marketplace_offering_uuid: Union[None, Unset, str] = UNSET
|
|
113
115
|
marketplace_offering_name: Union[None, Unset, str] = UNSET
|
|
114
116
|
marketplace_offering_plugin_options: Union["RancherClusterMarketplaceOfferingPluginOptionsType0", None, Unset] = (
|
|
@@ -230,6 +232,10 @@ class RancherCluster:
|
|
|
230
232
|
|
|
231
233
|
kubernetes_version = self.kubernetes_version
|
|
232
234
|
|
|
235
|
+
router_ips: Union[Unset, list[Any]] = UNSET
|
|
236
|
+
if not isinstance(self.router_ips, Unset):
|
|
237
|
+
router_ips = self.router_ips
|
|
238
|
+
|
|
233
239
|
marketplace_offering_uuid: Union[None, Unset, str]
|
|
234
240
|
if isinstance(self.marketplace_offering_uuid, Unset):
|
|
235
241
|
marketplace_offering_uuid = UNSET
|
|
@@ -365,6 +371,8 @@ class RancherCluster:
|
|
|
365
371
|
field_dict["requested"] = requested
|
|
366
372
|
if kubernetes_version is not UNSET:
|
|
367
373
|
field_dict["kubernetes_version"] = kubernetes_version
|
|
374
|
+
if router_ips is not UNSET:
|
|
375
|
+
field_dict["router_ips"] = router_ips
|
|
368
376
|
if marketplace_offering_uuid is not UNSET:
|
|
369
377
|
field_dict["marketplace_offering_uuid"] = marketplace_offering_uuid
|
|
370
378
|
if marketplace_offering_name is not UNSET:
|
|
@@ -526,6 +534,8 @@ class RancherCluster:
|
|
|
526
534
|
|
|
527
535
|
kubernetes_version = d.pop("kubernetes_version", UNSET)
|
|
528
536
|
|
|
537
|
+
router_ips = cast(list[Any], d.pop("router_ips", UNSET))
|
|
538
|
+
|
|
529
539
|
def _parse_marketplace_offering_uuid(data: object) -> Union[None, Unset, str]:
|
|
530
540
|
if data is None:
|
|
531
541
|
return data
|
|
@@ -666,6 +676,7 @@ class RancherCluster:
|
|
|
666
676
|
capacity=capacity,
|
|
667
677
|
requested=requested,
|
|
668
678
|
kubernetes_version=kubernetes_version,
|
|
679
|
+
router_ips=router_ips,
|
|
669
680
|
marketplace_offering_uuid=marketplace_offering_uuid,
|
|
670
681
|
marketplace_offering_name=marketplace_offering_name,
|
|
671
682
|
marketplace_offering_plugin_options=marketplace_offering_plugin_options,
|
|
@@ -35,6 +35,7 @@ class RancherClustersListFieldItem(str, Enum):
|
|
|
35
35
|
PUBLIC_IPS = "public_ips"
|
|
36
36
|
REQUESTED = "requested"
|
|
37
37
|
RESOURCE_TYPE = "resource_type"
|
|
38
|
+
ROUTER_IPS = "router_ips"
|
|
38
39
|
RUNTIME_STATE = "runtime_state"
|
|
39
40
|
SECURITY_GROUPS = "security_groups"
|
|
40
41
|
SERVICE_NAME = "service_name"
|
|
@@ -35,6 +35,7 @@ class RancherClustersRetrieveFieldItem(str, Enum):
|
|
|
35
35
|
PUBLIC_IPS = "public_ips"
|
|
36
36
|
REQUESTED = "requested"
|
|
37
37
|
RESOURCE_TYPE = "resource_type"
|
|
38
|
+
ROUTER_IPS = "router_ips"
|
|
38
39
|
RUNTIME_STATE = "runtime_state"
|
|
39
40
|
SECURITY_GROUPS = "security_groups"
|
|
40
41
|
SERVICE_NAME = "service_name"
|