katapult-ruby 0.0.5 → 0.0.6
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.
- checksums.yaml +4 -4
- data/README.md +73 -143
- data/lib/katapult-ruby/api/core_api.rb +705 -653
- data/lib/katapult-ruby/configuration.rb +3 -3
- data/lib/katapult-ruby/models/{delete_virtual_machine_part_data_center.rb → address_list.rb} +20 -16
- data/lib/katapult-ruby/models/{model_alias.rb → address_list_arguments.rb} +5 -3
- data/lib/katapult-ruby/models/{get_disk_part_operating_system.rb → address_list_entry.rb} +15 -4
- data/lib/katapult-ruby/models/{ns.rb → address_list_entry_arguments.rb} +16 -4
- data/lib/katapult-ruby/models/{aaaa.rb → address_list_entry_lookup.rb} +11 -10
- data/lib/katapult-ruby/models/{dns_zone_already_verified_enum.rb → address_list_entry_not_found_enum.rb} +5 -5
- data/lib/katapult-ruby/models/{a.rb → address_list_lookup.rb} +11 -10
- data/lib/katapult-ruby/models/{property_type_enum.rb → address_list_not_found_enum.rb} +5 -7
- data/lib/katapult-ruby/models/certificate.rb +8 -0
- data/lib/katapult-ruby/models/country.rb +1 -0
- data/lib/katapult-ruby/models/data_center.rb +1 -0
- data/lib/katapult-ruby/models/{dns_zone_not_verified.rb → decimal_or_unlimited.rb} +20 -10
- data/lib/katapult-ruby/models/{patch_load_balancer_part_weights.rb → delete_address_list200_response.rb} +17 -19
- data/lib/katapult-ruby/models/{get_dns_records_dns_record200_response.rb → delete_address_list_entry200_response.rb} +14 -14
- data/lib/katapult-ruby/models/{delete_dns_zones_dns_zone200_response.rb → delete_address_list_entry_request.rb} +14 -14
- data/lib/katapult-ruby/models/{get_disk_template_part_badge.rb → delete_address_list_request.rb} +17 -10
- data/lib/katapult-ruby/models/delete_disk_backup_policy_schedule200_response_disk_backup_policy.rb +1 -0
- data/lib/katapult-ruby/models/{delete_dns_records_dns_record_request.rb → delete_dns_record_request.rb} +3 -3
- data/lib/katapult-ruby/models/{delete_dns_zones_dns_zone_request.rb → delete_dns_zone_request.rb} +3 -3
- data/lib/katapult-ruby/models/delete_file_storage_volume200_response_file_storage_volume.rb +2 -0
- data/lib/katapult-ruby/models/delete_file_storage_volume_part_data_center.rb +1 -0
- data/lib/katapult-ruby/models/delete_load_balancer200_response_load_balancer.rb +1 -0
- data/lib/katapult-ruby/models/delete_virtual_machine200_response_virtual_machine.rb +27 -9
- data/lib/katapult-ruby/models/disk.rb +3 -0
- data/lib/katapult-ruby/models/disk_installation_attribute.rb +2 -0
- data/lib/katapult-ruby/models/disk_io_profile.rb +2 -0
- data/lib/katapult-ruby/models/disk_template.rb +3 -0
- data/lib/katapult-ruby/models/dns_record.rb +3 -0
- data/lib/katapult-ruby/models/dns_record_arguments.rb +24 -14
- data/lib/katapult-ruby/models/{get_virtual_machine_part_gpus.rb → dns_record_content_arguments.rb} +115 -55
- data/lib/katapult-ruby/models/{get_dns_zones_dns_zone200_response.rb → dns_record_content_arguments_for_a.rb} +11 -17
- data/lib/katapult-ruby/models/dns_record_content_arguments_for_aaaa.rb +215 -0
- data/lib/katapult-ruby/models/dns_record_content_arguments_for_alias.rb +215 -0
- data/lib/katapult-ruby/models/{delete_virtual_machine_part_operating_system.rb → dns_record_content_arguments_for_caa.rb} +23 -22
- data/lib/katapult-ruby/models/dns_record_content_arguments_for_cname.rb +215 -0
- data/lib/katapult-ruby/models/dns_record_content_arguments_for_ips.rb +215 -0
- data/lib/katapult-ruby/models/{cname.rb → dns_record_content_arguments_for_mx.rb} +11 -10
- data/lib/katapult-ruby/models/dns_record_content_arguments_for_ns.rb +215 -0
- data/lib/katapult-ruby/models/dns_record_content_arguments_for_ptr.rb +215 -0
- data/lib/katapult-ruby/models/{srv.rb → dns_record_content_arguments_for_srv.rb} +5 -13
- data/lib/katapult-ruby/models/{sshfp.rb → dns_record_content_arguments_for_sshfp.rb} +4 -3
- data/lib/katapult-ruby/models/{dns_record_properties.rb → dns_record_content_arguments_for_txt.rb} +11 -10
- data/lib/katapult-ruby/models/dns_record_content_arguments_for_virtual_machine.rb +215 -0
- data/lib/katapult-ruby/models/dns_record_content_attributes.rb +14 -0
- data/lib/katapult-ruby/models/dns_zone.rb +10 -19
- data/lib/katapult-ruby/models/dns_zone_arguments.rb +9 -15
- data/lib/katapult-ruby/models/{get_dns_zones_dns_zone_verification_details422_response.rb → get_address_list404_response.rb} +4 -4
- data/lib/katapult-ruby/models/{delete_virtual_machine_part_currency.rb → get_address_list_entries200_response.rb} +33 -34
- data/lib/katapult-ruby/models/get_address_list_entry404_response.rb +254 -0
- data/lib/katapult-ruby/models/{dns_zone_verification_details.rb → get_address_lists200_response.rb} +35 -11
- data/lib/katapult-ruby/models/{patch_virtual_machine_part_operating_system.rb → get_address_lists200_response_address_lists.rb} +12 -10
- data/lib/katapult-ruby/models/get_data_center200_response_data_center.rb +1 -0
- data/lib/katapult-ruby/models/get_data_center_default_network200_response_network.rb +1 -0
- data/lib/katapult-ruby/models/get_data_center_default_network_part_data_center.rb +1 -0
- data/lib/katapult-ruby/models/get_data_centers200_response_data_centers.rb +1 -0
- data/lib/katapult-ruby/models/get_disk200_response_disk.rb +5 -2
- data/lib/katapult-ruby/models/get_disk_backup_policy200_response_disk_backup_policy.rb +2 -1
- data/lib/katapult-ruby/models/get_disk_template200_response_disk_template.rb +4 -1
- data/lib/katapult-ruby/models/{get_dns_records_dns_record404_response.rb → get_dns_record404_response.rb} +3 -3
- data/lib/katapult-ruby/models/{get_dns_zones_dns_zone404_response.rb → get_dns_zone404_response.rb} +3 -3
- data/lib/katapult-ruby/models/get_file_storage_volume200_response_file_storage_volume.rb +2 -0
- data/lib/katapult-ruby/models/get_file_storage_volume_part_data_center.rb +1 -0
- data/lib/katapult-ruby/models/get_gpu_type_part_data_centers.rb +1 -0
- data/lib/katapult-ruby/models/get_gpu_types_part_data_centers.rb +1 -0
- data/lib/katapult-ruby/models/get_load_balancer200_response_load_balancer.rb +4 -5
- data/lib/katapult-ruby/models/get_load_balancer_part_data_center.rb +1 -0
- data/lib/katapult-ruby/models/get_load_balancers_rules_load_balancer_rule200_response_load_balancer_rule.rb +2 -0
- data/lib/katapult-ruby/models/{get_organization_users_with_access_part_user.rb → get_organization_address_lists200_response.rb} +33 -34
- data/lib/katapult-ruby/models/{get_virtual_machine_part_attached_iso.rb → get_organization_address_lists200_response_address_lists.rb} +12 -10
- data/lib/katapult-ruby/models/get_organization_available_networks200_response_networks.rb +1 -0
- data/lib/katapult-ruby/models/get_organization_available_networks_part_data_center.rb +1 -0
- data/lib/katapult-ruby/models/get_organization_certificates200_response_certificates.rb +2 -0
- data/lib/katapult-ruby/models/get_organization_disk_templates200_response_disk_templates.rb +3 -0
- data/lib/katapult-ruby/models/get_organization_disks200_response_disk.rb +1 -0
- data/lib/katapult-ruby/models/get_organization_file_storage_volumes200_response_file_storage_volumes.rb +2 -0
- data/lib/katapult-ruby/models/get_organization_file_storage_volumes_part_data_center.rb +1 -0
- data/lib/katapult-ruby/models/get_organization_ip_addresses200_response_ip_addresses.rb +2 -0
- data/lib/katapult-ruby/models/get_organization_load_balancers200_response_load_balancers.rb +3 -4
- data/lib/katapult-ruby/models/{delete_dns_records_dns_record200_response.rb → get_organization_policy_limits200_response.rb} +14 -14
- data/lib/katapult-ruby/models/get_organization_users_with_access200_response_users.rb +2 -1
- data/lib/katapult-ruby/models/get_organization_virtual_machines200_response_virtual_machines.rb +3 -1
- data/lib/katapult-ruby/models/get_security_group_rules200_response_security_group_rules.rb +2 -0
- data/lib/katapult-ruby/models/get_security_groups_rules_security_group_rule200_response_security_group_rule.rb +2 -0
- data/lib/katapult-ruby/models/get_virtual_machine200_response_virtual_machine.rb +27 -9
- data/lib/katapult-ruby/models/get_virtual_machine_authorized_keys404_response.rb +254 -0
- data/lib/katapult-ruby/models/get_virtual_machine_packages200_response_virtual_machine_packages.rb +1 -0
- data/lib/katapult-ruby/models/get_virtual_machines_builds_virtual_machine_build200_response_virtual_machine_build.rb +1 -0
- data/lib/katapult-ruby/models/get_zones200_response_zones.rb +1 -0
- data/lib/katapult-ruby/models/get_zones_part_data_center.rb +1 -0
- data/lib/katapult-ruby/models/{mx.rb → integer_or_unlimited.rb} +17 -16
- data/lib/katapult-ruby/models/invalid_api_token.rb +1 -0
- data/lib/katapult-ruby/models/ip_address.rb +3 -0
- data/lib/katapult-ruby/models/iso.rb +1 -0
- data/lib/katapult-ruby/models/{get_load_balancer_part_weights.rb → load_balancer_weight.rb} +3 -3
- data/lib/katapult-ruby/models/network.rb +1 -0
- data/lib/katapult-ruby/models/network_speed_profile.rb +2 -0
- data/lib/katapult-ruby/models/{infrastructure_dns_zone_cannot_be_edited_enum.rb → no_virtual_machine_for_api_token_enum.rb} +5 -5
- data/lib/katapult-ruby/models/object_in_trash.rb +1 -0
- data/lib/katapult-ruby/models/operating_system.rb +1 -0
- data/lib/katapult-ruby/models/organization.rb +10 -0
- data/lib/katapult-ruby/models/organization_policy.rb +349 -0
- data/lib/katapult-ruby/models/pagination_object.rb +2 -0
- data/lib/katapult-ruby/models/{delete_virtual_machine_part_zone.rb → patch_address_list_entry_request.rb} +30 -34
- data/lib/katapult-ruby/models/{get_disk_part_disk_template.rb → patch_address_list_request.rb} +30 -34
- data/lib/katapult-ruby/models/patch_file_storage_volume200_response_file_storage_volume.rb +2 -0
- data/lib/katapult-ruby/models/patch_file_storage_volume_part_data_center.rb +1 -0
- data/lib/katapult-ruby/models/patch_load_balancer200_response_load_balancer.rb +4 -5
- data/lib/katapult-ruby/models/patch_load_balancer_part_data_center.rb +1 -0
- data/lib/katapult-ruby/models/patch_load_balancers_rules_load_balancer_rule200_response_load_balancer_rule.rb +2 -0
- data/lib/katapult-ruby/models/patch_security_groups_rules_security_group_rule200_response_security_group_rule.rb +2 -0
- data/lib/katapult-ruby/models/patch_virtual_machine200_response_virtual_machine.rb +27 -9
- data/lib/katapult-ruby/models/permission_denied.rb +1 -0
- data/lib/katapult-ruby/models/post_address_list_entries201_response.rb +221 -0
- data/lib/katapult-ruby/models/{get_virtual_machine_part_currency.rb → post_address_list_entries_request.rb} +30 -34
- data/lib/katapult-ruby/models/post_disk_disk_backup_policies200_response_disk_backup_policy.rb +2 -1
- data/lib/katapult-ruby/models/{post_dns_zones_dns_zone_verify422_response.rb → post_dns_zone_verify422_response.rb} +4 -4
- data/lib/katapult-ruby/models/post_load_balancer_rules200_response_load_balancer_rule.rb +2 -0
- data/lib/katapult-ruby/models/{post_dns_zones_dns_zone_update_ttl200_response.rb → post_organization_address_lists201_response.rb} +14 -14
- data/lib/katapult-ruby/models/{post_organizations_organization_dns_zones_request.rb → post_organization_address_lists_request.rb} +4 -4
- data/lib/katapult-ruby/models/post_organization_dns_zones201_response.rb +1 -1
- data/lib/katapult-ruby/models/post_organization_dns_zones_request.rb +11 -11
- data/lib/katapult-ruby/models/post_organization_file_storage_volumes201_response_file_storage_volume.rb +2 -0
- data/lib/katapult-ruby/models/post_organization_file_storage_volumes_part_data_center.rb +1 -0
- data/lib/katapult-ruby/models/{post_organization_load_balancers200_response.rb → post_organization_load_balancers201_response.rb} +4 -4
- data/lib/katapult-ruby/models/{post_organization_load_balancers200_response_load_balancer.rb → post_organization_load_balancers201_response_load_balancer.rb} +7 -8
- data/lib/katapult-ruby/models/post_organization_load_balancers_part_data_center.rb +1 -0
- data/lib/katapult-ruby/models/post_security_group_rules200_response_security_group_rule.rb +2 -0
- data/lib/katapult-ruby/models/post_virtual_machine_disk_backup_policies200_response_disk_backup_policy.rb +2 -1
- data/lib/katapult-ruby/models/record_content_attributes_for_a.rb +1 -0
- data/lib/katapult-ruby/models/record_content_attributes_for_aaaa.rb +1 -0
- data/lib/katapult-ruby/models/record_content_attributes_for_alias.rb +1 -0
- data/lib/katapult-ruby/models/record_content_attributes_for_caa.rb +3 -0
- data/lib/katapult-ruby/models/record_content_attributes_for_cname.rb +1 -0
- data/lib/katapult-ruby/models/record_content_attributes_for_ips.rb +1 -0
- data/lib/katapult-ruby/models/record_content_attributes_for_mx.rb +1 -0
- data/lib/katapult-ruby/models/record_content_attributes_for_ns.rb +1 -0
- data/lib/katapult-ruby/models/record_content_attributes_for_ptr.rb +1 -0
- data/lib/katapult-ruby/models/record_content_attributes_for_srv.rb +3 -0
- data/lib/katapult-ruby/models/record_content_attributes_for_sshfp.rb +3 -0
- data/lib/katapult-ruby/models/record_content_attributes_for_txt.rb +1 -0
- data/lib/katapult-ruby/models/record_content_attributes_for_virtual_machine.rb +1 -0
- data/lib/katapult-ruby/models/{get_disk_backup_policy_part_schedule.rb → schedule.rb} +3 -3
- data/lib/katapult-ruby/models/task.rb +2 -0
- data/lib/katapult-ruby/models/template_spec_field.rb +3 -0
- data/lib/katapult-ruby/models/virtual_machine.rb +19 -1
- data/lib/katapult-ruby/models/virtual_machine_flexible_resources.rb +13 -4
- data/lib/katapult-ruby/models/virtual_machine_gpu.rb +2 -0
- data/lib/katapult-ruby/models/virtual_machine_package.rb +15 -4
- data/lib/katapult-ruby/models/virtual_machine_state_enum.rb +2 -1
- data/lib/katapult-ruby/models/zone.rb +1 -0
- data/lib/katapult-ruby/version.rb +1 -1
- data/lib/katapult-ruby.rb +54 -125
- metadata +57 -128
- data/lib/katapult-ruby/models/caa.rb +0 -254
- data/lib/katapult-ruby/models/delete_dns_zones_dns_zone200_response_dns_zone.rb +0 -250
- data/lib/katapult-ruby/models/delete_virtual_machine_part_attached_iso.rb +0 -232
- data/lib/katapult-ruby/models/delete_virtual_machine_part_badge.rb +0 -259
- data/lib/katapult-ruby/models/delete_virtual_machine_part_country.rb +0 -259
- data/lib/katapult-ruby/models/delete_virtual_machine_part_country_state.rb +0 -241
- data/lib/katapult-ruby/models/delete_virtual_machine_part_gpus.rb +0 -274
- data/lib/katapult-ruby/models/delete_virtual_machine_part_group.rb +0 -250
- data/lib/katapult-ruby/models/delete_virtual_machine_part_icon.rb +0 -259
- data/lib/katapult-ruby/models/delete_virtual_machine_part_ip_addresses.rb +0 -286
- data/lib/katapult-ruby/models/delete_virtual_machine_part_network.rb +0 -241
- data/lib/katapult-ruby/models/delete_virtual_machine_part_organization.rb +0 -367
- data/lib/katapult-ruby/models/delete_virtual_machine_part_package.rb +0 -317
- data/lib/katapult-ruby/models/delete_virtual_machine_part_tags.rb +0 -263
- data/lib/katapult-ruby/models/delete_virtual_machine_part_type.rb +0 -259
- data/lib/katapult-ruby/models/dns_record_properties_arguments.rb +0 -363
- data/lib/katapult-ruby/models/dns_record_properties_properties.rb +0 -114
- data/lib/katapult-ruby/models/dns_record_type_enum.rb +0 -49
- data/lib/katapult-ruby/models/get_disk_part_attributes.rb +0 -250
- data/lib/katapult-ruby/models/get_disk_part_disk_template_version.rb +0 -232
- data/lib/katapult-ruby/models/get_disk_part_installation.rb +0 -234
- data/lib/katapult-ruby/models/get_disk_part_io_profile.rb +0 -250
- data/lib/katapult-ruby/models/get_disk_template_part_operating_system.rb +0 -232
- data/lib/katapult-ruby/models/get_dns_records_dns_record200_response_dns_record.rb +0 -272
- data/lib/katapult-ruby/models/get_dns_zones_dns_zone_records200_response.rb +0 -224
- data/lib/katapult-ruby/models/get_dns_zones_dns_zone_records200_response_dns_records.rb +0 -272
- data/lib/katapult-ruby/models/get_dns_zones_dns_zone_verification_details200_response.rb +0 -221
- data/lib/katapult-ruby/models/get_organization_virtual_machines_part_data_center.rb +0 -232
- data/lib/katapult-ruby/models/get_organization_virtual_machines_part_zone.rb +0 -241
- data/lib/katapult-ruby/models/get_virtual_machine_part_badge.rb +0 -259
- data/lib/katapult-ruby/models/get_virtual_machine_part_country.rb +0 -259
- data/lib/katapult-ruby/models/get_virtual_machine_part_country_state.rb +0 -241
- data/lib/katapult-ruby/models/get_virtual_machine_part_data_center.rb +0 -241
- data/lib/katapult-ruby/models/get_virtual_machine_part_group.rb +0 -250
- data/lib/katapult-ruby/models/get_virtual_machine_part_icon.rb +0 -259
- data/lib/katapult-ruby/models/get_virtual_machine_part_ip_addresses.rb +0 -286
- data/lib/katapult-ruby/models/get_virtual_machine_part_network.rb +0 -241
- data/lib/katapult-ruby/models/get_virtual_machine_part_operating_system.rb +0 -232
- data/lib/katapult-ruby/models/get_virtual_machine_part_organization.rb +0 -367
- data/lib/katapult-ruby/models/get_virtual_machine_part_package.rb +0 -317
- data/lib/katapult-ruby/models/get_virtual_machine_part_tags.rb +0 -263
- data/lib/katapult-ruby/models/get_virtual_machine_part_type.rb +0 -259
- data/lib/katapult-ruby/models/get_virtual_machine_part_zone.rb +0 -241
- data/lib/katapult-ruby/models/infrastructure_dns_zone_cannot_be_edited_schema.rb +0 -255
- data/lib/katapult-ruby/models/one_of_infrastructure_dns_zone_cannot_be_edited403_res.rb +0 -107
- data/lib/katapult-ruby/models/patch_dns_records_dns_record200_response.rb +0 -221
- data/lib/katapult-ruby/models/patch_dns_records_dns_record200_response_dns_record.rb +0 -272
- data/lib/katapult-ruby/models/patch_dns_records_dns_record_request.rb +0 -237
- data/lib/katapult-ruby/models/patch_virtual_machine_part_attached_iso.rb +0 -232
- data/lib/katapult-ruby/models/patch_virtual_machine_part_badge.rb +0 -259
- data/lib/katapult-ruby/models/patch_virtual_machine_part_country.rb +0 -259
- data/lib/katapult-ruby/models/patch_virtual_machine_part_country_state.rb +0 -241
- data/lib/katapult-ruby/models/patch_virtual_machine_part_currency.rb +0 -241
- data/lib/katapult-ruby/models/patch_virtual_machine_part_data_center.rb +0 -241
- data/lib/katapult-ruby/models/patch_virtual_machine_part_gpus.rb +0 -274
- data/lib/katapult-ruby/models/patch_virtual_machine_part_group.rb +0 -250
- data/lib/katapult-ruby/models/patch_virtual_machine_part_icon.rb +0 -259
- data/lib/katapult-ruby/models/patch_virtual_machine_part_ip_addresses.rb +0 -286
- data/lib/katapult-ruby/models/patch_virtual_machine_part_network.rb +0 -241
- data/lib/katapult-ruby/models/patch_virtual_machine_part_organization.rb +0 -367
- data/lib/katapult-ruby/models/patch_virtual_machine_part_package.rb +0 -317
- data/lib/katapult-ruby/models/patch_virtual_machine_part_tags.rb +0 -263
- data/lib/katapult-ruby/models/patch_virtual_machine_part_type.rb +0 -259
- data/lib/katapult-ruby/models/patch_virtual_machine_part_zone.rb +0 -241
- data/lib/katapult-ruby/models/post_disk_disk_backup_policies_part_schedule.rb +0 -272
- data/lib/katapult-ruby/models/post_dns_zones_dns_zone_records200_response.rb +0 -221
- data/lib/katapult-ruby/models/post_dns_zones_dns_zone_records200_response_dns_record.rb +0 -272
- data/lib/katapult-ruby/models/post_dns_zones_dns_zone_records_request.rb +0 -237
- data/lib/katapult-ruby/models/post_dns_zones_dns_zone_update_ttl200_response_dns_zone.rb +0 -250
- data/lib/katapult-ruby/models/post_dns_zones_dns_zone_update_ttl_request.rb +0 -238
- data/lib/katapult-ruby/models/post_dns_zones_dns_zone_verify200_response.rb +0 -221
- data/lib/katapult-ruby/models/post_organization_dns_zones201_response_dns_zone.rb +0 -250
- data/lib/katapult-ruby/models/post_organization_load_balancers_part_weights.rb +0 -223
- data/lib/katapult-ruby/models/post_organization_managed201_response.rb +0 -221
- data/lib/katapult-ruby/models/post_organization_managed201_response_organization.rb +0 -367
- data/lib/katapult-ruby/models/post_organization_managed_part_country.rb +0 -259
- data/lib/katapult-ruby/models/post_organization_managed_part_country_state.rb +0 -241
- data/lib/katapult-ruby/models/post_organization_managed_part_currency.rb +0 -241
- data/lib/katapult-ruby/models/post_organizations_organization_dns_zones201_response.rb +0 -221
- data/lib/katapult-ruby/models/post_organizations_organization_dns_zones201_response_dns_zone.rb +0 -241
- data/lib/katapult-ruby/models/post_virtual_machine_disk_backup_policies_part_schedule.rb +0 -272
- data/lib/katapult-ruby/models/txt.rb +0 -214
|
@@ -20,22 +20,22 @@ module KatapultAPI
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# @param [Hash] opts the optional parameters
|
|
23
|
-
# @option opts [
|
|
24
|
-
# @return [
|
|
25
|
-
def
|
|
26
|
-
data, _status_code, _headers =
|
|
23
|
+
# @option opts [DeleteAddressListRequest] :delete_address_list_request
|
|
24
|
+
# @return [DeleteAddressList200Response]
|
|
25
|
+
def delete_address_list(opts = {})
|
|
26
|
+
data, _status_code, _headers = delete_address_list_with_http_info(opts)
|
|
27
27
|
data
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
# @param [Hash] opts the optional parameters
|
|
31
|
-
# @option opts [
|
|
32
|
-
# @return [Array<(
|
|
33
|
-
def
|
|
31
|
+
# @option opts [DeleteAddressListRequest] :delete_address_list_request
|
|
32
|
+
# @return [Array<(DeleteAddressList200Response, Integer, Hash)>] DeleteAddressList200Response data, response status code and response headers
|
|
33
|
+
def delete_address_list_with_http_info(opts = {})
|
|
34
34
|
if @api_client.config.debugging
|
|
35
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
35
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.delete_address_list ...'
|
|
36
36
|
end
|
|
37
37
|
# resource path
|
|
38
|
-
local_var_path = '/
|
|
38
|
+
local_var_path = '/address_lists/:address_list'
|
|
39
39
|
|
|
40
40
|
# query parameters
|
|
41
41
|
query_params = opts[:query_params] || {}
|
|
@@ -54,16 +54,16 @@ module KatapultAPI
|
|
|
54
54
|
form_params = opts[:form_params] || {}
|
|
55
55
|
|
|
56
56
|
# http body (model)
|
|
57
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
57
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'delete_address_list_request'])
|
|
58
58
|
|
|
59
59
|
# return_type
|
|
60
|
-
return_type = opts[:debug_return_type] || '
|
|
60
|
+
return_type = opts[:debug_return_type] || 'DeleteAddressList200Response'
|
|
61
61
|
|
|
62
62
|
# auth_names
|
|
63
63
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
64
64
|
|
|
65
65
|
new_options = opts.merge(
|
|
66
|
-
:operation => :"CoreApi.
|
|
66
|
+
:operation => :"CoreApi.delete_address_list",
|
|
67
67
|
:header_params => header_params,
|
|
68
68
|
:query_params => query_params,
|
|
69
69
|
:form_params => form_params,
|
|
@@ -74,28 +74,28 @@ module KatapultAPI
|
|
|
74
74
|
|
|
75
75
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
76
76
|
if @api_client.config.debugging
|
|
77
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
77
|
+
@api_client.config.logger.debug "API called: CoreApi#delete_address_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
78
78
|
end
|
|
79
79
|
return data, status_code, headers
|
|
80
80
|
end
|
|
81
81
|
|
|
82
82
|
# @param [Hash] opts the optional parameters
|
|
83
|
-
# @option opts [
|
|
84
|
-
# @return [
|
|
85
|
-
def
|
|
86
|
-
data, _status_code, _headers =
|
|
83
|
+
# @option opts [DeleteAddressListEntryRequest] :delete_address_list_entry_request
|
|
84
|
+
# @return [DeleteAddressListEntry200Response]
|
|
85
|
+
def delete_address_list_entry(opts = {})
|
|
86
|
+
data, _status_code, _headers = delete_address_list_entry_with_http_info(opts)
|
|
87
87
|
data
|
|
88
88
|
end
|
|
89
89
|
|
|
90
90
|
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @option opts [
|
|
92
|
-
# @return [Array<(
|
|
93
|
-
def
|
|
91
|
+
# @option opts [DeleteAddressListEntryRequest] :delete_address_list_entry_request
|
|
92
|
+
# @return [Array<(DeleteAddressListEntry200Response, Integer, Hash)>] DeleteAddressListEntry200Response data, response status code and response headers
|
|
93
|
+
def delete_address_list_entry_with_http_info(opts = {})
|
|
94
94
|
if @api_client.config.debugging
|
|
95
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
95
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.delete_address_list_entry ...'
|
|
96
96
|
end
|
|
97
97
|
# resource path
|
|
98
|
-
local_var_path = '/
|
|
98
|
+
local_var_path = '/address_list_entries/:address_list_entry'
|
|
99
99
|
|
|
100
100
|
# query parameters
|
|
101
101
|
query_params = opts[:query_params] || {}
|
|
@@ -114,16 +114,16 @@ module KatapultAPI
|
|
|
114
114
|
form_params = opts[:form_params] || {}
|
|
115
115
|
|
|
116
116
|
# http body (model)
|
|
117
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
117
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'delete_address_list_entry_request'])
|
|
118
118
|
|
|
119
119
|
# return_type
|
|
120
|
-
return_type = opts[:debug_return_type] || '
|
|
120
|
+
return_type = opts[:debug_return_type] || 'DeleteAddressListEntry200Response'
|
|
121
121
|
|
|
122
122
|
# auth_names
|
|
123
123
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
124
124
|
|
|
125
125
|
new_options = opts.merge(
|
|
126
|
-
:operation => :"CoreApi.
|
|
126
|
+
:operation => :"CoreApi.delete_address_list_entry",
|
|
127
127
|
:header_params => header_params,
|
|
128
128
|
:query_params => query_params,
|
|
129
129
|
:form_params => form_params,
|
|
@@ -134,28 +134,28 @@ module KatapultAPI
|
|
|
134
134
|
|
|
135
135
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
136
136
|
if @api_client.config.debugging
|
|
137
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
137
|
+
@api_client.config.logger.debug "API called: CoreApi#delete_address_list_entry\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
138
138
|
end
|
|
139
139
|
return data, status_code, headers
|
|
140
140
|
end
|
|
141
141
|
|
|
142
142
|
# @param [Hash] opts the optional parameters
|
|
143
|
-
# @option opts [
|
|
144
|
-
# @return [
|
|
145
|
-
def
|
|
146
|
-
data, _status_code, _headers =
|
|
143
|
+
# @option opts [DeleteDiskBackupPolicyRequest] :delete_disk_backup_policy_request
|
|
144
|
+
# @return [DeleteDiskBackupPolicy200Response]
|
|
145
|
+
def delete_disk_backup_policy(opts = {})
|
|
146
|
+
data, _status_code, _headers = delete_disk_backup_policy_with_http_info(opts)
|
|
147
147
|
data
|
|
148
148
|
end
|
|
149
149
|
|
|
150
150
|
# @param [Hash] opts the optional parameters
|
|
151
|
-
# @option opts [
|
|
152
|
-
# @return [Array<(
|
|
153
|
-
def
|
|
151
|
+
# @option opts [DeleteDiskBackupPolicyRequest] :delete_disk_backup_policy_request
|
|
152
|
+
# @return [Array<(DeleteDiskBackupPolicy200Response, Integer, Hash)>] DeleteDiskBackupPolicy200Response data, response status code and response headers
|
|
153
|
+
def delete_disk_backup_policy_with_http_info(opts = {})
|
|
154
154
|
if @api_client.config.debugging
|
|
155
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
155
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.delete_disk_backup_policy ...'
|
|
156
156
|
end
|
|
157
157
|
# resource path
|
|
158
|
-
local_var_path = '/
|
|
158
|
+
local_var_path = '/disk_backup_policies/:disk_backup_policy'
|
|
159
159
|
|
|
160
160
|
# query parameters
|
|
161
161
|
query_params = opts[:query_params] || {}
|
|
@@ -174,16 +174,16 @@ module KatapultAPI
|
|
|
174
174
|
form_params = opts[:form_params] || {}
|
|
175
175
|
|
|
176
176
|
# http body (model)
|
|
177
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
177
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'delete_disk_backup_policy_request'])
|
|
178
178
|
|
|
179
179
|
# return_type
|
|
180
|
-
return_type = opts[:debug_return_type] || '
|
|
180
|
+
return_type = opts[:debug_return_type] || 'DeleteDiskBackupPolicy200Response'
|
|
181
181
|
|
|
182
182
|
# auth_names
|
|
183
183
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
184
184
|
|
|
185
185
|
new_options = opts.merge(
|
|
186
|
-
:operation => :"CoreApi.
|
|
186
|
+
:operation => :"CoreApi.delete_disk_backup_policy",
|
|
187
187
|
:header_params => header_params,
|
|
188
188
|
:query_params => query_params,
|
|
189
189
|
:form_params => form_params,
|
|
@@ -194,28 +194,28 @@ module KatapultAPI
|
|
|
194
194
|
|
|
195
195
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
196
196
|
if @api_client.config.debugging
|
|
197
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
197
|
+
@api_client.config.logger.debug "API called: CoreApi#delete_disk_backup_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
198
198
|
end
|
|
199
199
|
return data, status_code, headers
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
# @param [Hash] opts the optional parameters
|
|
203
|
-
# @option opts [
|
|
204
|
-
# @return [
|
|
205
|
-
def
|
|
206
|
-
data, _status_code, _headers =
|
|
203
|
+
# @option opts [DeleteDiskBackupPolicyScheduleRequest] :delete_disk_backup_policy_schedule_request
|
|
204
|
+
# @return [DeleteDiskBackupPolicySchedule200Response]
|
|
205
|
+
def delete_disk_backup_policy_schedule(opts = {})
|
|
206
|
+
data, _status_code, _headers = delete_disk_backup_policy_schedule_with_http_info(opts)
|
|
207
207
|
data
|
|
208
208
|
end
|
|
209
209
|
|
|
210
210
|
# @param [Hash] opts the optional parameters
|
|
211
|
-
# @option opts [
|
|
212
|
-
# @return [Array<(
|
|
213
|
-
def
|
|
211
|
+
# @option opts [DeleteDiskBackupPolicyScheduleRequest] :delete_disk_backup_policy_schedule_request
|
|
212
|
+
# @return [Array<(DeleteDiskBackupPolicySchedule200Response, Integer, Hash)>] DeleteDiskBackupPolicySchedule200Response data, response status code and response headers
|
|
213
|
+
def delete_disk_backup_policy_schedule_with_http_info(opts = {})
|
|
214
214
|
if @api_client.config.debugging
|
|
215
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
215
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.delete_disk_backup_policy_schedule ...'
|
|
216
216
|
end
|
|
217
217
|
# resource path
|
|
218
|
-
local_var_path = '/
|
|
218
|
+
local_var_path = '/disk_backup_policies/:disk_backup_policy/schedule'
|
|
219
219
|
|
|
220
220
|
# query parameters
|
|
221
221
|
query_params = opts[:query_params] || {}
|
|
@@ -234,16 +234,16 @@ module KatapultAPI
|
|
|
234
234
|
form_params = opts[:form_params] || {}
|
|
235
235
|
|
|
236
236
|
# http body (model)
|
|
237
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
237
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'delete_disk_backup_policy_schedule_request'])
|
|
238
238
|
|
|
239
239
|
# return_type
|
|
240
|
-
return_type = opts[:debug_return_type] || '
|
|
240
|
+
return_type = opts[:debug_return_type] || 'DeleteDiskBackupPolicySchedule200Response'
|
|
241
241
|
|
|
242
242
|
# auth_names
|
|
243
243
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
244
244
|
|
|
245
245
|
new_options = opts.merge(
|
|
246
|
-
:operation => :"CoreApi.
|
|
246
|
+
:operation => :"CoreApi.delete_disk_backup_policy_schedule",
|
|
247
247
|
:header_params => header_params,
|
|
248
248
|
:query_params => query_params,
|
|
249
249
|
:form_params => form_params,
|
|
@@ -254,28 +254,28 @@ module KatapultAPI
|
|
|
254
254
|
|
|
255
255
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
256
256
|
if @api_client.config.debugging
|
|
257
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
257
|
+
@api_client.config.logger.debug "API called: CoreApi#delete_disk_backup_policy_schedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
258
258
|
end
|
|
259
259
|
return data, status_code, headers
|
|
260
260
|
end
|
|
261
261
|
|
|
262
262
|
# @param [Hash] opts the optional parameters
|
|
263
|
-
# @option opts [
|
|
263
|
+
# @option opts [DeleteDnsRecordRequest] :delete_dns_record_request
|
|
264
264
|
# @return [DeleteDnsZone200Response]
|
|
265
|
-
def
|
|
266
|
-
data, _status_code, _headers =
|
|
265
|
+
def delete_dns_record(opts = {})
|
|
266
|
+
data, _status_code, _headers = delete_dns_record_with_http_info(opts)
|
|
267
267
|
data
|
|
268
268
|
end
|
|
269
269
|
|
|
270
270
|
# @param [Hash] opts the optional parameters
|
|
271
|
-
# @option opts [
|
|
271
|
+
# @option opts [DeleteDnsRecordRequest] :delete_dns_record_request
|
|
272
272
|
# @return [Array<(DeleteDnsZone200Response, Integer, Hash)>] DeleteDnsZone200Response data, response status code and response headers
|
|
273
|
-
def
|
|
273
|
+
def delete_dns_record_with_http_info(opts = {})
|
|
274
274
|
if @api_client.config.debugging
|
|
275
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
275
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.delete_dns_record ...'
|
|
276
276
|
end
|
|
277
277
|
# resource path
|
|
278
|
-
local_var_path = '/
|
|
278
|
+
local_var_path = '/dns_records/:dns_record'
|
|
279
279
|
|
|
280
280
|
# query parameters
|
|
281
281
|
query_params = opts[:query_params] || {}
|
|
@@ -294,7 +294,7 @@ module KatapultAPI
|
|
|
294
294
|
form_params = opts[:form_params] || {}
|
|
295
295
|
|
|
296
296
|
# http body (model)
|
|
297
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
297
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'delete_dns_record_request'])
|
|
298
298
|
|
|
299
299
|
# return_type
|
|
300
300
|
return_type = opts[:debug_return_type] || 'DeleteDnsZone200Response'
|
|
@@ -303,7 +303,7 @@ module KatapultAPI
|
|
|
303
303
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
304
304
|
|
|
305
305
|
new_options = opts.merge(
|
|
306
|
-
:operation => :"CoreApi.
|
|
306
|
+
:operation => :"CoreApi.delete_dns_record",
|
|
307
307
|
:header_params => header_params,
|
|
308
308
|
:query_params => query_params,
|
|
309
309
|
:form_params => form_params,
|
|
@@ -314,28 +314,28 @@ module KatapultAPI
|
|
|
314
314
|
|
|
315
315
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
316
316
|
if @api_client.config.debugging
|
|
317
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
317
|
+
@api_client.config.logger.debug "API called: CoreApi#delete_dns_record\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
318
318
|
end
|
|
319
319
|
return data, status_code, headers
|
|
320
320
|
end
|
|
321
321
|
|
|
322
322
|
# @param [Hash] opts the optional parameters
|
|
323
|
-
# @option opts [
|
|
324
|
-
# @return [
|
|
325
|
-
def
|
|
326
|
-
data, _status_code, _headers =
|
|
323
|
+
# @option opts [DeleteDnsZoneRequest] :delete_dns_zone_request
|
|
324
|
+
# @return [DeleteDnsZone200Response]
|
|
325
|
+
def delete_dns_zone(opts = {})
|
|
326
|
+
data, _status_code, _headers = delete_dns_zone_with_http_info(opts)
|
|
327
327
|
data
|
|
328
328
|
end
|
|
329
329
|
|
|
330
330
|
# @param [Hash] opts the optional parameters
|
|
331
|
-
# @option opts [
|
|
332
|
-
# @return [Array<(
|
|
333
|
-
def
|
|
331
|
+
# @option opts [DeleteDnsZoneRequest] :delete_dns_zone_request
|
|
332
|
+
# @return [Array<(DeleteDnsZone200Response, Integer, Hash)>] DeleteDnsZone200Response data, response status code and response headers
|
|
333
|
+
def delete_dns_zone_with_http_info(opts = {})
|
|
334
334
|
if @api_client.config.debugging
|
|
335
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
335
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.delete_dns_zone ...'
|
|
336
336
|
end
|
|
337
337
|
# resource path
|
|
338
|
-
local_var_path = '/
|
|
338
|
+
local_var_path = '/dns_zones/:dns_zone'
|
|
339
339
|
|
|
340
340
|
# query parameters
|
|
341
341
|
query_params = opts[:query_params] || {}
|
|
@@ -354,16 +354,16 @@ module KatapultAPI
|
|
|
354
354
|
form_params = opts[:form_params] || {}
|
|
355
355
|
|
|
356
356
|
# http body (model)
|
|
357
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
357
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'delete_dns_zone_request'])
|
|
358
358
|
|
|
359
359
|
# return_type
|
|
360
|
-
return_type = opts[:debug_return_type] || '
|
|
360
|
+
return_type = opts[:debug_return_type] || 'DeleteDnsZone200Response'
|
|
361
361
|
|
|
362
362
|
# auth_names
|
|
363
363
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
364
364
|
|
|
365
365
|
new_options = opts.merge(
|
|
366
|
-
:operation => :"CoreApi.
|
|
366
|
+
:operation => :"CoreApi.delete_dns_zone",
|
|
367
367
|
:header_params => header_params,
|
|
368
368
|
:query_params => query_params,
|
|
369
369
|
:form_params => form_params,
|
|
@@ -374,7 +374,7 @@ module KatapultAPI
|
|
|
374
374
|
|
|
375
375
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
376
376
|
if @api_client.config.debugging
|
|
377
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
377
|
+
@api_client.config.logger.debug "API called: CoreApi#delete_dns_zone\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
378
378
|
end
|
|
379
379
|
return data, status_code, headers
|
|
380
380
|
end
|
|
@@ -1039,6 +1039,239 @@ module KatapultAPI
|
|
|
1039
1039
|
return data, status_code, headers
|
|
1040
1040
|
end
|
|
1041
1041
|
|
|
1042
|
+
# @param [Hash] opts the optional parameters
|
|
1043
|
+
# @option opts [String] :address_list_id The address list to return. All 'address_list[]' params are mutually exclusive, only one can be provided.
|
|
1044
|
+
# @return [PostOrganizationAddressLists201Response]
|
|
1045
|
+
def get_address_list(opts = {})
|
|
1046
|
+
data, _status_code, _headers = get_address_list_with_http_info(opts)
|
|
1047
|
+
data
|
|
1048
|
+
end
|
|
1049
|
+
|
|
1050
|
+
# @param [Hash] opts the optional parameters
|
|
1051
|
+
# @option opts [String] :address_list_id The address list to return. All 'address_list[]' params are mutually exclusive, only one can be provided.
|
|
1052
|
+
# @return [Array<(PostOrganizationAddressLists201Response, Integer, Hash)>] PostOrganizationAddressLists201Response data, response status code and response headers
|
|
1053
|
+
def get_address_list_with_http_info(opts = {})
|
|
1054
|
+
if @api_client.config.debugging
|
|
1055
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.get_address_list ...'
|
|
1056
|
+
end
|
|
1057
|
+
# resource path
|
|
1058
|
+
local_var_path = '/address_lists/:address_list'
|
|
1059
|
+
|
|
1060
|
+
# query parameters
|
|
1061
|
+
query_params = opts[:query_params] || {}
|
|
1062
|
+
query_params[:'address_list[id]'] = opts[:'address_list_id'] if !opts[:'address_list_id'].nil?
|
|
1063
|
+
|
|
1064
|
+
# header parameters
|
|
1065
|
+
header_params = opts[:header_params] || {}
|
|
1066
|
+
# HTTP header 'Accept' (if needed)
|
|
1067
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1068
|
+
|
|
1069
|
+
# form parameters
|
|
1070
|
+
form_params = opts[:form_params] || {}
|
|
1071
|
+
|
|
1072
|
+
# http body (model)
|
|
1073
|
+
post_body = opts[:debug_body]
|
|
1074
|
+
|
|
1075
|
+
# return_type
|
|
1076
|
+
return_type = opts[:debug_return_type] || 'PostOrganizationAddressLists201Response'
|
|
1077
|
+
|
|
1078
|
+
# auth_names
|
|
1079
|
+
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
1080
|
+
|
|
1081
|
+
new_options = opts.merge(
|
|
1082
|
+
:operation => :"CoreApi.get_address_list",
|
|
1083
|
+
:header_params => header_params,
|
|
1084
|
+
:query_params => query_params,
|
|
1085
|
+
:form_params => form_params,
|
|
1086
|
+
:body => post_body,
|
|
1087
|
+
:auth_names => auth_names,
|
|
1088
|
+
:return_type => return_type
|
|
1089
|
+
)
|
|
1090
|
+
|
|
1091
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1092
|
+
if @api_client.config.debugging
|
|
1093
|
+
@api_client.config.logger.debug "API called: CoreApi#get_address_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1094
|
+
end
|
|
1095
|
+
return data, status_code, headers
|
|
1096
|
+
end
|
|
1097
|
+
|
|
1098
|
+
# @param [Hash] opts the optional parameters
|
|
1099
|
+
# @option opts [String] :address_list_id The address list for which the entries should be returned. All 'address_list[]' params are mutually exclusive, only one can be provided.
|
|
1100
|
+
# @option opts [Integer] :page
|
|
1101
|
+
# @option opts [Integer] :per_page
|
|
1102
|
+
# @return [GetAddressListEntries200Response]
|
|
1103
|
+
def get_address_list_entries(opts = {})
|
|
1104
|
+
data, _status_code, _headers = get_address_list_entries_with_http_info(opts)
|
|
1105
|
+
data
|
|
1106
|
+
end
|
|
1107
|
+
|
|
1108
|
+
# @param [Hash] opts the optional parameters
|
|
1109
|
+
# @option opts [String] :address_list_id The address list for which the entries should be returned. All 'address_list[]' params are mutually exclusive, only one can be provided.
|
|
1110
|
+
# @option opts [Integer] :page
|
|
1111
|
+
# @option opts [Integer] :per_page
|
|
1112
|
+
# @return [Array<(GetAddressListEntries200Response, Integer, Hash)>] GetAddressListEntries200Response data, response status code and response headers
|
|
1113
|
+
def get_address_list_entries_with_http_info(opts = {})
|
|
1114
|
+
if @api_client.config.debugging
|
|
1115
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.get_address_list_entries ...'
|
|
1116
|
+
end
|
|
1117
|
+
# resource path
|
|
1118
|
+
local_var_path = '/address_lists/:address_list/entries'
|
|
1119
|
+
|
|
1120
|
+
# query parameters
|
|
1121
|
+
query_params = opts[:query_params] || {}
|
|
1122
|
+
query_params[:'address_list[id]'] = opts[:'address_list_id'] if !opts[:'address_list_id'].nil?
|
|
1123
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1124
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
1125
|
+
|
|
1126
|
+
# header parameters
|
|
1127
|
+
header_params = opts[:header_params] || {}
|
|
1128
|
+
# HTTP header 'Accept' (if needed)
|
|
1129
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1130
|
+
|
|
1131
|
+
# form parameters
|
|
1132
|
+
form_params = opts[:form_params] || {}
|
|
1133
|
+
|
|
1134
|
+
# http body (model)
|
|
1135
|
+
post_body = opts[:debug_body]
|
|
1136
|
+
|
|
1137
|
+
# return_type
|
|
1138
|
+
return_type = opts[:debug_return_type] || 'GetAddressListEntries200Response'
|
|
1139
|
+
|
|
1140
|
+
# auth_names
|
|
1141
|
+
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
1142
|
+
|
|
1143
|
+
new_options = opts.merge(
|
|
1144
|
+
:operation => :"CoreApi.get_address_list_entries",
|
|
1145
|
+
:header_params => header_params,
|
|
1146
|
+
:query_params => query_params,
|
|
1147
|
+
:form_params => form_params,
|
|
1148
|
+
:body => post_body,
|
|
1149
|
+
:auth_names => auth_names,
|
|
1150
|
+
:return_type => return_type
|
|
1151
|
+
)
|
|
1152
|
+
|
|
1153
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1154
|
+
if @api_client.config.debugging
|
|
1155
|
+
@api_client.config.logger.debug "API called: CoreApi#get_address_list_entries\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1156
|
+
end
|
|
1157
|
+
return data, status_code, headers
|
|
1158
|
+
end
|
|
1159
|
+
|
|
1160
|
+
# @param [Hash] opts the optional parameters
|
|
1161
|
+
# @option opts [String] :address_list_entry_id The address list entry to return. All 'address_list_entry[]' params are mutually exclusive, only one can be provided.
|
|
1162
|
+
# @return [PostAddressListEntries201Response]
|
|
1163
|
+
def get_address_list_entry(opts = {})
|
|
1164
|
+
data, _status_code, _headers = get_address_list_entry_with_http_info(opts)
|
|
1165
|
+
data
|
|
1166
|
+
end
|
|
1167
|
+
|
|
1168
|
+
# @param [Hash] opts the optional parameters
|
|
1169
|
+
# @option opts [String] :address_list_entry_id The address list entry to return. All 'address_list_entry[]' params are mutually exclusive, only one can be provided.
|
|
1170
|
+
# @return [Array<(PostAddressListEntries201Response, Integer, Hash)>] PostAddressListEntries201Response data, response status code and response headers
|
|
1171
|
+
def get_address_list_entry_with_http_info(opts = {})
|
|
1172
|
+
if @api_client.config.debugging
|
|
1173
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.get_address_list_entry ...'
|
|
1174
|
+
end
|
|
1175
|
+
# resource path
|
|
1176
|
+
local_var_path = '/address_list_entries/:address_list_entry'
|
|
1177
|
+
|
|
1178
|
+
# query parameters
|
|
1179
|
+
query_params = opts[:query_params] || {}
|
|
1180
|
+
query_params[:'address_list_entry[id]'] = opts[:'address_list_entry_id'] if !opts[:'address_list_entry_id'].nil?
|
|
1181
|
+
|
|
1182
|
+
# header parameters
|
|
1183
|
+
header_params = opts[:header_params] || {}
|
|
1184
|
+
# HTTP header 'Accept' (if needed)
|
|
1185
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1186
|
+
|
|
1187
|
+
# form parameters
|
|
1188
|
+
form_params = opts[:form_params] || {}
|
|
1189
|
+
|
|
1190
|
+
# http body (model)
|
|
1191
|
+
post_body = opts[:debug_body]
|
|
1192
|
+
|
|
1193
|
+
# return_type
|
|
1194
|
+
return_type = opts[:debug_return_type] || 'PostAddressListEntries201Response'
|
|
1195
|
+
|
|
1196
|
+
# auth_names
|
|
1197
|
+
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
1198
|
+
|
|
1199
|
+
new_options = opts.merge(
|
|
1200
|
+
:operation => :"CoreApi.get_address_list_entry",
|
|
1201
|
+
:header_params => header_params,
|
|
1202
|
+
:query_params => query_params,
|
|
1203
|
+
:form_params => form_params,
|
|
1204
|
+
:body => post_body,
|
|
1205
|
+
:auth_names => auth_names,
|
|
1206
|
+
:return_type => return_type
|
|
1207
|
+
)
|
|
1208
|
+
|
|
1209
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1210
|
+
if @api_client.config.debugging
|
|
1211
|
+
@api_client.config.logger.debug "API called: CoreApi#get_address_list_entry\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1212
|
+
end
|
|
1213
|
+
return data, status_code, headers
|
|
1214
|
+
end
|
|
1215
|
+
|
|
1216
|
+
# @param [Hash] opts the optional parameters
|
|
1217
|
+
# @option opts [Integer] :page
|
|
1218
|
+
# @option opts [Integer] :per_page
|
|
1219
|
+
# @return [GetAddressLists200Response]
|
|
1220
|
+
def get_address_lists(opts = {})
|
|
1221
|
+
data, _status_code, _headers = get_address_lists_with_http_info(opts)
|
|
1222
|
+
data
|
|
1223
|
+
end
|
|
1224
|
+
|
|
1225
|
+
# @param [Hash] opts the optional parameters
|
|
1226
|
+
# @option opts [Integer] :page
|
|
1227
|
+
# @option opts [Integer] :per_page
|
|
1228
|
+
# @return [Array<(GetAddressLists200Response, Integer, Hash)>] GetAddressLists200Response data, response status code and response headers
|
|
1229
|
+
def get_address_lists_with_http_info(opts = {})
|
|
1230
|
+
if @api_client.config.debugging
|
|
1231
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.get_address_lists ...'
|
|
1232
|
+
end
|
|
1233
|
+
# resource path
|
|
1234
|
+
local_var_path = '/address_lists'
|
|
1235
|
+
|
|
1236
|
+
# query parameters
|
|
1237
|
+
query_params = opts[:query_params] || {}
|
|
1238
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1239
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
1240
|
+
|
|
1241
|
+
# header parameters
|
|
1242
|
+
header_params = opts[:header_params] || {}
|
|
1243
|
+
# HTTP header 'Accept' (if needed)
|
|
1244
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1245
|
+
|
|
1246
|
+
# form parameters
|
|
1247
|
+
form_params = opts[:form_params] || {}
|
|
1248
|
+
|
|
1249
|
+
# http body (model)
|
|
1250
|
+
post_body = opts[:debug_body]
|
|
1251
|
+
|
|
1252
|
+
# return_type
|
|
1253
|
+
return_type = opts[:debug_return_type] || 'GetAddressLists200Response'
|
|
1254
|
+
|
|
1255
|
+
# auth_names
|
|
1256
|
+
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
1257
|
+
|
|
1258
|
+
new_options = opts.merge(
|
|
1259
|
+
:operation => :"CoreApi.get_address_lists",
|
|
1260
|
+
:header_params => header_params,
|
|
1261
|
+
:query_params => query_params,
|
|
1262
|
+
:form_params => form_params,
|
|
1263
|
+
:body => post_body,
|
|
1264
|
+
:auth_names => auth_names,
|
|
1265
|
+
:return_type => return_type
|
|
1266
|
+
)
|
|
1267
|
+
|
|
1268
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1269
|
+
if @api_client.config.debugging
|
|
1270
|
+
@api_client.config.logger.debug "API called: CoreApi#get_address_lists\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1271
|
+
end
|
|
1272
|
+
return data, status_code, headers
|
|
1273
|
+
end
|
|
1274
|
+
|
|
1042
1275
|
# @param [Hash] opts the optional parameters
|
|
1043
1276
|
# @option opts [String] :certificate_id All 'certificate[]' params are mutually exclusive, only one can be provided.
|
|
1044
1277
|
# @return [GetCertificate200Response]
|
|
@@ -2160,62 +2393,6 @@ module KatapultAPI
|
|
|
2160
2393
|
return data, status_code, headers
|
|
2161
2394
|
end
|
|
2162
2395
|
|
|
2163
|
-
# @param [Hash] opts the optional parameters
|
|
2164
|
-
# @option opts [String] :dns_record_id The DNS record to return information for. All 'dns_record[]' params are mutually exclusive, only one can be provided.
|
|
2165
|
-
# @return [GetDnsRecordsDnsRecord200Response]
|
|
2166
|
-
def get_dns_records_dns_record(opts = {})
|
|
2167
|
-
data, _status_code, _headers = get_dns_records_dns_record_with_http_info(opts)
|
|
2168
|
-
data
|
|
2169
|
-
end
|
|
2170
|
-
|
|
2171
|
-
# @param [Hash] opts the optional parameters
|
|
2172
|
-
# @option opts [String] :dns_record_id The DNS record to return information for. All 'dns_record[]' params are mutually exclusive, only one can be provided.
|
|
2173
|
-
# @return [Array<(GetDnsRecordsDnsRecord200Response, Integer, Hash)>] GetDnsRecordsDnsRecord200Response data, response status code and response headers
|
|
2174
|
-
def get_dns_records_dns_record_with_http_info(opts = {})
|
|
2175
|
-
if @api_client.config.debugging
|
|
2176
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.get_dns_records_dns_record ...'
|
|
2177
|
-
end
|
|
2178
|
-
# resource path
|
|
2179
|
-
local_var_path = '/dns/records/:dns_record'
|
|
2180
|
-
|
|
2181
|
-
# query parameters
|
|
2182
|
-
query_params = opts[:query_params] || {}
|
|
2183
|
-
query_params[:'dns_record[id]'] = opts[:'dns_record_id'] if !opts[:'dns_record_id'].nil?
|
|
2184
|
-
|
|
2185
|
-
# header parameters
|
|
2186
|
-
header_params = opts[:header_params] || {}
|
|
2187
|
-
# HTTP header 'Accept' (if needed)
|
|
2188
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2189
|
-
|
|
2190
|
-
# form parameters
|
|
2191
|
-
form_params = opts[:form_params] || {}
|
|
2192
|
-
|
|
2193
|
-
# http body (model)
|
|
2194
|
-
post_body = opts[:debug_body]
|
|
2195
|
-
|
|
2196
|
-
# return_type
|
|
2197
|
-
return_type = opts[:debug_return_type] || 'GetDnsRecordsDnsRecord200Response'
|
|
2198
|
-
|
|
2199
|
-
# auth_names
|
|
2200
|
-
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
2201
|
-
|
|
2202
|
-
new_options = opts.merge(
|
|
2203
|
-
:operation => :"CoreApi.get_dns_records_dns_record",
|
|
2204
|
-
:header_params => header_params,
|
|
2205
|
-
:query_params => query_params,
|
|
2206
|
-
:form_params => form_params,
|
|
2207
|
-
:body => post_body,
|
|
2208
|
-
:auth_names => auth_names,
|
|
2209
|
-
:return_type => return_type
|
|
2210
|
-
)
|
|
2211
|
-
|
|
2212
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2213
|
-
if @api_client.config.debugging
|
|
2214
|
-
@api_client.config.logger.debug "API called: CoreApi#get_dns_records_dns_record\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2215
|
-
end
|
|
2216
|
-
return data, status_code, headers
|
|
2217
|
-
end
|
|
2218
|
-
|
|
2219
2396
|
# @param [Hash] opts the optional parameters
|
|
2220
2397
|
# @option opts [String] :dns_zone_id All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2221
2398
|
# @option opts [String] :dns_zone_name All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
@@ -2334,183 +2511,6 @@ module KatapultAPI
|
|
|
2334
2511
|
return data, status_code, headers
|
|
2335
2512
|
end
|
|
2336
2513
|
|
|
2337
|
-
# @param [Hash] opts the optional parameters
|
|
2338
|
-
# @option opts [String] :dns_zone_id The DNS zone to return information for. All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2339
|
-
# @option opts [String] :dns_zone_name The DNS zone to return information for. All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2340
|
-
# @return [GetDnsZonesDnsZone200Response]
|
|
2341
|
-
def get_dns_zones_dns_zone(opts = {})
|
|
2342
|
-
data, _status_code, _headers = get_dns_zones_dns_zone_with_http_info(opts)
|
|
2343
|
-
data
|
|
2344
|
-
end
|
|
2345
|
-
|
|
2346
|
-
# @param [Hash] opts the optional parameters
|
|
2347
|
-
# @option opts [String] :dns_zone_id The DNS zone to return information for. All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2348
|
-
# @option opts [String] :dns_zone_name The DNS zone to return information for. All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2349
|
-
# @return [Array<(GetDnsZonesDnsZone200Response, Integer, Hash)>] GetDnsZonesDnsZone200Response data, response status code and response headers
|
|
2350
|
-
def get_dns_zones_dns_zone_with_http_info(opts = {})
|
|
2351
|
-
if @api_client.config.debugging
|
|
2352
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.get_dns_zones_dns_zone ...'
|
|
2353
|
-
end
|
|
2354
|
-
# resource path
|
|
2355
|
-
local_var_path = '/dns/zones/:dns_zone'
|
|
2356
|
-
|
|
2357
|
-
# query parameters
|
|
2358
|
-
query_params = opts[:query_params] || {}
|
|
2359
|
-
query_params[:'dns_zone[id]'] = opts[:'dns_zone_id'] if !opts[:'dns_zone_id'].nil?
|
|
2360
|
-
query_params[:'dns_zone[name]'] = opts[:'dns_zone_name'] if !opts[:'dns_zone_name'].nil?
|
|
2361
|
-
|
|
2362
|
-
# header parameters
|
|
2363
|
-
header_params = opts[:header_params] || {}
|
|
2364
|
-
# HTTP header 'Accept' (if needed)
|
|
2365
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2366
|
-
|
|
2367
|
-
# form parameters
|
|
2368
|
-
form_params = opts[:form_params] || {}
|
|
2369
|
-
|
|
2370
|
-
# http body (model)
|
|
2371
|
-
post_body = opts[:debug_body]
|
|
2372
|
-
|
|
2373
|
-
# return_type
|
|
2374
|
-
return_type = opts[:debug_return_type] || 'GetDnsZonesDnsZone200Response'
|
|
2375
|
-
|
|
2376
|
-
# auth_names
|
|
2377
|
-
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
2378
|
-
|
|
2379
|
-
new_options = opts.merge(
|
|
2380
|
-
:operation => :"CoreApi.get_dns_zones_dns_zone",
|
|
2381
|
-
:header_params => header_params,
|
|
2382
|
-
:query_params => query_params,
|
|
2383
|
-
:form_params => form_params,
|
|
2384
|
-
:body => post_body,
|
|
2385
|
-
:auth_names => auth_names,
|
|
2386
|
-
:return_type => return_type
|
|
2387
|
-
)
|
|
2388
|
-
|
|
2389
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2390
|
-
if @api_client.config.debugging
|
|
2391
|
-
@api_client.config.logger.debug "API called: CoreApi#get_dns_zones_dns_zone\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2392
|
-
end
|
|
2393
|
-
return data, status_code, headers
|
|
2394
|
-
end
|
|
2395
|
-
|
|
2396
|
-
# @param [Hash] opts the optional parameters
|
|
2397
|
-
# @option opts [String] :dns_zone_id The DNS zone to find all DNS records for. All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2398
|
-
# @option opts [String] :dns_zone_name The DNS zone to find all DNS records for. All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2399
|
-
# @return [GetDnsZonesDnsZoneRecords200Response]
|
|
2400
|
-
def get_dns_zones_dns_zone_records(opts = {})
|
|
2401
|
-
data, _status_code, _headers = get_dns_zones_dns_zone_records_with_http_info(opts)
|
|
2402
|
-
data
|
|
2403
|
-
end
|
|
2404
|
-
|
|
2405
|
-
# @param [Hash] opts the optional parameters
|
|
2406
|
-
# @option opts [String] :dns_zone_id The DNS zone to find all DNS records for. All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2407
|
-
# @option opts [String] :dns_zone_name The DNS zone to find all DNS records for. All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2408
|
-
# @return [Array<(GetDnsZonesDnsZoneRecords200Response, Integer, Hash)>] GetDnsZonesDnsZoneRecords200Response data, response status code and response headers
|
|
2409
|
-
def get_dns_zones_dns_zone_records_with_http_info(opts = {})
|
|
2410
|
-
if @api_client.config.debugging
|
|
2411
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.get_dns_zones_dns_zone_records ...'
|
|
2412
|
-
end
|
|
2413
|
-
# resource path
|
|
2414
|
-
local_var_path = '/dns/zones/:dns_zone/records'
|
|
2415
|
-
|
|
2416
|
-
# query parameters
|
|
2417
|
-
query_params = opts[:query_params] || {}
|
|
2418
|
-
query_params[:'dns_zone[id]'] = opts[:'dns_zone_id'] if !opts[:'dns_zone_id'].nil?
|
|
2419
|
-
query_params[:'dns_zone[name]'] = opts[:'dns_zone_name'] if !opts[:'dns_zone_name'].nil?
|
|
2420
|
-
|
|
2421
|
-
# header parameters
|
|
2422
|
-
header_params = opts[:header_params] || {}
|
|
2423
|
-
# HTTP header 'Accept' (if needed)
|
|
2424
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2425
|
-
|
|
2426
|
-
# form parameters
|
|
2427
|
-
form_params = opts[:form_params] || {}
|
|
2428
|
-
|
|
2429
|
-
# http body (model)
|
|
2430
|
-
post_body = opts[:debug_body]
|
|
2431
|
-
|
|
2432
|
-
# return_type
|
|
2433
|
-
return_type = opts[:debug_return_type] || 'GetDnsZonesDnsZoneRecords200Response'
|
|
2434
|
-
|
|
2435
|
-
# auth_names
|
|
2436
|
-
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
2437
|
-
|
|
2438
|
-
new_options = opts.merge(
|
|
2439
|
-
:operation => :"CoreApi.get_dns_zones_dns_zone_records",
|
|
2440
|
-
:header_params => header_params,
|
|
2441
|
-
:query_params => query_params,
|
|
2442
|
-
:form_params => form_params,
|
|
2443
|
-
:body => post_body,
|
|
2444
|
-
:auth_names => auth_names,
|
|
2445
|
-
:return_type => return_type
|
|
2446
|
-
)
|
|
2447
|
-
|
|
2448
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2449
|
-
if @api_client.config.debugging
|
|
2450
|
-
@api_client.config.logger.debug "API called: CoreApi#get_dns_zones_dns_zone_records\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2451
|
-
end
|
|
2452
|
-
return data, status_code, headers
|
|
2453
|
-
end
|
|
2454
|
-
|
|
2455
|
-
# @param [Hash] opts the optional parameters
|
|
2456
|
-
# @option opts [String] :dns_zone_id The DNS zone to get verification details for. All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2457
|
-
# @option opts [String] :dns_zone_name The DNS zone to get verification details for. All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2458
|
-
# @return [GetDnsZonesDnsZoneVerificationDetails200Response]
|
|
2459
|
-
def get_dns_zones_dns_zone_verification_details(opts = {})
|
|
2460
|
-
data, _status_code, _headers = get_dns_zones_dns_zone_verification_details_with_http_info(opts)
|
|
2461
|
-
data
|
|
2462
|
-
end
|
|
2463
|
-
|
|
2464
|
-
# @param [Hash] opts the optional parameters
|
|
2465
|
-
# @option opts [String] :dns_zone_id The DNS zone to get verification details for. All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2466
|
-
# @option opts [String] :dns_zone_name The DNS zone to get verification details for. All 'dns_zone[]' params are mutually exclusive, only one can be provided.
|
|
2467
|
-
# @return [Array<(GetDnsZonesDnsZoneVerificationDetails200Response, Integer, Hash)>] GetDnsZonesDnsZoneVerificationDetails200Response data, response status code and response headers
|
|
2468
|
-
def get_dns_zones_dns_zone_verification_details_with_http_info(opts = {})
|
|
2469
|
-
if @api_client.config.debugging
|
|
2470
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.get_dns_zones_dns_zone_verification_details ...'
|
|
2471
|
-
end
|
|
2472
|
-
# resource path
|
|
2473
|
-
local_var_path = '/dns/zones/:dns_zone/verification_details'
|
|
2474
|
-
|
|
2475
|
-
# query parameters
|
|
2476
|
-
query_params = opts[:query_params] || {}
|
|
2477
|
-
query_params[:'dns_zone[id]'] = opts[:'dns_zone_id'] if !opts[:'dns_zone_id'].nil?
|
|
2478
|
-
query_params[:'dns_zone[name]'] = opts[:'dns_zone_name'] if !opts[:'dns_zone_name'].nil?
|
|
2479
|
-
|
|
2480
|
-
# header parameters
|
|
2481
|
-
header_params = opts[:header_params] || {}
|
|
2482
|
-
# HTTP header 'Accept' (if needed)
|
|
2483
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2484
|
-
|
|
2485
|
-
# form parameters
|
|
2486
|
-
form_params = opts[:form_params] || {}
|
|
2487
|
-
|
|
2488
|
-
# http body (model)
|
|
2489
|
-
post_body = opts[:debug_body]
|
|
2490
|
-
|
|
2491
|
-
# return_type
|
|
2492
|
-
return_type = opts[:debug_return_type] || 'GetDnsZonesDnsZoneVerificationDetails200Response'
|
|
2493
|
-
|
|
2494
|
-
# auth_names
|
|
2495
|
-
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
2496
|
-
|
|
2497
|
-
new_options = opts.merge(
|
|
2498
|
-
:operation => :"CoreApi.get_dns_zones_dns_zone_verification_details",
|
|
2499
|
-
:header_params => header_params,
|
|
2500
|
-
:query_params => query_params,
|
|
2501
|
-
:form_params => form_params,
|
|
2502
|
-
:body => post_body,
|
|
2503
|
-
:auth_names => auth_names,
|
|
2504
|
-
:return_type => return_type
|
|
2505
|
-
)
|
|
2506
|
-
|
|
2507
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2508
|
-
if @api_client.config.debugging
|
|
2509
|
-
@api_client.config.logger.debug "API called: CoreApi#get_dns_zones_dns_zone_verification_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2510
|
-
end
|
|
2511
|
-
return data, status_code, headers
|
|
2512
|
-
end
|
|
2513
|
-
|
|
2514
2514
|
# @param [Hash] opts the optional parameters
|
|
2515
2515
|
# @option opts [String] :file_storage_volume_id The file storage volume to return. All 'file_storage_volume[]' params are mutually exclusive, only one can be provided.
|
|
2516
2516
|
# @return [GetFileStorageVolume200Response]
|
|
@@ -3113,15 +3113,80 @@ module KatapultAPI
|
|
|
3113
3113
|
# @return [Array<(GetOrganization200Response, Integer, Hash)>] GetOrganization200Response data, response status code and response headers
|
|
3114
3114
|
def get_organization_with_http_info(opts = {})
|
|
3115
3115
|
if @api_client.config.debugging
|
|
3116
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.get_organization ...'
|
|
3116
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.get_organization ...'
|
|
3117
|
+
end
|
|
3118
|
+
# resource path
|
|
3119
|
+
local_var_path = '/organizations/:organization'
|
|
3120
|
+
|
|
3121
|
+
# query parameters
|
|
3122
|
+
query_params = opts[:query_params] || {}
|
|
3123
|
+
query_params[:'organization[id]'] = opts[:'organization_id'] if !opts[:'organization_id'].nil?
|
|
3124
|
+
query_params[:'organization[sub_domain]'] = opts[:'organization_sub_domain'] if !opts[:'organization_sub_domain'].nil?
|
|
3125
|
+
|
|
3126
|
+
# header parameters
|
|
3127
|
+
header_params = opts[:header_params] || {}
|
|
3128
|
+
# HTTP header 'Accept' (if needed)
|
|
3129
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
3130
|
+
|
|
3131
|
+
# form parameters
|
|
3132
|
+
form_params = opts[:form_params] || {}
|
|
3133
|
+
|
|
3134
|
+
# http body (model)
|
|
3135
|
+
post_body = opts[:debug_body]
|
|
3136
|
+
|
|
3137
|
+
# return_type
|
|
3138
|
+
return_type = opts[:debug_return_type] || 'GetOrganization200Response'
|
|
3139
|
+
|
|
3140
|
+
# auth_names
|
|
3141
|
+
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
3142
|
+
|
|
3143
|
+
new_options = opts.merge(
|
|
3144
|
+
:operation => :"CoreApi.get_organization",
|
|
3145
|
+
:header_params => header_params,
|
|
3146
|
+
:query_params => query_params,
|
|
3147
|
+
:form_params => form_params,
|
|
3148
|
+
:body => post_body,
|
|
3149
|
+
:auth_names => auth_names,
|
|
3150
|
+
:return_type => return_type
|
|
3151
|
+
)
|
|
3152
|
+
|
|
3153
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3154
|
+
if @api_client.config.debugging
|
|
3155
|
+
@api_client.config.logger.debug "API called: CoreApi#get_organization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3156
|
+
end
|
|
3157
|
+
return data, status_code, headers
|
|
3158
|
+
end
|
|
3159
|
+
|
|
3160
|
+
# @param [Hash] opts the optional parameters
|
|
3161
|
+
# @option opts [String] :organization_id The organization for which the address lists should be returned. All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
3162
|
+
# @option opts [String] :organization_sub_domain The organization for which the address lists should be returned. All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
3163
|
+
# @option opts [Integer] :page
|
|
3164
|
+
# @option opts [Integer] :per_page
|
|
3165
|
+
# @return [GetOrganizationAddressLists200Response]
|
|
3166
|
+
def get_organization_address_lists(opts = {})
|
|
3167
|
+
data, _status_code, _headers = get_organization_address_lists_with_http_info(opts)
|
|
3168
|
+
data
|
|
3169
|
+
end
|
|
3170
|
+
|
|
3171
|
+
# @param [Hash] opts the optional parameters
|
|
3172
|
+
# @option opts [String] :organization_id The organization for which the address lists should be returned. All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
3173
|
+
# @option opts [String] :organization_sub_domain The organization for which the address lists should be returned. All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
3174
|
+
# @option opts [Integer] :page
|
|
3175
|
+
# @option opts [Integer] :per_page
|
|
3176
|
+
# @return [Array<(GetOrganizationAddressLists200Response, Integer, Hash)>] GetOrganizationAddressLists200Response data, response status code and response headers
|
|
3177
|
+
def get_organization_address_lists_with_http_info(opts = {})
|
|
3178
|
+
if @api_client.config.debugging
|
|
3179
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.get_organization_address_lists ...'
|
|
3117
3180
|
end
|
|
3118
3181
|
# resource path
|
|
3119
|
-
local_var_path = '/organizations/:organization'
|
|
3182
|
+
local_var_path = '/organizations/:organization/address_lists'
|
|
3120
3183
|
|
|
3121
3184
|
# query parameters
|
|
3122
3185
|
query_params = opts[:query_params] || {}
|
|
3123
3186
|
query_params[:'organization[id]'] = opts[:'organization_id'] if !opts[:'organization_id'].nil?
|
|
3124
3187
|
query_params[:'organization[sub_domain]'] = opts[:'organization_sub_domain'] if !opts[:'organization_sub_domain'].nil?
|
|
3188
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
3189
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
3125
3190
|
|
|
3126
3191
|
# header parameters
|
|
3127
3192
|
header_params = opts[:header_params] || {}
|
|
@@ -3135,13 +3200,13 @@ module KatapultAPI
|
|
|
3135
3200
|
post_body = opts[:debug_body]
|
|
3136
3201
|
|
|
3137
3202
|
# return_type
|
|
3138
|
-
return_type = opts[:debug_return_type] || '
|
|
3203
|
+
return_type = opts[:debug_return_type] || 'GetOrganizationAddressLists200Response'
|
|
3139
3204
|
|
|
3140
3205
|
# auth_names
|
|
3141
3206
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
3142
3207
|
|
|
3143
3208
|
new_options = opts.merge(
|
|
3144
|
-
:operation => :"CoreApi.
|
|
3209
|
+
:operation => :"CoreApi.get_organization_address_lists",
|
|
3145
3210
|
:header_params => header_params,
|
|
3146
3211
|
:query_params => query_params,
|
|
3147
3212
|
:form_params => form_params,
|
|
@@ -3152,7 +3217,7 @@ module KatapultAPI
|
|
|
3152
3217
|
|
|
3153
3218
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3154
3219
|
if @api_client.config.debugging
|
|
3155
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
3220
|
+
@api_client.config.logger.debug "API called: CoreApi#get_organization_address_lists\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3156
3221
|
end
|
|
3157
3222
|
return data, status_code, headers
|
|
3158
3223
|
end
|
|
@@ -3483,8 +3548,8 @@ module KatapultAPI
|
|
|
3483
3548
|
end
|
|
3484
3549
|
|
|
3485
3550
|
# @param [Hash] opts the optional parameters
|
|
3486
|
-
# @option opts [String] :organization_id
|
|
3487
|
-
# @option opts [String] :organization_sub_domain
|
|
3551
|
+
# @option opts [String] :organization_id All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
3552
|
+
# @option opts [String] :organization_sub_domain All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
3488
3553
|
# @option opts [Integer] :page
|
|
3489
3554
|
# @option opts [Integer] :per_page
|
|
3490
3555
|
# @return [GetOrganizationDnsZones200Response]
|
|
@@ -3494,8 +3559,8 @@ module KatapultAPI
|
|
|
3494
3559
|
end
|
|
3495
3560
|
|
|
3496
3561
|
# @param [Hash] opts the optional parameters
|
|
3497
|
-
# @option opts [String] :organization_id
|
|
3498
|
-
# @option opts [String] :organization_sub_domain
|
|
3562
|
+
# @option opts [String] :organization_id All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
3563
|
+
# @option opts [String] :organization_sub_domain All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
3499
3564
|
# @option opts [Integer] :page
|
|
3500
3565
|
# @option opts [Integer] :per_page
|
|
3501
3566
|
# @return [Array<(GetOrganizationDnsZones200Response, Integer, Hash)>] GetOrganizationDnsZones200Response data, response status code and response headers
|
|
@@ -3504,7 +3569,7 @@ module KatapultAPI
|
|
|
3504
3569
|
@api_client.config.logger.debug 'Calling API: CoreApi.get_organization_dns_zones ...'
|
|
3505
3570
|
end
|
|
3506
3571
|
# resource path
|
|
3507
|
-
local_var_path = '/organizations/:organization/
|
|
3572
|
+
local_var_path = '/organizations/:organization/dns_zones'
|
|
3508
3573
|
|
|
3509
3574
|
# query parameters
|
|
3510
3575
|
query_params = opts[:query_params] || {}
|
|
@@ -3934,6 +3999,65 @@ module KatapultAPI
|
|
|
3934
3999
|
return data, status_code, headers
|
|
3935
4000
|
end
|
|
3936
4001
|
|
|
4002
|
+
# @param [Hash] opts the optional parameters
|
|
4003
|
+
# @option opts [String] :organization_id All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
4004
|
+
# @option opts [String] :organization_sub_domain All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
4005
|
+
# @return [GetOrganizationPolicyLimits200Response]
|
|
4006
|
+
def get_organization_policy_limits(opts = {})
|
|
4007
|
+
data, _status_code, _headers = get_organization_policy_limits_with_http_info(opts)
|
|
4008
|
+
data
|
|
4009
|
+
end
|
|
4010
|
+
|
|
4011
|
+
# @param [Hash] opts the optional parameters
|
|
4012
|
+
# @option opts [String] :organization_id All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
4013
|
+
# @option opts [String] :organization_sub_domain All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
4014
|
+
# @return [Array<(GetOrganizationPolicyLimits200Response, Integer, Hash)>] GetOrganizationPolicyLimits200Response data, response status code and response headers
|
|
4015
|
+
def get_organization_policy_limits_with_http_info(opts = {})
|
|
4016
|
+
if @api_client.config.debugging
|
|
4017
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.get_organization_policy_limits ...'
|
|
4018
|
+
end
|
|
4019
|
+
# resource path
|
|
4020
|
+
local_var_path = '/organizations/:organization/policy_limits'
|
|
4021
|
+
|
|
4022
|
+
# query parameters
|
|
4023
|
+
query_params = opts[:query_params] || {}
|
|
4024
|
+
query_params[:'organization[id]'] = opts[:'organization_id'] if !opts[:'organization_id'].nil?
|
|
4025
|
+
query_params[:'organization[sub_domain]'] = opts[:'organization_sub_domain'] if !opts[:'organization_sub_domain'].nil?
|
|
4026
|
+
|
|
4027
|
+
# header parameters
|
|
4028
|
+
header_params = opts[:header_params] || {}
|
|
4029
|
+
# HTTP header 'Accept' (if needed)
|
|
4030
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
4031
|
+
|
|
4032
|
+
# form parameters
|
|
4033
|
+
form_params = opts[:form_params] || {}
|
|
4034
|
+
|
|
4035
|
+
# http body (model)
|
|
4036
|
+
post_body = opts[:debug_body]
|
|
4037
|
+
|
|
4038
|
+
# return_type
|
|
4039
|
+
return_type = opts[:debug_return_type] || 'GetOrganizationPolicyLimits200Response'
|
|
4040
|
+
|
|
4041
|
+
# auth_names
|
|
4042
|
+
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
4043
|
+
|
|
4044
|
+
new_options = opts.merge(
|
|
4045
|
+
:operation => :"CoreApi.get_organization_policy_limits",
|
|
4046
|
+
:header_params => header_params,
|
|
4047
|
+
:query_params => query_params,
|
|
4048
|
+
:form_params => form_params,
|
|
4049
|
+
:body => post_body,
|
|
4050
|
+
:auth_names => auth_names,
|
|
4051
|
+
:return_type => return_type
|
|
4052
|
+
)
|
|
4053
|
+
|
|
4054
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
4055
|
+
if @api_client.config.debugging
|
|
4056
|
+
@api_client.config.logger.debug "API called: CoreApi#get_organization_policy_limits\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4057
|
+
end
|
|
4058
|
+
return data, status_code, headers
|
|
4059
|
+
end
|
|
4060
|
+
|
|
3937
4061
|
# @param [Hash] opts the optional parameters
|
|
3938
4062
|
# @option opts [String] :organization_id The organization to return all security groups for. All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
3939
4063
|
# @option opts [String] :organization_sub_domain The organization to return all security groups for. All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
@@ -4436,71 +4560,6 @@ module KatapultAPI
|
|
|
4436
4560
|
return data, status_code, headers
|
|
4437
4561
|
end
|
|
4438
4562
|
|
|
4439
|
-
# @param [Hash] opts the optional parameters
|
|
4440
|
-
# @option opts [String] :organization_id All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
4441
|
-
# @option opts [String] :organization_sub_domain All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
4442
|
-
# @option opts [Integer] :page
|
|
4443
|
-
# @option opts [Integer] :per_page
|
|
4444
|
-
# @return [GetOrganizationDnsZones200Response]
|
|
4445
|
-
def get_organizations_organization_dns_zones(opts = {})
|
|
4446
|
-
data, _status_code, _headers = get_organizations_organization_dns_zones_with_http_info(opts)
|
|
4447
|
-
data
|
|
4448
|
-
end
|
|
4449
|
-
|
|
4450
|
-
# @param [Hash] opts the optional parameters
|
|
4451
|
-
# @option opts [String] :organization_id All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
4452
|
-
# @option opts [String] :organization_sub_domain All 'organization[]' params are mutually exclusive, only one can be provided.
|
|
4453
|
-
# @option opts [Integer] :page
|
|
4454
|
-
# @option opts [Integer] :per_page
|
|
4455
|
-
# @return [Array<(GetOrganizationDnsZones200Response, Integer, Hash)>] GetOrganizationDnsZones200Response data, response status code and response headers
|
|
4456
|
-
def get_organizations_organization_dns_zones_with_http_info(opts = {})
|
|
4457
|
-
if @api_client.config.debugging
|
|
4458
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.get_organizations_organization_dns_zones ...'
|
|
4459
|
-
end
|
|
4460
|
-
# resource path
|
|
4461
|
-
local_var_path = '/organizations/:organization/dns_zones'
|
|
4462
|
-
|
|
4463
|
-
# query parameters
|
|
4464
|
-
query_params = opts[:query_params] || {}
|
|
4465
|
-
query_params[:'organization[id]'] = opts[:'organization_id'] if !opts[:'organization_id'].nil?
|
|
4466
|
-
query_params[:'organization[sub_domain]'] = opts[:'organization_sub_domain'] if !opts[:'organization_sub_domain'].nil?
|
|
4467
|
-
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
4468
|
-
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
4469
|
-
|
|
4470
|
-
# header parameters
|
|
4471
|
-
header_params = opts[:header_params] || {}
|
|
4472
|
-
# HTTP header 'Accept' (if needed)
|
|
4473
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
4474
|
-
|
|
4475
|
-
# form parameters
|
|
4476
|
-
form_params = opts[:form_params] || {}
|
|
4477
|
-
|
|
4478
|
-
# http body (model)
|
|
4479
|
-
post_body = opts[:debug_body]
|
|
4480
|
-
|
|
4481
|
-
# return_type
|
|
4482
|
-
return_type = opts[:debug_return_type] || 'GetOrganizationDnsZones200Response'
|
|
4483
|
-
|
|
4484
|
-
# auth_names
|
|
4485
|
-
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
4486
|
-
|
|
4487
|
-
new_options = opts.merge(
|
|
4488
|
-
:operation => :"CoreApi.get_organizations_organization_dns_zones",
|
|
4489
|
-
:header_params => header_params,
|
|
4490
|
-
:query_params => query_params,
|
|
4491
|
-
:form_params => form_params,
|
|
4492
|
-
:body => post_body,
|
|
4493
|
-
:auth_names => auth_names,
|
|
4494
|
-
:return_type => return_type
|
|
4495
|
-
)
|
|
4496
|
-
|
|
4497
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
4498
|
-
if @api_client.config.debugging
|
|
4499
|
-
@api_client.config.logger.debug "API called: CoreApi#get_organizations_organization_dns_zones\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4500
|
-
end
|
|
4501
|
-
return data, status_code, headers
|
|
4502
|
-
end
|
|
4503
|
-
|
|
4504
4563
|
# @param [Hash] opts the optional parameters
|
|
4505
4564
|
# @option opts [String] :security_group_id The security group to return the details for. All 'security_group[]' params are mutually exclusive, only one can be provided.
|
|
4506
4565
|
# @return [GetSecurityGroup200Response]
|
|
@@ -4958,6 +5017,59 @@ module KatapultAPI
|
|
|
4958
5017
|
return data, status_code, headers
|
|
4959
5018
|
end
|
|
4960
5019
|
|
|
5020
|
+
# @param [Hash] opts the optional parameters
|
|
5021
|
+
# @return [String]
|
|
5022
|
+
def get_virtual_machine_authorized_keys(opts = {})
|
|
5023
|
+
data, _status_code, _headers = get_virtual_machine_authorized_keys_with_http_info(opts)
|
|
5024
|
+
data
|
|
5025
|
+
end
|
|
5026
|
+
|
|
5027
|
+
# @param [Hash] opts the optional parameters
|
|
5028
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
5029
|
+
def get_virtual_machine_authorized_keys_with_http_info(opts = {})
|
|
5030
|
+
if @api_client.config.debugging
|
|
5031
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.get_virtual_machine_authorized_keys ...'
|
|
5032
|
+
end
|
|
5033
|
+
# resource path
|
|
5034
|
+
local_var_path = '/virtual_machine/authorized_keys'
|
|
5035
|
+
|
|
5036
|
+
# query parameters
|
|
5037
|
+
query_params = opts[:query_params] || {}
|
|
5038
|
+
|
|
5039
|
+
# header parameters
|
|
5040
|
+
header_params = opts[:header_params] || {}
|
|
5041
|
+
# HTTP header 'Accept' (if needed)
|
|
5042
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json'])
|
|
5043
|
+
|
|
5044
|
+
# form parameters
|
|
5045
|
+
form_params = opts[:form_params] || {}
|
|
5046
|
+
|
|
5047
|
+
# http body (model)
|
|
5048
|
+
post_body = opts[:debug_body]
|
|
5049
|
+
|
|
5050
|
+
# return_type
|
|
5051
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
5052
|
+
|
|
5053
|
+
# auth_names
|
|
5054
|
+
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
5055
|
+
|
|
5056
|
+
new_options = opts.merge(
|
|
5057
|
+
:operation => :"CoreApi.get_virtual_machine_authorized_keys",
|
|
5058
|
+
:header_params => header_params,
|
|
5059
|
+
:query_params => query_params,
|
|
5060
|
+
:form_params => form_params,
|
|
5061
|
+
:body => post_body,
|
|
5062
|
+
:auth_names => auth_names,
|
|
5063
|
+
:return_type => return_type
|
|
5064
|
+
)
|
|
5065
|
+
|
|
5066
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5067
|
+
if @api_client.config.debugging
|
|
5068
|
+
@api_client.config.logger.debug "API called: CoreApi#get_virtual_machine_authorized_keys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5069
|
+
end
|
|
5070
|
+
return data, status_code, headers
|
|
5071
|
+
end
|
|
5072
|
+
|
|
4961
5073
|
# @param [Hash] opts the optional parameters
|
|
4962
5074
|
# @option opts [String] :virtual_machine_id The virtual machine to return disk backup policies for. All 'virtual_machine[]' params are mutually exclusive, only one can be provided.
|
|
4963
5075
|
# @option opts [String] :virtual_machine_fqdn The virtual machine to return disk backup policies for. All 'virtual_machine[]' params are mutually exclusive, only one can be provided.
|
|
@@ -5689,22 +5801,22 @@ module KatapultAPI
|
|
|
5689
5801
|
end
|
|
5690
5802
|
|
|
5691
5803
|
# @param [Hash] opts the optional parameters
|
|
5692
|
-
# @option opts [
|
|
5693
|
-
# @return [
|
|
5694
|
-
def
|
|
5695
|
-
data, _status_code, _headers =
|
|
5804
|
+
# @option opts [PatchAddressListRequest] :patch_address_list_request
|
|
5805
|
+
# @return [PostOrganizationAddressLists201Response]
|
|
5806
|
+
def patch_address_list(opts = {})
|
|
5807
|
+
data, _status_code, _headers = patch_address_list_with_http_info(opts)
|
|
5696
5808
|
data
|
|
5697
5809
|
end
|
|
5698
5810
|
|
|
5699
5811
|
# @param [Hash] opts the optional parameters
|
|
5700
|
-
# @option opts [
|
|
5701
|
-
# @return [Array<(
|
|
5702
|
-
def
|
|
5812
|
+
# @option opts [PatchAddressListRequest] :patch_address_list_request
|
|
5813
|
+
# @return [Array<(PostOrganizationAddressLists201Response, Integer, Hash)>] PostOrganizationAddressLists201Response data, response status code and response headers
|
|
5814
|
+
def patch_address_list_with_http_info(opts = {})
|
|
5703
5815
|
if @api_client.config.debugging
|
|
5704
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
5816
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.patch_address_list ...'
|
|
5705
5817
|
end
|
|
5706
5818
|
# resource path
|
|
5707
|
-
local_var_path = '/
|
|
5819
|
+
local_var_path = '/address_lists/:address_list'
|
|
5708
5820
|
|
|
5709
5821
|
# query parameters
|
|
5710
5822
|
query_params = opts[:query_params] || {}
|
|
@@ -5723,16 +5835,16 @@ module KatapultAPI
|
|
|
5723
5835
|
form_params = opts[:form_params] || {}
|
|
5724
5836
|
|
|
5725
5837
|
# http body (model)
|
|
5726
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
5838
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patch_address_list_request'])
|
|
5727
5839
|
|
|
5728
5840
|
# return_type
|
|
5729
|
-
return_type = opts[:debug_return_type] || '
|
|
5841
|
+
return_type = opts[:debug_return_type] || 'PostOrganizationAddressLists201Response'
|
|
5730
5842
|
|
|
5731
5843
|
# auth_names
|
|
5732
5844
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
5733
5845
|
|
|
5734
5846
|
new_options = opts.merge(
|
|
5735
|
-
:operation => :"CoreApi.
|
|
5847
|
+
:operation => :"CoreApi.patch_address_list",
|
|
5736
5848
|
:header_params => header_params,
|
|
5737
5849
|
:query_params => query_params,
|
|
5738
5850
|
:form_params => form_params,
|
|
@@ -5743,28 +5855,28 @@ module KatapultAPI
|
|
|
5743
5855
|
|
|
5744
5856
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
5745
5857
|
if @api_client.config.debugging
|
|
5746
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
5858
|
+
@api_client.config.logger.debug "API called: CoreApi#patch_address_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5747
5859
|
end
|
|
5748
5860
|
return data, status_code, headers
|
|
5749
5861
|
end
|
|
5750
5862
|
|
|
5751
5863
|
# @param [Hash] opts the optional parameters
|
|
5752
|
-
# @option opts [
|
|
5753
|
-
# @return [
|
|
5754
|
-
def
|
|
5755
|
-
data, _status_code, _headers =
|
|
5864
|
+
# @option opts [PatchAddressListEntryRequest] :patch_address_list_entry_request
|
|
5865
|
+
# @return [PostAddressListEntries201Response]
|
|
5866
|
+
def patch_address_list_entry(opts = {})
|
|
5867
|
+
data, _status_code, _headers = patch_address_list_entry_with_http_info(opts)
|
|
5756
5868
|
data
|
|
5757
5869
|
end
|
|
5758
5870
|
|
|
5759
5871
|
# @param [Hash] opts the optional parameters
|
|
5760
|
-
# @option opts [
|
|
5761
|
-
# @return [Array<(
|
|
5762
|
-
def
|
|
5872
|
+
# @option opts [PatchAddressListEntryRequest] :patch_address_list_entry_request
|
|
5873
|
+
# @return [Array<(PostAddressListEntries201Response, Integer, Hash)>] PostAddressListEntries201Response data, response status code and response headers
|
|
5874
|
+
def patch_address_list_entry_with_http_info(opts = {})
|
|
5763
5875
|
if @api_client.config.debugging
|
|
5764
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
5876
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.patch_address_list_entry ...'
|
|
5765
5877
|
end
|
|
5766
5878
|
# resource path
|
|
5767
|
-
local_var_path = '/
|
|
5879
|
+
local_var_path = '/address_list_entries/:address_list_entry'
|
|
5768
5880
|
|
|
5769
5881
|
# query parameters
|
|
5770
5882
|
query_params = opts[:query_params] || {}
|
|
@@ -5783,16 +5895,16 @@ module KatapultAPI
|
|
|
5783
5895
|
form_params = opts[:form_params] || {}
|
|
5784
5896
|
|
|
5785
5897
|
# http body (model)
|
|
5786
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
5898
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patch_address_list_entry_request'])
|
|
5787
5899
|
|
|
5788
5900
|
# return_type
|
|
5789
|
-
return_type = opts[:debug_return_type] || '
|
|
5901
|
+
return_type = opts[:debug_return_type] || 'PostAddressListEntries201Response'
|
|
5790
5902
|
|
|
5791
5903
|
# auth_names
|
|
5792
5904
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
5793
5905
|
|
|
5794
5906
|
new_options = opts.merge(
|
|
5795
|
-
:operation => :"CoreApi.
|
|
5907
|
+
:operation => :"CoreApi.patch_address_list_entry",
|
|
5796
5908
|
:header_params => header_params,
|
|
5797
5909
|
:query_params => query_params,
|
|
5798
5910
|
:form_params => form_params,
|
|
@@ -5803,28 +5915,88 @@ module KatapultAPI
|
|
|
5803
5915
|
|
|
5804
5916
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
5805
5917
|
if @api_client.config.debugging
|
|
5806
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
5918
|
+
@api_client.config.logger.debug "API called: CoreApi#patch_address_list_entry\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5919
|
+
end
|
|
5920
|
+
return data, status_code, headers
|
|
5921
|
+
end
|
|
5922
|
+
|
|
5923
|
+
# @param [Hash] opts the optional parameters
|
|
5924
|
+
# @option opts [PatchDiskBackupPolicyRequest] :patch_disk_backup_policy_request
|
|
5925
|
+
# @return [PatchDiskBackupPolicy200Response]
|
|
5926
|
+
def patch_disk_backup_policy(opts = {})
|
|
5927
|
+
data, _status_code, _headers = patch_disk_backup_policy_with_http_info(opts)
|
|
5928
|
+
data
|
|
5929
|
+
end
|
|
5930
|
+
|
|
5931
|
+
# @param [Hash] opts the optional parameters
|
|
5932
|
+
# @option opts [PatchDiskBackupPolicyRequest] :patch_disk_backup_policy_request
|
|
5933
|
+
# @return [Array<(PatchDiskBackupPolicy200Response, Integer, Hash)>] PatchDiskBackupPolicy200Response data, response status code and response headers
|
|
5934
|
+
def patch_disk_backup_policy_with_http_info(opts = {})
|
|
5935
|
+
if @api_client.config.debugging
|
|
5936
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.patch_disk_backup_policy ...'
|
|
5937
|
+
end
|
|
5938
|
+
# resource path
|
|
5939
|
+
local_var_path = '/disk_backup_policies/:disk_backup_policy'
|
|
5940
|
+
|
|
5941
|
+
# query parameters
|
|
5942
|
+
query_params = opts[:query_params] || {}
|
|
5943
|
+
|
|
5944
|
+
# header parameters
|
|
5945
|
+
header_params = opts[:header_params] || {}
|
|
5946
|
+
# HTTP header 'Accept' (if needed)
|
|
5947
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5948
|
+
# HTTP header 'Content-Type'
|
|
5949
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
5950
|
+
if !content_type.nil?
|
|
5951
|
+
header_params['Content-Type'] = content_type
|
|
5952
|
+
end
|
|
5953
|
+
|
|
5954
|
+
# form parameters
|
|
5955
|
+
form_params = opts[:form_params] || {}
|
|
5956
|
+
|
|
5957
|
+
# http body (model)
|
|
5958
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patch_disk_backup_policy_request'])
|
|
5959
|
+
|
|
5960
|
+
# return_type
|
|
5961
|
+
return_type = opts[:debug_return_type] || 'PatchDiskBackupPolicy200Response'
|
|
5962
|
+
|
|
5963
|
+
# auth_names
|
|
5964
|
+
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
5965
|
+
|
|
5966
|
+
new_options = opts.merge(
|
|
5967
|
+
:operation => :"CoreApi.patch_disk_backup_policy",
|
|
5968
|
+
:header_params => header_params,
|
|
5969
|
+
:query_params => query_params,
|
|
5970
|
+
:form_params => form_params,
|
|
5971
|
+
:body => post_body,
|
|
5972
|
+
:auth_names => auth_names,
|
|
5973
|
+
:return_type => return_type
|
|
5974
|
+
)
|
|
5975
|
+
|
|
5976
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
5977
|
+
if @api_client.config.debugging
|
|
5978
|
+
@api_client.config.logger.debug "API called: CoreApi#patch_disk_backup_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5807
5979
|
end
|
|
5808
5980
|
return data, status_code, headers
|
|
5809
5981
|
end
|
|
5810
5982
|
|
|
5811
5983
|
# @param [Hash] opts the optional parameters
|
|
5812
|
-
# @option opts [
|
|
5813
|
-
# @return [
|
|
5814
|
-
def
|
|
5815
|
-
data, _status_code, _headers =
|
|
5984
|
+
# @option opts [PatchDnsRecordRequest] :patch_dns_record_request
|
|
5985
|
+
# @return [PatchDnsRecord200Response]
|
|
5986
|
+
def patch_dns_record(opts = {})
|
|
5987
|
+
data, _status_code, _headers = patch_dns_record_with_http_info(opts)
|
|
5816
5988
|
data
|
|
5817
5989
|
end
|
|
5818
5990
|
|
|
5819
5991
|
# @param [Hash] opts the optional parameters
|
|
5820
|
-
# @option opts [
|
|
5821
|
-
# @return [Array<(
|
|
5822
|
-
def
|
|
5992
|
+
# @option opts [PatchDnsRecordRequest] :patch_dns_record_request
|
|
5993
|
+
# @return [Array<(PatchDnsRecord200Response, Integer, Hash)>] PatchDnsRecord200Response data, response status code and response headers
|
|
5994
|
+
def patch_dns_record_with_http_info(opts = {})
|
|
5823
5995
|
if @api_client.config.debugging
|
|
5824
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
5996
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.patch_dns_record ...'
|
|
5825
5997
|
end
|
|
5826
5998
|
# resource path
|
|
5827
|
-
local_var_path = '/
|
|
5999
|
+
local_var_path = '/dns_records/:dns_record'
|
|
5828
6000
|
|
|
5829
6001
|
# query parameters
|
|
5830
6002
|
query_params = opts[:query_params] || {}
|
|
@@ -5843,16 +6015,16 @@ module KatapultAPI
|
|
|
5843
6015
|
form_params = opts[:form_params] || {}
|
|
5844
6016
|
|
|
5845
6017
|
# http body (model)
|
|
5846
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
6018
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patch_dns_record_request'])
|
|
5847
6019
|
|
|
5848
6020
|
# return_type
|
|
5849
|
-
return_type = opts[:debug_return_type] || '
|
|
6021
|
+
return_type = opts[:debug_return_type] || 'PatchDnsRecord200Response'
|
|
5850
6022
|
|
|
5851
6023
|
# auth_names
|
|
5852
6024
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
5853
6025
|
|
|
5854
6026
|
new_options = opts.merge(
|
|
5855
|
-
:operation => :"CoreApi.
|
|
6027
|
+
:operation => :"CoreApi.patch_dns_record",
|
|
5856
6028
|
:header_params => header_params,
|
|
5857
6029
|
:query_params => query_params,
|
|
5858
6030
|
:form_params => form_params,
|
|
@@ -5863,7 +6035,7 @@ module KatapultAPI
|
|
|
5863
6035
|
|
|
5864
6036
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
5865
6037
|
if @api_client.config.debugging
|
|
5866
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
6038
|
+
@api_client.config.logger.debug "API called: CoreApi#patch_dns_record\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5867
6039
|
end
|
|
5868
6040
|
return data, status_code, headers
|
|
5869
6041
|
end
|
|
@@ -6529,82 +6701,22 @@ module KatapultAPI
|
|
|
6529
6701
|
end
|
|
6530
6702
|
|
|
6531
6703
|
# @param [Hash] opts the optional parameters
|
|
6532
|
-
# @option opts [
|
|
6533
|
-
# @return [
|
|
6534
|
-
def
|
|
6535
|
-
data, _status_code, _headers =
|
|
6536
|
-
data
|
|
6537
|
-
end
|
|
6538
|
-
|
|
6539
|
-
# @param [Hash] opts the optional parameters
|
|
6540
|
-
# @option opts [PostDiskDiskBackupPoliciesRequest] :post_disk_disk_backup_policies_request
|
|
6541
|
-
# @return [Array<(PostDiskDiskBackupPolicies200Response, Integer, Hash)>] PostDiskDiskBackupPolicies200Response data, response status code and response headers
|
|
6542
|
-
def post_disk_disk_backup_policies_with_http_info(opts = {})
|
|
6543
|
-
if @api_client.config.debugging
|
|
6544
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.post_disk_disk_backup_policies ...'
|
|
6545
|
-
end
|
|
6546
|
-
# resource path
|
|
6547
|
-
local_var_path = '/disks/:disk/disk_backup_policies'
|
|
6548
|
-
|
|
6549
|
-
# query parameters
|
|
6550
|
-
query_params = opts[:query_params] || {}
|
|
6551
|
-
|
|
6552
|
-
# header parameters
|
|
6553
|
-
header_params = opts[:header_params] || {}
|
|
6554
|
-
# HTTP header 'Accept' (if needed)
|
|
6555
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
6556
|
-
# HTTP header 'Content-Type'
|
|
6557
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
|
6558
|
-
if !content_type.nil?
|
|
6559
|
-
header_params['Content-Type'] = content_type
|
|
6560
|
-
end
|
|
6561
|
-
|
|
6562
|
-
# form parameters
|
|
6563
|
-
form_params = opts[:form_params] || {}
|
|
6564
|
-
|
|
6565
|
-
# http body (model)
|
|
6566
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'post_disk_disk_backup_policies_request'])
|
|
6567
|
-
|
|
6568
|
-
# return_type
|
|
6569
|
-
return_type = opts[:debug_return_type] || 'PostDiskDiskBackupPolicies200Response'
|
|
6570
|
-
|
|
6571
|
-
# auth_names
|
|
6572
|
-
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
6573
|
-
|
|
6574
|
-
new_options = opts.merge(
|
|
6575
|
-
:operation => :"CoreApi.post_disk_disk_backup_policies",
|
|
6576
|
-
:header_params => header_params,
|
|
6577
|
-
:query_params => query_params,
|
|
6578
|
-
:form_params => form_params,
|
|
6579
|
-
:body => post_body,
|
|
6580
|
-
:auth_names => auth_names,
|
|
6581
|
-
:return_type => return_type
|
|
6582
|
-
)
|
|
6583
|
-
|
|
6584
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
6585
|
-
if @api_client.config.debugging
|
|
6586
|
-
@api_client.config.logger.debug "API called: CoreApi#post_disk_disk_backup_policies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6587
|
-
end
|
|
6588
|
-
return data, status_code, headers
|
|
6589
|
-
end
|
|
6590
|
-
|
|
6591
|
-
# @param [Hash] opts the optional parameters
|
|
6592
|
-
# @option opts [PostDnsZoneRecordsRequest] :post_dns_zone_records_request
|
|
6593
|
-
# @return [PostDnsZoneRecords200Response]
|
|
6594
|
-
def post_dns_zone_records(opts = {})
|
|
6595
|
-
data, _status_code, _headers = post_dns_zone_records_with_http_info(opts)
|
|
6704
|
+
# @option opts [PostAddressListEntriesRequest] :post_address_list_entries_request
|
|
6705
|
+
# @return [PostAddressListEntries201Response]
|
|
6706
|
+
def post_address_list_entries(opts = {})
|
|
6707
|
+
data, _status_code, _headers = post_address_list_entries_with_http_info(opts)
|
|
6596
6708
|
data
|
|
6597
6709
|
end
|
|
6598
6710
|
|
|
6599
6711
|
# @param [Hash] opts the optional parameters
|
|
6600
|
-
# @option opts [
|
|
6601
|
-
# @return [Array<(
|
|
6602
|
-
def
|
|
6712
|
+
# @option opts [PostAddressListEntriesRequest] :post_address_list_entries_request
|
|
6713
|
+
# @return [Array<(PostAddressListEntries201Response, Integer, Hash)>] PostAddressListEntries201Response data, response status code and response headers
|
|
6714
|
+
def post_address_list_entries_with_http_info(opts = {})
|
|
6603
6715
|
if @api_client.config.debugging
|
|
6604
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
6716
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.post_address_list_entries ...'
|
|
6605
6717
|
end
|
|
6606
6718
|
# resource path
|
|
6607
|
-
local_var_path = '/
|
|
6719
|
+
local_var_path = '/address_lists/:address_list/entries'
|
|
6608
6720
|
|
|
6609
6721
|
# query parameters
|
|
6610
6722
|
query_params = opts[:query_params] || {}
|
|
@@ -6623,16 +6735,16 @@ module KatapultAPI
|
|
|
6623
6735
|
form_params = opts[:form_params] || {}
|
|
6624
6736
|
|
|
6625
6737
|
# http body (model)
|
|
6626
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
6738
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'post_address_list_entries_request'])
|
|
6627
6739
|
|
|
6628
6740
|
# return_type
|
|
6629
|
-
return_type = opts[:debug_return_type] || '
|
|
6741
|
+
return_type = opts[:debug_return_type] || 'PostAddressListEntries201Response'
|
|
6630
6742
|
|
|
6631
6743
|
# auth_names
|
|
6632
6744
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
6633
6745
|
|
|
6634
6746
|
new_options = opts.merge(
|
|
6635
|
-
:operation => :"CoreApi.
|
|
6747
|
+
:operation => :"CoreApi.post_address_list_entries",
|
|
6636
6748
|
:header_params => header_params,
|
|
6637
6749
|
:query_params => query_params,
|
|
6638
6750
|
:form_params => form_params,
|
|
@@ -6643,28 +6755,28 @@ module KatapultAPI
|
|
|
6643
6755
|
|
|
6644
6756
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
6645
6757
|
if @api_client.config.debugging
|
|
6646
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
6758
|
+
@api_client.config.logger.debug "API called: CoreApi#post_address_list_entries\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6647
6759
|
end
|
|
6648
6760
|
return data, status_code, headers
|
|
6649
6761
|
end
|
|
6650
6762
|
|
|
6651
6763
|
# @param [Hash] opts the optional parameters
|
|
6652
|
-
# @option opts [
|
|
6653
|
-
# @return [
|
|
6654
|
-
def
|
|
6655
|
-
data, _status_code, _headers =
|
|
6764
|
+
# @option opts [PostDiskDiskBackupPoliciesRequest] :post_disk_disk_backup_policies_request
|
|
6765
|
+
# @return [PostDiskDiskBackupPolicies200Response]
|
|
6766
|
+
def post_disk_disk_backup_policies(opts = {})
|
|
6767
|
+
data, _status_code, _headers = post_disk_disk_backup_policies_with_http_info(opts)
|
|
6656
6768
|
data
|
|
6657
6769
|
end
|
|
6658
6770
|
|
|
6659
6771
|
# @param [Hash] opts the optional parameters
|
|
6660
|
-
# @option opts [
|
|
6661
|
-
# @return [Array<(
|
|
6662
|
-
def
|
|
6772
|
+
# @option opts [PostDiskDiskBackupPoliciesRequest] :post_disk_disk_backup_policies_request
|
|
6773
|
+
# @return [Array<(PostDiskDiskBackupPolicies200Response, Integer, Hash)>] PostDiskDiskBackupPolicies200Response data, response status code and response headers
|
|
6774
|
+
def post_disk_disk_backup_policies_with_http_info(opts = {})
|
|
6663
6775
|
if @api_client.config.debugging
|
|
6664
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
6776
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.post_disk_disk_backup_policies ...'
|
|
6665
6777
|
end
|
|
6666
6778
|
# resource path
|
|
6667
|
-
local_var_path = '/
|
|
6779
|
+
local_var_path = '/disks/:disk/disk_backup_policies'
|
|
6668
6780
|
|
|
6669
6781
|
# query parameters
|
|
6670
6782
|
query_params = opts[:query_params] || {}
|
|
@@ -6683,16 +6795,16 @@ module KatapultAPI
|
|
|
6683
6795
|
form_params = opts[:form_params] || {}
|
|
6684
6796
|
|
|
6685
6797
|
# http body (model)
|
|
6686
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
6798
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'post_disk_disk_backup_policies_request'])
|
|
6687
6799
|
|
|
6688
6800
|
# return_type
|
|
6689
|
-
return_type = opts[:debug_return_type] || '
|
|
6801
|
+
return_type = opts[:debug_return_type] || 'PostDiskDiskBackupPolicies200Response'
|
|
6690
6802
|
|
|
6691
6803
|
# auth_names
|
|
6692
6804
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
6693
6805
|
|
|
6694
6806
|
new_options = opts.merge(
|
|
6695
|
-
:operation => :"CoreApi.
|
|
6807
|
+
:operation => :"CoreApi.post_disk_disk_backup_policies",
|
|
6696
6808
|
:header_params => header_params,
|
|
6697
6809
|
:query_params => query_params,
|
|
6698
6810
|
:form_params => form_params,
|
|
@@ -6703,28 +6815,28 @@ module KatapultAPI
|
|
|
6703
6815
|
|
|
6704
6816
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
6705
6817
|
if @api_client.config.debugging
|
|
6706
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
6818
|
+
@api_client.config.logger.debug "API called: CoreApi#post_disk_disk_backup_policies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6707
6819
|
end
|
|
6708
6820
|
return data, status_code, headers
|
|
6709
6821
|
end
|
|
6710
6822
|
|
|
6711
6823
|
# @param [Hash] opts the optional parameters
|
|
6712
|
-
# @option opts [
|
|
6713
|
-
# @return [
|
|
6714
|
-
def
|
|
6715
|
-
data, _status_code, _headers =
|
|
6824
|
+
# @option opts [PostDnsZoneRecordsRequest] :post_dns_zone_records_request
|
|
6825
|
+
# @return [PostDnsZoneRecords200Response]
|
|
6826
|
+
def post_dns_zone_records(opts = {})
|
|
6827
|
+
data, _status_code, _headers = post_dns_zone_records_with_http_info(opts)
|
|
6716
6828
|
data
|
|
6717
6829
|
end
|
|
6718
6830
|
|
|
6719
6831
|
# @param [Hash] opts the optional parameters
|
|
6720
|
-
# @option opts [
|
|
6721
|
-
# @return [Array<(
|
|
6722
|
-
def
|
|
6832
|
+
# @option opts [PostDnsZoneRecordsRequest] :post_dns_zone_records_request
|
|
6833
|
+
# @return [Array<(PostDnsZoneRecords200Response, Integer, Hash)>] PostDnsZoneRecords200Response data, response status code and response headers
|
|
6834
|
+
def post_dns_zone_records_with_http_info(opts = {})
|
|
6723
6835
|
if @api_client.config.debugging
|
|
6724
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
6836
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.post_dns_zone_records ...'
|
|
6725
6837
|
end
|
|
6726
6838
|
# resource path
|
|
6727
|
-
local_var_path = '/
|
|
6839
|
+
local_var_path = '/dns_zones/:dns_zone/records'
|
|
6728
6840
|
|
|
6729
6841
|
# query parameters
|
|
6730
6842
|
query_params = opts[:query_params] || {}
|
|
@@ -6743,16 +6855,16 @@ module KatapultAPI
|
|
|
6743
6855
|
form_params = opts[:form_params] || {}
|
|
6744
6856
|
|
|
6745
6857
|
# http body (model)
|
|
6746
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
6858
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'post_dns_zone_records_request'])
|
|
6747
6859
|
|
|
6748
6860
|
# return_type
|
|
6749
|
-
return_type = opts[:debug_return_type] || '
|
|
6861
|
+
return_type = opts[:debug_return_type] || 'PostDnsZoneRecords200Response'
|
|
6750
6862
|
|
|
6751
6863
|
# auth_names
|
|
6752
6864
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
6753
6865
|
|
|
6754
6866
|
new_options = opts.merge(
|
|
6755
|
-
:operation => :"CoreApi.
|
|
6867
|
+
:operation => :"CoreApi.post_dns_zone_records",
|
|
6756
6868
|
:header_params => header_params,
|
|
6757
6869
|
:query_params => query_params,
|
|
6758
6870
|
:form_params => form_params,
|
|
@@ -6763,28 +6875,28 @@ module KatapultAPI
|
|
|
6763
6875
|
|
|
6764
6876
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
6765
6877
|
if @api_client.config.debugging
|
|
6766
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
6878
|
+
@api_client.config.logger.debug "API called: CoreApi#post_dns_zone_records\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6767
6879
|
end
|
|
6768
6880
|
return data, status_code, headers
|
|
6769
6881
|
end
|
|
6770
6882
|
|
|
6771
6883
|
# @param [Hash] opts the optional parameters
|
|
6772
|
-
# @option opts [
|
|
6773
|
-
# @return [
|
|
6774
|
-
def
|
|
6775
|
-
data, _status_code, _headers =
|
|
6884
|
+
# @option opts [DeleteDnsZoneRequest] :delete_dns_zone_request
|
|
6885
|
+
# @return [GetDnsZone200Response]
|
|
6886
|
+
def post_dns_zone_verify(opts = {})
|
|
6887
|
+
data, _status_code, _headers = post_dns_zone_verify_with_http_info(opts)
|
|
6776
6888
|
data
|
|
6777
6889
|
end
|
|
6778
6890
|
|
|
6779
6891
|
# @param [Hash] opts the optional parameters
|
|
6780
|
-
# @option opts [
|
|
6781
|
-
# @return [Array<(
|
|
6782
|
-
def
|
|
6892
|
+
# @option opts [DeleteDnsZoneRequest] :delete_dns_zone_request
|
|
6893
|
+
# @return [Array<(GetDnsZone200Response, Integer, Hash)>] GetDnsZone200Response data, response status code and response headers
|
|
6894
|
+
def post_dns_zone_verify_with_http_info(opts = {})
|
|
6783
6895
|
if @api_client.config.debugging
|
|
6784
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
6896
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.post_dns_zone_verify ...'
|
|
6785
6897
|
end
|
|
6786
6898
|
# resource path
|
|
6787
|
-
local_var_path = '/
|
|
6899
|
+
local_var_path = '/dns_zones/:dns_zone/verify'
|
|
6788
6900
|
|
|
6789
6901
|
# query parameters
|
|
6790
6902
|
query_params = opts[:query_params] || {}
|
|
@@ -6803,16 +6915,16 @@ module KatapultAPI
|
|
|
6803
6915
|
form_params = opts[:form_params] || {}
|
|
6804
6916
|
|
|
6805
6917
|
# http body (model)
|
|
6806
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
6918
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'delete_dns_zone_request'])
|
|
6807
6919
|
|
|
6808
6920
|
# return_type
|
|
6809
|
-
return_type = opts[:debug_return_type] || '
|
|
6921
|
+
return_type = opts[:debug_return_type] || 'GetDnsZone200Response'
|
|
6810
6922
|
|
|
6811
6923
|
# auth_names
|
|
6812
6924
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
6813
6925
|
|
|
6814
6926
|
new_options = opts.merge(
|
|
6815
|
-
:operation => :"CoreApi.
|
|
6927
|
+
:operation => :"CoreApi.post_dns_zone_verify",
|
|
6816
6928
|
:header_params => header_params,
|
|
6817
6929
|
:query_params => query_params,
|
|
6818
6930
|
:form_params => form_params,
|
|
@@ -6823,28 +6935,28 @@ module KatapultAPI
|
|
|
6823
6935
|
|
|
6824
6936
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
6825
6937
|
if @api_client.config.debugging
|
|
6826
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
6938
|
+
@api_client.config.logger.debug "API called: CoreApi#post_dns_zone_verify\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6827
6939
|
end
|
|
6828
6940
|
return data, status_code, headers
|
|
6829
6941
|
end
|
|
6830
6942
|
|
|
6831
6943
|
# @param [Hash] opts the optional parameters
|
|
6832
|
-
# @option opts [
|
|
6833
|
-
# @return [
|
|
6834
|
-
def
|
|
6835
|
-
data, _status_code, _headers =
|
|
6944
|
+
# @option opts [Object] :body
|
|
6945
|
+
# @return [PostInvalidateLinkedWebSession200Response]
|
|
6946
|
+
def post_invalidate_linked_web_session(opts = {})
|
|
6947
|
+
data, _status_code, _headers = post_invalidate_linked_web_session_with_http_info(opts)
|
|
6836
6948
|
data
|
|
6837
6949
|
end
|
|
6838
6950
|
|
|
6839
6951
|
# @param [Hash] opts the optional parameters
|
|
6840
|
-
# @option opts [
|
|
6841
|
-
# @return [Array<(
|
|
6842
|
-
def
|
|
6952
|
+
# @option opts [Object] :body
|
|
6953
|
+
# @return [Array<(PostInvalidateLinkedWebSession200Response, Integer, Hash)>] PostInvalidateLinkedWebSession200Response data, response status code and response headers
|
|
6954
|
+
def post_invalidate_linked_web_session_with_http_info(opts = {})
|
|
6843
6955
|
if @api_client.config.debugging
|
|
6844
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
6956
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.post_invalidate_linked_web_session ...'
|
|
6845
6957
|
end
|
|
6846
6958
|
# resource path
|
|
6847
|
-
local_var_path = '/
|
|
6959
|
+
local_var_path = '/invalidate_linked_web_session'
|
|
6848
6960
|
|
|
6849
6961
|
# query parameters
|
|
6850
6962
|
query_params = opts[:query_params] || {}
|
|
@@ -6863,16 +6975,16 @@ module KatapultAPI
|
|
|
6863
6975
|
form_params = opts[:form_params] || {}
|
|
6864
6976
|
|
|
6865
6977
|
# http body (model)
|
|
6866
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
6978
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
|
6867
6979
|
|
|
6868
6980
|
# return_type
|
|
6869
|
-
return_type = opts[:debug_return_type] || '
|
|
6981
|
+
return_type = opts[:debug_return_type] || 'PostInvalidateLinkedWebSession200Response'
|
|
6870
6982
|
|
|
6871
6983
|
# auth_names
|
|
6872
6984
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
6873
6985
|
|
|
6874
6986
|
new_options = opts.merge(
|
|
6875
|
-
:operation => :"CoreApi.
|
|
6987
|
+
:operation => :"CoreApi.post_invalidate_linked_web_session",
|
|
6876
6988
|
:header_params => header_params,
|
|
6877
6989
|
:query_params => query_params,
|
|
6878
6990
|
:form_params => form_params,
|
|
@@ -6883,28 +6995,28 @@ module KatapultAPI
|
|
|
6883
6995
|
|
|
6884
6996
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
6885
6997
|
if @api_client.config.debugging
|
|
6886
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
6998
|
+
@api_client.config.logger.debug "API called: CoreApi#post_invalidate_linked_web_session\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6887
6999
|
end
|
|
6888
7000
|
return data, status_code, headers
|
|
6889
7001
|
end
|
|
6890
7002
|
|
|
6891
7003
|
# @param [Hash] opts the optional parameters
|
|
6892
|
-
# @option opts [
|
|
6893
|
-
# @return [
|
|
6894
|
-
def
|
|
6895
|
-
data, _status_code, _headers =
|
|
7004
|
+
# @option opts [DeleteIpAddressRequest] :delete_ip_address_request
|
|
7005
|
+
# @return [Object]
|
|
7006
|
+
def post_ip_address_unallocate(opts = {})
|
|
7007
|
+
data, _status_code, _headers = post_ip_address_unallocate_with_http_info(opts)
|
|
6896
7008
|
data
|
|
6897
7009
|
end
|
|
6898
7010
|
|
|
6899
7011
|
# @param [Hash] opts the optional parameters
|
|
6900
|
-
# @option opts [
|
|
6901
|
-
# @return [Array<(
|
|
6902
|
-
def
|
|
7012
|
+
# @option opts [DeleteIpAddressRequest] :delete_ip_address_request
|
|
7013
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
7014
|
+
def post_ip_address_unallocate_with_http_info(opts = {})
|
|
6903
7015
|
if @api_client.config.debugging
|
|
6904
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
7016
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.post_ip_address_unallocate ...'
|
|
6905
7017
|
end
|
|
6906
7018
|
# resource path
|
|
6907
|
-
local_var_path = '/
|
|
7019
|
+
local_var_path = '/ip_addresses/:ip_address/unallocate'
|
|
6908
7020
|
|
|
6909
7021
|
# query parameters
|
|
6910
7022
|
query_params = opts[:query_params] || {}
|
|
@@ -6923,16 +7035,16 @@ module KatapultAPI
|
|
|
6923
7035
|
form_params = opts[:form_params] || {}
|
|
6924
7036
|
|
|
6925
7037
|
# http body (model)
|
|
6926
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
7038
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'delete_ip_address_request'])
|
|
6927
7039
|
|
|
6928
7040
|
# return_type
|
|
6929
|
-
return_type = opts[:debug_return_type] || '
|
|
7041
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
6930
7042
|
|
|
6931
7043
|
# auth_names
|
|
6932
7044
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
6933
7045
|
|
|
6934
7046
|
new_options = opts.merge(
|
|
6935
|
-
:operation => :"CoreApi.
|
|
7047
|
+
:operation => :"CoreApi.post_ip_address_unallocate",
|
|
6936
7048
|
:header_params => header_params,
|
|
6937
7049
|
:query_params => query_params,
|
|
6938
7050
|
:form_params => form_params,
|
|
@@ -6943,28 +7055,28 @@ module KatapultAPI
|
|
|
6943
7055
|
|
|
6944
7056
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
6945
7057
|
if @api_client.config.debugging
|
|
6946
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
7058
|
+
@api_client.config.logger.debug "API called: CoreApi#post_ip_address_unallocate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6947
7059
|
end
|
|
6948
7060
|
return data, status_code, headers
|
|
6949
7061
|
end
|
|
6950
7062
|
|
|
6951
7063
|
# @param [Hash] opts the optional parameters
|
|
6952
|
-
# @option opts [
|
|
6953
|
-
# @return [
|
|
6954
|
-
def
|
|
6955
|
-
data, _status_code, _headers =
|
|
7064
|
+
# @option opts [PostLoadBalancerRulesRequest] :post_load_balancer_rules_request
|
|
7065
|
+
# @return [PostLoadBalancerRules200Response]
|
|
7066
|
+
def post_load_balancer_rules(opts = {})
|
|
7067
|
+
data, _status_code, _headers = post_load_balancer_rules_with_http_info(opts)
|
|
6956
7068
|
data
|
|
6957
7069
|
end
|
|
6958
7070
|
|
|
6959
7071
|
# @param [Hash] opts the optional parameters
|
|
6960
|
-
# @option opts [
|
|
6961
|
-
# @return [Array<(
|
|
6962
|
-
def
|
|
7072
|
+
# @option opts [PostLoadBalancerRulesRequest] :post_load_balancer_rules_request
|
|
7073
|
+
# @return [Array<(PostLoadBalancerRules200Response, Integer, Hash)>] PostLoadBalancerRules200Response data, response status code and response headers
|
|
7074
|
+
def post_load_balancer_rules_with_http_info(opts = {})
|
|
6963
7075
|
if @api_client.config.debugging
|
|
6964
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
7076
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.post_load_balancer_rules ...'
|
|
6965
7077
|
end
|
|
6966
7078
|
# resource path
|
|
6967
|
-
local_var_path = '/
|
|
7079
|
+
local_var_path = '/load_balancers/:load_balancer/rules'
|
|
6968
7080
|
|
|
6969
7081
|
# query parameters
|
|
6970
7082
|
query_params = opts[:query_params] || {}
|
|
@@ -6983,16 +7095,16 @@ module KatapultAPI
|
|
|
6983
7095
|
form_params = opts[:form_params] || {}
|
|
6984
7096
|
|
|
6985
7097
|
# http body (model)
|
|
6986
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
7098
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'post_load_balancer_rules_request'])
|
|
6987
7099
|
|
|
6988
7100
|
# return_type
|
|
6989
|
-
return_type = opts[:debug_return_type] || '
|
|
7101
|
+
return_type = opts[:debug_return_type] || 'PostLoadBalancerRules200Response'
|
|
6990
7102
|
|
|
6991
7103
|
# auth_names
|
|
6992
7104
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
6993
7105
|
|
|
6994
7106
|
new_options = opts.merge(
|
|
6995
|
-
:operation => :"CoreApi.
|
|
7107
|
+
:operation => :"CoreApi.post_load_balancer_rules",
|
|
6996
7108
|
:header_params => header_params,
|
|
6997
7109
|
:query_params => query_params,
|
|
6998
7110
|
:form_params => form_params,
|
|
@@ -7003,28 +7115,28 @@ module KatapultAPI
|
|
|
7003
7115
|
|
|
7004
7116
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
7005
7117
|
if @api_client.config.debugging
|
|
7006
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
7118
|
+
@api_client.config.logger.debug "API called: CoreApi#post_load_balancer_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7007
7119
|
end
|
|
7008
7120
|
return data, status_code, headers
|
|
7009
7121
|
end
|
|
7010
7122
|
|
|
7011
7123
|
# @param [Hash] opts the optional parameters
|
|
7012
|
-
# @option opts [
|
|
7013
|
-
# @return [
|
|
7014
|
-
def
|
|
7015
|
-
data, _status_code, _headers =
|
|
7124
|
+
# @option opts [PostOrganizationAddressListsRequest] :post_organization_address_lists_request
|
|
7125
|
+
# @return [PostOrganizationAddressLists201Response]
|
|
7126
|
+
def post_organization_address_lists(opts = {})
|
|
7127
|
+
data, _status_code, _headers = post_organization_address_lists_with_http_info(opts)
|
|
7016
7128
|
data
|
|
7017
7129
|
end
|
|
7018
7130
|
|
|
7019
7131
|
# @param [Hash] opts the optional parameters
|
|
7020
|
-
# @option opts [
|
|
7021
|
-
# @return [Array<(
|
|
7022
|
-
def
|
|
7132
|
+
# @option opts [PostOrganizationAddressListsRequest] :post_organization_address_lists_request
|
|
7133
|
+
# @return [Array<(PostOrganizationAddressLists201Response, Integer, Hash)>] PostOrganizationAddressLists201Response data, response status code and response headers
|
|
7134
|
+
def post_organization_address_lists_with_http_info(opts = {})
|
|
7023
7135
|
if @api_client.config.debugging
|
|
7024
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.
|
|
7136
|
+
@api_client.config.logger.debug 'Calling API: CoreApi.post_organization_address_lists ...'
|
|
7025
7137
|
end
|
|
7026
7138
|
# resource path
|
|
7027
|
-
local_var_path = '/
|
|
7139
|
+
local_var_path = '/organizations/:organization/address_lists'
|
|
7028
7140
|
|
|
7029
7141
|
# query parameters
|
|
7030
7142
|
query_params = opts[:query_params] || {}
|
|
@@ -7043,16 +7155,16 @@ module KatapultAPI
|
|
|
7043
7155
|
form_params = opts[:form_params] || {}
|
|
7044
7156
|
|
|
7045
7157
|
# http body (model)
|
|
7046
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'
|
|
7158
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'post_organization_address_lists_request'])
|
|
7047
7159
|
|
|
7048
7160
|
# return_type
|
|
7049
|
-
return_type = opts[:debug_return_type] || '
|
|
7161
|
+
return_type = opts[:debug_return_type] || 'PostOrganizationAddressLists201Response'
|
|
7050
7162
|
|
|
7051
7163
|
# auth_names
|
|
7052
7164
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
7053
7165
|
|
|
7054
7166
|
new_options = opts.merge(
|
|
7055
|
-
:operation => :"CoreApi.
|
|
7167
|
+
:operation => :"CoreApi.post_organization_address_lists",
|
|
7056
7168
|
:header_params => header_params,
|
|
7057
7169
|
:query_params => query_params,
|
|
7058
7170
|
:form_params => form_params,
|
|
@@ -7063,7 +7175,7 @@ module KatapultAPI
|
|
|
7063
7175
|
|
|
7064
7176
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
7065
7177
|
if @api_client.config.debugging
|
|
7066
|
-
@api_client.config.logger.debug "API called: CoreApi#
|
|
7178
|
+
@api_client.config.logger.debug "API called: CoreApi#post_organization_address_lists\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7067
7179
|
end
|
|
7068
7180
|
return data, status_code, headers
|
|
7069
7181
|
end
|
|
@@ -7084,7 +7196,7 @@ module KatapultAPI
|
|
|
7084
7196
|
@api_client.config.logger.debug 'Calling API: CoreApi.post_organization_dns_zones ...'
|
|
7085
7197
|
end
|
|
7086
7198
|
# resource path
|
|
7087
|
-
local_var_path = '/organizations/:organization/
|
|
7199
|
+
local_var_path = '/organizations/:organization/dns_zones'
|
|
7088
7200
|
|
|
7089
7201
|
# query parameters
|
|
7090
7202
|
query_params = opts[:query_params] || {}
|
|
@@ -7250,7 +7362,7 @@ module KatapultAPI
|
|
|
7250
7362
|
|
|
7251
7363
|
# @param [Hash] opts the optional parameters
|
|
7252
7364
|
# @option opts [PostOrganizationLoadBalancersRequest] :post_organization_load_balancers_request
|
|
7253
|
-
# @return [
|
|
7365
|
+
# @return [PostOrganizationLoadBalancers201Response]
|
|
7254
7366
|
def post_organization_load_balancers(opts = {})
|
|
7255
7367
|
data, _status_code, _headers = post_organization_load_balancers_with_http_info(opts)
|
|
7256
7368
|
data
|
|
@@ -7258,7 +7370,7 @@ module KatapultAPI
|
|
|
7258
7370
|
|
|
7259
7371
|
# @param [Hash] opts the optional parameters
|
|
7260
7372
|
# @option opts [PostOrganizationLoadBalancersRequest] :post_organization_load_balancers_request
|
|
7261
|
-
# @return [Array<(
|
|
7373
|
+
# @return [Array<(PostOrganizationLoadBalancers201Response, Integer, Hash)>] PostOrganizationLoadBalancers201Response data, response status code and response headers
|
|
7262
7374
|
def post_organization_load_balancers_with_http_info(opts = {})
|
|
7263
7375
|
if @api_client.config.debugging
|
|
7264
7376
|
@api_client.config.logger.debug 'Calling API: CoreApi.post_organization_load_balancers ...'
|
|
@@ -7286,7 +7398,7 @@ module KatapultAPI
|
|
|
7286
7398
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'post_organization_load_balancers_request'])
|
|
7287
7399
|
|
|
7288
7400
|
# return_type
|
|
7289
|
-
return_type = opts[:debug_return_type] || '
|
|
7401
|
+
return_type = opts[:debug_return_type] || 'PostOrganizationLoadBalancers201Response'
|
|
7290
7402
|
|
|
7291
7403
|
# auth_names
|
|
7292
7404
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
@@ -7310,7 +7422,7 @@ module KatapultAPI
|
|
|
7310
7422
|
|
|
7311
7423
|
# @param [Hash] opts the optional parameters
|
|
7312
7424
|
# @option opts [PostOrganizationManagedRequest] :post_organization_managed_request
|
|
7313
|
-
# @return [
|
|
7425
|
+
# @return [GetOrganization200Response]
|
|
7314
7426
|
def post_organization_managed(opts = {})
|
|
7315
7427
|
data, _status_code, _headers = post_organization_managed_with_http_info(opts)
|
|
7316
7428
|
data
|
|
@@ -7318,7 +7430,7 @@ module KatapultAPI
|
|
|
7318
7430
|
|
|
7319
7431
|
# @param [Hash] opts the optional parameters
|
|
7320
7432
|
# @option opts [PostOrganizationManagedRequest] :post_organization_managed_request
|
|
7321
|
-
# @return [Array<(
|
|
7433
|
+
# @return [Array<(GetOrganization200Response, Integer, Hash)>] GetOrganization200Response data, response status code and response headers
|
|
7322
7434
|
def post_organization_managed_with_http_info(opts = {})
|
|
7323
7435
|
if @api_client.config.debugging
|
|
7324
7436
|
@api_client.config.logger.debug 'Calling API: CoreApi.post_organization_managed ...'
|
|
@@ -7346,7 +7458,7 @@ module KatapultAPI
|
|
|
7346
7458
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'post_organization_managed_request'])
|
|
7347
7459
|
|
|
7348
7460
|
# return_type
|
|
7349
|
-
return_type = opts[:debug_return_type] || '
|
|
7461
|
+
return_type = opts[:debug_return_type] || 'GetOrganization200Response'
|
|
7350
7462
|
|
|
7351
7463
|
# auth_names
|
|
7352
7464
|
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
@@ -7788,66 +7900,6 @@ module KatapultAPI
|
|
|
7788
7900
|
return data, status_code, headers
|
|
7789
7901
|
end
|
|
7790
7902
|
|
|
7791
|
-
# @param [Hash] opts the optional parameters
|
|
7792
|
-
# @option opts [PostOrganizationsOrganizationDnsZonesRequest] :post_organizations_organization_dns_zones_request
|
|
7793
|
-
# @return [PostOrganizationsOrganizationDnsZones201Response]
|
|
7794
|
-
def post_organizations_organization_dns_zones(opts = {})
|
|
7795
|
-
data, _status_code, _headers = post_organizations_organization_dns_zones_with_http_info(opts)
|
|
7796
|
-
data
|
|
7797
|
-
end
|
|
7798
|
-
|
|
7799
|
-
# @param [Hash] opts the optional parameters
|
|
7800
|
-
# @option opts [PostOrganizationsOrganizationDnsZonesRequest] :post_organizations_organization_dns_zones_request
|
|
7801
|
-
# @return [Array<(PostOrganizationsOrganizationDnsZones201Response, Integer, Hash)>] PostOrganizationsOrganizationDnsZones201Response data, response status code and response headers
|
|
7802
|
-
def post_organizations_organization_dns_zones_with_http_info(opts = {})
|
|
7803
|
-
if @api_client.config.debugging
|
|
7804
|
-
@api_client.config.logger.debug 'Calling API: CoreApi.post_organizations_organization_dns_zones ...'
|
|
7805
|
-
end
|
|
7806
|
-
# resource path
|
|
7807
|
-
local_var_path = '/organizations/:organization/dns_zones'
|
|
7808
|
-
|
|
7809
|
-
# query parameters
|
|
7810
|
-
query_params = opts[:query_params] || {}
|
|
7811
|
-
|
|
7812
|
-
# header parameters
|
|
7813
|
-
header_params = opts[:header_params] || {}
|
|
7814
|
-
# HTTP header 'Accept' (if needed)
|
|
7815
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
7816
|
-
# HTTP header 'Content-Type'
|
|
7817
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
|
7818
|
-
if !content_type.nil?
|
|
7819
|
-
header_params['Content-Type'] = content_type
|
|
7820
|
-
end
|
|
7821
|
-
|
|
7822
|
-
# form parameters
|
|
7823
|
-
form_params = opts[:form_params] || {}
|
|
7824
|
-
|
|
7825
|
-
# http body (model)
|
|
7826
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'post_organizations_organization_dns_zones_request'])
|
|
7827
|
-
|
|
7828
|
-
# return_type
|
|
7829
|
-
return_type = opts[:debug_return_type] || 'PostOrganizationsOrganizationDnsZones201Response'
|
|
7830
|
-
|
|
7831
|
-
# auth_names
|
|
7832
|
-
auth_names = opts[:debug_auth_names] || ['Authenticator']
|
|
7833
|
-
|
|
7834
|
-
new_options = opts.merge(
|
|
7835
|
-
:operation => :"CoreApi.post_organizations_organization_dns_zones",
|
|
7836
|
-
:header_params => header_params,
|
|
7837
|
-
:query_params => query_params,
|
|
7838
|
-
:form_params => form_params,
|
|
7839
|
-
:body => post_body,
|
|
7840
|
-
:auth_names => auth_names,
|
|
7841
|
-
:return_type => return_type
|
|
7842
|
-
)
|
|
7843
|
-
|
|
7844
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
7845
|
-
if @api_client.config.debugging
|
|
7846
|
-
@api_client.config.logger.debug "API called: CoreApi#post_organizations_organization_dns_zones\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7847
|
-
end
|
|
7848
|
-
return data, status_code, headers
|
|
7849
|
-
end
|
|
7850
|
-
|
|
7851
7903
|
# @param [Hash] opts the optional parameters
|
|
7852
7904
|
# @option opts [PostSecurityGroupRulesRequest] :post_security_group_rules_request
|
|
7853
7905
|
# @return [PostSecurityGroupRules200Response]
|