Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
feat: API Sync by GitHub Action (2024-05-10) (#94)
Browse files Browse the repository at this point in the history
This API Sync PR was automated through [GitHub Actions
workflow_displatch](https://github.com/equinix-labs/metal-python/actions?query=event%3Aworkflow_dispatch)
on 2024-05-10.

* latest Equinix Metal API spec have been fetched
* patches have been applied
* generated client has been updated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored May 10, 2024
1 parent 9f886ec commit 2873dcf
Show file tree
Hide file tree
Showing 35 changed files with 722 additions and 356 deletions.
300 changes: 6 additions & 294 deletions equinix_metal/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.github/workflows/python.yml
.gitignore
.gitlab-ci.yml
.openapi-generator-ignore
.travis.yml
README.md
docs/AWSFabricProvider.md
Expand Down Expand Up @@ -111,6 +110,7 @@ docs/IncidentsApi.md
docs/InstancesBatchCreateInput.md
docs/InstancesBatchCreateInputBatchesInner.md
docs/Interconnection.md
docs/InterconnectionFabricProvider.md
docs/InterconnectionList.md
docs/InterconnectionMetroList.md
docs/InterconnectionMetroListMetrosInner.md
Expand All @@ -135,6 +135,7 @@ docs/LicenseList.md
docs/LicenseUpdateInput.md
docs/LicensesApi.md
docs/LineItem.md
docs/LineItemAdjustment.md
docs/Membership.md
docs/MembershipInput.md
docs/MembershipList.md
Expand Down Expand Up @@ -425,6 +426,7 @@ equinix_metal/models/href.py
equinix_metal/models/instances_batch_create_input.py
equinix_metal/models/instances_batch_create_input_batches_inner.py
equinix_metal/models/interconnection.py
equinix_metal/models/interconnection_fabric_provider.py
equinix_metal/models/interconnection_list.py
equinix_metal/models/interconnection_metro_list.py
equinix_metal/models/interconnection_metro_list_metros_inner.py
Expand Down Expand Up @@ -458,6 +460,7 @@ equinix_metal/models/license_create_input.py
equinix_metal/models/license_list.py
equinix_metal/models/license_update_input.py
equinix_metal/models/line_item.py
equinix_metal/models/line_item_adjustment.py
equinix_metal/models/membership.py
equinix_metal/models/membership_input.py
equinix_metal/models/membership_list.py
Expand Down Expand Up @@ -606,297 +609,6 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_activate_hardware_reservation_request.py
test/test_address.py
test/test_attribute.py
test/test_attribute_data.py
test/test_auth_token.py
test/test_auth_token_input.py
test/test_auth_token_list.py
test/test_auth_token_project.py
test/test_auth_token_user.py
test/test_authentication_api.py
test/test_aws_fabric_provider.py
test/test_batch.py
test/test_batches_api.py
test/test_batches_list.py
test/test_bgp_api.py
test/test_bgp_config.py
test/test_bgp_config_request_input.py
test/test_bgp_dynamic_neighbor.py
test/test_bgp_dynamic_neighbor_create_input.py
test/test_bgp_dynamic_neighbor_list.py
test/test_bgp_neighbor_data.py
test/test_bgp_route.py
test/test_bgp_session.py
test/test_bgp_session_input.py
test/test_bgp_session_list.py
test/test_bgp_session_neighbors.py
test/test_bond_port_data.py
test/test_capacity_api.py
test/test_capacity_check_per_facility_info.py
test/test_capacity_check_per_facility_list.py
test/test_capacity_check_per_metro_info.py
test/test_capacity_check_per_metro_list.py
test/test_capacity_input.py
test/test_capacity_level_per_baremetal.py
test/test_capacity_list.py
test/test_component.py
test/test_console_log_details_api.py
test/test_coordinates.py
test/test_create_device_request.py
test/test_create_email_input.py
test/test_create_metal_gateway_request.py
test/test_create_organization_interconnection_request.py
test/test_create_self_service_reservation_request.py
test/test_create_self_service_reservation_request_period.py
test/test_dedicated_port_create_input.py
test/test_device.py
test/test_device_action_input.py
test/test_device_actions_inner.py
test/test_device_create_in_facility_input.py
test/test_device_create_in_metro_input.py
test/test_device_create_input.py
test/test_device_created_by.py
test/test_device_health_rollup.py
test/test_device_list.py
test/test_device_metro.py
test/test_device_project_lite.py
test/test_device_update_input.py
test/test_device_usage.py
test/test_device_usage_list.py
test/test_devices_api.py
test/test_disk.py
test/test_email.py
test/test_email_input.py
test/test_emails_api.py
test/test_entitlement.py
test/test_error.py
test/test_event.py
test/test_event_list.py
test/test_events_api.py
test/test_fabric_service_token.py
test/test_facilities_api.py
test/test_facility.py
test/test_facility_input.py
test/test_facility_input_facility.py
test/test_facility_list.py
test/test_filesystem.py
test/test_find_ip_address_by_id200_response.py
test/test_find_metal_gateway_by_id200_response.py
test/test_find_traffic_timeframe_parameter.py
test/test_firmware_set.py
test/test_firmware_set_list_response.py
test/test_firmware_set_response.py
test/test_firmware_sets_api.py
test/test_global_bgp_range.py
test/test_global_bgp_range_list.py
test/test_hardware_reservation.py
test/test_hardware_reservation_list.py
test/test_hardware_reservations_api.py
test/test_href.py
test/test_incidents_api.py
test/test_instances_batch_create_input.py
test/test_instances_batch_create_input_batches_inner.py
test/test_interconnection.py
test/test_interconnection_list.py
test/test_interconnection_metro_list.py
test/test_interconnection_metro_list_metros_inner.py
test/test_interconnection_metro_list_metros_inner_all_of_providers_inner.py
test/test_interconnection_port.py
test/test_interconnection_port_list.py
test/test_interconnection_pricing_list.py
test/test_interconnection_pricing_list_provider_pricing_inner.py
test/test_interconnection_pricing_list_provider_pricing_inner_tiers_inner.py
test/test_interconnection_update_input.py
test/test_interconnections_api.py
test/test_invitation.py
test/test_invitation_input.py
test/test_invitation_list.py
test/test_invitations_api.py
test/test_invoice.py
test/test_invoice_list.py
test/test_invoices_api.py
test/test_ip_address.py
test/test_ip_addresses_api.py
test/test_ip_assignment.py
test/test_ip_assignment_input.py
test/test_ip_assignment_list.py
test/test_ip_assignment_metro.py
test/test_ip_assignment_update_input.py
test/test_ip_availabilities_list.py
test/test_ip_reservation.py
test/test_ip_reservation_facility.py
test/test_ip_reservation_list.py
test/test_ip_reservation_list_ip_addresses_inner.py
test/test_ip_reservation_metro.py
test/test_ip_reservation_request_input.py
test/test_license.py
test/test_license_create_input.py
test/test_license_list.py
test/test_license_update_input.py
test/test_licenses_api.py
test/test_line_item.py
test/test_membership.py
test/test_membership_input.py
test/test_membership_list.py
test/test_memberships_api.py
test/test_meta.py
test/test_metadata.py
test/test_metadata_network.py
test/test_metadata_network_network.py
test/test_metadata_network_network_bonding.py
test/test_metal_gateway.py
test/test_metal_gateway_create_input.py
test/test_metal_gateway_elastic_ip_create_input.py
test/test_metal_gateway_list.py
test/test_metal_gateway_list_metal_gateways_inner.py
test/test_metal_gateway_lite.py
test/test_metal_gateways_api.py
test/test_metro.py
test/test_metro_input.py
test/test_metro_list.py
test/test_metros_api.py
test/test_mount.py
test/test_move_hardware_reservation_request.py
test/test_new_password.py
test/test_operating_system.py
test/test_operating_system_list.py
test/test_operating_systems_api.py
test/test_organization.py
test/test_organization_input.py
test/test_organization_list.py
test/test_organizations_api.py
test/test_otps_api.py
test/test_parent_block.py
test/test_partition.py
test/test_password_reset_tokens_api.py
test/test_payment_method.py
test/test_payment_method_billing_address.py
test/test_payment_method_create_input.py
test/test_payment_method_list.py
test/test_payment_method_update_input.py
test/test_payment_methods_api.py
test/test_plan.py
test/test_plan_available_in_inner.py
test/test_plan_available_in_inner_price.py
test/test_plan_available_in_metros_inner.py
test/test_plan_list.py
test/test_plan_specs.py
test/test_plan_specs_cpus_inner.py
test/test_plan_specs_drives_inner.py
test/test_plan_specs_features.py
test/test_plan_specs_memory.py
test/test_plan_specs_nics_inner.py
test/test_plans_api.py
test/test_port.py
test/test_port_assign_input.py
test/test_port_convert_layer3_input.py
test/test_port_convert_layer3_input_request_ips_inner.py
test/test_port_data.py
test/test_port_vlan_assignment.py
test/test_port_vlan_assignment_batch.py
test/test_port_vlan_assignment_batch_create_input.py
test/test_port_vlan_assignment_batch_create_input_vlan_assignments_inner.py
test/test_port_vlan_assignment_batch_list.py
test/test_port_vlan_assignment_batch_vlan_assignments_inner.py
test/test_port_vlan_assignment_list.py
test/test_ports_api.py
test/test_project.py
test/test_project_create_from_root_input.py
test/test_project_create_input.py
test/test_project_id_name.py
test/test_project_list.py
test/test_project_update_input.py
test/test_project_usage.py
test/test_project_usage_list.py
test/test_projects_api.py
test/test_raid.py
test/test_recovery_code_list.py
test/test_request_ip_reservation201_response.py
test/test_request_ip_reservation_request.py
test/test_self_service_reservation_item_request.py
test/test_self_service_reservation_item_response.py
test/test_self_service_reservation_list.py
test/test_self_service_reservation_response.py
test/test_self_service_reservations_api.py
test/test_server_info.py
test/test_shared_port_vc_vlan_create_input.py
test/test_spot_market_api.py
test/test_spot_market_prices_list.py
test/test_spot_market_prices_per_metro_list.py
test/test_spot_market_prices_per_metro_report.py
test/test_spot_market_request.py
test/test_spot_market_request_create_input.py
test/test_spot_market_request_create_input_instance_parameters.py
test/test_spot_market_request_list.py
test/test_spot_market_request_metro.py
test/test_spot_prices_datapoints.py
test/test_spot_prices_history_report.py
test/test_spot_prices_per_baremetal.py
test/test_spot_prices_per_facility.py
test/test_spot_prices_per_new_facility.py
test/test_spot_prices_report.py
test/test_ssh_key.py
test/test_ssh_key_create_input.py
test/test_ssh_key_input.py
test/test_ssh_key_list.py
test/test_ssh_keys_api.py
test/test_storage.py
test/test_support_request_api.py
test/test_support_request_input.py
test/test_transfer_request.py
test/test_transfer_request_input.py
test/test_transfer_request_list.py
test/test_transfer_requests_api.py
test/test_two_factor_auth_api.py
test/test_update_email_input.py
test/test_usages_api.py
test/test_user.py
test/test_user_create_input.py
test/test_user_limited.py
test/test_user_list.py
test/test_user_lite.py
test/test_user_update_input.py
test/test_user_verification_tokens_api.py
test/test_userdata.py
test/test_userdata_api.py
test/test_users_api.py
test/test_verify_email.py
test/test_virtual_circuit.py
test/test_virtual_circuit_create_input.py
test/test_virtual_circuit_list.py
test/test_virtual_circuit_update_input.py
test/test_virtual_network.py
test/test_virtual_network_create_input.py
test/test_virtual_network_list.py
test/test_vlan_csp_connection_create_input.py
test/test_vlan_csp_connection_create_input_fabric_provider.py
test/test_vlan_fabric_vc_create_input.py
test/test_vlan_virtual_circuit.py
test/test_vlan_virtual_circuit_create_input.py
test/test_vlan_virtual_circuit_update_input.py
test/test_vlans_api.py
test/test_vrf.py
test/test_vrf_bgp_neighbors.py
test/test_vrf_bgp_neighbors_bgp_neighbors_inner.py
test/test_vrf_create_input.py
test/test_vrf_fabric_vc_create_input.py
test/test_vrf_ip_reservation.py
test/test_vrf_ip_reservation_create_input.py
test/test_vrf_ip_reservation_list.py
test/test_vrf_learned_routes.py
test/test_vrf_learned_routes_learned_routes_inner.py
test/test_vrf_list.py
test/test_vrf_metal_gateway.py
test/test_vrf_metal_gateway_create_input.py
test/test_vrf_route.py
test/test_vrf_route_create_input.py
test/test_vrf_route_list.py
test/test_vrf_route_update_input.py
test/test_vrf_update_input.py
test/test_vrf_virtual_circuit.py
test/test_vrf_virtual_circuit_create_input.py
test/test_vrf_virtual_circuit_update_input.py
test/test_vrfs_api.py
test/test_interconnection_fabric_provider.py
test/test_line_item_adjustment.py
tox.ini
6 changes: 4 additions & 2 deletions equinix_metal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ Class | Method | HTTP request | Description
*SpotMarketApi* | [**find_spot_market_prices_history**](docs/SpotMarketApi.md#find_spot_market_prices_history) | **GET** /market/spot/prices/history | Get spot market prices for a given period of time
*SpotMarketApi* | [**find_spot_market_request_by_id**](docs/SpotMarketApi.md#find_spot_market_request_by_id) | **GET** /spot-market-requests/{id} | Retrieve a spot market request
*SpotMarketApi* | [**list_spot_market_requests**](docs/SpotMarketApi.md#list_spot_market_requests) | **GET** /projects/{id}/spot-market-requests | List spot market requests
*SupportRequestApi* | [**request_suppert**](docs/SupportRequestApi.md#request_suppert) | **POST** /support-requests | Create a support ticket
*SupportRequestApi* | [**request_support**](docs/SupportRequestApi.md#request_support) | **POST** /support-requests | Create a support ticket
*TransferRequestsApi* | [**accept_transfer_request**](docs/TransferRequestsApi.md#accept_transfer_request) | **PUT** /transfers/{id} | Accept a transfer request
*TransferRequestsApi* | [**decline_transfer_request**](docs/TransferRequestsApi.md#decline_transfer_request) | **DELETE** /transfers/{id} | Decline a transfer request
*TransferRequestsApi* | [**find_transfer_request_by_id**](docs/TransferRequestsApi.md#find_transfer_request_by_id) | **GET** /transfers/{id} | View a transfer request
Expand Down Expand Up @@ -392,7 +392,7 @@ Class | Method | HTTP request | Description
*VRFsApi* | [**delete_vrf**](docs/VRFsApi.md#delete_vrf) | **DELETE** /vrfs/{id} | Delete the VRF
*VRFsApi* | [**delete_vrf_route_by_id**](docs/VRFsApi.md#delete_vrf_route_by_id) | **DELETE** /routes/{id} | Delete a VRF Route
*VRFsApi* | [**find_vrf_by_id**](docs/VRFsApi.md#find_vrf_by_id) | **GET** /vrfs/{id} | Retrieve a VRF
*VRFsApi* | [**find_vrf_ip_reservation**](docs/VRFsApi.md#find_vrf_ip_reservation) | **GET** /vrfs/{vrf_id}/ips/{id} | Retrieve all VRF IP Reservations in the VRF
*VRFsApi* | [**find_vrf_ip_reservation**](docs/VRFsApi.md#find_vrf_ip_reservation) | **GET** /vrfs/{vrf_id}/ips/{id} | Retrieve the Specified VRF IP Reservation
*VRFsApi* | [**find_vrf_ip_reservations**](docs/VRFsApi.md#find_vrf_ip_reservations) | **GET** /vrfs/{id}/ips | Retrieve all VRF IP Reservations in the VRF
*VRFsApi* | [**find_vrf_route_by_id**](docs/VRFsApi.md#find_vrf_route_by_id) | **GET** /routes/{id} | Retrieve a VRF Route
*VRFsApi* | [**find_vrfs**](docs/VRFsApi.md#find_vrfs) | **GET** /projects/{id}/vrfs | Retrieve all VRFs in the project
Expand Down Expand Up @@ -500,6 +500,7 @@ Class | Method | HTTP request | Description
- [InstancesBatchCreateInput](docs/InstancesBatchCreateInput.md)
- [InstancesBatchCreateInputBatchesInner](docs/InstancesBatchCreateInputBatchesInner.md)
- [Interconnection](docs/Interconnection.md)
- [InterconnectionFabricProvider](docs/InterconnectionFabricProvider.md)
- [InterconnectionList](docs/InterconnectionList.md)
- [InterconnectionMetroList](docs/InterconnectionMetroList.md)
- [InterconnectionMetroListMetrosInner](docs/InterconnectionMetroListMetrosInner.md)
Expand All @@ -520,6 +521,7 @@ Class | Method | HTTP request | Description
- [LicenseList](docs/LicenseList.md)
- [LicenseUpdateInput](docs/LicenseUpdateInput.md)
- [LineItem](docs/LineItem.md)
- [LineItemAdjustment](docs/LineItemAdjustment.md)
- [Membership](docs/Membership.md)
- [MembershipInput](docs/MembershipInput.md)
- [MembershipList](docs/MembershipList.md)
Expand Down
1 change: 1 addition & 0 deletions equinix_metal/docs/Interconnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**contact_email** | **str** | | [optional]
**created_at** | **datetime** | | [optional]
**description** | **str** | | [optional]
**fabric_provider** | [**InterconnectionFabricProvider**](InterconnectionFabricProvider.md) | | [optional]
**facility** | [**Facility**](Facility.md) | | [optional]
**href** | **str** | | [optional]
**id** | **str** | | [optional]
Expand Down
Loading

0 comments on commit 2873dcf

Please sign in to comment.