fog 1.23.0 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +275 -2
- data/CONTRIBUTORS.md +27 -0
- data/fog.gemspec +5 -2
- data/lib/fog/atmos/models/storage/files.rb +1 -1
- data/lib/fog/atmos/requests/storage/get_namespace.rb +6 -1
- data/lib/fog/aws/beanstalk.rb +29 -19
- data/lib/fog/aws/cdn.rb +14 -1
- data/lib/fog/aws/cloud_formation.rb +29 -19
- data/lib/fog/aws/compute.rb +20 -4
- data/lib/fog/aws/data_pipeline.rb +14 -4
- data/lib/fog/aws/dns.rb +19 -1
- data/lib/fog/aws/dynamodb.rb +14 -1
- data/lib/fog/aws/elasticache.rb +33 -23
- data/lib/fog/aws/emr.rb +20 -13
- data/lib/fog/aws/glacier.rb +13 -1
- data/lib/fog/aws/iam.rb +3 -0
- data/lib/fog/aws/models/auto_scaling/configuration.rb +1 -0
- data/lib/fog/aws/models/auto_scaling/instance.rb +1 -1
- data/lib/fog/aws/models/compute/server.rb +1 -2
- data/lib/fog/aws/models/compute/servers.rb +2 -2
- data/lib/fog/aws/models/dns/record.rb +19 -13
- data/lib/fog/aws/models/storage/file.rb +11 -2
- data/lib/fog/aws/parsers/compute/spot_instance_requests.rb +4 -2
- data/lib/fog/aws/parsers/dns/create_health_check.rb +0 -0
- data/lib/fog/aws/parsers/dns/health_check.rb +33 -0
- data/lib/fog/aws/parsers/dns/list_health_checks.rb +41 -0
- data/lib/fog/aws/parsers/dns/list_resource_record_sets.rb +8 -2
- data/lib/fog/aws/parsers/iam/get_account_password_policy.rb +26 -0
- data/lib/fog/aws/rds.rb +39 -29
- data/lib/fog/aws/redshift.rb +16 -4
- data/lib/fog/aws/region_methods.rb +2 -2
- data/lib/fog/aws/requests/auto_scaling/create_launch_configuration.rb +3 -0
- data/lib/fog/aws/requests/compute/describe_instances.rb +3 -0
- data/lib/fog/aws/requests/dns/change_resource_record_sets.rb +20 -1
- data/lib/fog/aws/requests/dns/create_health_check.rb +64 -0
- data/lib/fog/aws/requests/dns/delete_health_check.rb +24 -0
- data/lib/fog/aws/requests/dns/get_health_check.rb +41 -0
- data/lib/fog/aws/requests/dns/list_health_checks.rb +36 -0
- data/lib/fog/aws/requests/dns/list_hosted_zones.rb +1 -1
- data/lib/fog/aws/requests/iam/delete_account_password_policy.rb +36 -0
- data/lib/fog/aws/requests/iam/get_account_password_policy.rb +36 -0
- data/lib/fog/aws/requests/iam/update_account_password_policy.rb +56 -0
- data/lib/fog/aws/requests/storage/head_bucket.rb +38 -0
- data/lib/fog/aws/ses.rb +31 -23
- data/lib/fog/aws/simpledb.rb +14 -4
- data/lib/fog/aws/sns.rb +14 -4
- data/lib/fog/aws/sqs.rb +17 -7
- data/lib/fog/aws/storage.rb +18 -9
- data/lib/fog/aws/sts.rb +29 -19
- data/lib/fog/bin/google.rb +16 -4
- data/lib/fog/cloudstack/compute.rb +49 -19
- data/lib/fog/cloudstack/requests/compute/activate_project.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/add_account_to_project.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/add_baremetal_dhcp.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/add_baremetal_host.rb +15 -11
- data/lib/fog/cloudstack/requests/compute/add_baremetal_pxe_kick_start_server.rb +15 -11
- data/lib/fog/cloudstack/requests/compute/add_baremetal_pxe_ping_server.rb +17 -13
- data/lib/fog/cloudstack/requests/compute/add_big_switch_vns_device.rb +26 -0
- data/lib/fog/cloudstack/requests/compute/add_cisco_asa1000v_resource.rb +13 -9
- data/lib/fog/cloudstack/requests/compute/add_cisco_vnmc_resource.rb +13 -9
- data/lib/fog/cloudstack/requests/compute/add_cluster.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/add_external_firewall.rb +13 -9
- data/lib/fog/cloudstack/requests/compute/add_external_load_balancer.rb +13 -9
- data/lib/fog/cloudstack/requests/compute/add_f5_load_balancer.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/add_guest_os.rb +26 -0
- data/lib/fog/cloudstack/requests/compute/add_guest_os_mapping.rb +27 -0
- data/lib/fog/cloudstack/requests/compute/add_host.rb +15 -11
- data/lib/fog/cloudstack/requests/compute/add_image_store.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/add_ip_to_nic.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/add_ldap_configuration.rb +26 -0
- data/lib/fog/cloudstack/requests/compute/add_netscaler_load_balancer.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/add_network_device.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/add_network_service_provider.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/add_nic_to_virtual_machine.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/add_nicira_nvp_device.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/add_open_daylight_controller.rb +28 -0
- data/lib/fog/cloudstack/requests/compute/add_palo_alto_firewall.rb +29 -0
- data/lib/fog/cloudstack/requests/compute/add_region.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/add_resource_detail.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/add_s3.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/add_secondary_storage.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/add_srx_firewall.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/add_stratosphere_ssp.rb +27 -0
- data/lib/fog/cloudstack/requests/compute/add_swift.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/add_traffic_monitor.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/add_traffic_type.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/add_ucs_manager.rb +13 -9
- data/lib/fog/cloudstack/requests/compute/add_vmware_dc.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/add_vpn_user.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/archive_alerts.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/archive_events.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/assign_cert_to_load_balancer.rb +26 -0
- data/lib/fog/cloudstack/requests/compute/assign_to_global_load_balancer_rule.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/assign_to_load_balancer_rule.rb +10 -7
- data/lib/fog/cloudstack/requests/compute/assign_virtual_machine.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/associate_ip_address.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/associate_ucs_profile_to_blade.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/attach_iso.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/attach_volume.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/authorize_security_group_egress.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/authorize_security_group_ingress.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/cancel_host_maintenance.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/cancel_storage_maintenance.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/change_service_for_router.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/change_service_for_system_vm.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/change_service_for_virtual_machine.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/clean_vmreservations.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/configure_f5_load_balancer.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/configure_internal_load_balancer_element.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/configure_netscaler_load_balancer.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/configure_ovs_element.rb +26 -0
- data/lib/fog/cloudstack/requests/compute/configure_palo_alto_firewall.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/configure_srx_firewall.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/configure_virtual_router_element.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/copy_iso.rb +11 -8
- data/lib/fog/cloudstack/requests/compute/copy_template.rb +11 -8
- data/lib/fog/cloudstack/requests/compute/create_account.rb +15 -11
- data/lib/fog/cloudstack/requests/compute/create_affinity_group.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/create_auto_scale_policy.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/create_auto_scale_vm_group.rb +15 -11
- data/lib/fog/cloudstack/requests/compute/create_auto_scale_vm_profile.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/create_condition.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/create_counter.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/create_disk_offering.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/create_domain.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_egress_firewall_rule.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/create_firewall_rule.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/create_global_load_balancer_rule.rb +13 -9
- data/lib/fog/cloudstack/requests/compute/create_instance_group.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_internal_load_balancer_element.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_ip_forwarding_rule.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/create_lb_health_check_policy.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_lb_stickiness_policy.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/create_load_balancer.rb +16 -12
- data/lib/fog/cloudstack/requests/compute/create_load_balancer_rule.rb +13 -9
- data/lib/fog/cloudstack/requests/compute/create_network.rb +13 -9
- data/lib/fog/cloudstack/requests/compute/create_network_acl.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_network_acl_list.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/create_network_offering.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/create_physical_network.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/create_pod.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/create_port_forwarding_rule.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/create_portable_ip_range.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/create_private_gateway.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/create_project.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/create_remote_access_vpn.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_secondary_staging_store.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_security_group.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_service_instance.rb +30 -0
- data/lib/fog/cloudstack/requests/compute/create_service_offering.rb +11 -10
- data/lib/fog/cloudstack/requests/compute/create_snapshot.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_snapshot_policy.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/create_ssh_key_pair.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_static_route.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/create_storage_network_ip_range.rb +13 -9
- data/lib/fog/cloudstack/requests/compute/create_storage_pool.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/create_tags.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/create_template.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/create_user.rb +15 -11
- data/lib/fog/cloudstack/requests/compute/create_virtual_router_element.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_vlan_ip_range.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/create_vm_snapshot.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_volume.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_vpc.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/create_vpcoffering.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/create_vpn_connection.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/create_vpn_customer_gateway.rb +14 -10
- data/lib/fog/cloudstack/requests/compute/create_vpn_gateway.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/create_zone.rb +13 -9
- data/lib/fog/cloudstack/requests/compute/dedicate_cluster.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/dedicate_guest_vlan_range.rb +13 -9
- data/lib/fog/cloudstack/requests/compute/dedicate_host.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/dedicate_pod.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/dedicate_public_ip_range.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/dedicate_zone.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/delete_account.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_account_from_project.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/delete_affinity_group.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/delete_alerts.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/delete_auto_scale_policy.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_auto_scale_vm_group.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_auto_scale_vm_profile.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_big_switch_vns_device.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/delete_cisco_asa1000v_resource.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_cisco_nexus_vsm.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_cisco_vnmc_resource.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_cluster.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_condition.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_counter.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_disk_offering.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_domain.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_egress_firewall_rule.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_events.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/delete_external_firewall.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_external_load_balancer.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_f5_load_balancer.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_firewall_rule.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_global_load_balancer_rule.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_host.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_image_store.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_instance_group.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_ip_forwarding_rule.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_iso.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_lb_health_check_policy.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_lb_stickiness_policy.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_ldap_configuration.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/delete_load_balancer.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_load_balancer_rule.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_netscaler_load_balancer.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_network.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_network_acl.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_network_acl_list.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_network_device.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_network_offering.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_network_service_provider.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_nicira_nvp_device.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_open_daylight_controller.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/delete_palo_alto_firewall.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/delete_physical_network.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_pod.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_port_forwarding_rule.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_portable_ip_range.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_private_gateway.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_project.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_project_invitation.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_remote_access_vpn.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_secondary_staging_store.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_security_group.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/delete_service_offering.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_snapshot.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_snapshot_policies.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/delete_srx_firewall.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_ssh_key_pair.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_ssl_cert.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/delete_static_route.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_storage_network_ip_range.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_storage_pool.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_tags.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/delete_template.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_traffic_monitor.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_traffic_type.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_user.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_vlan_ip_range.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_vm_snapshot.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_volume.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_vpc.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_vpcoffering.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_vpn_connection.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_vpn_customer_gateway.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_vpn_gateway.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/delete_zone.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/deploy_virtual_machine.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/destroy_router.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/destroy_system_vm.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/destroy_virtual_machine.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/detach_iso.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/detach_volume.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/disable_account.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/disable_auto_scale_vm_group.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/disable_cisco_nexus_vsm.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/disable_static_nat.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/disable_user.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/disassociate_ip_address.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/enable_account.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/enable_auto_scale_vm_group.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/enable_cisco_nexus_vsm.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/enable_static_nat.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/enable_storage_maintenance.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/enable_user.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/expunge_virtual_machine.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/extract_iso.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/extract_template.rb +50 -7
- data/lib/fog/cloudstack/requests/compute/extract_volume.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/find_hosts_for_migration.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/generate_alert.rb +27 -0
- data/lib/fog/cloudstack/requests/compute/generate_usage_records.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/get_api_limit.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/get_cloud_identifier.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/get_user.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/get_virtual_machine_user_data.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/get_vm_password.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/import_ldap_users.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/ldap_create_account.rb +26 -0
- data/lib/fog/cloudstack/requests/compute/list_accounts.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_affinity_group_types.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_affinity_groups.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_alerts.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_apis.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_async_jobs.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_auto_scale_policies.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_auto_scale_vm_groups.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_auto_scale_vm_profiles.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_baremetal_dhcp.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_baremetal_pxe_servers.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_big_switch_vns_devices.rb +24 -0
- data/lib/fog/cloudstack/requests/compute/list_capabilities.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_capacity.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_cisco_asa1000v_resources.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_cisco_nexus_vsms.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_cisco_vnmc_resources.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_clusters.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_conditions.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_configurations.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_counters.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_dedicated_clusters.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_dedicated_guest_vlan_ranges.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_dedicated_hosts.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_dedicated_pods.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_dedicated_zones.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_deployment_planners.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_disk_offerings.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_domain_children.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_domains.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_egress_firewall_rules.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_event_types.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_events.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_external_firewalls.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_external_load_balancers.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_f5_load_balancer_networks.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_f5_load_balancers.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_firewall_rules.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_global_load_balancer_rules.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_guest_os_mapping.rb +24 -0
- data/lib/fog/cloudstack/requests/compute/list_hosts.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_hypervisor_capabilities.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_hypervisors.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_image_stores.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_instance_groups.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_internal_load_balancer_elements.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_internal_load_balancer_vms.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_ip_forwarding_rules.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_iso_permissions.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_isos.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_lb_health_check_policies.rb +9 -6
- data/lib/fog/cloudstack/requests/compute/list_lb_stickiness_policies.rb +9 -6
- data/lib/fog/cloudstack/requests/compute/list_ldap_configurations.rb +24 -0
- data/lib/fog/cloudstack/requests/compute/list_ldap_users.rb +24 -0
- data/lib/fog/cloudstack/requests/compute/list_load_balancer_rule_instances.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_load_balancer_rules.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_load_balancers.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_netscaler_load_balancer_networks.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_netscaler_load_balancers.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_network_acl_lists.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_network_acls.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_network_device.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_network_isolation_methods.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_network_offerings.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_network_service_providers.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_networks.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_nicira_nvp_device_networks.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_nicira_nvp_devices.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_nics.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_open_daylight_controllers.rb +24 -0
- data/lib/fog/cloudstack/requests/compute/list_os_categories.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_os_types.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_ovs_elements.rb +24 -0
- data/lib/fog/cloudstack/requests/compute/list_palo_alto_firewall_networks.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/list_palo_alto_firewalls.rb +24 -0
- data/lib/fog/cloudstack/requests/compute/list_physical_networks.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_pods.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_portable_ip_ranges.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_private_gateways.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_project_accounts.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_project_invitations.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_projects.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_public_ip_addresses.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_regions.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_remote_access_vpns.rb +9 -6
- data/lib/fog/cloudstack/requests/compute/list_resource_details.rb +10 -5
- data/lib/fog/cloudstack/requests/compute/list_resource_limits.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_routers.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_s3s.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_secondary_staging_stores.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_security_groups.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_service_offerings.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_snapshot_policies.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_snapshots.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_srx_firewall_networks.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_srx_firewalls.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_ssh_key_pairs.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_ssl_certs.rb +24 -0
- data/lib/fog/cloudstack/requests/compute/list_static_routes.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_storage_network_ip_range.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_storage_pools.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_storage_providers.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_supported_network_services.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_swifts.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_system_vms.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_tags.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_template_permissions.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_templates.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_traffic_monitors.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_traffic_type_implementors.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_traffic_types.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_ucs_blades.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_ucs_managers.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_ucs_profiles.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_usage_records.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/list_usage_types.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_users.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_virtual_machines.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_virtual_router_elements.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_vlan_ip_ranges.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_vm_snapshot.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_vmware_dcs.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/list_volumes.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_vpc_offerings.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_vpcs.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_vpn_connections.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_vpn_customer_gateways.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_vpn_gateways.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_vpn_users.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/list_zones.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/lock_account.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/lock_user.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/mark_default_zone_for_account.rb +12 -8
- data/lib/fog/cloudstack/requests/compute/migrate_system_vm.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/migrate_virtual_machine.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/migrate_virtual_machine_with_volume.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/migrate_volume.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/prepare_host_for_maintenance.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/prepare_template.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/query_async_job_result.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/reboot_router.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/reboot_system_vm.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/reboot_virtual_machine.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/reconnect_host.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/recover_virtual_machine.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/register_iso.rb +13 -9
- data/lib/fog/cloudstack/requests/compute/register_ssh_key_pair.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/register_template.rb +16 -12
- data/lib/fog/cloudstack/requests/compute/register_user_keys.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/release_dedicated_cluster.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/release_dedicated_guest_vlan_range.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/release_dedicated_host.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/release_dedicated_pod.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/release_dedicated_zone.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/release_host_reservation.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/release_public_ip_range.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/remove_cert_from_load_balancer.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/remove_from_global_load_balancer_rule.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/remove_from_load_balancer_rule.rb +10 -7
- data/lib/fog/cloudstack/requests/compute/remove_guest_os.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/remove_guest_os_mapping.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/remove_ip_from_nic.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/remove_nic_from_virtual_machine.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/remove_region.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/remove_resource_detail.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/remove_vmware_dc.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/remove_vpn_user.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/replace_network_acl_list.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/reset_api_limit.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/reset_password_for_virtual_machine.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/reset_ssh_key_for_virtual_machine.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/reset_vpn_connection.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/resize_volume.rb +10 -5
- data/lib/fog/cloudstack/requests/compute/restart_network.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/restart_vpc.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/restore_virtual_machine.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/revert_snapshot.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/revert_to_vm_snapshot.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/revoke_security_group_egress.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/revoke_security_group_ingress.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/scale_system_vm.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/scale_virtual_machine.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/start_internal_load_balancer_vm.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/start_router.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/start_system_vm.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/start_virtual_machine.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/stop_internal_load_balancer_vm.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/stop_router.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/stop_system_vm.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/stop_virtual_machine.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/suspend_project.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_account.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_auto_scale_policy.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_auto_scale_vm_group.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_auto_scale_vm_profile.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_cloud_to_use_object_store.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/update_cluster.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_configuration.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_default_nic_for_virtual_machine.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/update_disk_offering.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_domain.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_egress_firewall_rule.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/update_firewall_rule.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/update_global_load_balancer_rule.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_guest_os.rb +26 -0
- data/lib/fog/cloudstack/requests/compute/update_guest_os_mapping.rb +26 -0
- data/lib/fog/cloudstack/requests/compute/update_host.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_host_password.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/update_hypervisor_capabilities.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/update_instance_group.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_ip_address.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/update_iso.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_iso_permissions.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_lb_health_check_policy.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/update_lb_stickiness_policy.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/update_load_balancer.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/update_load_balancer_rule.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_network.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_network_acl_item.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_network_acl_list.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/update_network_offering.rb +9 -5
- data/lib/fog/cloudstack/requests/compute/update_network_service_provider.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_physical_network.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_pod.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_port_forwarding_rule.rb +10 -9
- data/lib/fog/cloudstack/requests/compute/update_project.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_project_invitation.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_region.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_remote_access_vpn.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/update_resource_count.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_resource_limit.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_service_offering.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_storage_network_ip_range.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_storage_pool.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_template.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_template_permissions.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_traffic_type.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_user.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_virtual_machine.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_vm_affinity_group.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_volume.rb +9 -7
- data/lib/fog/cloudstack/requests/compute/update_vpc.rb +10 -7
- data/lib/fog/cloudstack/requests/compute/update_vpcoffering.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/update_vpn_connection.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/update_vpn_customer_gateway.rb +15 -11
- data/lib/fog/cloudstack/requests/compute/update_vpn_gateway.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/update_zone.rb +10 -6
- data/lib/fog/cloudstack/requests/compute/upgrade_router_template.rb +24 -0
- data/lib/fog/cloudstack/requests/compute/upload_custom_certificate.rb +11 -7
- data/lib/fog/cloudstack/requests/compute/upload_ssl_cert.rb +26 -0
- data/lib/fog/cloudstack/requests/compute/upload_volume.rb +13 -9
- data/lib/fog/digitalocean/compute.rb +1 -1
- data/lib/fog/dynect/dns.rb +11 -10
- data/lib/fog/google.rb +3 -0
- data/lib/fog/google/compute.rb +247 -146
- data/lib/fog/google/core.rb +160 -2
- data/lib/fog/google/dns.rb +63 -0
- data/lib/fog/google/examples/backend_services.rb +22 -0
- data/lib/fog/google/examples/create.rb +1 -1
- data/lib/fog/google/examples/eric-fail.rb +1 -1
- data/lib/fog/google/examples/image_create.rb +1 -1
- data/lib/fog/google/examples/l7_load_balance.rb +73 -0
- data/lib/fog/google/examples/monitoring/metric_descriptors.rb +11 -0
- data/lib/fog/google/examples/monitoring/timeseries_collection.rb +15 -0
- data/lib/fog/google/examples/monitoring/timeseries_descriptors.rb +15 -0
- data/lib/fog/google/examples/sql/flags.rb +7 -0
- data/lib/fog/google/examples/sql/instances.rb +38 -0
- data/lib/fog/google/examples/sql/operations.rb +20 -0
- data/lib/fog/google/examples/sql/ssl_certs.rb +28 -0
- data/lib/fog/google/examples/sql/tiers.rb +7 -0
- data/lib/fog/google/models/compute/backend_service.rb +92 -0
- data/lib/fog/google/models/compute/backend_services.rb +22 -0
- data/lib/fog/google/models/compute/global_forwarding_rule.rb +86 -0
- data/lib/fog/google/models/compute/global_forwarding_rules.rb +23 -0
- data/lib/fog/google/models/compute/http_health_checks.rb +5 -1
- data/lib/fog/google/models/compute/images.rb +7 -4
- data/lib/fog/google/models/compute/resource_view.rb +116 -0
- data/lib/fog/google/models/compute/resource_views.rb +57 -0
- data/lib/fog/google/models/compute/target_http_proxies.rb +22 -0
- data/lib/fog/google/models/compute/target_http_proxy.rb +75 -0
- data/lib/fog/google/models/compute/target_instance.rb +74 -0
- data/lib/fog/google/models/compute/target_instances.rb +28 -0
- data/lib/fog/google/models/compute/target_pool.rb +4 -0
- data/lib/fog/google/models/compute/target_pools.rb +2 -2
- data/lib/fog/google/models/compute/url_map.rb +95 -0
- data/lib/fog/google/models/compute/url_maps.rb +22 -0
- data/lib/fog/google/models/monitoring/metric_descriptor.rb +20 -0
- data/lib/fog/google/models/monitoring/metric_descriptors.rb +28 -0
- data/lib/fog/google/models/monitoring/timeseries.rb +17 -0
- data/lib/fog/google/models/monitoring/timeseries_collection.rb +31 -0
- data/lib/fog/google/models/monitoring/timeseries_descriptor.rb +20 -0
- data/lib/fog/google/models/monitoring/timeseries_descriptors.rb +31 -0
- data/lib/fog/google/models/sql/backup_run.rb +34 -0
- data/lib/fog/google/models/sql/backup_runs.rb +38 -0
- data/lib/fog/google/models/sql/flag.rb +22 -0
- data/lib/fog/google/models/sql/flags.rb +21 -0
- data/lib/fog/google/models/sql/instance.rb +353 -0
- data/lib/fog/google/models/sql/instances.rb +39 -0
- data/lib/fog/google/models/sql/operation.rb +61 -0
- data/lib/fog/google/models/sql/operations.rb +49 -0
- data/lib/fog/google/models/sql/ssl_cert.rb +73 -0
- data/lib/fog/google/models/sql/ssl_certs.rb +49 -0
- data/lib/fog/google/models/sql/tier.rb +20 -0
- data/lib/fog/google/models/sql/tiers.rb +21 -0
- data/lib/fog/google/models/storage/files.rb +5 -1
- data/lib/fog/google/monitoring.rb +89 -0
- data/lib/fog/google/requests/compute/add_backend_service_backends.rb +29 -0
- data/lib/fog/google/requests/compute/add_region_view_resources.rb +27 -0
- data/lib/fog/google/requests/compute/add_server_access_config.rb +1 -2
- data/lib/fog/google/requests/compute/add_target_pool_health_checks.rb +1 -2
- data/lib/fog/google/requests/compute/add_target_pool_instances.rb +1 -2
- data/lib/fog/google/requests/compute/add_url_map_host_rules.rb +25 -0
- data/lib/fog/google/requests/compute/add_url_map_path_matchers.rb +29 -0
- data/lib/fog/google/requests/compute/add_zone_view_resources.rb +27 -0
- data/lib/fog/google/requests/compute/attach_disk.rb +1 -2
- data/lib/fog/google/requests/compute/delete_address.rb +1 -2
- data/lib/fog/google/requests/compute/delete_backend_service.rb +43 -0
- data/lib/fog/google/requests/compute/delete_disk.rb +2 -3
- data/lib/fog/google/requests/compute/delete_firewall.rb +1 -2
- data/lib/fog/google/requests/compute/delete_forwarding_rule.rb +22 -4
- data/lib/fog/google/requests/compute/delete_global_forwarding_rule.rb +48 -0
- data/lib/fog/google/requests/compute/delete_global_operation.rb +1 -2
- data/lib/fog/google/requests/compute/delete_http_health_check.rb +20 -3
- data/lib/fog/google/requests/compute/delete_image.rb +21 -3
- data/lib/fog/google/requests/compute/delete_network.rb +1 -2
- data/lib/fog/google/requests/compute/delete_region_operation.rb +1 -2
- data/lib/fog/google/requests/compute/delete_region_view.rb +24 -0
- data/lib/fog/google/requests/compute/delete_route.rb +1 -2
- data/lib/fog/google/requests/compute/delete_server.rb +2 -3
- data/lib/fog/google/requests/compute/delete_server_access_config.rb +1 -2
- data/lib/fog/google/requests/compute/delete_snapshot.rb +1 -2
- data/lib/fog/google/requests/compute/delete_target_http_proxy.rb +43 -0
- data/lib/fog/google/requests/compute/delete_target_instance.rb +48 -0
- data/lib/fog/google/requests/compute/delete_target_pool.rb +22 -4
- data/lib/fog/google/requests/compute/delete_url_map.rb +43 -0
- data/lib/fog/google/requests/compute/delete_zone_operation.rb +1 -2
- data/lib/fog/google/requests/compute/delete_zone_view.rb +24 -0
- data/lib/fog/google/requests/compute/detach_disk.rb +1 -2
- data/lib/fog/google/requests/compute/get_address.rb +1 -2
- data/lib/fog/google/requests/compute/get_backend_service.rb +26 -0
- data/lib/fog/google/requests/compute/get_backend_service_health.rb +27 -0
- data/lib/fog/google/requests/compute/get_backend_services.rb +23 -0
- data/lib/fog/google/requests/compute/get_disk.rb +3 -4
- data/lib/fog/google/requests/compute/get_disk_type.rb +3 -4
- data/lib/fog/google/requests/compute/get_firewall.rb +1 -2
- data/lib/fog/google/requests/compute/get_forwarding_rule.rb +21 -4
- data/lib/fog/google/requests/compute/get_global_forwarding_rule.rb +32 -0
- data/lib/fog/google/requests/compute/get_global_operation.rb +27 -3
- data/lib/fog/google/requests/compute/get_http_health_check.rb +18 -3
- data/lib/fog/google/requests/compute/get_image.rb +2 -3
- data/lib/fog/google/requests/compute/get_machine_type.rb +2 -3
- data/lib/fog/google/requests/compute/get_network.rb +1 -2
- data/lib/fog/google/requests/compute/get_project.rb +1 -2
- data/lib/fog/google/requests/compute/get_region.rb +16 -7
- data/lib/fog/google/requests/compute/get_region_operation.rb +27 -3
- data/lib/fog/google/requests/compute/get_region_view.rb +24 -0
- data/lib/fog/google/requests/compute/get_route.rb +1 -2
- data/lib/fog/google/requests/compute/get_server.rb +3 -4
- data/lib/fog/google/requests/compute/get_server_serial_port_output.rb +1 -2
- data/lib/fog/google/requests/compute/get_snapshot.rb +1 -2
- data/lib/fog/google/requests/compute/get_target_http_proxy.rb +27 -0
- data/lib/fog/google/requests/compute/get_target_instance.rb +32 -0
- data/lib/fog/google/requests/compute/get_target_pool.rb +15 -4
- data/lib/fog/google/requests/compute/get_target_pool_health.rb +1 -1
- data/lib/fog/google/requests/compute/get_url_map.rb +27 -0
- data/lib/fog/google/requests/compute/get_zone.rb +2 -3
- data/lib/fog/google/requests/compute/get_zone_operation.rb +3 -4
- data/lib/fog/google/requests/compute/get_zone_view.rb +24 -0
- data/lib/fog/google/requests/compute/insert_address.rb +1 -2
- data/lib/fog/google/requests/compute/insert_backend_service.rb +63 -0
- data/lib/fog/google/requests/compute/insert_disk.rb +2 -4
- data/lib/fog/google/requests/compute/insert_firewall.rb +3 -4
- data/lib/fog/google/requests/compute/insert_forwarding_rule.rb +38 -5
- data/lib/fog/google/requests/compute/insert_global_forwarding_rule.rb +56 -0
- data/lib/fog/google/requests/compute/insert_http_health_check.rb +36 -3
- data/lib/fog/google/requests/compute/insert_image.rb +36 -7
- data/lib/fog/google/requests/compute/insert_network.rb +1 -2
- data/lib/fog/google/requests/compute/insert_region_view.rb +25 -0
- data/lib/fog/google/requests/compute/insert_route.rb +1 -2
- data/lib/fog/google/requests/compute/insert_server.rb +4 -7
- data/lib/fog/google/requests/compute/insert_snapshot.rb +1 -3
- data/lib/fog/google/requests/compute/insert_target_http_proxy.rb +52 -0
- data/lib/fog/google/requests/compute/insert_target_instance.rb +55 -0
- data/lib/fog/google/requests/compute/insert_target_pool.rb +36 -5
- data/lib/fog/google/requests/compute/insert_url_map.rb +55 -0
- data/lib/fog/google/requests/compute/insert_zone_view.rb +27 -0
- data/lib/fog/google/requests/compute/list_addresses.rb +1 -2
- data/lib/fog/google/requests/compute/list_aggregated_addresses.rb +1 -2
- data/lib/fog/google/requests/compute/list_aggregated_disk_types.rb +2 -3
- data/lib/fog/google/requests/compute/list_aggregated_disks.rb +2 -3
- data/lib/fog/google/requests/compute/list_aggregated_machine_types.rb +1 -2
- data/lib/fog/google/requests/compute/list_aggregated_servers.rb +2 -3
- data/lib/fog/google/requests/compute/list_backend_services.rb +29 -0
- data/lib/fog/google/requests/compute/list_disk_types.rb +2 -3
- data/lib/fog/google/requests/compute/list_disks.rb +2 -3
- data/lib/fog/google/requests/compute/list_firewalls.rb +1 -2
- data/lib/fog/google/requests/compute/list_forwarding_rules.rb +2 -3
- data/lib/fog/google/requests/compute/list_global_forwarding_rules.rb +30 -0
- data/lib/fog/google/requests/compute/list_global_operations.rb +1 -2
- data/lib/fog/google/requests/compute/list_http_health_checks.rb +9 -3
- data/lib/fog/google/requests/compute/list_images.rb +2 -3
- data/lib/fog/google/requests/compute/list_machine_types.rb +2 -3
- data/lib/fog/google/requests/compute/list_networks.rb +1 -2
- data/lib/fog/google/requests/compute/list_region_operations.rb +1 -2
- data/lib/fog/google/requests/compute/list_region_view_resources.rb +25 -0
- data/lib/fog/google/requests/compute/list_region_views.rb +23 -0
- data/lib/fog/google/requests/compute/list_regions.rb +2 -3
- data/lib/fog/google/requests/compute/list_routes.rb +1 -2
- data/lib/fog/google/requests/compute/list_servers.rb +2 -3
- data/lib/fog/google/requests/compute/list_snapshots.rb +1 -2
- data/lib/fog/google/requests/compute/list_target_http_proxies.rb +30 -0
- data/lib/fog/google/requests/compute/list_target_instances.rb +30 -0
- data/lib/fog/google/requests/compute/list_target_pools.rb +8 -3
- data/lib/fog/google/requests/compute/list_url_maps.rb +29 -0
- data/lib/fog/google/requests/compute/list_zone_operations.rb +1 -2
- data/lib/fog/google/requests/compute/list_zone_view_resources.rb +25 -0
- data/lib/fog/google/requests/compute/list_zone_views.rb +23 -0
- data/lib/fog/google/requests/compute/list_zones.rb +2 -3
- data/lib/fog/google/requests/compute/remove_target_pool_health_checks.rb +1 -2
- data/lib/fog/google/requests/compute/remove_target_pool_instance.rb +1 -2
- data/lib/fog/google/requests/compute/remove_target_pool_instances.rb +1 -2
- data/lib/fog/google/requests/compute/reset_server.rb +1 -2
- data/lib/fog/google/requests/compute/set_common_instance_metadata.rb +1 -2
- data/lib/fog/google/requests/compute/set_forwarding_rule_target.rb +1 -2
- data/lib/fog/google/requests/compute/set_global_forwarding_rule_target.rb +27 -0
- data/lib/fog/google/requests/compute/set_metadata.rb +1 -6
- data/lib/fog/google/requests/compute/set_server_disk_auto_delete.rb +1 -2
- data/lib/fog/google/requests/compute/set_server_scheduling.rb +1 -2
- data/lib/fog/google/requests/compute/set_tags.rb +1 -6
- data/lib/fog/google/requests/compute/set_target_http_proxy_url_map.rb +27 -0
- data/lib/fog/google/requests/compute/update_url_map.rb +39 -0
- data/lib/fog/google/requests/compute/validate_url_map.rb +24 -0
- data/lib/fog/google/requests/dns/create_managed_zone.rb +49 -0
- data/lib/fog/google/requests/dns/delete_managed_zone.rb +39 -0
- data/lib/fog/google/requests/dns/get_managed_zone.rb +31 -0
- data/lib/fog/google/requests/dns/list_managed_zones.rb +26 -0
- data/lib/fog/google/requests/monitoring/list_metric_descriptors.rb +191 -0
- data/lib/fog/google/requests/monitoring/list_timeseries.rb +68 -0
- data/lib/fog/google/requests/monitoring/list_timeseries_descriptors.rb +87 -0
- data/lib/fog/google/requests/sql/clone_instance.rb +84 -0
- data/lib/fog/google/requests/sql/delete_instance.rb +67 -0
- data/lib/fog/google/requests/sql/delete_ssl_cert.rb +68 -0
- data/lib/fog/google/requests/sql/export_instance.rb +56 -0
- data/lib/fog/google/requests/sql/get_backup_run.rb +30 -0
- data/lib/fog/google/requests/sql/get_instance.rb +48 -0
- data/lib/fog/google/requests/sql/get_operation.rb +66 -0
- data/lib/fog/google/requests/sql/get_ssl_cert.rb +66 -0
- data/lib/fog/google/requests/sql/import_instance.rb +55 -0
- data/lib/fog/google/requests/sql/insert_instance.rb +165 -0
- data/lib/fog/google/requests/sql/insert_ssl_cert.rb +80 -0
- data/lib/fog/google/requests/sql/list_backup_runs.rb +30 -0
- data/lib/fog/google/requests/sql/list_flags.rb +143 -0
- data/lib/fog/google/requests/sql/list_instances.rb +32 -0
- data/lib/fog/google/requests/sql/list_operations.rb +52 -0
- data/lib/fog/google/requests/sql/list_ssl_certs.rb +51 -0
- data/lib/fog/google/requests/sql/list_tiers.rb +82 -0
- data/lib/fog/google/requests/sql/reset_instance_ssl_config.rb +49 -0
- data/lib/fog/google/requests/sql/restart_instance.rb +47 -0
- data/lib/fog/google/requests/sql/restore_instance_backup.rb +30 -0
- data/lib/fog/google/requests/sql/set_instance_root_password.rb +54 -0
- data/lib/fog/google/requests/sql/update_instance.rb +132 -0
- data/lib/fog/google/sql.rb +132 -0
- data/lib/fog/hp/block_storage_v2.rb +1 -1
- data/lib/fog/hp/compute_v2.rb +1 -1
- data/lib/fog/hp/core.rb +8 -6
- data/lib/fog/hp/dns.rb +1 -1
- data/lib/fog/hp/docs/connect.md +2 -2
- data/lib/fog/hp/lb.rb +1 -1
- data/lib/fog/hp/network.rb +10 -2
- data/lib/fog/hp/requests/network/list_networks.rb +19 -6
- data/lib/fog/hp/storage.rb +1 -1
- data/lib/fog/linode/models/compute/disks.rb +1 -1
- data/lib/fog/linode/models/compute/flavor.rb +1 -25
- data/lib/fog/linode/models/compute/flavors.rb +1 -1
- data/lib/fog/linode/models/compute/server.rb +6 -2
- data/lib/fog/linode/requests/compute/avail_linodeplans.rb +1 -2
- data/lib/fog/local/models/storage/file.rb +3 -1
- data/lib/fog/openstack/models/storage/directory.rb +3 -5
- data/lib/fog/openstack/network.rb +1 -1
- data/lib/fog/openstack/requests/storage/put_container.rb +5 -2
- data/lib/fog/openstack/storage.rb +5 -3
- data/lib/fog/ovirt/models/compute/server.rb +1 -0
- data/lib/fog/rackspace/block_storage.rb +1 -5
- data/lib/fog/rackspace/cdn.rb +1 -1
- data/lib/fog/rackspace/compute_v2.rb +1 -5
- data/lib/fog/rackspace/databases.rb +4 -6
- data/lib/fog/rackspace/docs/storage.md +4 -4
- data/lib/fog/rackspace/load_balancers.rb +1 -5
- data/lib/fog/rackspace/models/auto_scale/group_builder.rb +2 -0
- data/lib/fog/rackspace/models/block_storage/volume.rb +6 -1
- data/lib/fog/rackspace/models/compute_v2/server.rb +15 -1
- data/lib/fog/rackspace/models/databases/database.rb +11 -0
- data/lib/fog/rackspace/models/databases/user.rb +2 -1
- data/lib/fog/rackspace/models/load_balancers/load_balancer.rb +21 -4
- data/lib/fog/rackspace/queues.rb +9 -2
- data/lib/fog/rackspace/requests/block_storage/create_volume.rb +4 -0
- data/lib/fog/rackspace/requests/compute_v2/create_server.rb +43 -0
- data/lib/fog/rackspace/requests/compute_v2/create_virtual_interface.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/delete_metadata_item.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/delete_virtual_interface.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/get_metadata_item.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/list_keypairs.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/list_metadata.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/list_virtual_interfaces.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/set_metadata.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/set_metadata_item.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/update_metadata.rb +1 -1
- data/lib/fog/rackspace/requests/databases/create_user.rb +2 -1
- data/lib/fog/rackspace/requests/databases/grant_user_access.rb +32 -0
- data/lib/fog/rackspace/requests/databases/revoke_user_access.rb +26 -0
- data/lib/fog/rackspace/requests/load_balancers/create_load_balancer.rb +84 -16
- data/lib/fog/rackspace/requests/load_balancers/get_load_balancer.rb +6 -5
- data/lib/fog/rackspace/requests/load_balancers/update_load_balancer.rb +2 -1
- data/lib/fog/rackspace/requests/storage/get_object_https_url.rb +2 -1
- data/lib/fog/rackspace/storage.rb +7 -1
- data/lib/fog/vcloud_director/README.md +1 -0
- data/lib/fog/vcloud_director/compute.rb +23 -1
- data/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb +22 -0
- data/lib/fog/vcloud_director/models/compute/networks.rb +7 -0
- data/lib/fog/vcloud_director/models/compute/tasks.rb +7 -0
- data/lib/fog/vcloud_director/models/compute/vapps.rb +8 -0
- data/lib/fog/vcloud_director/models/compute/vdcs.rb +7 -0
- data/lib/fog/vcloud_director/models/compute/vms.rb +7 -0
- data/lib/fog/vcloud_director/query.rb +59 -0
- data/lib/fog/vcloud_director/requests/compute/get_execute_query.rb +91 -1
- data/lib/fog/vcloud_director/requests/compute/post_configure_edge_gateway_services.rb +8 -2
- data/lib/fog/vcloud_director/requests/compute/put_network.rb +7 -3
- data/lib/fog/version.rb +1 -1
- data/lib/fog/vsphere/requests/compute/vm_clone.rb +2 -1
- data/lib/fog/xenserver/compute.rb +3 -0
- data/lib/fog/xenserver/core.rb +2 -0
- data/lib/tasks/changelog_task.rb +2 -0
- data/tests/aws/models/auto_scaling/instance_tests.rb +15 -0
- data/tests/aws/models/storage/file_tests.rb +10 -0
- data/tests/aws/requests/compute/region_tests.rb +19 -1
- data/tests/aws/requests/dns/health_check_tests.rb +159 -0
- data/tests/aws/requests/iam/account_policy_tests.rb +20 -0
- data/tests/aws/requests/storage/bucket_tests.rb +4 -0
- data/tests/google/helpers/google_tests_helper.rb +68 -0
- data/tests/google/models/compute/backend_service_tests.rb +6 -0
- data/tests/google/models/compute/backend_services_tests.rb +8 -0
- data/tests/google/models/compute/forwarding_rule_tests.rb +8 -0
- data/tests/google/models/compute/forwarding_rules_tests.rb +8 -0
- data/tests/google/models/compute/global_forwarding_rule_tests.rb +7 -0
- data/tests/google/models/compute/global_forwarding_rules_tests.rb +7 -0
- data/tests/google/models/compute/http_health_check_tests.rb +5 -0
- data/tests/google/models/compute/http_health_checks_tests.rb +5 -0
- data/tests/google/models/compute/image_tests.rb +6 -0
- data/tests/google/models/compute/images_tests.rb +6 -0
- data/tests/google/models/compute/target_http_proxies_tests.rb +7 -0
- data/tests/google/models/compute/target_http_proxy_test.rb +6 -0
- data/tests/google/models/compute/target_instance_tests.rb +7 -0
- data/tests/google/models/compute/target_instances_tests.rb +7 -0
- data/tests/google/models/compute/target_pool_tests.rb +12 -0
- data/tests/google/models/compute/target_pools_tests.rb +11 -0
- data/tests/google/models/compute/url_map_tests.rb +6 -0
- data/tests/google/models/compute/url_maps_tests.rb +7 -0
- data/tests/google/models/monitoring/metric_descriptors_tests.rb +12 -0
- data/tests/google/models/monitoring/timeseries_collection_tests.rb +12 -0
- data/tests/google/models/monitoring/timeseries_descriptors_tests.rb +13 -0
- data/tests/google/models/sql/flags_tests.rb +12 -0
- data/tests/google/models/sql/instance_tests.rb +56 -0
- data/tests/google/models/sql/instances_tests.rb +32 -0
- data/tests/google/models/sql/operation_tests.rb +25 -0
- data/tests/google/models/sql/operations_tests.rb +38 -0
- data/tests/google/models/sql/ssl_cert_tests.rb +24 -0
- data/tests/google/models/sql/ssl_certs_tests.rb +39 -0
- data/tests/google/models/sql/tiers_tests.rb +12 -0
- data/tests/google/requests/compute/backend_service_tests.rb +83 -0
- data/tests/google/requests/compute/forwarding_rules_tests.rb +83 -0
- data/tests/google/requests/compute/global_forwarding_rules_tests.rb +83 -0
- data/tests/google/requests/compute/http_health_checks_tests.rb +83 -0
- data/tests/google/requests/compute/image_tests.rb +9 -13
- data/tests/google/requests/compute/target_http_proxies_test.rb +79 -0
- data/tests/google/requests/compute/target_instances_tests.rb +83 -0
- data/tests/google/requests/compute/target_pools_tests.rb +82 -0
- data/tests/google/requests/compute/url_maps_tests.rb +82 -0
- data/tests/google/requests/dns/managed_zone_tests.rb +66 -0
- data/tests/google/requests/monitoring/metric_descriptor_tests.rb +25 -0
- data/tests/google/requests/monitoring/timeseries_collection_tests.rb +25 -0
- data/tests/google/requests/monitoring/timeseries_descriptor_tests.rb +26 -0
- data/tests/google/requests/sql/flag_tests.rb +27 -0
- data/tests/google/requests/sql/instance_tests.rb +129 -0
- data/tests/google/requests/sql/operation_tests.rb +42 -0
- data/tests/google/requests/sql/ssl_cert_tests.rb +61 -0
- data/tests/google/requests/sql/tier_tests.rb +25 -0
- data/tests/google/requests/storage/object_tests.rb +1 -1
- data/tests/helpers/collection_helper.rb +1 -1
- data/tests/helpers/mock_helper.rb +1 -0
- data/tests/hp/storage_tests.rb +26 -23
- data/tests/linode/requests/compute/linodeplans_tests.rb +2 -1
- data/tests/openstack/authenticate_tests.rb +20 -0
- data/tests/rackspace/helper.rb +13 -0
- data/tests/rackspace/models/databases/database_tests.rb +12 -0
- data/tests/rackspace/models/load_balancers/load_balancer_tests.rb +48 -15
- data/tests/rackspace/requests/block_storage/volume_tests.rb +22 -6
- data/tests/rackspace/requests/compute_v2/server_tests.rb +27 -0
- data/tests/rackspace/requests/load_balancers/helper.rb +1 -1
- data/tests/rackspace/requests/load_balancers/load_balancer_tests.rb +15 -5
- data/tests/vcloud_director/models/compute/network_tests.rb +17 -0
- data/tests/vcloud_director/models/compute/tasks_tests.rb +33 -3
- data/tests/vcloud_director/models/compute/vapp_tests.rb +13 -1
- data/tests/vcloud_director/models/compute/vdcs_tests.rb +14 -1
- data/tests/vcloud_director/models/compute/vms_tests.rb +13 -0
- data/tests/vcloud_director/requests/compute/edge_gateway_tests.rb +30 -0
- metadata +319 -54
- data/lib/fog/bin/sakuracloud.rb +0 -34
- data/lib/fog/core/deprecated_connection_accessors.rb +0 -40
- data/lib/fog/sakuracloud.rb +0 -16
- data/lib/fog/sakuracloud/compute.rb +0 -65
- data/lib/fog/sakuracloud/docs/getting_started.md +0 -450
- data/lib/fog/sakuracloud/models/compute/plan.rb +0 -15
- data/lib/fog/sakuracloud/models/compute/plans.rb +0 -22
- data/lib/fog/sakuracloud/models/compute/server.rb +0 -40
- data/lib/fog/sakuracloud/models/compute/servers.rb +0 -63
- data/lib/fog/sakuracloud/models/compute/ssh_key.rb +0 -13
- data/lib/fog/sakuracloud/models/compute/ssh_keys.rb +0 -22
- data/lib/fog/sakuracloud/models/compute/zone.rb +0 -13
- data/lib/fog/sakuracloud/models/compute/zones.rb +0 -22
- data/lib/fog/sakuracloud/models/volume/archive.rb +0 -14
- data/lib/fog/sakuracloud/models/volume/archives.rb +0 -22
- data/lib/fog/sakuracloud/models/volume/disk.rb +0 -37
- data/lib/fog/sakuracloud/models/volume/disks.rb +0 -27
- data/lib/fog/sakuracloud/models/volume/plan.rb +0 -12
- data/lib/fog/sakuracloud/models/volume/plans.rb +0 -22
- data/lib/fog/sakuracloud/requests/compute/boot_server.rb +0 -31
- data/lib/fog/sakuracloud/requests/compute/create_server.rb +0 -41
- data/lib/fog/sakuracloud/requests/compute/delete_server.rb +0 -33
- data/lib/fog/sakuracloud/requests/compute/list_plans.rb +0 -46
- data/lib/fog/sakuracloud/requests/compute/list_servers.rb +0 -44
- data/lib/fog/sakuracloud/requests/compute/list_ssh_keys.rb +0 -40
- data/lib/fog/sakuracloud/requests/compute/list_zones.rb +0 -40
- data/lib/fog/sakuracloud/requests/compute/stop_server.rb +0 -37
- data/lib/fog/sakuracloud/requests/volume/attach_disk.rb +0 -30
- data/lib/fog/sakuracloud/requests/volume/configure_disk.rb +0 -35
- data/lib/fog/sakuracloud/requests/volume/create_disk.rb +0 -43
- data/lib/fog/sakuracloud/requests/volume/delete_disk.rb +0 -30
- data/lib/fog/sakuracloud/requests/volume/list_archives.rb +0 -46
- data/lib/fog/sakuracloud/requests/volume/list_disks.rb +0 -50
- data/lib/fog/sakuracloud/requests/volume/list_plans.rb +0 -40
- data/lib/fog/sakuracloud/volume.rb +0 -88
- data/lib/fog/schema/data_validator.rb +0 -153
- data/tests/sakuracloud/helper.rb +0 -7
- data/tests/sakuracloud/requests/compute/plans_tests.rb +0 -32
- data/tests/sakuracloud/requests/compute/servers_tests.rb +0 -46
- data/tests/sakuracloud/requests/compute/ssh_keys_tests.rb +0 -30
- data/tests/sakuracloud/requests/compute/zones_tests.rb +0 -30
- data/tests/sakuracloud/requests/volume/archives_tests.rb +0 -31
- data/tests/sakuracloud/requests/volume/disks_tests.rb +0 -47
- data/tests/sakuracloud/requests/volume/plans_tests.rb +0 -30
data/lib/fog/aws/ses.rb
CHANGED
@@ -9,7 +9,7 @@ module Fog
|
|
9
9
|
class MessageRejected < Fog::Errors::Error; end
|
10
10
|
|
11
11
|
requires :aws_access_key_id, :aws_secret_access_key
|
12
|
-
recognizes :region, :host, :path, :port, :scheme, :persistent, :use_iam_profile, :aws_session_token, :aws_credentials_expire_at
|
12
|
+
recognizes :region, :host, :path, :port, :scheme, :persistent, :use_iam_profile, :aws_session_token, :aws_credentials_expire_at, :instrumentor, :instrumentor_name
|
13
13
|
|
14
14
|
request_path 'fog/aws/requests/ses'
|
15
15
|
request :delete_verified_email_address
|
@@ -53,6 +53,8 @@ module Fog
|
|
53
53
|
@use_iam_profile = options[:use_iam_profile]
|
54
54
|
setup_credentials(options)
|
55
55
|
|
56
|
+
@instrumentor = options[:instrumentor]
|
57
|
+
@instrumentor_name = options[:instrumentor_name] || 'fog.aws.ses'
|
56
58
|
@connection_options = options[:connection_options] || {}
|
57
59
|
options[:region] ||= 'us-east-1'
|
58
60
|
@host = options[:host] || "email.#{options[:region]}.amazonaws.com"
|
@@ -103,30 +105,36 @@ module Fog
|
|
103
105
|
end
|
104
106
|
body.chop! # remove trailing '&'
|
105
107
|
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
:host => @host,
|
113
|
-
:method => 'POST',
|
114
|
-
:parser => parser
|
115
|
-
})
|
116
|
-
rescue Excon::Errors::HTTPStatusError => error
|
117
|
-
match = Fog::AWS::Errors.match_error(error)
|
118
|
-
raise if match.empty?
|
119
|
-
raise case match[:code]
|
120
|
-
when 'MessageRejected'
|
121
|
-
Fog::AWS::SES::MessageRejected.slurp(error, match[:message])
|
122
|
-
when 'InvalidParameterValue'
|
123
|
-
Fog::AWS::SES::InvalidParameterError.slurp(error, match[:message])
|
124
|
-
else
|
125
|
-
Fog::AWS::SES::Error.slurp(error, "#{match[:code]} => #{match[:message]}")
|
126
|
-
end
|
108
|
+
if @instrumentor
|
109
|
+
@instrumentor.instrument("#{@instrumentor_name}.request", params) do
|
110
|
+
_request(body, headers, idempotent, parser)
|
111
|
+
end
|
112
|
+
else
|
113
|
+
_request(body, headers, idempotent, parser)
|
127
114
|
end
|
115
|
+
end
|
128
116
|
|
129
|
-
|
117
|
+
def _requrest(body, headers, idempotent, parser)
|
118
|
+
@connection.request({
|
119
|
+
:body => body,
|
120
|
+
:expects => 200,
|
121
|
+
:headers => headers,
|
122
|
+
:idempotent => idempotent,
|
123
|
+
:host => @host,
|
124
|
+
:method => 'POST',
|
125
|
+
:parser => parser
|
126
|
+
})
|
127
|
+
rescue Excon::Errors::HTTPStatusError => error
|
128
|
+
match = Fog::AWS::Errors.match_error(error)
|
129
|
+
raise if match.empty?
|
130
|
+
raise case match[:code]
|
131
|
+
when 'MessageRejected'
|
132
|
+
Fog::AWS::SES::MessageRejected.slurp(error, match[:message])
|
133
|
+
when 'InvalidParameterValue'
|
134
|
+
Fog::AWS::SES::InvalidParameterError.slurp(error, match[:message])
|
135
|
+
else
|
136
|
+
Fog::AWS::SES::Error.slurp(error, "#{match[:code]} => #{match[:message]}")
|
137
|
+
end
|
130
138
|
end
|
131
139
|
end
|
132
140
|
end
|
data/lib/fog/aws/simpledb.rb
CHANGED
@@ -6,7 +6,7 @@ module Fog
|
|
6
6
|
extend Fog::AWS::CredentialFetcher::ServiceMethods
|
7
7
|
|
8
8
|
requires :aws_access_key_id, :aws_secret_access_key
|
9
|
-
recognizes :host, :nil_string, :path, :port, :scheme, :persistent, :region, :aws_session_token, :use_iam_profile, :aws_credentials_expire_at
|
9
|
+
recognizes :host, :nil_string, :path, :port, :scheme, :persistent, :region, :aws_session_token, :use_iam_profile, :aws_credentials_expire_at, :instrumentor, :instrumentor_name
|
10
10
|
|
11
11
|
request_path 'fog/aws/requests/simpledb'
|
12
12
|
request :batch_put_attributes
|
@@ -76,6 +76,8 @@ module Fog
|
|
76
76
|
setup_credentials(options)
|
77
77
|
@connection_options = options[:connection_options] || {}
|
78
78
|
@nil_string = options[:nil_string]|| 'nil'
|
79
|
+
@instrumentor = options[:instrumentor]
|
80
|
+
@instrumentor_name = options[:instrumentor_name] || 'fog.aws.simpledb'
|
79
81
|
|
80
82
|
options[:region] ||= 'us-east-1'
|
81
83
|
@host = options[:host] || case options[:region]
|
@@ -177,7 +179,17 @@ module Fog
|
|
177
179
|
}
|
178
180
|
)
|
179
181
|
|
180
|
-
|
182
|
+
if @instrumentor
|
183
|
+
@instrumentor.instrument("#{@instrumentor_name}.request", params) do
|
184
|
+
_request(body, idempotent, parser)
|
185
|
+
end
|
186
|
+
else
|
187
|
+
_request(body, idempotent, parser)
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
def _request(body, idempotent, parser)
|
192
|
+
@connection.request({
|
181
193
|
:body => body,
|
182
194
|
:expects => 200,
|
183
195
|
:headers => { 'Content-Type' => 'application/x-www-form-urlencoded; charset=utf-8' },
|
@@ -185,8 +197,6 @@ module Fog
|
|
185
197
|
:method => 'POST',
|
186
198
|
:parser => parser
|
187
199
|
})
|
188
|
-
|
189
|
-
response
|
190
200
|
end
|
191
201
|
|
192
202
|
def sdb_encode(value)
|
data/lib/fog/aws/sns.rb
CHANGED
@@ -6,7 +6,7 @@ module Fog
|
|
6
6
|
extend Fog::AWS::CredentialFetcher::ServiceMethods
|
7
7
|
|
8
8
|
requires :aws_access_key_id, :aws_secret_access_key
|
9
|
-
recognizes :host, :path, :port, :scheme, :persistent, :region, :use_iam_profile, :aws_session_token, :aws_credentials_expire_at
|
9
|
+
recognizes :host, :path, :port, :scheme, :persistent, :region, :use_iam_profile, :aws_session_token, :aws_credentials_expire_at, :instrumentor, :instrumentor_name
|
10
10
|
|
11
11
|
request_path 'fog/aws/requests/sns'
|
12
12
|
request :add_permission
|
@@ -51,6 +51,8 @@ module Fog
|
|
51
51
|
@use_iam_profile = options[:use_iam_profile]
|
52
52
|
setup_credentials(options)
|
53
53
|
@connection_options = options[:connection_options] || {}
|
54
|
+
@instrumentor = options[:instrumentor]
|
55
|
+
@instrumentor_name = options[:instrumentor_name] || 'fog.aws.sns'
|
54
56
|
|
55
57
|
options[:region] ||= 'us-east-1'
|
56
58
|
@host = options[:host] || "sns.#{options[:region]}.amazonaws.com"
|
@@ -95,7 +97,17 @@ module Fog
|
|
95
97
|
}
|
96
98
|
)
|
97
99
|
|
98
|
-
|
100
|
+
if @instrumentor
|
101
|
+
@instrumentor.instrument("#{@instrumentor_name}.request", params) do
|
102
|
+
_request(body, idempotent, parser)
|
103
|
+
end
|
104
|
+
else
|
105
|
+
_request(body, idempotent, parser)
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
def _request(body, idempotent, parser)
|
110
|
+
@connection.request({
|
99
111
|
:body => body,
|
100
112
|
:expects => 200,
|
101
113
|
:idempotent => idempotent,
|
@@ -103,8 +115,6 @@ module Fog
|
|
103
115
|
:method => 'POST',
|
104
116
|
:parser => parser
|
105
117
|
})
|
106
|
-
|
107
|
-
response
|
108
118
|
end
|
109
119
|
end
|
110
120
|
end
|
data/lib/fog/aws/sqs.rb
CHANGED
@@ -6,7 +6,7 @@ module Fog
|
|
6
6
|
extend Fog::AWS::CredentialFetcher::ServiceMethods
|
7
7
|
|
8
8
|
requires :aws_access_key_id, :aws_secret_access_key
|
9
|
-
recognizes :region, :host, :path, :port, :scheme, :persistent, :aws_session_token, :use_iam_profile, :aws_credentials_expire_at
|
9
|
+
recognizes :region, :host, :path, :port, :scheme, :persistent, :aws_session_token, :use_iam_profile, :aws_credentials_expire_at, :instrumentor, :instrumentor_name
|
10
10
|
|
11
11
|
request_path 'fog/aws/requests/sqs'
|
12
12
|
request :change_message_visibility
|
@@ -81,6 +81,8 @@ module Fog
|
|
81
81
|
def initialize(options={})
|
82
82
|
@use_iam_profile = options[:use_iam_profile]
|
83
83
|
setup_credentials(options)
|
84
|
+
@instrumentor = options[:instrumentor]
|
85
|
+
@instrumentor_name = options[:instrumentor_name] || 'fog.aws.sqs'
|
84
86
|
@connection_options = options[:connection_options] || {}
|
85
87
|
options[:region] ||= 'us-east-1'
|
86
88
|
@host = options[:host] || "sqs.#{options[:region]}.amazonaws.com"
|
@@ -130,19 +132,27 @@ module Fog
|
|
130
132
|
}
|
131
133
|
)
|
132
134
|
|
135
|
+
if @instrumentor
|
136
|
+
@instrumentor.instrument("#{@instrumentor_name}.request", params) do
|
137
|
+
_request(body, idempotent, parser, path)
|
138
|
+
end
|
139
|
+
else
|
140
|
+
_request(body, idempotent, parser, path)
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
def _request(body, idempotent, parser, path)
|
133
145
|
args = {
|
134
146
|
:body => body,
|
135
147
|
:expects => 200,
|
136
148
|
:idempotent => idempotent,
|
137
149
|
:headers => { 'Content-Type' => 'application/x-www-form-urlencoded' },
|
138
150
|
:method => 'POST',
|
139
|
-
:parser => parser
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
response = @connection.request(args)
|
151
|
+
:parser => parser,
|
152
|
+
:path => path
|
153
|
+
}.reject{|_,v| v.nil? }
|
144
154
|
|
145
|
-
|
155
|
+
@connection.request(args)
|
146
156
|
end
|
147
157
|
end
|
148
158
|
end
|
data/lib/fog/aws/storage.rb
CHANGED
@@ -44,7 +44,7 @@ module Fog
|
|
44
44
|
]
|
45
45
|
|
46
46
|
requires :aws_access_key_id, :aws_secret_access_key
|
47
|
-
recognizes :endpoint, :region, :host, :port, :scheme, :persistent, :use_iam_profile, :aws_session_token, :aws_credentials_expire_at, :path_style
|
47
|
+
recognizes :endpoint, :region, :host, :port, :scheme, :persistent, :use_iam_profile, :aws_session_token, :aws_credentials_expire_at, :path_style, :instrumentor, :instrumentor_name
|
48
48
|
|
49
49
|
secrets :aws_secret_access_key, :hmac
|
50
50
|
|
@@ -85,6 +85,7 @@ module Fog
|
|
85
85
|
request :get_object_url
|
86
86
|
request :get_request_payment
|
87
87
|
request :get_service
|
88
|
+
request :head_bucket
|
88
89
|
request :head_object
|
89
90
|
request :initiate_multipart_upload
|
90
91
|
request :list_multipart_uploads
|
@@ -411,6 +412,8 @@ module Fog
|
|
411
412
|
|
412
413
|
@use_iam_profile = options[:use_iam_profile]
|
413
414
|
setup_credentials(options)
|
415
|
+
@instrumentor = options[:instrumentor]
|
416
|
+
@instrumentor_name = options[:instrumentor_name] || 'fog.aws.storage'
|
414
417
|
@connection_options = options[:connection_options] || {}
|
415
418
|
@persistent = options.fetch(:persistent, false)
|
416
419
|
|
@@ -531,16 +534,22 @@ DATA
|
|
531
534
|
# FIXME: ToHashParser should make this not needed
|
532
535
|
original_params = params.dup
|
533
536
|
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
response = Fog::XML::Connection.new("#{uri.scheme}://#{uri.host}:#{uri.port}", false, @connection_options).request(original_params, &block)
|
537
|
+
if @instrumentor
|
538
|
+
@instrumentor.instrument("#{@instrumentor_name}.request", params) do
|
539
|
+
_request(scheme, host, port, params, original_params, &block)
|
540
|
+
end
|
541
|
+
else
|
542
|
+
_request(scheme, host, port, params, original_params, &block)
|
541
543
|
end
|
544
|
+
end
|
542
545
|
|
543
|
-
|
546
|
+
def _request(scheme, host, port, params, original_params, &block)
|
547
|
+
connection(scheme, host, port).request(params, &block)
|
548
|
+
rescue Excon::Errors::TemporaryRedirect => error
|
549
|
+
headers = (error.response.is_a?(Hash) ? error.response[:headers] : error.response.headers)
|
550
|
+
uri = URI.parse(headers['Location'])
|
551
|
+
Fog::Logger.warning("fog: followed redirect to #{uri.host}, connecting to the matching region will be more performant")
|
552
|
+
Fog::XML::Connection.new("#{uri.scheme}://#{uri.host}:#{uri.port}", false, @connection_options).request(original_params, &block)
|
544
553
|
end
|
545
554
|
end
|
546
555
|
end
|
data/lib/fog/aws/sts.rb
CHANGED
@@ -9,7 +9,7 @@ module Fog
|
|
9
9
|
class ValidationError < Fog::AWS::STS::Error; end
|
10
10
|
|
11
11
|
requires :aws_access_key_id, :aws_secret_access_key
|
12
|
-
recognizes :host, :path, :port, :scheme, :persistent, :aws_session_token, :use_iam_profile, :aws_credentials_expire_at
|
12
|
+
recognizes :host, :path, :port, :scheme, :persistent, :aws_session_token, :use_iam_profile, :aws_credentials_expire_at, :instrumentor, :instrumentor_name
|
13
13
|
|
14
14
|
request_path 'fog/aws/requests/sts'
|
15
15
|
request :get_federation_token
|
@@ -76,6 +76,8 @@ module Fog
|
|
76
76
|
|
77
77
|
@use_iam_profile = options[:use_iam_profile]
|
78
78
|
setup_credentials(options)
|
79
|
+
@instrumentor = options[:instrumentor]
|
80
|
+
@instrumentor_name = options[:instrumentor_name] || 'fog.aws.sts'
|
79
81
|
@connection_options = options[:connection_options] || {}
|
80
82
|
|
81
83
|
@host = options[:host] || 'sts.amazonaws.com'
|
@@ -117,26 +119,34 @@ module Fog
|
|
117
119
|
}
|
118
120
|
)
|
119
121
|
|
120
|
-
|
121
|
-
@
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
:method => 'POST',
|
127
|
-
:parser => parser
|
128
|
-
})
|
129
|
-
rescue Excon::Errors::HTTPStatusError => error
|
130
|
-
match = Fog::AWS::Errors.match_error(error)
|
131
|
-
raise if match.empty?
|
132
|
-
raise case match[:code]
|
133
|
-
when 'EntityAlreadyExists', 'KeyPairMismatch', 'LimitExceeded', 'MalformedCertificate', 'ValidationError'
|
134
|
-
Fog::AWS::STS.const_get(match[:code]).slurp(error, match[:message])
|
135
|
-
else
|
136
|
-
Fog::AWS::STS::Error.slurp(error, "#{match[:code]} => #{match[:message]}")
|
137
|
-
end
|
122
|
+
if @instrumentor
|
123
|
+
@instrumentor.instrument("#{@instrumentor_name}.request", params) do
|
124
|
+
_request(body, idempotent, parser)
|
125
|
+
end
|
126
|
+
else
|
127
|
+
_request(body, idempotent, parser)
|
138
128
|
end
|
139
129
|
end
|
130
|
+
|
131
|
+
def _request(body, idempotent, parser)
|
132
|
+
@connection.request({
|
133
|
+
:body => body,
|
134
|
+
:expects => 200,
|
135
|
+
:idempotent => idempotent,
|
136
|
+
:headers => { 'Content-Type' => 'application/x-www-form-urlencoded' },
|
137
|
+
:method => 'POST',
|
138
|
+
:parser => parser
|
139
|
+
})
|
140
|
+
rescue Excon::Errors::HTTPStatusError => error
|
141
|
+
match = Fog::AWS::Errors.match_error(error)
|
142
|
+
raise if match.empty?
|
143
|
+
raise case match[:code]
|
144
|
+
when 'EntityAlreadyExists', 'KeyPairMismatch', 'LimitExceeded', 'MalformedCertificate', 'ValidationError'
|
145
|
+
Fog::AWS::STS.const_get(match[:code]).slurp(error, match[:message])
|
146
|
+
else
|
147
|
+
Fog::AWS::STS::Error.slurp(error, "#{match[:code]} => #{match[:message]}")
|
148
|
+
end
|
149
|
+
end
|
140
150
|
end
|
141
151
|
end
|
142
152
|
end
|
data/lib/fog/bin/google.rb
CHANGED
@@ -4,8 +4,14 @@ module Google # deviates from other bin stuff to accomodate gem
|
|
4
4
|
case key
|
5
5
|
when :compute
|
6
6
|
Fog::Compute::Google
|
7
|
+
when :dns
|
8
|
+
Fog::DNS::Google
|
9
|
+
when :monitoring
|
10
|
+
Fog::Google::Monitoring
|
7
11
|
when :storage
|
8
12
|
Fog::Storage::Google
|
13
|
+
when :sql
|
14
|
+
Fog::Google::SQL
|
9
15
|
else
|
10
16
|
raise ArgumentError, "Unsupported #{self} service: #{key}"
|
11
17
|
end
|
@@ -14,12 +20,19 @@ module Google # deviates from other bin stuff to accomodate gem
|
|
14
20
|
def [](service)
|
15
21
|
@@connections ||= Hash.new do |hash, key|
|
16
22
|
hash[key] = case key
|
17
|
-
when :storage
|
18
|
-
Fog::Logger.warning("Google[:storage] is not recommended, use Storage[:google] for portability")
|
19
|
-
Fog::Storage.new(:provider => 'Google')
|
20
23
|
when :compute
|
21
24
|
Fog::Logger.warning("Google[:compute] is not recommended, use Compute[:google] for portability")
|
22
25
|
Fog::Compute.new(:provider => 'Google')
|
26
|
+
when :dns
|
27
|
+
Fog::Logger.warning("Google[:dns] is not recommended, use DNS[:google] for portability")
|
28
|
+
Fog::DNS.new(:provider => 'Google')
|
29
|
+
when :monitoring
|
30
|
+
Fog::Google::Monitoring.new
|
31
|
+
when :sql
|
32
|
+
Fog::Google::SQL.new
|
33
|
+
when :storage
|
34
|
+
Fog::Logger.warning("Google[:storage] is not recommended, use Storage[:google] for portability")
|
35
|
+
Fog::Storage.new(:provider => 'Google')
|
23
36
|
else
|
24
37
|
raise ArgumentError, "Unrecognized service: #{key.inspect}"
|
25
38
|
end
|
@@ -43,7 +56,6 @@ module Google # deviates from other bin stuff to accomodate gem
|
|
43
56
|
else
|
44
57
|
!Gem.source_index.find_name('google-api-client').empty? # legacy
|
45
58
|
end
|
46
|
-
|
47
59
|
# Then make sure we have all of the requirements
|
48
60
|
for service in services
|
49
61
|
begin
|
@@ -44,25 +44,32 @@ module Fog
|
|
44
44
|
request :add_baremetal_host
|
45
45
|
request :add_baremetal_pxe_kick_start_server
|
46
46
|
request :add_baremetal_pxe_ping_server
|
47
|
+
request :add_big_switch_vns_device
|
47
48
|
request :add_cisco_asa1000v_resource
|
48
49
|
request :add_cisco_vnmc_resource
|
49
50
|
request :add_cluster
|
50
51
|
request :add_external_firewall
|
51
52
|
request :add_external_load_balancer
|
52
53
|
request :add_f5_load_balancer
|
54
|
+
request :add_guest_os
|
55
|
+
request :add_guest_os_mapping
|
53
56
|
request :add_host
|
54
57
|
request :add_image_store
|
55
58
|
request :add_ip_to_nic
|
59
|
+
request :add_ldap_configuration
|
56
60
|
request :add_netscaler_load_balancer
|
57
61
|
request :add_network_device
|
58
62
|
request :add_network_service_provider
|
59
63
|
request :add_nic_to_virtual_machine
|
60
64
|
request :add_nicira_nvp_device
|
65
|
+
request :add_open_daylight_controller
|
66
|
+
request :add_palo_alto_firewall
|
61
67
|
request :add_region
|
62
68
|
request :add_resource_detail
|
63
69
|
request :add_s3
|
64
70
|
request :add_secondary_storage
|
65
71
|
request :add_srx_firewall
|
72
|
+
request :add_stratosphere_ssp
|
66
73
|
request :add_swift
|
67
74
|
request :add_traffic_monitor
|
68
75
|
request :add_traffic_type
|
@@ -71,11 +78,11 @@ module Fog
|
|
71
78
|
request :add_vpn_user
|
72
79
|
request :archive_alerts
|
73
80
|
request :archive_events
|
81
|
+
request :assign_cert_to_load_balancer
|
74
82
|
request :assign_to_global_load_balancer_rule
|
75
83
|
request :assign_to_load_balancer_rule
|
76
84
|
request :assign_virtual_machine
|
77
85
|
request :associate_ip_address
|
78
|
-
request :associate_lun
|
79
86
|
request :associate_ucs_profile_to_blade
|
80
87
|
request :attach_iso
|
81
88
|
request :attach_volume
|
@@ -90,6 +97,8 @@ module Fog
|
|
90
97
|
request :configure_f5_load_balancer
|
91
98
|
request :configure_internal_load_balancer_element
|
92
99
|
request :configure_netscaler_load_balancer
|
100
|
+
request :configure_ovs_element
|
101
|
+
request :configure_palo_alto_firewall
|
93
102
|
request :configure_srx_firewall
|
94
103
|
request :configure_virtual_router_element
|
95
104
|
request :copy_iso
|
@@ -113,14 +122,12 @@ module Fog
|
|
113
122
|
request :create_lb_stickiness_policy
|
114
123
|
request :create_load_balancer
|
115
124
|
request :create_load_balancer_rule
|
116
|
-
request :create_lun_on_filer
|
117
125
|
request :create_network
|
118
126
|
request :create_network_acl
|
119
127
|
request :create_network_acl_list
|
120
128
|
request :create_network_offering
|
121
129
|
request :create_physical_network
|
122
130
|
request :create_pod
|
123
|
-
request :create_pool
|
124
131
|
request :create_port_forwarding_rule
|
125
132
|
request :create_portable_ip_range
|
126
133
|
request :create_private_gateway
|
@@ -128,6 +135,7 @@ module Fog
|
|
128
135
|
request :create_remote_access_vpn
|
129
136
|
request :create_secondary_staging_store
|
130
137
|
request :create_security_group
|
138
|
+
request :create_service_instance
|
131
139
|
request :create_service_offering
|
132
140
|
request :create_snapshot
|
133
141
|
request :create_snapshot_policy
|
@@ -142,7 +150,6 @@ module Fog
|
|
142
150
|
request :create_vlan_ip_range
|
143
151
|
request :create_vm_snapshot
|
144
152
|
request :create_volume
|
145
|
-
request :create_volume_on_filer
|
146
153
|
request :create_vpc
|
147
154
|
request :create_vpcoffering
|
148
155
|
request :create_vpn_connection
|
@@ -162,6 +169,7 @@ module Fog
|
|
162
169
|
request :delete_auto_scale_policy
|
163
170
|
request :delete_auto_scale_vm_group
|
164
171
|
request :delete_auto_scale_vm_profile
|
172
|
+
request :delete_big_switch_vns_device
|
165
173
|
request :delete_cisco_asa1000v_resource
|
166
174
|
request :delete_cisco_nexus_vsm
|
167
175
|
request :delete_cisco_vnmc_resource
|
@@ -184,6 +192,7 @@ module Fog
|
|
184
192
|
request :delete_iso
|
185
193
|
request :delete_lb_health_check_policy
|
186
194
|
request :delete_lb_stickiness_policy
|
195
|
+
request :delete_ldap_configuration
|
187
196
|
request :delete_load_balancer
|
188
197
|
request :delete_load_balancer_rule
|
189
198
|
request :delete_netscaler_load_balancer
|
@@ -194,9 +203,10 @@ module Fog
|
|
194
203
|
request :delete_network_offering
|
195
204
|
request :delete_network_service_provider
|
196
205
|
request :delete_nicira_nvp_device
|
206
|
+
request :delete_open_daylight_controller
|
207
|
+
request :delete_palo_alto_firewall
|
197
208
|
request :delete_physical_network
|
198
209
|
request :delete_pod
|
199
|
-
request :delete_pool
|
200
210
|
request :delete_port_forwarding_rule
|
201
211
|
request :delete_portable_ip_range
|
202
212
|
request :delete_private_gateway
|
@@ -210,6 +220,7 @@ module Fog
|
|
210
220
|
request :delete_snapshot_policies
|
211
221
|
request :delete_srx_firewall
|
212
222
|
request :delete_ssh_key_pair
|
223
|
+
request :delete_ssl_cert
|
213
224
|
request :delete_static_route
|
214
225
|
request :delete_storage_network_ip_range
|
215
226
|
request :delete_storage_pool
|
@@ -217,7 +228,6 @@ module Fog
|
|
217
228
|
request :delete_template
|
218
229
|
request :delete_traffic_monitor
|
219
230
|
request :delete_traffic_type
|
220
|
-
request :delete_ucs_manager
|
221
231
|
request :delete_user
|
222
232
|
request :delete_vlan_ip_range
|
223
233
|
request :delete_vm_snapshot
|
@@ -229,11 +239,9 @@ module Fog
|
|
229
239
|
request :delete_vpn_gateway
|
230
240
|
request :delete_zone
|
231
241
|
request :deploy_virtual_machine
|
232
|
-
request :destroy_lun_on_filer
|
233
242
|
request :destroy_router
|
234
243
|
request :destroy_system_vm
|
235
244
|
request :destroy_virtual_machine
|
236
|
-
request :destroy_volume_on_filer
|
237
245
|
request :detach_iso
|
238
246
|
request :detach_volume
|
239
247
|
request :disable_account
|
@@ -242,27 +250,27 @@ module Fog
|
|
242
250
|
request :disable_static_nat
|
243
251
|
request :disable_user
|
244
252
|
request :disassociate_ip_address
|
245
|
-
request :disassociate_ucs_profile_from_blade
|
246
|
-
request :dissociate_lun
|
247
253
|
request :enable_account
|
248
254
|
request :enable_auto_scale_vm_group
|
249
255
|
request :enable_cisco_nexus_vsm
|
250
256
|
request :enable_static_nat
|
251
257
|
request :enable_storage_maintenance
|
252
258
|
request :enable_user
|
259
|
+
request :expunge_virtual_machine
|
253
260
|
request :extract_iso
|
254
261
|
request :extract_template
|
255
262
|
request :extract_volume
|
256
263
|
request :find_hosts_for_migration
|
257
264
|
request :find_storage_pools_for_migration
|
265
|
+
request :generate_alert
|
258
266
|
request :generate_usage_records
|
259
267
|
request :get_api_limit
|
260
268
|
request :get_cloud_identifier
|
261
269
|
request :get_user
|
270
|
+
request :get_virtual_machine_user_data
|
262
271
|
request :get_vm_password
|
263
|
-
request :
|
264
|
-
request :
|
265
|
-
request :ldap_remove
|
272
|
+
request :import_ldap_users
|
273
|
+
request :ldap_create_account
|
266
274
|
request :list_accounts
|
267
275
|
request :list_affinity_group_types
|
268
276
|
request :list_affinity_groups
|
@@ -274,6 +282,7 @@ module Fog
|
|
274
282
|
request :list_auto_scale_vm_profiles
|
275
283
|
request :list_baremetal_dhcp
|
276
284
|
request :list_baremetal_pxe_servers
|
285
|
+
request :list_big_switch_vns_devices
|
277
286
|
request :list_capabilities
|
278
287
|
request :list_capacity
|
279
288
|
request :list_cisco_asa1000v_resources
|
@@ -301,6 +310,7 @@ module Fog
|
|
301
310
|
request :list_f5_load_balancers
|
302
311
|
request :list_firewall_rules
|
303
312
|
request :list_global_load_balancer_rules
|
313
|
+
request :list_guest_os_mapping
|
304
314
|
request :list_hosts
|
305
315
|
request :list_hypervisor_capabilities
|
306
316
|
request :list_hypervisors
|
@@ -313,10 +323,11 @@ module Fog
|
|
313
323
|
request :list_isos
|
314
324
|
request :list_lb_health_check_policies
|
315
325
|
request :list_lb_stickiness_policies
|
326
|
+
request :list_ldap_configurations
|
327
|
+
request :list_ldap_users
|
316
328
|
request :list_load_balancer_rule_instances
|
317
329
|
request :list_load_balancer_rules
|
318
330
|
request :list_load_balancers
|
319
|
-
request :list_luns_on_filer
|
320
331
|
request :list_netscaler_load_balancer_networks
|
321
332
|
request :list_netscaler_load_balancers
|
322
333
|
request :list_network_acl_lists
|
@@ -329,11 +340,14 @@ module Fog
|
|
329
340
|
request :list_nicira_nvp_device_networks
|
330
341
|
request :list_nicira_nvp_devices
|
331
342
|
request :list_nics
|
343
|
+
request :list_open_daylight_controllers
|
332
344
|
request :list_os_categories
|
333
345
|
request :list_os_types
|
346
|
+
request :list_ovs_elements
|
347
|
+
request :list_palo_alto_firewall_networks
|
348
|
+
request :list_palo_alto_firewalls
|
334
349
|
request :list_physical_networks
|
335
350
|
request :list_pods
|
336
|
-
request :list_pools
|
337
351
|
request :list_port_forwarding_rules
|
338
352
|
request :list_portable_ip_ranges
|
339
353
|
request :list_private_gateways
|
@@ -355,6 +369,7 @@ module Fog
|
|
355
369
|
request :list_srx_firewall_networks
|
356
370
|
request :list_srx_firewalls
|
357
371
|
request :list_ssh_key_pairs
|
372
|
+
request :list_ssl_certs
|
358
373
|
request :list_static_routes
|
359
374
|
request :list_storage_network_ip_range
|
360
375
|
request :list_storage_pools
|
@@ -371,7 +386,6 @@ module Fog
|
|
371
386
|
request :list_ucs_blades
|
372
387
|
request :list_ucs_managers
|
373
388
|
request :list_ucs_profiles
|
374
|
-
request :list_ucs_templates
|
375
389
|
request :list_usage_records
|
376
390
|
request :list_usage_types
|
377
391
|
request :list_users
|
@@ -381,7 +395,6 @@ module Fog
|
|
381
395
|
request :list_vm_snapshot
|
382
396
|
request :list_vmware_dcs
|
383
397
|
request :list_volumes
|
384
|
-
request :list_volumes_on_filer
|
385
398
|
request :list_vpc_offerings
|
386
399
|
request :list_vpcs
|
387
400
|
request :list_vpn_connections
|
@@ -396,7 +409,6 @@ module Fog
|
|
396
409
|
request :migrate_virtual_machine
|
397
410
|
request :migrate_virtual_machine_with_volume
|
398
411
|
request :migrate_volume
|
399
|
-
request :modify_pool
|
400
412
|
request :prepare_host_for_maintenance
|
401
413
|
request :prepare_template
|
402
414
|
request :query_async_job_result
|
@@ -405,7 +417,6 @@ module Fog
|
|
405
417
|
request :reboot_virtual_machine
|
406
418
|
request :reconnect_host
|
407
419
|
request :recover_virtual_machine
|
408
|
-
request :refresh_ucs_blades
|
409
420
|
request :register_iso
|
410
421
|
request :register_ssh_key_pair
|
411
422
|
request :register_template
|
@@ -417,8 +428,11 @@ module Fog
|
|
417
428
|
request :release_dedicated_zone
|
418
429
|
request :release_host_reservation
|
419
430
|
request :release_public_ip_range
|
431
|
+
request :remove_cert_from_load_balancer
|
420
432
|
request :remove_from_global_load_balancer_rule
|
421
433
|
request :remove_from_load_balancer_rule
|
434
|
+
request :remove_guest_os
|
435
|
+
request :remove_guest_os_mapping
|
422
436
|
request :remove_ip_from_nic
|
423
437
|
request :remove_nic_from_virtual_machine
|
424
438
|
request :remove_region
|
@@ -434,6 +448,7 @@ module Fog
|
|
434
448
|
request :restart_network
|
435
449
|
request :restart_vpc
|
436
450
|
request :restore_virtual_machine
|
451
|
+
request :revert_snapshot
|
437
452
|
request :revert_to_vm_snapshot
|
438
453
|
request :revoke_security_group_egress
|
439
454
|
request :revoke_security_group_ingress
|
@@ -452,21 +467,31 @@ module Fog
|
|
452
467
|
request :update_auto_scale_policy
|
453
468
|
request :update_auto_scale_vm_group
|
454
469
|
request :update_auto_scale_vm_profile
|
470
|
+
request :update_cloud_to_use_object_store
|
455
471
|
request :update_cluster
|
456
472
|
request :update_configuration
|
457
473
|
request :update_default_nic_for_virtual_machine
|
458
474
|
request :update_disk_offering
|
459
475
|
request :update_domain
|
476
|
+
request :update_egress_firewall_rule
|
477
|
+
request :update_firewall_rule
|
460
478
|
request :update_global_load_balancer_rule
|
479
|
+
request :update_guest_os
|
480
|
+
request :update_guest_os_mapping
|
461
481
|
request :update_host
|
462
482
|
request :update_host_password
|
463
483
|
request :update_hypervisor_capabilities
|
464
484
|
request :update_instance_group
|
485
|
+
request :update_ip_address
|
465
486
|
request :update_iso
|
466
487
|
request :update_iso_permissions
|
488
|
+
request :update_lb_health_check_policy
|
489
|
+
request :update_lb_stickiness_policy
|
490
|
+
request :update_load_balancer
|
467
491
|
request :update_load_balancer_rule
|
468
492
|
request :update_network
|
469
493
|
request :update_network_acl_item
|
494
|
+
request :update_network_acl_list
|
470
495
|
request :update_network_offering
|
471
496
|
request :update_network_service_provider
|
472
497
|
request :update_physical_network
|
@@ -475,6 +500,7 @@ module Fog
|
|
475
500
|
request :update_project
|
476
501
|
request :update_project_invitation
|
477
502
|
request :update_region
|
503
|
+
request :update_remote_access_vpn
|
478
504
|
request :update_resource_count
|
479
505
|
request :update_resource_limit
|
480
506
|
request :update_service_offering
|
@@ -489,9 +515,13 @@ module Fog
|
|
489
515
|
request :update_volume
|
490
516
|
request :update_vpc
|
491
517
|
request :update_vpcoffering
|
518
|
+
request :update_vpn_connection
|
492
519
|
request :update_vpn_customer_gateway
|
520
|
+
request :update_vpn_gateway
|
493
521
|
request :update_zone
|
522
|
+
request :upgrade_router_template
|
494
523
|
request :upload_custom_certificate
|
524
|
+
request :upload_ssl_cert
|
495
525
|
request :upload_volume
|
496
526
|
|
497
527
|
|