Class: Fog::Compute::Cloudstack::Real
- Inherits:
-
Object
- Object
- Fog::Compute::Cloudstack::Real
- Defined in:
- lib/fog/cloudstack/compute.rb,
lib/fog/cloudstack/requests/compute/add_s3.rb,
lib/fog/cloudstack/requests/compute/add_host.rb,
lib/fog/cloudstack/requests/compute/copy_iso.rb,
lib/fog/cloudstack/requests/compute/get_user.rb,
lib/fog/cloudstack/requests/compute/list_s3s.rb,
lib/fog/cloudstack/requests/compute/add_swift.rb,
lib/fog/cloudstack/requests/compute/list_apis.rb,
lib/fog/cloudstack/requests/compute/list_isos.rb,
lib/fog/cloudstack/requests/compute/list_nics.rb,
lib/fog/cloudstack/requests/compute/list_pods.rb,
lib/fog/cloudstack/requests/compute/list_tags.rb,
lib/fog/cloudstack/requests/compute/list_vpcs.rb,
lib/fog/cloudstack/requests/compute/lock_user.rb,
lib/fog/cloudstack/requests/compute/add_region.rb,
lib/fog/cloudstack/requests/compute/attach_iso.rb,
lib/fog/cloudstack/requests/compute/create_pod.rb,
lib/fog/cloudstack/requests/compute/create_vpc.rb,
lib/fog/cloudstack/requests/compute/delete_iso.rb,
lib/fog/cloudstack/requests/compute/delete_pod.rb,
lib/fog/cloudstack/requests/compute/delete_vpc.rb,
lib/fog/cloudstack/requests/compute/detach_iso.rb,
lib/fog/cloudstack/requests/compute/list_hosts.rb,
lib/fog/cloudstack/requests/compute/list_pools.rb,
lib/fog/cloudstack/requests/compute/list_users.rb,
lib/fog/cloudstack/requests/compute/list_zones.rb,
lib/fog/cloudstack/requests/compute/update_iso.rb,
lib/fog/cloudstack/requests/compute/update_pod.rb,
lib/fog/cloudstack/requests/compute/update_vpc.rb,
lib/fog/cloudstack/requests/compute/add_cluster.rb,
lib/fog/cloudstack/requests/compute/create_pool.rb,
lib/fog/cloudstack/requests/compute/create_tags.rb,
lib/fog/cloudstack/requests/compute/create_user.rb,
lib/fog/cloudstack/requests/compute/create_zone.rb,
lib/fog/cloudstack/requests/compute/delete_host.rb,
lib/fog/cloudstack/requests/compute/delete_pool.rb,
lib/fog/cloudstack/requests/compute/delete_tags.rb,
lib/fog/cloudstack/requests/compute/delete_user.rb,
lib/fog/cloudstack/requests/compute/delete_zone.rb,
lib/fog/cloudstack/requests/compute/enable_user.rb,
lib/fog/cloudstack/requests/compute/extract_iso.rb,
lib/fog/cloudstack/requests/compute/ldap_config.rb,
lib/fog/cloudstack/requests/compute/ldap_remove.rb,
lib/fog/cloudstack/requests/compute/list_alerts.rb,
lib/fog/cloudstack/requests/compute/list_events.rb,
lib/fog/cloudstack/requests/compute/list_swifts.rb,
lib/fog/cloudstack/requests/compute/modify_pool.rb,
lib/fog/cloudstack/requests/compute/restart_vpc.rb,
lib/fog/cloudstack/requests/compute/stop_router.rb,
lib/fog/cloudstack/requests/compute/update_host.rb,
lib/fog/cloudstack/requests/compute/update_user.rb,
lib/fog/cloudstack/requests/compute/update_zone.rb,
lib/fog/cloudstack/requests/compute/add_vpn_user.rb,
lib/fog/cloudstack/requests/compute/dedicate_pod.rb,
lib/fog/cloudstack/requests/compute/disable_user.rb,
lib/fog/cloudstack/requests/compute/list_domains.rb,
lib/fog/cloudstack/requests/compute/list_regions.rb,
lib/fog/cloudstack/requests/compute/list_routers.rb,
lib/fog/cloudstack/requests/compute/list_volumes.rb,
lib/fog/cloudstack/requests/compute/lock_account.rb,
lib/fog/cloudstack/requests/compute/register_iso.rb,
lib/fog/cloudstack/requests/compute/start_router.rb,
lib/fog/cloudstack/requests/compute/add_ip_to_nic.rb,
lib/fog/cloudstack/requests/compute/add_vmware_dc.rb,
lib/fog/cloudstack/requests/compute/associate_lun.rb,
lib/fog/cloudstack/requests/compute/attach_volume.rb,
lib/fog/cloudstack/requests/compute/copy_template.rb,
lib/fog/cloudstack/requests/compute/create_domain.rb,
lib/fog/cloudstack/requests/compute/create_volume.rb,
lib/fog/cloudstack/requests/compute/dedicate_host.rb,
lib/fog/cloudstack/requests/compute/dedicate_zone.rb,
lib/fog/cloudstack/requests/compute/delete_alerts.rb,
lib/fog/cloudstack/requests/compute/delete_domain.rb,
lib/fog/cloudstack/requests/compute/delete_events.rb,
lib/fog/cloudstack/requests/compute/delete_volume.rb,
lib/fog/cloudstack/requests/compute/detach_volume.rb,
lib/fog/cloudstack/requests/compute/get_api_limit.rb,
lib/fog/cloudstack/requests/compute/list_accounts.rb,
lib/fog/cloudstack/requests/compute/list_capacity.rb,
lib/fog/cloudstack/requests/compute/list_clusters.rb,
lib/fog/cloudstack/requests/compute/list_counters.rb,
lib/fog/cloudstack/requests/compute/list_networks.rb,
lib/fog/cloudstack/requests/compute/list_os_types.rb,
lib/fog/cloudstack/requests/compute/list_projects.rb,
lib/fog/cloudstack/requests/compute/reboot_router.rb,
lib/fog/cloudstack/requests/compute/remove_region.rb,
lib/fog/cloudstack/requests/compute/resize_volume.rb,
lib/fog/cloudstack/requests/compute/update_domain.rb,
lib/fog/cloudstack/requests/compute/update_region.rb,
lib/fog/cloudstack/requests/compute/update_volume.rb,
lib/fog/cloudstack/requests/compute/upload_volume.rb,
lib/fog/cloudstack/requests/compute/archive_alerts.rb,
lib/fog/cloudstack/requests/compute/archive_events.rb,
lib/fog/cloudstack/requests/compute/create_account.rb,
lib/fog/cloudstack/requests/compute/create_counter.rb,
lib/fog/cloudstack/requests/compute/create_network.rb,
lib/fog/cloudstack/requests/compute/create_project.rb,
lib/fog/cloudstack/requests/compute/delete_account.rb,
lib/fog/cloudstack/requests/compute/delete_cluster.rb,
lib/fog/cloudstack/requests/compute/delete_counter.rb,
lib/fog/cloudstack/requests/compute/delete_network.rb,
lib/fog/cloudstack/requests/compute/delete_project.rb,
lib/fog/cloudstack/requests/compute/destroy_router.rb,
lib/fog/cloudstack/requests/compute/dissociate_lun.rb,
lib/fog/cloudstack/requests/compute/enable_account.rb,
lib/fog/cloudstack/requests/compute/extract_volume.rb,
lib/fog/cloudstack/requests/compute/list_snapshots.rb,
lib/fog/cloudstack/requests/compute/list_templates.rb,
lib/fog/cloudstack/requests/compute/list_vpn_users.rb,
lib/fog/cloudstack/requests/compute/migrate_volume.rb,
lib/fog/cloudstack/requests/compute/reconnect_host.rb,
lib/fog/cloudstack/requests/compute/stop_system_vm.rb,
lib/fog/cloudstack/requests/compute/update_account.rb,
lib/fog/cloudstack/requests/compute/update_cluster.rb,
lib/fog/cloudstack/requests/compute/update_network.rb,
lib/fog/cloudstack/requests/compute/update_project.rb,
lib/fog/cloudstack/requests/compute/add_image_store.rb,
lib/fog/cloudstack/requests/compute/add_ucs_manager.rb,
lib/fog/cloudstack/requests/compute/create_snapshot.rb,
lib/fog/cloudstack/requests/compute/create_template.rb,
lib/fog/cloudstack/requests/compute/delete_snapshot.rb,
lib/fog/cloudstack/requests/compute/delete_template.rb,
lib/fog/cloudstack/requests/compute/disable_account.rb,
lib/fog/cloudstack/requests/compute/get_vm_password.rb,
lib/fog/cloudstack/requests/compute/list_async_jobs.rb,
lib/fog/cloudstack/requests/compute/list_conditions.rb,
lib/fog/cloudstack/requests/compute/list_system_vms.rb,
lib/fog/cloudstack/requests/compute/list_ucs_blades.rb,
lib/fog/cloudstack/requests/compute/list_vmware_dcs.rb,
lib/fog/cloudstack/requests/compute/remove_vpn_user.rb,
lib/fog/cloudstack/requests/compute/reset_api_limit.rb,
lib/fog/cloudstack/requests/compute/restart_network.rb,
lib/fog/cloudstack/requests/compute/scale_system_vm.rb,
lib/fog/cloudstack/requests/compute/start_system_vm.rb,
lib/fog/cloudstack/requests/compute/suspend_project.rb,
lib/fog/cloudstack/requests/compute/update_template.rb,
lib/fog/cloudstack/requests/compute/activate_project.rb,
lib/fog/cloudstack/requests/compute/add_srx_firewall.rb,
lib/fog/cloudstack/requests/compute/add_traffic_type.rb,
lib/fog/cloudstack/requests/compute/create_condition.rb,
lib/fog/cloudstack/requests/compute/dedicate_cluster.rb,
lib/fog/cloudstack/requests/compute/delete_condition.rb,
lib/fog/cloudstack/requests/compute/extract_template.rb,
lib/fog/cloudstack/requests/compute/list_event_types.rb,
lib/fog/cloudstack/requests/compute/list_hypervisors.rb,
lib/fog/cloudstack/requests/compute/list_usage_types.rb,
lib/fog/cloudstack/requests/compute/list_vm_snapshot.rb,
lib/fog/cloudstack/requests/compute/prepare_template.rb,
lib/fog/cloudstack/requests/compute/reboot_system_vm.rb,
lib/fog/cloudstack/requests/compute/remove_vmware_dc.rb,
lib/fog/cloudstack/requests/compute/destroy_system_vm.rb,
lib/fog/cloudstack/requests/compute/enable_static_nat.rb,
lib/fog/cloudstack/requests/compute/list_capabilities.rb,
lib/fog/cloudstack/requests/compute/list_image_stores.rb,
lib/fog/cloudstack/requests/compute/list_network_acls.rb,
lib/fog/cloudstack/requests/compute/list_ucs_managers.rb,
lib/fog/cloudstack/requests/compute/list_ucs_profiles.rb,
lib/fog/cloudstack/requests/compute/list_vpn_gateways.rb,
lib/fog/cloudstack/requests/compute/migrate_system_vm.rb,
lib/fog/cloudstack/requests/compute/register_template.rb,
lib/fog/cloudstack/requests/compute/acquire_ip_address.rb,
lib/fog/cloudstack/requests/compute/add_baremetal_dhcp.rb,
lib/fog/cloudstack/requests/compute/add_baremetal_host.rb,
lib/fog/cloudstack/requests/compute/add_network_device.rb,
lib/fog/cloudstack/requests/compute/create_network_acl.rb,
lib/fog/cloudstack/requests/compute/create_vm_snapshot.rb,
lib/fog/cloudstack/requests/compute/create_vpcoffering.rb,
lib/fog/cloudstack/requests/compute/create_vpn_gateway.rb,
lib/fog/cloudstack/requests/compute/delete_image_store.rb,
lib/fog/cloudstack/requests/compute/delete_network_acl.rb,
lib/fog/cloudstack/requests/compute/delete_ucs_manager.rb,
lib/fog/cloudstack/requests/compute/delete_vm_snapshot.rb,
lib/fog/cloudstack/requests/compute/delete_vpcoffering.rb,
lib/fog/cloudstack/requests/compute/delete_vpn_gateway.rb,
lib/fog/cloudstack/requests/compute/disable_static_nat.rb,
lib/fog/cloudstack/requests/compute/list_luns_on_filer.rb,
lib/fog/cloudstack/requests/compute/list_os_categories.rb,
lib/fog/cloudstack/requests/compute/list_srx_firewalls.rb,
lib/fog/cloudstack/requests/compute/list_ssh_key_pairs.rb,
lib/fog/cloudstack/requests/compute/list_static_routes.rb,
lib/fog/cloudstack/requests/compute/list_storage_pools.rb,
lib/fog/cloudstack/requests/compute/list_traffic_types.rb,
lib/fog/cloudstack/requests/compute/list_ucs_templates.rb,
lib/fog/cloudstack/requests/compute/list_usage_records.rb,
lib/fog/cloudstack/requests/compute/list_vpc_offerings.rb,
lib/fog/cloudstack/requests/compute/refresh_ucs_blades.rb,
lib/fog/cloudstack/requests/compute/register_user_keys.rb,
lib/fog/cloudstack/requests/compute/remove_ip_from_nic.rb,
lib/fog/cloudstack/requests/compute/update_vpcoffering.rb,
lib/fog/cloudstack/requests/compute/add_resource_detail.rb,
lib/fog/cloudstack/requests/compute/add_traffic_monitor.rb,
lib/fog/cloudstack/requests/compute/create_lun_on_filer.rb,
lib/fog/cloudstack/requests/compute/create_ssh_key_pair.rb,
lib/fog/cloudstack/requests/compute/create_static_route.rb,
lib/fog/cloudstack/requests/compute/create_storage_pool.rb,
lib/fog/cloudstack/requests/compute/delete_srx_firewall.rb,
lib/fog/cloudstack/requests/compute/delete_ssh_key_pair.rb,
lib/fog/cloudstack/requests/compute/delete_static_route.rb,
lib/fog/cloudstack/requests/compute/delete_storage_pool.rb,
lib/fog/cloudstack/requests/compute/delete_traffic_type.rb,
lib/fog/cloudstack/requests/compute/list_baremetal_dhcp.rb,
lib/fog/cloudstack/requests/compute/list_configurations.rb,
lib/fog/cloudstack/requests/compute/list_dedicated_pods.rb,
lib/fog/cloudstack/requests/compute/list_disk_offerings.rb,
lib/fog/cloudstack/requests/compute/list_firewall_rules.rb,
lib/fog/cloudstack/requests/compute/list_load_balancers.rb,
lib/fog/cloudstack/requests/compute/list_network_device.rb,
lib/fog/cloudstack/requests/compute/list_vlan_ip_ranges.rb,
lib/fog/cloudstack/requests/compute/update_storage_pool.rb,
lib/fog/cloudstack/requests/compute/update_traffic_type.rb,
lib/fog/cloudstack/requests/compute/add_f5_load_balancer.rb,
lib/fog/cloudstack/requests/compute/associate_ip_address.rb,
lib/fog/cloudstack/requests/compute/clean_vmreservations.rb,
lib/fog/cloudstack/requests/compute/create_disk_offering.rb,
lib/fog/cloudstack/requests/compute/create_firewall_rule.rb,
lib/fog/cloudstack/requests/compute/create_load_balancer.rb,
lib/fog/cloudstack/requests/compute/create_vlan_ip_range.rb,
lib/fog/cloudstack/requests/compute/delete_disk_offering.rb,
lib/fog/cloudstack/requests/compute/delete_firewall_rule.rb,
lib/fog/cloudstack/requests/compute/delete_load_balancer.rb,
lib/fog/cloudstack/requests/compute/delete_vlan_ip_range.rb,
lib/fog/cloudstack/requests/compute/destroy_lun_on_filer.rb,
lib/fog/cloudstack/requests/compute/get_cloud_identifier.rb,
lib/fog/cloudstack/requests/compute/list_affinity_groups.rb,
lib/fog/cloudstack/requests/compute/list_dedicated_hosts.rb,
lib/fog/cloudstack/requests/compute/list_dedicated_zones.rb,
lib/fog/cloudstack/requests/compute/list_domain_children.rb,
lib/fog/cloudstack/requests/compute/list_instance_groups.rb,
lib/fog/cloudstack/requests/compute/list_iso_permissions.rb,
lib/fog/cloudstack/requests/compute/list_resource_limits.rb,
lib/fog/cloudstack/requests/compute/list_security_groups.rb,
lib/fog/cloudstack/requests/compute/list_vpn_connections.rb,
lib/fog/cloudstack/requests/compute/reset_vpn_connection.rb,
lib/fog/cloudstack/requests/compute/stop_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/update_configuration.rb,
lib/fog/cloudstack/requests/compute/update_disk_offering.rb,
lib/fog/cloudstack/requests/compute/update_host_password.rb,
lib/fog/cloudstack/requests/compute/add_external_firewall.rb,
lib/fog/cloudstack/requests/compute/add_nicira_nvp_device.rb,
lib/fog/cloudstack/requests/compute/add_secondary_storage.rb,
lib/fog/cloudstack/requests/compute/create_affinity_group.rb,
lib/fog/cloudstack/requests/compute/create_instance_group.rb,
lib/fog/cloudstack/requests/compute/create_security_group.rb,
lib/fog/cloudstack/requests/compute/create_vpn_connection.rb,
lib/fog/cloudstack/requests/compute/delete_affinity_group.rb,
lib/fog/cloudstack/requests/compute/delete_instance_group.rb,
lib/fog/cloudstack/requests/compute/delete_network_device.rb,
lib/fog/cloudstack/requests/compute/delete_security_group.rb,
lib/fog/cloudstack/requests/compute/delete_vpn_connection.rb,
lib/fog/cloudstack/requests/compute/list_cisco_nexus_vsms.rb,
lib/fog/cloudstack/requests/compute/list_private_gateways.rb,
lib/fog/cloudstack/requests/compute/list_project_accounts.rb,
lib/fog/cloudstack/requests/compute/list_resource_details.rb,
lib/fog/cloudstack/requests/compute/list_traffic_monitors.rb,
lib/fog/cloudstack/requests/compute/list_virtual_machines.rb,
lib/fog/cloudstack/requests/compute/list_volumes_on_filer.rb,
lib/fog/cloudstack/requests/compute/register_ssh_key_pair.rb,
lib/fog/cloudstack/requests/compute/release_dedicated_pod.rb,
lib/fog/cloudstack/requests/compute/revert_to_vm_snapshot.rb,
lib/fog/cloudstack/requests/compute/scale_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/start_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/update_instance_group.rb,
lib/fog/cloudstack/requests/compute/update_resource_count.rb,
lib/fog/cloudstack/requests/compute/update_resource_limit.rb,
lib/fog/cloudstack/requests/compute/add_account_to_project.rb,
lib/fog/cloudstack/requests/compute/assign_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/configure_srx_firewall.rb,
lib/fog/cloudstack/requests/compute/create_private_gateway.rb,
lib/fog/cloudstack/requests/compute/create_snapshot_policy.rb,
lib/fog/cloudstack/requests/compute/create_volume_on_filer.rb,
lib/fog/cloudstack/requests/compute/delete_cisco_nexus_vsm.rb,
lib/fog/cloudstack/requests/compute/delete_private_gateway.rb,
lib/fog/cloudstack/requests/compute/delete_traffic_monitor.rb,
lib/fog/cloudstack/requests/compute/deploy_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/enable_cisco_nexus_vsm.rb,
lib/fog/cloudstack/requests/compute/generate_usage_records.rb,
lib/fog/cloudstack/requests/compute/list_f5_load_balancers.rb,
lib/fog/cloudstack/requests/compute/list_network_acl_lists.rb,
lib/fog/cloudstack/requests/compute/list_network_offerings.rb,
lib/fog/cloudstack/requests/compute/list_physical_networks.rb,
lib/fog/cloudstack/requests/compute/list_service_offerings.rb,
lib/fog/cloudstack/requests/compute/list_snapshot_policies.rb,
lib/fog/cloudstack/requests/compute/list_storage_providers.rb,
lib/fog/cloudstack/requests/compute/query_async_job_result.rb,
lib/fog/cloudstack/requests/compute/reboot_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/release_dedicated_host.rb,
lib/fog/cloudstack/requests/compute/release_dedicated_zone.rb,
lib/fog/cloudstack/requests/compute/remove_resource_detail.rb,
lib/fog/cloudstack/requests/compute/update_iso_permissions.rb,
lib/fog/cloudstack/requests/compute/update_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/add_cisco_vnmc_resource.rb,
lib/fog/cloudstack/requests/compute/cancel_host_maintenance.rb,
lib/fog/cloudstack/requests/compute/create_network_acl_list.rb,
lib/fog/cloudstack/requests/compute/create_network_offering.rb,
lib/fog/cloudstack/requests/compute/create_physical_network.rb,
lib/fog/cloudstack/requests/compute/create_service_offering.rb,
lib/fog/cloudstack/requests/compute/delete_f5_load_balancer.rb,
lib/fog/cloudstack/requests/compute/delete_network_acl_list.rb,
lib/fog/cloudstack/requests/compute/delete_network_offering.rb,
lib/fog/cloudstack/requests/compute/delete_physical_network.rb,
lib/fog/cloudstack/requests/compute/delete_service_offering.rb,
lib/fog/cloudstack/requests/compute/destroy_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/destroy_volume_on_filer.rb,
lib/fog/cloudstack/requests/compute/disable_cisco_nexus_vsm.rb,
lib/fog/cloudstack/requests/compute/disassociate_ip_address.rb,
lib/fog/cloudstack/requests/compute/list_dedicated_clusters.rb,
lib/fog/cloudstack/requests/compute/list_external_firewalls.rb,
lib/fog/cloudstack/requests/compute/list_nicira_nvp_devices.rb,
lib/fog/cloudstack/requests/compute/list_portable_ip_ranges.rb,
lib/fog/cloudstack/requests/compute/list_remote_access_vpns.rb,
lib/fog/cloudstack/requests/compute/migrate_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/recover_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/release_public_ip_range.rb,
lib/fog/cloudstack/requests/compute/restore_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/update_network_acl_item.rb,
lib/fog/cloudstack/requests/compute/update_network_offering.rb,
lib/fog/cloudstack/requests/compute/update_physical_network.rb,
lib/fog/cloudstack/requests/compute/update_service_offering.rb,
lib/fog/cloudstack/requests/compute/create_auto_scale_policy.rb,
lib/fog/cloudstack/requests/compute/create_portable_ip_range.rb,
lib/fog/cloudstack/requests/compute/create_remote_access_vpn.rb,
lib/fog/cloudstack/requests/compute/dedicate_public_ip_range.rb,
lib/fog/cloudstack/requests/compute/delete_auto_scale_policy.rb,
lib/fog/cloudstack/requests/compute/delete_external_firewall.rb,
lib/fog/cloudstack/requests/compute/delete_nicira_nvp_device.rb,
lib/fog/cloudstack/requests/compute/delete_portable_ip_range.rb,
lib/fog/cloudstack/requests/compute/delete_remote_access_vpn.rb,
lib/fog/cloudstack/requests/compute/delete_snapshot_policies.rb,
lib/fog/cloudstack/requests/compute/find_hosts_for_migration.rb,
lib/fog/cloudstack/requests/compute/list_auto_scale_policies.rb,
lib/fog/cloudstack/requests/compute/list_deployment_planners.rb,
lib/fog/cloudstack/requests/compute/list_ip_forwarding_rules.rb,
lib/fog/cloudstack/requests/compute/list_load_balancer_rules.rb,
lib/fog/cloudstack/requests/compute/list_project_invitations.rb,
lib/fog/cloudstack/requests/compute/list_public_ip_addresses.rb,
lib/fog/cloudstack/requests/compute/release_host_reservation.rb,
lib/fog/cloudstack/requests/compute/replace_network_acl_list.rb,
lib/fog/cloudstack/requests/compute/update_auto_scale_policy.rb,
lib/fog/cloudstack/requests/compute/update_vm_affinity_group.rb,
lib/fog/cloudstack/requests/compute/change_service_for_router.rb,
lib/fog/cloudstack/requests/compute/create_ip_forwarding_rule.rb,
lib/fog/cloudstack/requests/compute/create_load_balancer_rule.rb,
lib/fog/cloudstack/requests/compute/dedicate_guest_vlan_range.rb,
lib/fog/cloudstack/requests/compute/delete_ip_forwarding_rule.rb,
lib/fog/cloudstack/requests/compute/delete_load_balancer_rule.rb,
lib/fog/cloudstack/requests/compute/delete_project_invitation.rb,
lib/fog/cloudstack/requests/compute/list_affinity_group_types.rb,
lib/fog/cloudstack/requests/compute/list_auto_scale_vm_groups.rb,
lib/fog/cloudstack/requests/compute/list_cisco_vnmc_resources.rb,
lib/fog/cloudstack/requests/compute/list_template_permissions.rb,
lib/fog/cloudstack/requests/compute/release_dedicated_cluster.rb,
lib/fog/cloudstack/requests/compute/update_load_balancer_rule.rb,
lib/fog/cloudstack/requests/compute/update_project_invitation.rb,
lib/fog/cloudstack/requests/compute/upload_custom_certificate.rb,
lib/fog/cloudstack/requests/compute/add_external_load_balancer.rb,
lib/fog/cloudstack/requests/compute/add_nic_to_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/cancel_storage_maintenance.rb,
lib/fog/cloudstack/requests/compute/configure_f5_load_balancer.rb,
lib/fog/cloudstack/requests/compute/create_auto_scale_vm_group.rb,
lib/fog/cloudstack/requests/compute/delete_auto_scale_vm_group.rb,
lib/fog/cloudstack/requests/compute/delete_cisco_vnmc_resource.rb,
lib/fog/cloudstack/requests/compute/enable_auto_scale_vm_group.rb,
lib/fog/cloudstack/requests/compute/enable_storage_maintenance.rb,
lib/fog/cloudstack/requests/compute/list_baremetal_pxe_servers.rb,
lib/fog/cloudstack/requests/compute/list_egress_firewall_rules.rb,
lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb,
lib/fog/cloudstack/requests/compute/list_srx_firewall_networks.rb,
lib/fog/cloudstack/requests/compute/list_vpn_customer_gateways.rb,
lib/fog/cloudstack/requests/compute/update_auto_scale_vm_group.rb,
lib/fog/cloudstack/requests/compute/add_cisco_asa1000v_resource.rb,
lib/fog/cloudstack/requests/compute/add_netscaler_load_balancer.rb,
lib/fog/cloudstack/requests/compute/create_egress_firewall_rule.rb,
lib/fog/cloudstack/requests/compute/create_lb_stickiness_policy.rb,
lib/fog/cloudstack/requests/compute/create_port_forwarding_rule.rb,
lib/fog/cloudstack/requests/compute/create_vpn_customer_gateway.rb,
lib/fog/cloudstack/requests/compute/delete_account_from_project.rb,
lib/fog/cloudstack/requests/compute/delete_egress_firewall_rule.rb,
lib/fog/cloudstack/requests/compute/delete_lb_stickiness_policy.rb,
lib/fog/cloudstack/requests/compute/delete_port_forwarding_rule.rb,
lib/fog/cloudstack/requests/compute/delete_vpn_customer_gateway.rb,
lib/fog/cloudstack/requests/compute/disable_auto_scale_vm_group.rb,
lib/fog/cloudstack/requests/compute/list_auto_scale_vm_profiles.rb,
lib/fog/cloudstack/requests/compute/list_lb_stickiness_policies.rb,
lib/fog/cloudstack/requests/compute/update_port_forwarding_rule.rb,
lib/fog/cloudstack/requests/compute/update_template_permissions.rb,
lib/fog/cloudstack/requests/compute/update_vpn_customer_gateway.rb,
lib/fog/cloudstack/requests/compute/add_network_service_provider.rb,
lib/fog/cloudstack/requests/compute/assign_to_load_balancer_rule.rb,
lib/fog/cloudstack/requests/compute/change_service_for_system_vm.rb,
lib/fog/cloudstack/requests/compute/create_auto_scale_vm_profile.rb,
lib/fog/cloudstack/requests/compute/delete_auto_scale_vm_profile.rb,
lib/fog/cloudstack/requests/compute/list_external_load_balancers.rb,
lib/fog/cloudstack/requests/compute/list_hypervisor_capabilities.rb,
lib/fog/cloudstack/requests/compute/list_virtual_router_elements.rb,
lib/fog/cloudstack/requests/compute/prepare_host_for_maintenance.rb,
lib/fog/cloudstack/requests/compute/revoke_security_group_egress.rb,
lib/fog/cloudstack/requests/compute/update_auto_scale_vm_profile.rb,
lib/fog/cloudstack/requests/compute/add_baremetal_pxe_ping_server.rb,
lib/fog/cloudstack/requests/compute/create_lb_health_check_policy.rb,
lib/fog/cloudstack/requests/compute/create_virtual_router_element.rb,
lib/fog/cloudstack/requests/compute/delete_external_load_balancer.rb,
lib/fog/cloudstack/requests/compute/delete_lb_health_check_policy.rb,
lib/fog/cloudstack/requests/compute/list_cisco_asa1000v_resources.rb,
lib/fog/cloudstack/requests/compute/list_lb_health_check_policies.rb,
lib/fog/cloudstack/requests/compute/list_netscaler_load_balancers.rb,
lib/fog/cloudstack/requests/compute/list_secondary_staging_stores.rb,
lib/fog/cloudstack/requests/compute/list_storage_network_ip_range.rb,
lib/fog/cloudstack/requests/compute/mark_default_zone_for_account.rb,
lib/fog/cloudstack/requests/compute/revoke_security_group_ingress.rb,
lib/fog/cloudstack/requests/compute/associate_ucs_profile_to_blade.rb,
lib/fog/cloudstack/requests/compute/create_secondary_staging_store.rb,
lib/fog/cloudstack/requests/compute/delete_cisco_asa1000v_resource.rb,
lib/fog/cloudstack/requests/compute/delete_netscaler_load_balancer.rb,
lib/fog/cloudstack/requests/compute/delete_secondary_staging_store.rb,
lib/fog/cloudstack/requests/compute/list_f5_load_balancer_networks.rb,
lib/fog/cloudstack/requests/compute/list_network_isolation_methods.rb,
lib/fog/cloudstack/requests/compute/list_network_service_providers.rb,
lib/fog/cloudstack/requests/compute/list_traffic_type_implementors.rb,
lib/fog/cloudstack/requests/compute/remove_from_load_balancer_rule.rb,
lib/fog/cloudstack/requests/compute/stop_internal_load_balancer_vm.rb,
lib/fog/cloudstack/requests/compute/update_hypervisor_capabilities.rb,
lib/fog/cloudstack/requests/compute/authorize_security_group_egress.rb,
lib/fog/cloudstack/requests/compute/create_storage_network_ip_range.rb,
lib/fog/cloudstack/requests/compute/delete_network_service_provider.rb,
lib/fog/cloudstack/requests/compute/delete_storage_network_ip_range.rb,
lib/fog/cloudstack/requests/compute/list_global_load_balancer_rules.rb,
lib/fog/cloudstack/requests/compute/list_internal_load_balancer_vms.rb,
lib/fog/cloudstack/requests/compute/list_nicira_nvp_device_networks.rb,
lib/fog/cloudstack/requests/compute/list_supported_network_services.rb,
lib/fog/cloudstack/requests/compute/remove_nic_from_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/start_internal_load_balancer_vm.rb,
lib/fog/cloudstack/requests/compute/update_network_service_provider.rb,
lib/fog/cloudstack/requests/compute/update_storage_network_ip_range.rb,
lib/fog/cloudstack/requests/compute/authorize_security_group_ingress.rb,
lib/fog/cloudstack/requests/compute/configure_virtual_router_element.rb,
lib/fog/cloudstack/requests/compute/create_global_load_balancer_rule.rb,
lib/fog/cloudstack/requests/compute/delete_global_load_balancer_rule.rb,
lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb,
lib/fog/cloudstack/requests/compute/list_dedicated_guest_vlan_ranges.rb,
lib/fog/cloudstack/requests/compute/update_global_load_balancer_rule.rb,
lib/fog/cloudstack/requests/compute/configure_netscaler_load_balancer.rb,
lib/fog/cloudstack/requests/compute/list_load_balancer_rule_instances.rb,
lib/fog/cloudstack/requests/compute/reset_ssh_key_for_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/change_service_for_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/release_dedicated_guest_vlan_range.rb,
lib/fog/cloudstack/requests/compute/reset_password_for_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/add_baremetal_pxe_kick_start_server.rb,
lib/fog/cloudstack/requests/compute/assign_to_global_load_balancer_rule.rb,
lib/fog/cloudstack/requests/compute/disassociate_ucs_profile_from_blade.rb,
lib/fog/cloudstack/requests/compute/migrate_virtual_machine_with_volume.rb,
lib/fog/cloudstack/requests/compute/list_internal_load_balancer_elements.rb,
lib/fog/cloudstack/requests/compute/create_internal_load_balancer_element.rb,
lib/fog/cloudstack/requests/compute/list_netscaler_load_balancer_networks.rb,
lib/fog/cloudstack/requests/compute/remove_from_global_load_balancer_rule.rb,
lib/fog/cloudstack/requests/compute/update_default_nic_for_virtual_machine.rb,
lib/fog/cloudstack/requests/compute/configure_internal_load_balancer_element.rb,
lib/fog/cloudstack/requests/compute/instantiate_ucs_template_and_assocaciate_to_blade.rb
Instance Method Summary collapse
-
#acquire_ip_address(options = {}) ⇒ Object
Creates an account.
-
#activate_project(id, options = {}) ⇒ Object
Activates a project.
-
#add_account_to_project(projectid, options = {}) ⇒ Object
Adds acoount to a project.
-
#add_baremetal_dhcp(dhcpservertype, physicalnetworkid, username, url, password, options = {}) ⇒ Object
adds a baremetal dhcp server.
-
#add_baremetal_host(zoneid, password, podid, username, hypervisor, url, options = {}) ⇒ Object
add a baremetal host.
-
#add_baremetal_pxe_kick_start_server(username, url, physicalnetworkid, password, pxeservertype, tftpdir, options = {}) ⇒ Object
add a baremetal pxe server.
-
#add_baremetal_pxe_ping_server(password, pxeservertype, pingstorageserverip, tftpdir, url, physicalnetworkid, pingdir, username, options = {}) ⇒ Object
add a baremetal ping pxe server.
-
#add_cisco_asa1000v_resource(physicalnetworkid, clusterid, hostname, insideportprofile, options = {}) ⇒ Object
Adds a Cisco Asa 1000v appliance.
-
#add_cisco_vnmc_resource(physicalnetworkid, hostname, password, username, options = {}) ⇒ Object
Adds a Cisco Vnmc Controller.
-
#add_cluster(podid, clustername, clustertype, hypervisor, zoneid, options = {}) ⇒ Object
Adds a new cluster.
-
#add_external_firewall(url, username, password, zoneid, options = {}) ⇒ Object
Adds an external firewall appliance.
-
#add_external_load_balancer(zoneid, username, password, url, options = {}) ⇒ Object
Adds F5 external load balancer appliance.
-
#add_f5_load_balancer(url, physicalnetworkid, networkdevicetype, username, password, options = {}) ⇒ Object
Adds a F5 BigIP load balancer device.
-
#add_host(hypervisor, zoneid, url, password, podid, username, options = {}) ⇒ Object
Adds a new host.
-
#add_image_store(provider, options = {}) ⇒ Object
Adds backup image store.
-
#add_ip_to_nic(nicid, options = {}) ⇒ Object
Assigns secondary IP to NIC.
-
#add_netscaler_load_balancer(password, username, physicalnetworkid, networkdevicetype, url, options = {}) ⇒ Object
Adds a netscaler load balancer device.
-
#add_network_device(options = {}) ⇒ Object
Adds a network device of one of the following types: ExternalDhcp, ExternalFirewall, ExternalLoadBalancer, PxeServer.
-
#add_network_service_provider(physicalnetworkid, name, options = {}) ⇒ Object
Adds a network serviceProvider to a physical network.
-
#add_nic_to_virtual_machine(virtualmachineid, networkid, options = {}) ⇒ Object
Adds VM to specified network by creating a NIC.
-
#add_nicira_nvp_device(username, physicalnetworkid, transportzoneuuid, password, hostname, options = {}) ⇒ Object
Adds a Nicira NVP device.
-
#add_region(id, name, endpoint, options = {}) ⇒ Object
Adds a Region.
-
#add_resource_detail(resourcetype, details, resourceid, options = {}) ⇒ Object
Adds detail for the Resource.
-
#add_s3(bucket, accesskey, secretkey, options = {}) ⇒ Object
Adds S3.
-
#add_secondary_storage(url, options = {}) ⇒ Object
Adds secondary storage.
-
#add_srx_firewall(username, networkdevicetype, physicalnetworkid, password, url, options = {}) ⇒ Object
Adds a SRX firewall device.
-
#add_swift(url, options = {}) ⇒ Object
Adds Swift.
-
#add_traffic_monitor(zoneid, url, options = {}) ⇒ Object
Adds Traffic Monitor Host for Direct Network Usage.
-
#add_traffic_type(physicalnetworkid, traffictype, options = {}) ⇒ Object
Adds traffic type to a physical network.
-
#add_ucs_manager(zoneid, url, password, username, options = {}) ⇒ Object
Adds a Ucs manager.
-
#add_vmware_dc(zoneid, name, vcenter, options = {}) ⇒ Object
Adds a VMware datacenter to specified zone.
-
#add_vpn_user(password, username, options = {}) ⇒ Object
Adds vpn users.
-
#archive_alerts(options = {}) ⇒ Object
Archive one or more alerts.
-
#archive_events(options = {}) ⇒ Object
Archive one or more events.
-
#assign_to_global_load_balancer_rule(id, loadbalancerrulelist, options = {}) ⇒ Object
Assign load balancer rule or list of load balancer rules to a global load balancer rules.
-
#assign_to_load_balancer_rule(id, virtualmachineids, options = {}) ⇒ Object
Assigns virtual machine or a list of virtual machines to a load balancer rule.
-
#assign_virtual_machine(virtualmachineid, account, domainid, options = {}) ⇒ Object
Change ownership of a VM from one account to another.
-
#associate_ip_address(options = {}) ⇒ Object
Acquires and associates a public IP to an account.
-
#associate_lun(iqn, name, options = {}) ⇒ Object
Associate a LUN with a guest IQN.
-
#associate_ucs_profile_to_blade(bladeid, profiledn, ucsmanagerid, options = {}) ⇒ Object
associate a profile to a blade.
-
#attach_iso(id, virtualmachineid, options = {}) ⇒ Object
Attaches an ISO to a virtual machine.
-
#attach_volume(virtualmachineid, id, options = {}) ⇒ Object
Attaches a disk volume to a virtual machine.
-
#authorize_security_group_egress(options = {}) ⇒ Object
Authorizes a particular egress rule for this security group.
-
#authorize_security_group_ingress(options = {}) ⇒ Object
Authorizes a particular ingress rule for this security group.
-
#cancel_host_maintenance(id, options = {}) ⇒ Object
Cancels host maintenance.
-
#cancel_storage_maintenance(id, options = {}) ⇒ Object
Cancels maintenance for primary storage.
-
#change_service_for_router(serviceofferingid, id, options = {}) ⇒ Object
Upgrades domain router to a new service offering.
-
#change_service_for_system_vm(id, serviceofferingid, options = {}) ⇒ Object
Changes the service offering for a system vm (console proxy or secondary storage).
-
#change_service_for_virtual_machine(serviceofferingid, id, options = {}) ⇒ Object
Changes the service offering for a virtual machine.
-
#clean_vmreservations(options = {}) ⇒ Object
Cleanups VM reservations in the database.
-
#configure_f5_load_balancer(lbdeviceid, options = {}) ⇒ Object
configures a F5 load balancer device.
-
#configure_internal_load_balancer_element(id, enabled, options = {}) ⇒ Object
Configures an Internal Load Balancer element.
-
#configure_netscaler_load_balancer(lbdeviceid, options = {}) ⇒ Object
configures a netscaler load balancer device.
-
#configure_srx_firewall(fwdeviceid, options = {}) ⇒ Object
Configures a SRX firewall device.
-
#configure_virtual_router_element(id, enabled, options = {}) ⇒ Object
Configures a virtual router element.
-
#copy_iso(id, sourcezoneid, destzoneid, options = {}) ⇒ Object
Copies an iso from one zone to another.
-
#copy_template(destzoneid, id, sourcezoneid, options = {}) ⇒ Object
Copies a template from one zone to another.
-
#create_account(password, lastname, accounttype, username, email, firstname, options = {}) ⇒ Object
Creates an account.
-
#create_affinity_group(name, type, options = {}) ⇒ Object
Creates an affinity/anti-affinity group.
-
#create_auto_scale_policy(action, duration, conditionids, options = {}) ⇒ Object
Creates an autoscale policy for a provision or deprovision action, the action is taken when the all the conditions evaluates to true for the specified duration.
-
#create_auto_scale_vm_group(lbruleid, vmprofileid, scaleuppolicyids, minmembers, scaledownpolicyids, maxmembers, options = {}) ⇒ Object
Creates and automatically starts a virtual machine based on a service offering, disk offering, and template.
-
#create_auto_scale_vm_profile(serviceofferingid, templateid, zoneid, options = {}) ⇒ Object
Creates a profile that contains information about the virtual machine which will be provisioned automatically by autoscale feature.
-
#create_condition(relationaloperator, threshold, counterid, options = {}) ⇒ Object
Creates a condition.
-
#create_counter(source, value, name, options = {}) ⇒ Object
Adds metric counter.
-
#create_disk_offering(name, displaytext, options = {}) ⇒ Object
Creates a disk offering.
-
#create_domain(name, options = {}) ⇒ Object
Creates a domain.
-
#create_egress_firewall_rule(protocol, networkid, options = {}) ⇒ Object
Creates a egress firewall rule for a given network .
-
#create_firewall_rule(ipaddressid, protocol, options = {}) ⇒ Object
Creates a firewall rule for a given ip address.
-
#create_global_load_balancer_rule(gslbservicetype, gslbdomainname, regionid, name, options = {}) ⇒ Object
Creates a global load balancer rule.
-
#create_instance_group(name, options = {}) ⇒ Object
Creates a vm group.
-
#create_internal_load_balancer_element(nspid, options = {}) ⇒ Object
Create an Internal Load Balancer element.
-
#create_ip_forwarding_rule(startport, protocol, ipaddressid, options = {}) ⇒ Object
Creates an ip forwarding rule.
-
#create_lb_health_check_policy(lbruleid, options = {}) ⇒ Object
Creates a Load Balancer healthcheck policy .
-
#create_lb_stickiness_policy(lbruleid, methodname, name, options = {}) ⇒ Object
Creates a Load Balancer stickiness policy .
-
#create_load_balancer(scheme, networkid, instanceport, name, algorithm, sourceipaddressnetworkid, sourceport, options = {}) ⇒ Object
Creates a Load Balancer.
-
#create_load_balancer_rule(publicport, algorithm, privateport, name, options = {}) ⇒ Object
Creates a load balancer rule.
-
#create_lun_on_filer(size, name, options = {}) ⇒ Object
Create a LUN from a pool.
-
#create_network(displaytext, name, networkofferingid, zoneid, options = {}) ⇒ Object
Creates a network.
-
#create_network_acl(protocol, options = {}) ⇒ Object
Creates a ACL rule in the given network (the network has to belong to VPC).
-
#create_network_acl_list(vpcid, name, options = {}) ⇒ Object
Creates a Network ACL for the given VPC.
-
#create_network_offering(guestiptype, traffictype, name, supportedservices, displaytext, options = {}) ⇒ Object
Creates a network offering.
-
#create_physical_network(zoneid, name, options = {}) ⇒ Object
Creates a physical network.
-
#create_pod(netmask, name, startip, gateway, zoneid, options = {}) ⇒ Object
Creates a new Pod.
-
#create_pool(algorithm, name, options = {}) ⇒ Object
Create a pool.
-
#create_port_forwarding_rule(publicport, virtualmachineid, ipaddressid, privateport, protocol, options = {}) ⇒ Object
Creates a port forwarding rule.
-
#create_portable_ip_range(endip, startip, gateway, netmask, regionid, options = {}) ⇒ Object
adds a range of portable public IP’s to a region.
-
#create_private_gateway(vpcid, gateway, ipaddress, vlan, netmask, options = {}) ⇒ Object
Creates a private gateway.
-
#create_project(displaytext, name, options = {}) ⇒ Object
Creates a project.
-
#create_remote_access_vpn(publicipid, options = {}) ⇒ Object
Creates a l2tp/ipsec remote access vpn.
-
#create_secondary_staging_store(url, options = {}) ⇒ Object
create secondary staging store.
-
#create_security_group(name, options = {}) ⇒ Object
Creates a security group.
-
#create_service_offering(displaytext, cpunumber, name, memory, cpuspeed, options = {}) ⇒ Object
Creates a service offering.
-
#create_snapshot(volumeid, options = {}) ⇒ Object
Creates an instant snapshot of a volume.
-
#create_snapshot_policy(intervaltype, volumeid, schedule, maxsnaps, timezone, options = {}) ⇒ Object
Creates a snapshot policy for the account.
-
#create_ssh_key_pair(name, options = {}) ⇒ Object
Create a new keypair and returns the private key.
-
#create_static_route(cidr, gatewayid, options = {}) ⇒ Object
Creates a static route.
-
#create_storage_network_ip_range(netmask, gateway, startip, podid, options = {}) ⇒ Object
Creates a Storage network IP range.
-
#create_storage_pool(url, zoneid, name, options = {}) ⇒ Object
Creates a storage pool.
-
#create_tags(resourceids, resourcetype, tags, options = {}) ⇒ Object
Creates resource tag(s).
-
#create_template(ostypeid, displaytext, name, options = {}) ⇒ Object
Creates a template of a virtual machine.
-
#create_user(username, email, firstname, lastname, password, account, options = {}) ⇒ Object
Creates a user for an account that already exists.
-
#create_virtual_router_element(nspid, options = {}) ⇒ Object
Create a virtual router element.
-
#create_vlan_ip_range(options = {}) ⇒ Object
Creates a VLAN IP range.
-
#create_vm_snapshot(virtualmachineid, options = {}) ⇒ Object
Creates snapshot for a vm.
-
#create_volume(name, options = {}) ⇒ Object
Creates a disk volume from a disk offering.
-
#create_volume_on_filer(password, ipaddress, size, volumename, username, poolname, aggregatename, options = {}) ⇒ Object
Create a volume.
-
#create_vpc(cidr, vpcofferingid, name, displaytext, zoneid, options = {}) ⇒ Object
Creates a VPC.
-
#create_vpcoffering(supportedservices, name, displaytext, options = {}) ⇒ Object
Creates VPC offering.
-
#create_vpn_connection(s2scustomergatewayid, s2svpngatewayid, options = {}) ⇒ Object
Create site to site vpn connection.
-
#create_vpn_customer_gateway(gateway, cidrlist, ipsecpsk, ikepolicy, esppolicy, options = {}) ⇒ Object
Creates site to site vpn customer gateway.
-
#create_vpn_gateway(vpcid, options = {}) ⇒ Object
Creates site to site vpn local gateway.
-
#create_zone(internaldns1, name, networktype, dns1, options = {}) ⇒ Object
Creates a Zone.
-
#dedicate_cluster(clusterid, domainid, options = {}) ⇒ Object
Dedicate an existing cluster.
-
#dedicate_guest_vlan_range(account, domainid, vlanrange, physicalnetworkid, options = {}) ⇒ Object
Dedicates a guest vlan range to an account.
-
#dedicate_host(hostid, domainid, options = {}) ⇒ Object
Dedicates a host.
-
#dedicate_pod(domainid, podid, options = {}) ⇒ Object
Dedicates a Pod.
-
#dedicate_public_ip_range(domainid, id, account, options = {}) ⇒ Object
Dedicates a Public IP range to an account.
-
#dedicate_zone(domainid, zoneid, options = {}) ⇒ Object
Dedicates a zones.
-
#delete_account(id, options = {}) ⇒ Object
Deletes a account, and all users associated with this account.
-
#delete_account_from_project(account, projectid, options = {}) ⇒ Object
Deletes account from the project.
-
#delete_affinity_group(options = {}) ⇒ Object
Deletes affinity group.
-
#delete_alerts(options = {}) ⇒ Object
Delete one or more alerts.
-
#delete_auto_scale_policy(id, options = {}) ⇒ Object
Deletes a autoscale policy.
-
#delete_auto_scale_vm_group(id, options = {}) ⇒ Object
Deletes a autoscale vm group.
-
#delete_auto_scale_vm_profile(id, options = {}) ⇒ Object
Deletes a autoscale vm profile.
-
#delete_cisco_asa1000v_resource(resourceid, options = {}) ⇒ Object
Deletes a Cisco ASA 1000v appliance.
-
#delete_cisco_nexus_vsm(id, options = {}) ⇒ Object
delete a Cisco Nexus VSM device.
-
#delete_cisco_vnmc_resource(resourceid, options = {}) ⇒ Object
Deletes a Cisco Vnmc controller.
-
#delete_cluster(id, options = {}) ⇒ Object
Deletes a cluster.
-
#delete_condition(id, options = {}) ⇒ Object
Removes a condition.
-
#delete_counter(id, options = {}) ⇒ Object
Deletes a counter.
-
#delete_disk_offering(id, options = {}) ⇒ Object
Updates a disk offering.
-
#delete_domain(id, options = {}) ⇒ Object
Deletes a specified domain.
-
#delete_egress_firewall_rule(id, options = {}) ⇒ Object
Deletes an ggress firewall rule.
-
#delete_events(options = {}) ⇒ Object
Delete one or more events.
-
#delete_external_firewall(id, options = {}) ⇒ Object
Deletes an external firewall appliance.
-
#delete_external_load_balancer(id, options = {}) ⇒ Object
Deletes a F5 external load balancer appliance added in a zone.
-
#delete_f5_load_balancer(lbdeviceid, options = {}) ⇒ Object
delete a F5 load balancer device.
-
#delete_firewall_rule(id, options = {}) ⇒ Object
Deletes a firewall rule.
-
#delete_global_load_balancer_rule(id, options = {}) ⇒ Object
Deletes a global load balancer rule.
-
#delete_host(id, options = {}) ⇒ Object
Deletes a host.
-
#delete_image_store(id, options = {}) ⇒ Object
Deletes an image store .
-
#delete_instance_group(id, options = {}) ⇒ Object
Deletes a vm group.
-
#delete_ip_forwarding_rule(id, options = {}) ⇒ Object
Deletes an ip forwarding rule.
-
#delete_iso(id, options = {}) ⇒ Object
Deletes an ISO file.
-
#delete_lb_health_check_policy(id, options = {}) ⇒ Object
Deletes a load balancer HealthCheck policy.
-
#delete_lb_stickiness_policy(id, options = {}) ⇒ Object
Deletes a LB stickiness policy.
-
#delete_load_balancer(id, options = {}) ⇒ Object
Deletes a load balancer.
-
#delete_load_balancer_rule(id, options = {}) ⇒ Object
Deletes a load balancer rule.
-
#delete_netscaler_load_balancer(lbdeviceid, options = {}) ⇒ Object
delete a netscaler load balancer device.
-
#delete_network(id, options = {}) ⇒ Object
Deletes a network.
-
#delete_network_acl(id, options = {}) ⇒ Object
Deletes a Network ACL.
-
#delete_network_acl_list(id, options = {}) ⇒ Object
Deletes a Network ACL.
-
#delete_network_device(id, options = {}) ⇒ Object
Deletes network device.
-
#delete_network_offering(id, options = {}) ⇒ Object
Deletes a network offering.
-
#delete_network_service_provider(id, options = {}) ⇒ Object
Deletes a Network Service Provider.
-
#delete_nicira_nvp_device(nvpdeviceid, options = {}) ⇒ Object
delete a nicira nvp device.
-
#delete_physical_network(id, options = {}) ⇒ Object
Deletes a Physical Network.
-
#delete_pod(id, options = {}) ⇒ Object
Deletes a Pod.
-
#delete_pool(poolname, options = {}) ⇒ Object
Delete a pool.
-
#delete_port_forwarding_rule(id, options = {}) ⇒ Object
Deletes a port forwarding rule.
-
#delete_portable_ip_range(id, options = {}) ⇒ Object
deletes a range of portable public IP’s associated with a region.
-
#delete_private_gateway(id, options = {}) ⇒ Object
Deletes a Private gateway.
-
#delete_project(id, options = {}) ⇒ Object
Deletes a project.
-
#delete_project_invitation(id, options = {}) ⇒ Object
Accepts or declines project invitation.
-
#delete_remote_access_vpn(publicipid, options = {}) ⇒ Object
Destroys a l2tp/ipsec remote access vpn.
-
#delete_secondary_staging_store(id, options = {}) ⇒ Object
Deletes a secondary staging store .
-
#delete_security_group(options = {}) ⇒ Object
Deletes security group.
-
#delete_service_offering(id, options = {}) ⇒ Object
Deletes a service offering.
-
#delete_snapshot(id, options = {}) ⇒ Object
Deletes a snapshot of a disk volume.
-
#delete_snapshot_policies(options = {}) ⇒ Object
Deletes snapshot policies for the account.
-
#delete_srx_firewall(fwdeviceid, options = {}) ⇒ Object
delete a SRX firewall device.
-
#delete_ssh_key_pair(name, options = {}) ⇒ Object
Deletes a keypair by name.
-
#delete_static_route(id, options = {}) ⇒ Object
Deletes a static route.
-
#delete_storage_network_ip_range(id, options = {}) ⇒ Object
Deletes a storage network IP Range.
-
#delete_storage_pool(id, options = {}) ⇒ Object
Deletes a storage pool.
-
#delete_tags(resourceids, resourcetype, options = {}) ⇒ Object
Deleting resource tag(s).
-
#delete_template(id, options = {}) ⇒ Object
Deletes a template from the system.
-
#delete_traffic_monitor(id, options = {}) ⇒ Object
Deletes an traffic monitor host.
-
#delete_traffic_type(id, options = {}) ⇒ Object
Deletes traffic type of a physical network.
-
#delete_ucs_manager(ucsmanagerid, options = {}) ⇒ Object
Delete a Ucs manager.
-
#delete_user(id, options = {}) ⇒ Object
Deletes a user for an account.
-
#delete_vlan_ip_range(id, options = {}) ⇒ Object
Creates a VLAN IP range.
-
#delete_vm_snapshot(vmsnapshotid, options = {}) ⇒ Object
Deletes a vmsnapshot.
-
#delete_volume(id, options = {}) ⇒ Object
Deletes a detached disk volume.
-
#delete_vpc(id, options = {}) ⇒ Object
Deletes a VPC.
-
#delete_vpcoffering(id, options = {}) ⇒ Object
Deletes VPC offering.
-
#delete_vpn_connection(id, options = {}) ⇒ Object
Delete site to site vpn connection.
-
#delete_vpn_customer_gateway(id, options = {}) ⇒ Object
Delete site to site vpn customer gateway.
-
#delete_vpn_gateway(id, options = {}) ⇒ Object
Delete site to site vpn gateway.
-
#delete_zone(id, options = {}) ⇒ Object
Deletes a Zone.
-
#deploy_virtual_machine(serviceofferingid, templateid, zoneid, options = {}) ⇒ Object
Creates and automatically starts a virtual machine based on a service offering, disk offering, and template.
-
#destroy_lun_on_filer(path, options = {}) ⇒ Object
Destroy a LUN.
-
#destroy_router(id, options = {}) ⇒ Object
Destroys a router.
-
#destroy_system_vm(id, options = {}) ⇒ Object
Destroyes a system virtual machine.
-
#destroy_virtual_machine(id, options = {}) ⇒ Object
Destroys a virtual machine.
-
#destroy_volume_on_filer(ipaddress, aggregatename, volumename, options = {}) ⇒ Object
Destroy a Volume.
-
#detach_iso(virtualmachineid, options = {}) ⇒ Object
Detaches any ISO file (if any) currently attached to a virtual machine.
-
#detach_volume(options = {}) ⇒ Object
Detaches a disk volume from a virtual machine.
-
#disable_account(lock, options = {}) ⇒ Object
Disables an account.
-
#disable_auto_scale_vm_group(id, options = {}) ⇒ Object
Disables an AutoScale Vm Group.
-
#disable_cisco_nexus_vsm(id, options = {}) ⇒ Object
disable a Cisco Nexus VSM device.
-
#disable_static_nat(ipaddressid, options = {}) ⇒ Object
Disables static rule for given ip address.
-
#disable_user(id, options = {}) ⇒ Object
Disables a user account.
-
#disassociate_ip_address(id, options = {}) ⇒ Object
Disassociates an ip address from the account.
-
#disassociate_ucs_profile_from_blade(bladeid, options = {}) ⇒ Object
disassociate a profile from a blade.
-
#dissociate_lun(iqn, path, options = {}) ⇒ Object
Dissociate a LUN.
-
#enable_account(options = {}) ⇒ Object
Enables an account.
-
#enable_auto_scale_vm_group(id, options = {}) ⇒ Object
Enables an AutoScale Vm Group.
-
#enable_cisco_nexus_vsm(id, options = {}) ⇒ Object
Enable a Cisco Nexus VSM device.
-
#enable_static_nat(ipaddressid, virtualmachineid, options = {}) ⇒ Object
Enables static nat for given ip address.
-
#enable_storage_maintenance(id, options = {}) ⇒ Object
Puts storage pool into maintenance state.
-
#enable_user(id, options = {}) ⇒ Object
Enables a user account.
-
#extract_iso(mode, id, options = {}) ⇒ Object
Extracts an ISO.
-
#extract_template(mode, id, options = {}) ⇒ Object
Extracts a template.
-
#extract_volume(zoneid, mode, id, options = {}) ⇒ Object
Extracts volume.
-
#find_hosts_for_migration(virtualmachineid, options = {}) ⇒ Object
Find hosts suitable for migrating a virtual machine.
-
#find_storage_pools_for_migration(id, options = {}) ⇒ Object
Lists storage pools available for migration of a volume.
-
#generate_usage_records(enddate, startdate, options = {}) ⇒ Object
Generates usage records.
-
#get_api_limit(options = {}) ⇒ Object
Get API limit count for the caller.
-
#get_cloud_identifier(userid, options = {}) ⇒ Object
Retrieves a cloud identifier.
-
#get_user(userapikey, options = {}) ⇒ Object
Find user account by API key.
-
#get_vm_password(id, options = {}) ⇒ Object
Returns an encrypted password for the VM.
-
#initialize(options = {}) ⇒ Real
constructor
A new instance of Real.
-
#instantiate_ucs_template_and_assocaciate_to_blade(bladeid, templatedn, ucsmanagerid, options = {}) ⇒ Object
create a profile of template and associate to a blade.
-
#ldap_config(options = {}) ⇒ Object
Configure the LDAP context for this site.
-
#ldap_remove(options = {}) ⇒ Object
Remove the LDAP context for this site.
-
#list_accounts(options = {}) ⇒ Object
Lists accounts and provides detailed account information for listed accounts.
-
#list_affinity_group_types(options = {}) ⇒ Object
Lists affinity group types available.
-
#list_affinity_groups(options = {}) ⇒ Object
Lists affinity groups.
-
#list_alerts(options = {}) ⇒ Object
Lists all alerts.
-
#list_apis(options = {}) ⇒ Object
lists all available apis on the server, provided by the Api Discovery plugin.
-
#list_async_jobs(options = {}) ⇒ Object
Lists all pending asynchronous jobs for the account.
-
#list_auto_scale_policies(options = {}) ⇒ Object
Lists autoscale policies.
-
#list_auto_scale_vm_groups(options = {}) ⇒ Object
Lists autoscale vm groups.
-
#list_auto_scale_vm_profiles(options = {}) ⇒ Object
Lists autoscale vm profiles.
-
#list_baremetal_dhcp(options = {}) ⇒ Object
list baremetal dhcp servers.
-
#list_baremetal_pxe_servers(options = {}) ⇒ Object
list baremetal pxe server.
-
#list_capabilities(options = {}) ⇒ Object
Lists capabilities.
-
#list_capacity(options = {}) ⇒ Object
Lists all the system wide capacities.
-
#list_cisco_asa1000v_resources(options = {}) ⇒ Object
Lists Cisco ASA 1000v appliances.
-
#list_cisco_nexus_vsms(options = {}) ⇒ Object
Retrieves a Cisco Nexus 1000v Virtual Switch Manager device associated with a Cluster.
-
#list_cisco_vnmc_resources(options = {}) ⇒ Object
Lists Cisco VNMC controllers.
-
#list_clusters(options = {}) ⇒ Object
Lists clusters.
-
#list_conditions(options = {}) ⇒ Object
List Conditions for the specific user.
-
#list_configurations(options = {}) ⇒ Object
Lists all configurations.
-
#list_counters(options = {}) ⇒ Object
List the counters.
-
#list_dedicated_clusters(options = {}) ⇒ Object
Lists dedicated clusters.
-
#list_dedicated_guest_vlan_ranges(options = {}) ⇒ Object
Lists dedicated guest vlan ranges.
-
#list_dedicated_hosts(options = {}) ⇒ Object
Lists dedicated hosts.
-
#list_dedicated_pods(options = {}) ⇒ Object
Lists dedicated pods.
-
#list_dedicated_zones(options = {}) ⇒ Object
List dedicated zones.
-
#list_deployment_planners(options = {}) ⇒ Object
Lists all DeploymentPlanners available.
-
#list_disk_offerings(options = {}) ⇒ Object
Lists all available disk offerings.
-
#list_domain_children(options = {}) ⇒ Object
Lists all children domains belonging to a specified domain.
-
#list_domains(options = {}) ⇒ Object
Lists domains and provides detailed information for listed domains.
-
#list_egress_firewall_rules(options = {}) ⇒ Object
Lists all egress firewall rules for network id.
-
#list_event_types(options = {}) ⇒ Object
List Event Types.
-
#list_events(options = {}) ⇒ Object
A command to list events.
-
#list_external_firewalls(zoneid, options = {}) ⇒ Object
List external firewall appliances.
-
#list_external_load_balancers(options = {}) ⇒ Object
Lists F5 external load balancer appliances added in a zone.
-
#list_f5_load_balancer_networks(lbdeviceid, options = {}) ⇒ Object
lists network that are using a F5 load balancer device.
-
#list_f5_load_balancers(options = {}) ⇒ Object
lists F5 load balancer devices.
-
#list_firewall_rules(options = {}) ⇒ Object
Lists all firewall rules for an IP address.
-
#list_global_load_balancer_rules(options = {}) ⇒ Object
Lists load balancer rules.
-
#list_hosts(options = {}) ⇒ Object
Lists hosts.
-
#list_hypervisor_capabilities(options = {}) ⇒ Object
Lists all hypervisor capabilities.
-
#list_hypervisors(options = {}) ⇒ Object
List hypervisors.
-
#list_image_stores(options = {}) ⇒ Object
Lists image stores.
-
#list_instance_groups(options = {}) ⇒ Object
Lists vm groups.
-
#list_internal_load_balancer_elements(options = {}) ⇒ Object
Lists all available Internal Load Balancer elements.
-
#list_internal_load_balancer_vms(options = {}) ⇒ Object
List internal LB VMs.
-
#list_ip_forwarding_rules(options = {}) ⇒ Object
List the ip forwarding rules.
-
#list_iso_permissions(id, options = {}) ⇒ Object
List iso visibility and all accounts that have permissions to view this iso.
-
#list_isos(options = {}) ⇒ Object
Lists all available ISO files.
-
#list_lb_health_check_policies(lbruleid, options = {}) ⇒ Object
Lists load balancer HealthCheck policies.
-
#list_lb_stickiness_policies(lbruleid, options = {}) ⇒ Object
Lists LBStickiness policies.
-
#list_load_balancer_rule_instances(id, options = {}) ⇒ Object
List all virtual machine instances that are assigned to a load balancer rule.
-
#list_load_balancer_rules(options = {}) ⇒ Object
Lists load balancer rules.
-
#list_load_balancers(options = {}) ⇒ Object
Lists Load Balancers.
-
#list_luns_on_filer(poolname, options = {}) ⇒ Object
List LUN.
-
#list_netscaler_load_balancer_networks(lbdeviceid, options = {}) ⇒ Object
lists network that are using a netscaler load balancer device.
-
#list_netscaler_load_balancers(options = {}) ⇒ Object
lists netscaler load balancer devices.
-
#list_network_acl_lists(options = {}) ⇒ Object
Lists all network ACLs.
-
#list_network_acls(options = {}) ⇒ Object
Lists all network ACL items.
-
#list_network_device(options = {}) ⇒ Object
List network devices.
-
#list_network_isolation_methods(options = {}) ⇒ Object
Lists supported methods of network isolation.
-
#list_network_offerings(options = {}) ⇒ Object
Lists all available network offerings.
-
#list_network_service_providers(options = {}) ⇒ Object
Lists network serviceproviders for a given physical network.
-
#list_networks(options = {}) ⇒ Object
Lists all available networks.
-
#list_nicira_nvp_device_networks(nvpdeviceid, options = {}) ⇒ Object
lists network that are using a nicira nvp device.
-
#list_nicira_nvp_devices(options = {}) ⇒ Object
Lists Nicira NVP devices.
-
#list_nics(virtualmachineid, options = {}) ⇒ Object
list the vm nics IP to NIC.
-
#list_os_categories(options = {}) ⇒ Object
Lists all supported OS categories for this cloud.
-
#list_os_types(options = {}) ⇒ Object
Lists all supported OS types for this cloud.
-
#list_physical_networks(options = {}) ⇒ Object
Lists physical networks.
-
#list_pods(options = {}) ⇒ Object
Lists all Pods.
-
#list_pools(options = {}) ⇒ Object
List Pool.
-
#list_port_forwarding_rules(options = {}) ⇒ Object
Lists all port forwarding rules for an IP address.
-
#list_portable_ip_ranges(options = {}) ⇒ Object
list portable IP ranges.
-
#list_private_gateways(options = {}) ⇒ Object
List private gateways.
-
#list_project_accounts(projectid, options = {}) ⇒ Object
Lists project’s accounts.
-
#list_project_invitations(options = {}) ⇒ Object
Lists projects and provides detailed information for listed projects.
-
#list_projects(options = {}) ⇒ Object
Lists projects and provides detailed information for listed projects.
-
#list_public_ip_addresses(options = {}) ⇒ Object
Lists all public ip addresses.
-
#list_regions(options = {}) ⇒ Object
Lists Regions.
-
#list_remote_access_vpns(publicipid, options = {}) ⇒ Object
Lists remote access vpns.
-
#list_resource_details(options = {}) ⇒ Object
List resource detail(s).
-
#list_resource_limits(options = {}) ⇒ Object
Lists resource limits.
-
#list_routers(options = {}) ⇒ Object
List routers.
-
#list_s3s(options = {}) ⇒ Object
Lists S3s.
-
#list_secondary_staging_stores(options = {}) ⇒ Object
Lists secondary staging stores.
-
#list_security_groups(options = {}) ⇒ Object
Lists security groups.
-
#list_service_offerings(options = {}) ⇒ Object
Lists all available service offerings.
-
#list_snapshot_policies(volumeid, options = {}) ⇒ Object
Lists snapshot policies.
-
#list_snapshots(options = {}) ⇒ Object
Lists all available snapshots for the account.
-
#list_srx_firewall_networks(lbdeviceid, options = {}) ⇒ Object
lists network that are using SRX firewall device.
-
#list_srx_firewalls(options = {}) ⇒ Object
lists SRX firewall devices in a physical network.
-
#list_ssh_key_pairs(options = {}) ⇒ Object
List registered keypairs.
-
#list_static_routes(options = {}) ⇒ Object
Lists all static routes.
-
#list_storage_network_ip_range(options = {}) ⇒ Object
List a storage network IP range.
-
#list_storage_pools(options = {}) ⇒ Object
Lists storage pools.
-
#list_storage_providers(type, options = {}) ⇒ Object
Lists storage providers.
-
#list_supported_network_services(options = {}) ⇒ Object
Lists all network services provided by CloudStack or for the given Provider.
-
#list_swifts(options = {}) ⇒ Object
List Swift.
-
#list_system_vms(options = {}) ⇒ Object
List system virtual machines.
-
#list_tags(options = {}) ⇒ Object
List resource tag(s).
-
#list_template_permissions(id, options = {}) ⇒ Object
List template visibility and all accounts that have permissions to view this template.
-
#list_templates(templatefilter, options = {}) ⇒ Object
List all public, private, and privileged templates.
-
#list_traffic_monitors(zoneid, options = {}) ⇒ Object
List traffic monitor Hosts.
-
#list_traffic_type_implementors(options = {}) ⇒ Object
Lists implementors of implementor of a network traffic type or implementors of all network traffic types.
-
#list_traffic_types(physicalnetworkid, options = {}) ⇒ Object
Lists traffic types of a given physical network.
-
#list_ucs_blades(ucsmanagerid, options = {}) ⇒ Object
List ucs blades.
-
#list_ucs_managers(options = {}) ⇒ Object
List ucs manager.
-
#list_ucs_profiles(ucsmanagerid, options = {}) ⇒ Object
List profile in ucs manager.
-
#list_ucs_templates(ucsmanagerid, options = {}) ⇒ Object
List templates in ucs manager.
-
#list_usage_records(enddate, startdate, options = {}) ⇒ Object
Lists usage records for accounts.
-
#list_usage_types(options = {}) ⇒ Object
List Usage Types.
-
#list_users(options = {}) ⇒ Object
Lists user accounts.
-
#list_virtual_machines(options = {}) ⇒ Object
List the virtual machines owned by the account.
-
#list_virtual_router_elements(options = {}) ⇒ Object
Lists all available virtual router elements.
-
#list_vlan_ip_ranges(options = {}) ⇒ Object
Lists all VLAN IP ranges.
-
#list_vm_snapshot(options = {}) ⇒ Object
List virtual machine snapshot by conditions.
-
#list_vmware_dcs(zoneid, options = {}) ⇒ Object
Retrieves VMware DC(s) associated with a zone.
-
#list_volumes(options = {}) ⇒ Object
Lists all volumes.
-
#list_volumes_on_filer(poolname, options = {}) ⇒ Object
List Volumes.
-
#list_vpc_offerings(options = {}) ⇒ Object
Lists VPC offerings.
-
#list_vpcs(options = {}) ⇒ Object
Lists VPCs.
-
#list_vpn_connections(options = {}) ⇒ Object
Lists site to site vpn connection gateways.
-
#list_vpn_customer_gateways(options = {}) ⇒ Object
Lists site to site vpn customer gateways.
-
#list_vpn_gateways(options = {}) ⇒ Object
Lists site 2 site vpn gateways.
-
#list_vpn_users(options = {}) ⇒ Object
Lists vpn users.
-
#list_zones(options = {}) ⇒ Object
Lists zones.
-
#lock_account(account, domainid, options = {}) ⇒ Object
Locks an account.
-
#lock_user(id, options = {}) ⇒ Object
Locks a user account.
- #login(username, password, domain) ⇒ Object
-
#mark_default_zone_for_account(zoneid, domainid, account, options = {}) ⇒ Object
Marks a default zone for this account.
-
#migrate_system_vm(virtualmachineid, hostid, options = {}) ⇒ Object
Attempts Migration of a system virtual machine to the host specified.
-
#migrate_virtual_machine(virtualmachineid, options = {}) ⇒ Object
Attempts Migration of a VM to a different host or Root volume of the vm to a different storage pool.
-
#migrate_virtual_machine_with_volume(hostid, virtualmachineid, options = {}) ⇒ Object
Attempts Migration of a VM with its volumes to a different host.
-
#migrate_volume(volumeid, storageid, options = {}) ⇒ Object
Migrate volume.
-
#modify_pool(algorithm, poolname, options = {}) ⇒ Object
Modify pool.
-
#prepare_host_for_maintenance(id, options = {}) ⇒ Object
Prepares a host for maintenance.
-
#prepare_template(templateid, zoneid, options = {}) ⇒ Object
load template into primary storage.
-
#query_async_job_result(jobid, options = {}) ⇒ Object
Retrieves the current status of asynchronous job.
-
#reboot_router(id, options = {}) ⇒ Object
Starts a router.
-
#reboot_system_vm(id, options = {}) ⇒ Object
Reboots a system VM.
-
#reboot_virtual_machine(id, options = {}) ⇒ Object
Reboots a virtual machine.
-
#reconnect_host(id, options = {}) ⇒ Object
Reconnects a host.
-
#recover_virtual_machine(id, options = {}) ⇒ Object
Recovers a virtual machine.
-
#refresh_ucs_blades(ucsmanagerid, options = {}) ⇒ Object
refresh ucs blades to sync with UCS manager.
-
#register_iso(url, zoneid, displaytext, name, options = {}) ⇒ Object
Registers an existing ISO into the CloudStack Cloud.
-
#register_ssh_key_pair(publickey, name, options = {}) ⇒ Object
Register a public key in a keypair under a certain name.
-
#register_template(ostypeid, hypervisor, name, format, zoneid, displaytext, url, options = {}) ⇒ Object
Registers an existing template into the CloudStack cloud.
-
#register_user_keys(id, options = {}) ⇒ Object
This command allows a user to register for the developer API, returning a secret key and an API key.
-
#release_dedicated_cluster(clusterid, options = {}) ⇒ Object
Release the dedication for cluster.
-
#release_dedicated_guest_vlan_range(id, options = {}) ⇒ Object
Releases a dedicated guest vlan range to the system.
-
#release_dedicated_host(hostid, options = {}) ⇒ Object
Release the dedication for host.
-
#release_dedicated_pod(podid, options = {}) ⇒ Object
Release the dedication for the pod.
-
#release_dedicated_zone(zoneid, options = {}) ⇒ Object
Release dedication of zone.
-
#release_host_reservation(id, options = {}) ⇒ Object
Releases host reservation.
-
#release_public_ip_range(id, options = {}) ⇒ Object
Releases a Public IP range back to the system pool.
- #reload ⇒ Object
-
#remove_from_global_load_balancer_rule(id, loadbalancerrulelist, options = {}) ⇒ Object
Removes a load balancer rule association with global load balancer rule.
-
#remove_from_load_balancer_rule(id, virtualmachineids, options = {}) ⇒ Object
Removes a virtual machine or a list of virtual machines from a load balancer rule.
-
#remove_ip_from_nic(id, options = {}) ⇒ Object
Assigns secondary IP to NIC.
-
#remove_nic_from_virtual_machine(virtualmachineid, nicid, options = {}) ⇒ Object
Removes VM from specified network by deleting a NIC.
-
#remove_region(id, options = {}) ⇒ Object
Removes specified region.
-
#remove_resource_detail(resourcetype, resourceid, options = {}) ⇒ Object
Removes detail for the Resource.
-
#remove_vmware_dc(zoneid, options = {}) ⇒ Object
Remove a VMware datacenter from a zone.
-
#remove_vpn_user(username, options = {}) ⇒ Object
Removes vpn user.
-
#replace_network_acl_list(aclid, options = {}) ⇒ Object
Replaces ACL associated with a Network or private gateway.
- #request(params) ⇒ Object
-
#reset_api_limit(options = {}) ⇒ Object
Reset api count.
-
#reset_password_for_virtual_machine(id, options = {}) ⇒ Object
Resets the password for virtual machine.
-
#reset_ssh_key_for_virtual_machine(id, keypair, options = {}) ⇒ Object
Resets the SSH Key for virtual machine.
-
#reset_vpn_connection(id, options = {}) ⇒ Object
Reset site to site vpn connection.
-
#resize_volume(options = {}) ⇒ Object
Resizes a volume.
-
#restart_network(id, options = {}) ⇒ Object
Restarts the network; includes 1) restarting network elements - virtual routers, dhcp servers 2) reapplying all public ips 3) reapplying loadBalancing/portForwarding rules.
-
#restart_vpc(id, options = {}) ⇒ Object
Restarts a VPC.
-
#restore_virtual_machine(virtualmachineid, options = {}) ⇒ Object
Restore a VM to original template/ISO or new template/ISO.
-
#revert_to_vm_snapshot(vmsnapshotid, options = {}) ⇒ Object
Revert VM from a vmsnapshot.
-
#revoke_security_group_egress(id, options = {}) ⇒ Object
Deletes a particular egress rule from this security group.
-
#revoke_security_group_ingress(id, options = {}) ⇒ Object
Deletes a particular ingress rule from this security group.
-
#scale_system_vm(id, serviceofferingid, options = {}) ⇒ Object
Scale the service offering for a system vm (console proxy or secondary storage).
-
#scale_virtual_machine(id, serviceofferingid, options = {}) ⇒ Object
Scales the virtual machine to a new service offering.
-
#start_internal_load_balancer_vm(id, options = {}) ⇒ Object
Starts an existing internal lb vm.
-
#start_router(id, options = {}) ⇒ Object
Starts a router.
-
#start_system_vm(id, options = {}) ⇒ Object
Starts a system virtual machine.
-
#start_virtual_machine(id, options = {}) ⇒ Object
Starts a virtual machine.
-
#stop_internal_load_balancer_vm(id, options = {}) ⇒ Object
Stops an Internal LB vm.
-
#stop_router(id, options = {}) ⇒ Object
Stops a router.
-
#stop_system_vm(id, options = {}) ⇒ Object
Stops a system VM.
-
#stop_virtual_machine(id, options = {}) ⇒ Object
Stops a virtual machine.
-
#suspend_project(id, options = {}) ⇒ Object
Suspends a project.
-
#update_account(newname, options = {}) ⇒ Object
Updates account information for the authenticated user.
-
#update_auto_scale_policy(id, options = {}) ⇒ Object
Updates an existing autoscale policy.
-
#update_auto_scale_vm_group(id, options = {}) ⇒ Object
Updates an existing autoscale vm group.
-
#update_auto_scale_vm_profile(id, options = {}) ⇒ Object
Updates an existing autoscale vm profile.
-
#update_cluster(id, options = {}) ⇒ Object
Updates an existing cluster.
-
#update_configuration(name, options = {}) ⇒ Object
Updates a configuration.
-
#update_default_nic_for_virtual_machine(nicid, virtualmachineid, options = {}) ⇒ Object
Changes the default NIC on a VM.
-
#update_disk_offering(id, options = {}) ⇒ Object
Updates a disk offering.
-
#update_domain(id, options = {}) ⇒ Object
Updates a domain with a new name.
-
#update_global_load_balancer_rule(id, options = {}) ⇒ Object
update global load balancer rules.
-
#update_host(id, options = {}) ⇒ Object
Updates a host.
-
#update_host_password(password, username, options = {}) ⇒ Object
Update password of a host/pool on management server.
-
#update_hypervisor_capabilities(options = {}) ⇒ Object
Updates a hypervisor capabilities.
-
#update_instance_group(id, options = {}) ⇒ Object
Updates a vm group.
-
#update_iso(id, options = {}) ⇒ Object
Updates an ISO file.
-
#update_iso_permissions(id, options = {}) ⇒ Object
Updates iso permissions.
-
#update_load_balancer_rule(id, options = {}) ⇒ Object
Updates load balancer.
-
#update_network(id, options = {}) ⇒ Object
Updates a network.
-
#update_network_acl_item(id, options = {}) ⇒ Object
Updates ACL Item with specified Id.
-
#update_network_offering(options = {}) ⇒ Object
Updates a network offering.
-
#update_network_service_provider(id, options = {}) ⇒ Object
Updates a network serviceProvider of a physical network.
-
#update_physical_network(id, options = {}) ⇒ Object
Updates a physical network.
-
#update_pod(id, options = {}) ⇒ Object
Updates a Pod.
-
#update_port_forwarding_rule(publicport, privateport, protocol, ipaddressid, options = {}) ⇒ Object
Updates a port forwarding rule.
-
#update_project(id, options = {}) ⇒ Object
Updates a project.
-
#update_project_invitation(projectid, options = {}) ⇒ Object
Accepts or declines project invitation.
-
#update_region(id, options = {}) ⇒ Object
Updates a region.
-
#update_resource_count(domainid, options = {}) ⇒ Object
Recalculate and update resource count for an account or domain.
-
#update_resource_limit(resourcetype, options = {}) ⇒ Object
Updates resource limits for an account or domain.
-
#update_service_offering(id, options = {}) ⇒ Object
Updates a service offering.
-
#update_storage_network_ip_range(id, options = {}) ⇒ Object
Update a Storage network IP range, only allowed when no IPs in this range have been allocated.
-
#update_storage_pool(id, options = {}) ⇒ Object
Updates a storage pool.
-
#update_template(id, options = {}) ⇒ Object
Updates attributes of a template.
-
#update_template_permissions(id, options = {}) ⇒ Object
Updates a template visibility permissions.
-
#update_traffic_type(id, options = {}) ⇒ Object
Updates traffic type of a physical network.
-
#update_user(id, options = {}) ⇒ Object
Updates a user account.
-
#update_virtual_machine(id, options = {}) ⇒ Object
Updates properties of a virtual machine.
-
#update_vm_affinity_group(id, options = {}) ⇒ Object
Updates the affinity/anti-affinity group associations of a virtual machine.
-
#update_volume(id, path, options = {}) ⇒ Object
Updates the volume.
-
#update_vpc(id, name, options = {}) ⇒ Object
Updates a VPC.
-
#update_vpcoffering(id, options = {}) ⇒ Object
Updates VPC offering.
-
#update_vpn_customer_gateway(id, esppolicy, ikepolicy, cidrlist, gateway, ipsecpsk, options = {}) ⇒ Object
Update site to site vpn customer gateway.
-
#update_zone(id, options = {}) ⇒ Object
Updates a Zone.
-
#upload_custom_certificate(domainsuffix, certificate, options = {}) ⇒ Object
Uploads a custom certificate for the console proxy VMs to use for SSL.
-
#upload_volume(zoneid, name, url, format, options = {}) ⇒ Object
Uploads a data disk.
Constructor Details
#initialize(options = {}) ⇒ Real
Returns a new instance of Real.
500 501 502 503 504 505 506 507 508 509 510 |
# File 'lib/fog/cloudstack/compute.rb', line 500 def initialize(={}) @cloudstack_api_key = [:cloudstack_api_key] @cloudstack_secret_access_key = [:cloudstack_secret_access_key] @cloudstack_session_id = [:cloudstack_session_id] @cloudstack_session_key = [:cloudstack_session_key] @host = [:cloudstack_host] @path = [:cloudstack_path] || '/client/api' @port = [:cloudstack_port] || 443 @scheme = [:cloudstack_scheme] || 'https' @connection = Fog::XML::Connection.new("#{@scheme}://#{@host}:#{@port}#{@path}", [:cloudstack_persistent], {:ssl_verify_peer => false}) end |
Instance Method Details
#acquire_ip_address(options = {}) ⇒ Object
Creates an account.
8 9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/acquire_ip_address.rb', line 8 def acquire_ip_address(={}) .merge!( 'command' => 'associateIpAddress' ) request() end |
#activate_project(id, options = {}) ⇒ Object
Activates a project
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/activate_project.rb', line 9 def activate_project(id, ={}) .merge!( 'command' => 'activateProject', 'id' => id ) request() end |
#add_account_to_project(projectid, options = {}) ⇒ Object
Adds acoount to a project
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/add_account_to_project.rb', line 9 def add_account_to_project(projectid, ={}) .merge!( 'command' => 'addAccountToProject', 'projectid' => projectid ) request() end |
#add_baremetal_dhcp(dhcpservertype, physicalnetworkid, username, url, password, options = {}) ⇒ Object
adds a baremetal dhcp server
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/add_baremetal_dhcp.rb', line 9 def (dhcpservertype, physicalnetworkid, username, url, password, ={}) .merge!( 'command' => 'addBaremetalDhcp', 'dhcpservertype' => dhcpservertype, 'physicalnetworkid' => physicalnetworkid, 'username' => username, 'url' => url, 'password' => password ) request() end |
#add_baremetal_host(zoneid, password, podid, username, hypervisor, url, options = {}) ⇒ Object
add a baremetal host
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/fog/cloudstack/requests/compute/add_baremetal_host.rb', line 9 def (zoneid, password, podid, username, hypervisor, url, ={}) .merge!( 'command' => 'addBaremetalHost', 'zoneid' => zoneid, 'password' => password, 'podid' => podid, 'username' => username, 'hypervisor' => hypervisor, 'url' => url ) request() end |
#add_baremetal_pxe_kick_start_server(username, url, physicalnetworkid, password, pxeservertype, tftpdir, options = {}) ⇒ Object
add a baremetal pxe server
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/fog/cloudstack/requests/compute/add_baremetal_pxe_kick_start_server.rb', line 9 def (username, url, physicalnetworkid, password, pxeservertype, tftpdir, ={}) .merge!( 'command' => 'addBaremetalPxeKickStartServer', 'username' => username, 'url' => url, 'physicalnetworkid' => physicalnetworkid, 'password' => password, 'pxeservertype' => pxeservertype, 'tftpdir' => tftpdir ) request() end |
#add_baremetal_pxe_ping_server(password, pxeservertype, pingstorageserverip, tftpdir, url, physicalnetworkid, pingdir, username, options = {}) ⇒ Object
add a baremetal ping pxe server
9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/fog/cloudstack/requests/compute/add_baremetal_pxe_ping_server.rb', line 9 def (password, pxeservertype, pingstorageserverip, tftpdir, url, physicalnetworkid, pingdir, username, ={}) .merge!( 'command' => 'addBaremetalPxePingServer', 'password' => password, 'pxeservertype' => pxeservertype, 'pingstorageserverip' => pingstorageserverip, 'tftpdir' => tftpdir, 'url' => url, 'physicalnetworkid' => physicalnetworkid, 'pingdir' => pingdir, 'username' => username ) request() end |
#add_cisco_asa1000v_resource(physicalnetworkid, clusterid, hostname, insideportprofile, options = {}) ⇒ Object
Adds a Cisco Asa 1000v appliance
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/add_cisco_asa1000v_resource.rb', line 9 def add_cisco_asa1000v_resource(physicalnetworkid, clusterid, hostname, insideportprofile, ={}) .merge!( 'command' => 'addCiscoAsa1000vResource', 'physicalnetworkid' => physicalnetworkid, 'clusterid' => clusterid, 'hostname' => hostname, 'insideportprofile' => insideportprofile ) request() end |
#add_cisco_vnmc_resource(physicalnetworkid, hostname, password, username, options = {}) ⇒ Object
Adds a Cisco Vnmc Controller
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/add_cisco_vnmc_resource.rb', line 9 def add_cisco_vnmc_resource(physicalnetworkid, hostname, password, username, ={}) .merge!( 'command' => 'addCiscoVnmcResource', 'physicalnetworkid' => physicalnetworkid, 'hostname' => hostname, 'password' => password, 'username' => username ) request() end |
#add_cluster(podid, clustername, clustertype, hypervisor, zoneid, options = {}) ⇒ Object
Adds a new cluster
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/add_cluster.rb', line 9 def add_cluster(podid, clustername, clustertype, hypervisor, zoneid, ={}) .merge!( 'command' => 'addCluster', 'podid' => podid, 'clustername' => clustername, 'clustertype' => clustertype, 'hypervisor' => hypervisor, 'zoneid' => zoneid ) request() end |
#add_external_firewall(url, username, password, zoneid, options = {}) ⇒ Object
Adds an external firewall appliance
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/add_external_firewall.rb', line 9 def add_external_firewall(url, username, password, zoneid, ={}) .merge!( 'command' => 'addExternalFirewall', 'url' => url, 'username' => username, 'password' => password, 'zoneid' => zoneid ) request() end |
#add_external_load_balancer(zoneid, username, password, url, options = {}) ⇒ Object
Adds F5 external load balancer appliance.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/add_external_load_balancer.rb', line 9 def add_external_load_balancer(zoneid, username, password, url, ={}) .merge!( 'command' => 'addExternalLoadBalancer', 'zoneid' => zoneid, 'username' => username, 'password' => password, 'url' => url ) request() end |
#add_f5_load_balancer(url, physicalnetworkid, networkdevicetype, username, password, options = {}) ⇒ Object
Adds a F5 BigIP load balancer device
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/add_f5_load_balancer.rb', line 9 def add_f5_load_balancer(url, physicalnetworkid, networkdevicetype, username, password, ={}) .merge!( 'command' => 'addF5LoadBalancer', 'url' => url, 'physicalnetworkid' => physicalnetworkid, 'networkdevicetype' => networkdevicetype, 'username' => username, 'password' => password ) request() end |
#add_host(hypervisor, zoneid, url, password, podid, username, options = {}) ⇒ Object
Adds a new host.
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/fog/cloudstack/requests/compute/add_host.rb', line 9 def add_host(hypervisor, zoneid, url, password, podid, username, ={}) .merge!( 'command' => 'addHost', 'hypervisor' => hypervisor, 'zoneid' => zoneid, 'url' => url, 'password' => password, 'podid' => podid, 'username' => username ) request() end |
#add_image_store(provider, options = {}) ⇒ Object
Adds backup image store.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/add_image_store.rb', line 9 def add_image_store(provider, ={}) .merge!( 'command' => 'addImageStore', 'provider' => provider ) request() end |
#add_ip_to_nic(nicid, options = {}) ⇒ Object
Assigns secondary IP to NIC
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/add_ip_to_nic.rb', line 9 def add_ip_to_nic(nicid, ={}) .merge!( 'command' => 'addIpToNic', 'nicid' => nicid ) request() end |
#add_netscaler_load_balancer(password, username, physicalnetworkid, networkdevicetype, url, options = {}) ⇒ Object
Adds a netscaler load balancer device
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/add_netscaler_load_balancer.rb', line 9 def add_netscaler_load_balancer(password, username, physicalnetworkid, networkdevicetype, url, ={}) .merge!( 'command' => 'addNetscalerLoadBalancer', 'password' => password, 'username' => username, 'physicalnetworkid' => physicalnetworkid, 'networkdevicetype' => networkdevicetype, 'url' => url ) request() end |
#add_network_device(options = {}) ⇒ Object
Adds a network device of one of the following types: ExternalDhcp, ExternalFirewall, ExternalLoadBalancer, PxeServer
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/add_network_device.rb', line 9 def add_network_device(={}) .merge!( 'command' => 'addNetworkDevice' ) request() end |
#add_network_service_provider(physicalnetworkid, name, options = {}) ⇒ Object
Adds a network serviceProvider to a physical network
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/add_network_service_provider.rb', line 9 def add_network_service_provider(physicalnetworkid, name, ={}) .merge!( 'command' => 'addNetworkServiceProvider', 'physicalnetworkid' => physicalnetworkid, 'name' => name ) request() end |
#add_nic_to_virtual_machine(virtualmachineid, networkid, options = {}) ⇒ Object
Adds VM to specified network by creating a NIC
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/add_nic_to_virtual_machine.rb', line 9 def add_nic_to_virtual_machine(virtualmachineid, networkid, ={}) .merge!( 'command' => 'addNicToVirtualMachine', 'virtualmachineid' => virtualmachineid, 'networkid' => networkid ) request() end |
#add_nicira_nvp_device(username, physicalnetworkid, transportzoneuuid, password, hostname, options = {}) ⇒ Object
Adds a Nicira NVP device
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/add_nicira_nvp_device.rb', line 9 def add_nicira_nvp_device(username, physicalnetworkid, transportzoneuuid, password, hostname, ={}) .merge!( 'command' => 'addNiciraNvpDevice', 'username' => username, 'physicalnetworkid' => physicalnetworkid, 'transportzoneuuid' => transportzoneuuid, 'password' => password, 'hostname' => hostname ) request() end |
#add_region(id, name, endpoint, options = {}) ⇒ Object
Adds a Region
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/add_region.rb', line 9 def add_region(id, name, endpoint, ={}) .merge!( 'command' => 'addRegion', 'id' => id, 'name' => name, 'endpoint' => endpoint ) request() end |
#add_resource_detail(resourcetype, details, resourceid, options = {}) ⇒ Object
Adds detail for the Resource.
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/add_resource_detail.rb', line 9 def add_resource_detail(resourcetype, details, resourceid, ={}) .merge!( 'command' => 'addResourceDetail', 'resourcetype' => resourcetype, 'details' => details, 'resourceid' => resourceid ) request() end |
#add_s3(bucket, accesskey, secretkey, options = {}) ⇒ Object
Adds S3
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/add_s3.rb', line 9 def add_s3(bucket, accesskey, secretkey, ={}) .merge!( 'command' => 'addS3', 'bucket' => bucket, 'accesskey' => accesskey, 'secretkey' => secretkey ) request() end |
#add_secondary_storage(url, options = {}) ⇒ Object
Adds secondary storage.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/add_secondary_storage.rb', line 9 def add_secondary_storage(url, ={}) .merge!( 'command' => 'addSecondaryStorage', 'url' => url ) request() end |
#add_srx_firewall(username, networkdevicetype, physicalnetworkid, password, url, options = {}) ⇒ Object
Adds a SRX firewall device
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/add_srx_firewall.rb', line 9 def add_srx_firewall(username, networkdevicetype, physicalnetworkid, password, url, ={}) .merge!( 'command' => 'addSrxFirewall', 'username' => username, 'networkdevicetype' => networkdevicetype, 'physicalnetworkid' => physicalnetworkid, 'password' => password, 'url' => url ) request() end |
#add_swift(url, options = {}) ⇒ Object
Adds Swift.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/add_swift.rb', line 9 def add_swift(url, ={}) .merge!( 'command' => 'addSwift', 'url' => url ) request() end |
#add_traffic_monitor(zoneid, url, options = {}) ⇒ Object
Adds Traffic Monitor Host for Direct Network Usage
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/add_traffic_monitor.rb', line 9 def add_traffic_monitor(zoneid, url, ={}) .merge!( 'command' => 'addTrafficMonitor', 'zoneid' => zoneid, 'url' => url ) request() end |
#add_traffic_type(physicalnetworkid, traffictype, options = {}) ⇒ Object
Adds traffic type to a physical network
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/add_traffic_type.rb', line 9 def add_traffic_type(physicalnetworkid, traffictype, ={}) .merge!( 'command' => 'addTrafficType', 'physicalnetworkid' => physicalnetworkid, 'traffictype' => traffictype ) request() end |
#add_ucs_manager(zoneid, url, password, username, options = {}) ⇒ Object
Adds a Ucs manager
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/add_ucs_manager.rb', line 9 def add_ucs_manager(zoneid, url, password, username, ={}) .merge!( 'command' => 'addUcsManager', 'zoneid' => zoneid, 'url' => url, 'password' => password, 'username' => username ) request() end |
#add_vmware_dc(zoneid, name, vcenter, options = {}) ⇒ Object
Adds a VMware datacenter to specified zone
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/add_vmware_dc.rb', line 9 def add_vmware_dc(zoneid, name, vcenter, ={}) .merge!( 'command' => 'addVmwareDc', 'zoneid' => zoneid, 'name' => name, 'vcenter' => vcenter ) request() end |
#add_vpn_user(password, username, options = {}) ⇒ Object
Adds vpn users
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/add_vpn_user.rb', line 9 def add_vpn_user(password, username, ={}) .merge!( 'command' => 'addVpnUser', 'password' => password, 'username' => username ) request() end |
#archive_alerts(options = {}) ⇒ Object
Archive one or more alerts.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/archive_alerts.rb', line 9 def archive_alerts(={}) .merge!( 'command' => 'archiveAlerts' ) request() end |
#archive_events(options = {}) ⇒ Object
Archive one or more events.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/archive_events.rb', line 9 def archive_events(={}) .merge!( 'command' => 'archiveEvents' ) request() end |
#assign_to_global_load_balancer_rule(id, loadbalancerrulelist, options = {}) ⇒ Object
Assign load balancer rule or list of load balancer rules to a global load balancer rules.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/assign_to_global_load_balancer_rule.rb', line 9 def assign_to_global_load_balancer_rule(id, loadbalancerrulelist, ={}) .merge!( 'command' => 'assignToGlobalLoadBalancerRule', 'id' => id, 'loadbalancerrulelist' => loadbalancerrulelist ) request() end |
#assign_to_load_balancer_rule(id, virtualmachineids, options = {}) ⇒ Object
Assigns virtual machine or a list of virtual machines to a load balancer rule.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/assign_to_load_balancer_rule.rb', line 9 def assign_to_load_balancer_rule(id, virtualmachineids, ={}) .merge!( 'command' => 'assignToLoadBalancerRule', 'id' => id, 'virtualmachineids' => virtualmachineids ) request() end |
#assign_virtual_machine(virtualmachineid, account, domainid, options = {}) ⇒ Object
Change ownership of a VM from one account to another. This API is available for Basic zones with security groups and Advanced zones with guest networks. A root administrator can reassign a VM from any account to any other account in any domain. A domain administrator can reassign a VM to any account in the same domain.
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/assign_virtual_machine.rb', line 9 def assign_virtual_machine(virtualmachineid, account, domainid, ={}) .merge!( 'command' => 'assignVirtualMachine', 'virtualmachineid' => virtualmachineid, 'account' => account, 'domainid' => domainid ) request() end |
#associate_ip_address(options = {}) ⇒ Object
Acquires and associates a public IP to an account.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/associate_ip_address.rb', line 9 def associate_ip_address(={}) .merge!( 'command' => 'associateIpAddress' ) request() end |
#associate_lun(iqn, name, options = {}) ⇒ Object
Associate a LUN with a guest IQN
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/associate_lun.rb', line 9 def associate_lun(iqn, name, ={}) .merge!( 'command' => 'associateLun', 'iqn' => iqn, 'name' => name ) request() end |
#associate_ucs_profile_to_blade(bladeid, profiledn, ucsmanagerid, options = {}) ⇒ Object
associate a profile to a blade
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/associate_ucs_profile_to_blade.rb', line 9 def associate_ucs_profile_to_blade(bladeid, profiledn, ucsmanagerid, ={}) .merge!( 'command' => 'associateUcsProfileToBlade', 'bladeid' => bladeid, 'profiledn' => profiledn, 'ucsmanagerid' => ucsmanagerid ) request() end |
#attach_iso(id, virtualmachineid, options = {}) ⇒ Object
Attaches an ISO to a virtual machine.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/attach_iso.rb', line 9 def attach_iso(id, virtualmachineid, ={}) .merge!( 'command' => 'attachIso', 'id' => id, 'virtualmachineid' => virtualmachineid ) request() end |
#attach_volume(virtualmachineid, id, options = {}) ⇒ Object
Attaches a disk volume to a virtual machine.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/attach_volume.rb', line 9 def attach_volume(virtualmachineid, id, ={}) .merge!( 'command' => 'attachVolume', 'virtualmachineid' => virtualmachineid, 'id' => id ) request() end |
#authorize_security_group_egress(options = {}) ⇒ Object
Authorizes a particular egress rule for this security group
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/authorize_security_group_egress.rb', line 9 def (={}) .merge!( 'command' => 'authorizeSecurityGroupEgress' ) request() end |
#authorize_security_group_ingress(options = {}) ⇒ Object
Authorizes a particular ingress rule for this security group
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/authorize_security_group_ingress.rb', line 9 def (={}) .merge!( 'command' => 'authorizeSecurityGroupIngress' ) request() end |
#cancel_host_maintenance(id, options = {}) ⇒ Object
Cancels host maintenance.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/cancel_host_maintenance.rb', line 9 def cancel_host_maintenance(id, ={}) .merge!( 'command' => 'cancelHostMaintenance', 'id' => id ) request() end |
#cancel_storage_maintenance(id, options = {}) ⇒ Object
Cancels maintenance for primary storage
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/cancel_storage_maintenance.rb', line 9 def cancel_storage_maintenance(id, ={}) .merge!( 'command' => 'cancelStorageMaintenance', 'id' => id ) request() end |
#change_service_for_router(serviceofferingid, id, options = {}) ⇒ Object
Upgrades domain router to a new service offering
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/change_service_for_router.rb', line 9 def change_service_for_router(serviceofferingid, id, ={}) .merge!( 'command' => 'changeServiceForRouter', 'serviceofferingid' => serviceofferingid, 'id' => id ) request() end |
#change_service_for_system_vm(id, serviceofferingid, options = {}) ⇒ Object
Changes the service offering for a system vm (console proxy or secondary storage). The system vm must be in a “Stopped” state for this command to take effect.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/change_service_for_system_vm.rb', line 9 def change_service_for_system_vm(id, serviceofferingid, ={}) .merge!( 'command' => 'changeServiceForSystemVm', 'id' => id, 'serviceofferingid' => serviceofferingid ) request() end |
#change_service_for_virtual_machine(serviceofferingid, id, options = {}) ⇒ Object
Changes the service offering for a virtual machine. The virtual machine must be in a “Stopped” state for this command to take effect.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/change_service_for_virtual_machine.rb', line 9 def change_service_for_virtual_machine(serviceofferingid, id, ={}) .merge!( 'command' => 'changeServiceForVirtualMachine', 'serviceofferingid' => serviceofferingid, 'id' => id ) request() end |
#clean_vmreservations(options = {}) ⇒ Object
Cleanups VM reservations in the database.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/clean_vmreservations.rb', line 9 def clean_vmreservations(={}) .merge!( 'command' => 'cleanVMReservations' ) request() end |
#configure_f5_load_balancer(lbdeviceid, options = {}) ⇒ Object
configures a F5 load balancer device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/configure_f5_load_balancer.rb', line 9 def configure_f5_load_balancer(lbdeviceid, ={}) .merge!( 'command' => 'configureF5LoadBalancer', 'lbdeviceid' => lbdeviceid ) request() end |
#configure_internal_load_balancer_element(id, enabled, options = {}) ⇒ Object
Configures an Internal Load Balancer element.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/configure_internal_load_balancer_element.rb', line 9 def configure_internal_load_balancer_element(id, enabled, ={}) .merge!( 'command' => 'configureInternalLoadBalancerElement', 'id' => id, 'enabled' => enabled ) request() end |
#configure_netscaler_load_balancer(lbdeviceid, options = {}) ⇒ Object
configures a netscaler load balancer device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/configure_netscaler_load_balancer.rb', line 9 def configure_netscaler_load_balancer(lbdeviceid, ={}) .merge!( 'command' => 'configureNetscalerLoadBalancer', 'lbdeviceid' => lbdeviceid ) request() end |
#configure_srx_firewall(fwdeviceid, options = {}) ⇒ Object
Configures a SRX firewall device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/configure_srx_firewall.rb', line 9 def configure_srx_firewall(fwdeviceid, ={}) .merge!( 'command' => 'configureSrxFirewall', 'fwdeviceid' => fwdeviceid ) request() end |
#configure_virtual_router_element(id, enabled, options = {}) ⇒ Object
Configures a virtual router element.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/configure_virtual_router_element.rb', line 9 def configure_virtual_router_element(id, enabled, ={}) .merge!( 'command' => 'configureVirtualRouterElement', 'id' => id, 'enabled' => enabled ) request() end |
#copy_iso(id, sourcezoneid, destzoneid, options = {}) ⇒ Object
Copies an iso from one zone to another.
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/copy_iso.rb', line 9 def copy_iso(id, sourcezoneid, destzoneid, ={}) .merge!( 'command' => 'copyIso', 'id' => id, 'sourcezoneid' => sourcezoneid, 'destzoneid' => destzoneid ) request() end |
#copy_template(destzoneid, id, sourcezoneid, options = {}) ⇒ Object
Copies a template from one zone to another.
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/copy_template.rb', line 9 def copy_template(destzoneid, id, sourcezoneid, ={}) .merge!( 'command' => 'copyTemplate', 'destzoneid' => destzoneid, 'id' => id, 'sourcezoneid' => sourcezoneid ) request() end |
#create_account(password, lastname, accounttype, username, email, firstname, options = {}) ⇒ Object
Creates an account
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/fog/cloudstack/requests/compute/create_account.rb', line 9 def create_account(password, lastname, accounttype, username, email, firstname, ={}) .merge!( 'command' => 'createAccount', 'password' => password, 'lastname' => lastname, 'accounttype' => accounttype, 'username' => username, 'email' => email, 'firstname' => firstname ) request() end |
#create_affinity_group(name, type, options = {}) ⇒ Object
Creates an affinity/anti-affinity group
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/create_affinity_group.rb', line 9 def create_affinity_group(name, type, ={}) .merge!( 'command' => 'createAffinityGroup', 'name' => name, 'type' => type ) request() end |
#create_auto_scale_policy(action, duration, conditionids, options = {}) ⇒ Object
Creates an autoscale policy for a provision or deprovision action, the action is taken when the all the conditions evaluates to true for the specified duration. The policy is in effect once it is attached to a autscale vm group.
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/create_auto_scale_policy.rb', line 9 def create_auto_scale_policy(action, duration, conditionids, ={}) .merge!( 'command' => 'createAutoScalePolicy', 'action' => action, 'duration' => duration, 'conditionids' => conditionids ) request() end |
#create_auto_scale_vm_group(lbruleid, vmprofileid, scaleuppolicyids, minmembers, scaledownpolicyids, maxmembers, options = {}) ⇒ Object
Creates and automatically starts a virtual machine based on a service offering, disk offering, and template.
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/fog/cloudstack/requests/compute/create_auto_scale_vm_group.rb', line 9 def create_auto_scale_vm_group(lbruleid, vmprofileid, scaleuppolicyids, minmembers, scaledownpolicyids, maxmembers, ={}) .merge!( 'command' => 'createAutoScaleVmGroup', 'lbruleid' => lbruleid, 'vmprofileid' => vmprofileid, 'scaleuppolicyids' => scaleuppolicyids, 'minmembers' => minmembers, 'scaledownpolicyids' => scaledownpolicyids, 'maxmembers' => maxmembers ) request() end |
#create_auto_scale_vm_profile(serviceofferingid, templateid, zoneid, options = {}) ⇒ Object
Creates a profile that contains information about the virtual machine which will be provisioned automatically by autoscale feature.
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/create_auto_scale_vm_profile.rb', line 9 def create_auto_scale_vm_profile(serviceofferingid, templateid, zoneid, ={}) .merge!( 'command' => 'createAutoScaleVmProfile', 'serviceofferingid' => serviceofferingid, 'templateid' => templateid, 'zoneid' => zoneid ) request() end |
#create_condition(relationaloperator, threshold, counterid, options = {}) ⇒ Object
Creates a condition
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/create_condition.rb', line 9 def create_condition(relationaloperator, threshold, counterid, ={}) .merge!( 'command' => 'createCondition', 'relationaloperator' => relationaloperator, 'threshold' => threshold, 'counterid' => counterid ) request() end |
#create_counter(source, value, name, options = {}) ⇒ Object
Adds metric counter
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/create_counter.rb', line 9 def create_counter(source, value, name, ={}) .merge!( 'command' => 'createCounter', 'source' => source, 'value' => value, 'name' => name ) request() end |
#create_disk_offering(name, displaytext, options = {}) ⇒ Object
Creates a disk offering.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/create_disk_offering.rb', line 9 def create_disk_offering(name, displaytext, ={}) .merge!( 'command' => 'createDiskOffering', 'name' => name, 'displaytext' => displaytext ) request() end |
#create_domain(name, options = {}) ⇒ Object
Creates a domain
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_domain.rb', line 9 def create_domain(name, ={}) .merge!( 'command' => 'createDomain', 'name' => name ) request() end |
#create_egress_firewall_rule(protocol, networkid, options = {}) ⇒ Object
Creates a egress firewall rule for a given network
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/create_egress_firewall_rule.rb', line 9 def create_egress_firewall_rule(protocol, networkid, ={}) .merge!( 'command' => 'createEgressFirewallRule', 'protocol' => protocol, 'networkid' => networkid ) request() end |
#create_firewall_rule(ipaddressid, protocol, options = {}) ⇒ Object
Creates a firewall rule for a given ip address
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/create_firewall_rule.rb', line 9 def create_firewall_rule(ipaddressid, protocol, ={}) .merge!( 'command' => 'createFirewallRule', 'ipaddressid' => ipaddressid, 'protocol' => protocol ) request() end |
#create_global_load_balancer_rule(gslbservicetype, gslbdomainname, regionid, name, options = {}) ⇒ Object
Creates a global load balancer rule
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/create_global_load_balancer_rule.rb', line 9 def create_global_load_balancer_rule(gslbservicetype, gslbdomainname, regionid, name, ={}) .merge!( 'command' => 'createGlobalLoadBalancerRule', 'gslbservicetype' => gslbservicetype, 'gslbdomainname' => gslbdomainname, 'regionid' => regionid, 'name' => name ) request() end |
#create_instance_group(name, options = {}) ⇒ Object
Creates a vm group
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_instance_group.rb', line 9 def create_instance_group(name, ={}) .merge!( 'command' => 'createInstanceGroup', 'name' => name ) request() end |
#create_internal_load_balancer_element(nspid, options = {}) ⇒ Object
Create an Internal Load Balancer element.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_internal_load_balancer_element.rb', line 9 def create_internal_load_balancer_element(nspid, ={}) .merge!( 'command' => 'createInternalLoadBalancerElement', 'nspid' => nspid ) request() end |
#create_ip_forwarding_rule(startport, protocol, ipaddressid, options = {}) ⇒ Object
Creates an ip forwarding rule
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/create_ip_forwarding_rule.rb', line 9 def create_ip_forwarding_rule(startport, protocol, ipaddressid, ={}) .merge!( 'command' => 'createIpForwardingRule', 'startport' => startport, 'protocol' => protocol, 'ipaddressid' => ipaddressid ) request() end |
#create_lb_health_check_policy(lbruleid, options = {}) ⇒ Object
Creates a Load Balancer healthcheck policy
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_lb_health_check_policy.rb', line 9 def create_lb_health_check_policy(lbruleid, ={}) .merge!( 'command' => 'createLBHealthCheckPolicy', 'lbruleid' => lbruleid ) request() end |
#create_lb_stickiness_policy(lbruleid, methodname, name, options = {}) ⇒ Object
Creates a Load Balancer stickiness policy
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/create_lb_stickiness_policy.rb', line 9 def create_lb_stickiness_policy(lbruleid, methodname, name, ={}) .merge!( 'command' => 'createLBStickinessPolicy', 'lbruleid' => lbruleid, 'methodname' => methodname, 'name' => name ) request() end |
#create_load_balancer(scheme, networkid, instanceport, name, algorithm, sourceipaddressnetworkid, sourceport, options = {}) ⇒ Object
Creates a Load Balancer
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/fog/cloudstack/requests/compute/create_load_balancer.rb', line 9 def create_load_balancer(scheme, networkid, instanceport, name, algorithm, sourceipaddressnetworkid, sourceport, ={}) .merge!( 'command' => 'createLoadBalancer', 'scheme' => scheme, 'networkid' => networkid, 'instanceport' => instanceport, 'name' => name, 'algorithm' => algorithm, 'sourceipaddressnetworkid' => sourceipaddressnetworkid, 'sourceport' => sourceport ) request() end |
#create_load_balancer_rule(publicport, algorithm, privateport, name, options = {}) ⇒ Object
Creates a load balancer rule
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/create_load_balancer_rule.rb', line 9 def create_load_balancer_rule(publicport, algorithm, privateport, name, ={}) .merge!( 'command' => 'createLoadBalancerRule', 'publicport' => publicport, 'algorithm' => algorithm, 'privateport' => privateport, 'name' => name ) request() end |
#create_lun_on_filer(size, name, options = {}) ⇒ Object
Create a LUN from a pool
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/create_lun_on_filer.rb', line 9 def create_lun_on_filer(size, name, ={}) .merge!( 'command' => 'createLunOnFiler', 'size' => size, 'name' => name ) request() end |
#create_network(displaytext, name, networkofferingid, zoneid, options = {}) ⇒ Object
Creates a network
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/create_network.rb', line 9 def create_network(displaytext, name, networkofferingid, zoneid, ={}) .merge!( 'command' => 'createNetwork', 'displaytext' => displaytext, 'name' => name, 'networkofferingid' => networkofferingid, 'zoneid' => zoneid ) request() end |
#create_network_acl(protocol, options = {}) ⇒ Object
Creates a ACL rule in the given network (the network has to belong to VPC)
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_network_acl.rb', line 9 def create_network_acl(protocol, ={}) .merge!( 'command' => 'createNetworkACL', 'protocol' => protocol ) request() end |
#create_network_acl_list(vpcid, name, options = {}) ⇒ Object
Creates a Network ACL for the given VPC
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/create_network_acl_list.rb', line 9 def create_network_acl_list(vpcid, name, ={}) .merge!( 'command' => 'createNetworkACLList', 'vpcid' => vpcid, 'name' => name ) request() end |
#create_network_offering(guestiptype, traffictype, name, supportedservices, displaytext, options = {}) ⇒ Object
Creates a network offering.
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/create_network_offering.rb', line 9 def create_network_offering(guestiptype, traffictype, name, supportedservices, displaytext, ={}) .merge!( 'command' => 'createNetworkOffering', 'guestiptype' => guestiptype, 'traffictype' => traffictype, 'name' => name, 'supportedservices' => supportedservices, 'displaytext' => displaytext ) request() end |
#create_physical_network(zoneid, name, options = {}) ⇒ Object
Creates a physical network
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/create_physical_network.rb', line 9 def create_physical_network(zoneid, name, ={}) .merge!( 'command' => 'createPhysicalNetwork', 'zoneid' => zoneid, 'name' => name ) request() end |
#create_pod(netmask, name, startip, gateway, zoneid, options = {}) ⇒ Object
Creates a new Pod.
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/create_pod.rb', line 9 def create_pod(netmask, name, startip, gateway, zoneid, ={}) .merge!( 'command' => 'createPod', 'netmask' => netmask, 'name' => name, 'startip' => startip, 'gateway' => gateway, 'zoneid' => zoneid ) request() end |
#create_pool(algorithm, name, options = {}) ⇒ Object
Create a pool
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/create_pool.rb', line 9 def create_pool(algorithm, name, ={}) .merge!( 'command' => 'createPool', 'algorithm' => algorithm, 'name' => name ) request() end |
#create_port_forwarding_rule(publicport, virtualmachineid, ipaddressid, privateport, protocol, options = {}) ⇒ Object
Creates a port forwarding rule
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/create_port_forwarding_rule.rb', line 9 def create_port_forwarding_rule(publicport, virtualmachineid, ipaddressid, privateport, protocol, ={}) .merge!( 'command' => 'createPortForwardingRule', 'publicport' => publicport, 'virtualmachineid' => virtualmachineid, 'ipaddressid' => ipaddressid, 'privateport' => privateport, 'protocol' => protocol ) request() end |
#create_portable_ip_range(endip, startip, gateway, netmask, regionid, options = {}) ⇒ Object
adds a range of portable public IP’s to a region
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/create_portable_ip_range.rb', line 9 def create_portable_ip_range(endip, startip, gateway, netmask, regionid, ={}) .merge!( 'command' => 'createPortableIpRange', 'endip' => endip, 'startip' => startip, 'gateway' => gateway, 'netmask' => netmask, 'regionid' => regionid ) request() end |
#create_private_gateway(vpcid, gateway, ipaddress, vlan, netmask, options = {}) ⇒ Object
Creates a private gateway
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/create_private_gateway.rb', line 9 def create_private_gateway(vpcid, gateway, ipaddress, vlan, netmask, ={}) .merge!( 'command' => 'createPrivateGateway', 'vpcid' => vpcid, 'gateway' => gateway, 'ipaddress' => ipaddress, 'vlan' => vlan, 'netmask' => netmask ) request() end |
#create_project(displaytext, name, options = {}) ⇒ Object
Creates a project
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/create_project.rb', line 9 def create_project(displaytext, name, ={}) .merge!( 'command' => 'createProject', 'displaytext' => displaytext, 'name' => name ) request() end |
#create_remote_access_vpn(publicipid, options = {}) ⇒ Object
Creates a l2tp/ipsec remote access vpn
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_remote_access_vpn.rb', line 9 def create_remote_access_vpn(publicipid, ={}) .merge!( 'command' => 'createRemoteAccessVpn', 'publicipid' => publicipid ) request() end |
#create_secondary_staging_store(url, options = {}) ⇒ Object
create secondary staging store.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_secondary_staging_store.rb', line 9 def create_secondary_staging_store(url, ={}) .merge!( 'command' => 'createSecondaryStagingStore', 'url' => url ) request() end |
#create_security_group(name, options = {}) ⇒ Object
Creates a security group
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_security_group.rb', line 9 def create_security_group(name, ={}) .merge!( 'command' => 'createSecurityGroup', 'name' => name ) request() end |
#create_service_offering(displaytext, cpunumber, name, memory, cpuspeed, options = {}) ⇒ Object
Creates a service offering.
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/create_service_offering.rb', line 9 def create_service_offering(displaytext, cpunumber, name, memory, cpuspeed, ={}) .merge!( 'command' => 'createServiceOffering', 'displaytext' => displaytext, 'cpunumber' => cpunumber, 'name' => name, 'memory' => memory, 'cpuspeed' => cpuspeed ) request() end |
#create_snapshot(volumeid, options = {}) ⇒ Object
Creates an instant snapshot of a volume.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_snapshot.rb', line 9 def create_snapshot(volumeid, ={}) .merge!( 'command' => 'createSnapshot', 'volumeid' => volumeid ) request() end |
#create_snapshot_policy(intervaltype, volumeid, schedule, maxsnaps, timezone, options = {}) ⇒ Object
Creates a snapshot policy for the account.
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/create_snapshot_policy.rb', line 9 def create_snapshot_policy(intervaltype, volumeid, schedule, maxsnaps, timezone, ={}) .merge!( 'command' => 'createSnapshotPolicy', 'intervaltype' => intervaltype, 'volumeid' => volumeid, 'schedule' => schedule, 'maxsnaps' => maxsnaps, 'timezone' => timezone ) request() end |
#create_ssh_key_pair(name, options = {}) ⇒ Object
Create a new keypair and returns the private key
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_ssh_key_pair.rb', line 9 def create_ssh_key_pair(name, ={}) .merge!( 'command' => 'createSSHKeyPair', 'name' => name ) request() end |
#create_static_route(cidr, gatewayid, options = {}) ⇒ Object
Creates a static route
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/create_static_route.rb', line 9 def create_static_route(cidr, gatewayid, ={}) .merge!( 'command' => 'createStaticRoute', 'cidr' => cidr, 'gatewayid' => gatewayid ) request() end |
#create_storage_network_ip_range(netmask, gateway, startip, podid, options = {}) ⇒ Object
Creates a Storage network IP range.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/create_storage_network_ip_range.rb', line 9 def create_storage_network_ip_range(netmask, gateway, startip, podid, ={}) .merge!( 'command' => 'createStorageNetworkIpRange', 'netmask' => netmask, 'gateway' => gateway, 'startip' => startip, 'podid' => podid ) request() end |
#create_storage_pool(url, zoneid, name, options = {}) ⇒ Object
Creates a storage pool.
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/create_storage_pool.rb', line 9 def create_storage_pool(url, zoneid, name, ={}) .merge!( 'command' => 'createStoragePool', 'url' => url, 'zoneid' => zoneid, 'name' => name ) request() end |
#create_tags(resourceids, resourcetype, tags, options = {}) ⇒ Object
Creates resource tag(s)
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/create_tags.rb', line 9 def (resourceids, resourcetype, , ={}) .merge!( 'command' => 'createTags', 'resourceids' => resourceids, 'resourcetype' => resourcetype, 'tags' => ) request() end |
#create_template(ostypeid, displaytext, name, options = {}) ⇒ Object
Creates a template of a virtual machine. The virtual machine must be in a STOPPED state. A template created from this command is automatically designated as a private template visible to the account that created it.
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/create_template.rb', line 9 def create_template(ostypeid, displaytext, name, ={}) .merge!( 'command' => 'createTemplate', 'ostypeid' => ostypeid, 'displaytext' => displaytext, 'name' => name ) request() end |
#create_user(username, email, firstname, lastname, password, account, options = {}) ⇒ Object
Creates a user for an account that already exists
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/fog/cloudstack/requests/compute/create_user.rb', line 9 def create_user(username, email, firstname, lastname, password, account, ={}) .merge!( 'command' => 'createUser', 'username' => username, 'email' => email, 'firstname' => firstname, 'lastname' => lastname, 'password' => password, 'account' => account ) request() end |
#create_virtual_router_element(nspid, options = {}) ⇒ Object
Create a virtual router element.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_virtual_router_element.rb', line 9 def create_virtual_router_element(nspid, ={}) .merge!( 'command' => 'createVirtualRouterElement', 'nspid' => nspid ) request() end |
#create_vlan_ip_range(options = {}) ⇒ Object
Creates a VLAN IP range.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/create_vlan_ip_range.rb', line 9 def create_vlan_ip_range(={}) .merge!( 'command' => 'createVlanIpRange' ) request() end |
#create_vm_snapshot(virtualmachineid, options = {}) ⇒ Object
Creates snapshot for a vm.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_vm_snapshot.rb', line 9 def create_vm_snapshot(virtualmachineid, ={}) .merge!( 'command' => 'createVMSnapshot', 'virtualmachineid' => virtualmachineid ) request() end |
#create_volume(name, options = {}) ⇒ Object
Creates a disk volume from a disk offering. This disk volume must still be attached to a virtual machine to make use of it.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_volume.rb', line 9 def create_volume(name, ={}) .merge!( 'command' => 'createVolume', 'name' => name ) request() end |
#create_volume_on_filer(password, ipaddress, size, volumename, username, poolname, aggregatename, options = {}) ⇒ Object
Create a volume
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/fog/cloudstack/requests/compute/create_volume_on_filer.rb', line 9 def create_volume_on_filer(password, ipaddress, size, volumename, username, poolname, aggregatename, ={}) .merge!( 'command' => 'createVolumeOnFiler', 'password' => password, 'ipaddress' => ipaddress, 'size' => size, 'volumename' => volumename, 'username' => username, 'poolname' => poolname, 'aggregatename' => aggregatename ) request() end |
#create_vpc(cidr, vpcofferingid, name, displaytext, zoneid, options = {}) ⇒ Object
Creates a VPC
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/create_vpc.rb', line 9 def create_vpc(cidr, vpcofferingid, name, displaytext, zoneid, ={}) .merge!( 'command' => 'createVPC', 'cidr' => cidr, 'vpcofferingid' => vpcofferingid, 'name' => name, 'displaytext' => displaytext, 'zoneid' => zoneid ) request() end |
#create_vpcoffering(supportedservices, name, displaytext, options = {}) ⇒ Object
Creates VPC offering
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/create_vpcoffering.rb', line 9 def create_vpcoffering(supportedservices, name, displaytext, ={}) .merge!( 'command' => 'createVPCOffering', 'supportedservices' => supportedservices, 'name' => name, 'displaytext' => displaytext ) request() end |
#create_vpn_connection(s2scustomergatewayid, s2svpngatewayid, options = {}) ⇒ Object
Create site to site vpn connection
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/create_vpn_connection.rb', line 9 def create_vpn_connection(s2scustomergatewayid, s2svpngatewayid, ={}) .merge!( 'command' => 'createVpnConnection', 's2scustomergatewayid' => s2scustomergatewayid, 's2svpngatewayid' => s2svpngatewayid ) request() end |
#create_vpn_customer_gateway(gateway, cidrlist, ipsecpsk, ikepolicy, esppolicy, options = {}) ⇒ Object
Creates site to site vpn customer gateway
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/cloudstack/requests/compute/create_vpn_customer_gateway.rb', line 9 def create_vpn_customer_gateway(gateway, cidrlist, ipsecpsk, ikepolicy, esppolicy, ={}) .merge!( 'command' => 'createVpnCustomerGateway', 'gateway' => gateway, 'cidrlist' => cidrlist, 'ipsecpsk' => ipsecpsk, 'ikepolicy' => ikepolicy, 'esppolicy' => esppolicy ) request() end |
#create_vpn_gateway(vpcid, options = {}) ⇒ Object
Creates site to site vpn local gateway
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/create_vpn_gateway.rb', line 9 def create_vpn_gateway(vpcid, ={}) .merge!( 'command' => 'createVpnGateway', 'vpcid' => vpcid ) request() end |
#create_zone(internaldns1, name, networktype, dns1, options = {}) ⇒ Object
Creates a Zone.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/create_zone.rb', line 9 def create_zone(internaldns1, name, networktype, dns1, ={}) .merge!( 'command' => 'createZone', 'internaldns1' => internaldns1, 'name' => name, 'networktype' => networktype, 'dns1' => dns1 ) request() end |
#dedicate_cluster(clusterid, domainid, options = {}) ⇒ Object
Dedicate an existing cluster
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/dedicate_cluster.rb', line 9 def dedicate_cluster(clusterid, domainid, ={}) .merge!( 'command' => 'dedicateCluster', 'clusterid' => clusterid, 'domainid' => domainid ) request() end |
#dedicate_guest_vlan_range(account, domainid, vlanrange, physicalnetworkid, options = {}) ⇒ Object
Dedicates a guest vlan range to an account
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/dedicate_guest_vlan_range.rb', line 9 def dedicate_guest_vlan_range(account, domainid, vlanrange, physicalnetworkid, ={}) .merge!( 'command' => 'dedicateGuestVlanRange', 'account' => account, 'domainid' => domainid, 'vlanrange' => vlanrange, 'physicalnetworkid' => physicalnetworkid ) request() end |
#dedicate_host(hostid, domainid, options = {}) ⇒ Object
Dedicates a host.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/dedicate_host.rb', line 9 def dedicate_host(hostid, domainid, ={}) .merge!( 'command' => 'dedicateHost', 'hostid' => hostid, 'domainid' => domainid ) request() end |
#dedicate_pod(domainid, podid, options = {}) ⇒ Object
Dedicates a Pod.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/dedicate_pod.rb', line 9 def dedicate_pod(domainid, podid, ={}) .merge!( 'command' => 'dedicatePod', 'domainid' => domainid, 'podid' => podid ) request() end |
#dedicate_public_ip_range(domainid, id, account, options = {}) ⇒ Object
Dedicates a Public IP range to an account
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/dedicate_public_ip_range.rb', line 9 def dedicate_public_ip_range(domainid, id, account, ={}) .merge!( 'command' => 'dedicatePublicIpRange', 'domainid' => domainid, 'id' => id, 'account' => account ) request() end |
#dedicate_zone(domainid, zoneid, options = {}) ⇒ Object
Dedicates a zones.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/dedicate_zone.rb', line 9 def dedicate_zone(domainid, zoneid, ={}) .merge!( 'command' => 'dedicateZone', 'domainid' => domainid, 'zoneid' => zoneid ) request() end |
#delete_account(id, options = {}) ⇒ Object
Deletes a account, and all users associated with this account
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_account.rb', line 9 def delete_account(id, ={}) .merge!( 'command' => 'deleteAccount', 'id' => id ) request() end |
#delete_account_from_project(account, projectid, options = {}) ⇒ Object
Deletes account from the project
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/delete_account_from_project.rb', line 9 def delete_account_from_project(account, projectid, ={}) .merge!( 'command' => 'deleteAccountFromProject', 'account' => account, 'projectid' => projectid ) request() end |
#delete_affinity_group(options = {}) ⇒ Object
Deletes affinity group
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/delete_affinity_group.rb', line 9 def delete_affinity_group(={}) .merge!( 'command' => 'deleteAffinityGroup' ) request() end |
#delete_alerts(options = {}) ⇒ Object
Delete one or more alerts.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/delete_alerts.rb', line 9 def delete_alerts(={}) .merge!( 'command' => 'deleteAlerts' ) request() end |
#delete_auto_scale_policy(id, options = {}) ⇒ Object
Deletes a autoscale policy.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_auto_scale_policy.rb', line 9 def delete_auto_scale_policy(id, ={}) .merge!( 'command' => 'deleteAutoScalePolicy', 'id' => id ) request() end |
#delete_auto_scale_vm_group(id, options = {}) ⇒ Object
Deletes a autoscale vm group.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_auto_scale_vm_group.rb', line 9 def delete_auto_scale_vm_group(id, ={}) .merge!( 'command' => 'deleteAutoScaleVmGroup', 'id' => id ) request() end |
#delete_auto_scale_vm_profile(id, options = {}) ⇒ Object
Deletes a autoscale vm profile.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_auto_scale_vm_profile.rb', line 9 def delete_auto_scale_vm_profile(id, ={}) .merge!( 'command' => 'deleteAutoScaleVmProfile', 'id' => id ) request() end |
#delete_cisco_asa1000v_resource(resourceid, options = {}) ⇒ Object
Deletes a Cisco ASA 1000v appliance
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_cisco_asa1000v_resource.rb', line 9 def delete_cisco_asa1000v_resource(resourceid, ={}) .merge!( 'command' => 'deleteCiscoAsa1000vResource', 'resourceid' => resourceid ) request() end |
#delete_cisco_nexus_vsm(id, options = {}) ⇒ Object
delete a Cisco Nexus VSM device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_cisco_nexus_vsm.rb', line 9 def delete_cisco_nexus_vsm(id, ={}) .merge!( 'command' => 'deleteCiscoNexusVSM', 'id' => id ) request() end |
#delete_cisco_vnmc_resource(resourceid, options = {}) ⇒ Object
Deletes a Cisco Vnmc controller
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_cisco_vnmc_resource.rb', line 9 def delete_cisco_vnmc_resource(resourceid, ={}) .merge!( 'command' => 'deleteCiscoVnmcResource', 'resourceid' => resourceid ) request() end |
#delete_cluster(id, options = {}) ⇒ Object
Deletes a cluster.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_cluster.rb', line 9 def delete_cluster(id, ={}) .merge!( 'command' => 'deleteCluster', 'id' => id ) request() end |
#delete_condition(id, options = {}) ⇒ Object
Removes a condition
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_condition.rb', line 9 def delete_condition(id, ={}) .merge!( 'command' => 'deleteCondition', 'id' => id ) request() end |
#delete_counter(id, options = {}) ⇒ Object
Deletes a counter
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_counter.rb', line 9 def delete_counter(id, ={}) .merge!( 'command' => 'deleteCounter', 'id' => id ) request() end |
#delete_disk_offering(id, options = {}) ⇒ Object
Updates a disk offering.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_disk_offering.rb', line 9 def delete_disk_offering(id, ={}) .merge!( 'command' => 'deleteDiskOffering', 'id' => id ) request() end |
#delete_domain(id, options = {}) ⇒ Object
Deletes a specified domain
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_domain.rb', line 9 def delete_domain(id, ={}) .merge!( 'command' => 'deleteDomain', 'id' => id ) request() end |
#delete_egress_firewall_rule(id, options = {}) ⇒ Object
Deletes an ggress firewall rule
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_egress_firewall_rule.rb', line 9 def delete_egress_firewall_rule(id, ={}) .merge!( 'command' => 'deleteEgressFirewallRule', 'id' => id ) request() end |
#delete_events(options = {}) ⇒ Object
Delete one or more events.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/delete_events.rb', line 9 def delete_events(={}) .merge!( 'command' => 'deleteEvents' ) request() end |
#delete_external_firewall(id, options = {}) ⇒ Object
Deletes an external firewall appliance.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_external_firewall.rb', line 9 def delete_external_firewall(id, ={}) .merge!( 'command' => 'deleteExternalFirewall', 'id' => id ) request() end |
#delete_external_load_balancer(id, options = {}) ⇒ Object
Deletes a F5 external load balancer appliance added in a zone.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_external_load_balancer.rb', line 9 def delete_external_load_balancer(id, ={}) .merge!( 'command' => 'deleteExternalLoadBalancer', 'id' => id ) request() end |
#delete_f5_load_balancer(lbdeviceid, options = {}) ⇒ Object
delete a F5 load balancer device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_f5_load_balancer.rb', line 9 def delete_f5_load_balancer(lbdeviceid, ={}) .merge!( 'command' => 'deleteF5LoadBalancer', 'lbdeviceid' => lbdeviceid ) request() end |
#delete_firewall_rule(id, options = {}) ⇒ Object
Deletes a firewall rule
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_firewall_rule.rb', line 9 def delete_firewall_rule(id, ={}) .merge!( 'command' => 'deleteFirewallRule', 'id' => id ) request() end |
#delete_global_load_balancer_rule(id, options = {}) ⇒ Object
Deletes a global load balancer rule.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_global_load_balancer_rule.rb', line 9 def delete_global_load_balancer_rule(id, ={}) .merge!( 'command' => 'deleteGlobalLoadBalancerRule', 'id' => id ) request() end |
#delete_host(id, options = {}) ⇒ Object
Deletes a host.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_host.rb', line 9 def delete_host(id, ={}) .merge!( 'command' => 'deleteHost', 'id' => id ) request() end |
#delete_image_store(id, options = {}) ⇒ Object
Deletes an image store .
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_image_store.rb', line 9 def delete_image_store(id, ={}) .merge!( 'command' => 'deleteImageStore', 'id' => id ) request() end |
#delete_instance_group(id, options = {}) ⇒ Object
Deletes a vm group
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_instance_group.rb', line 9 def delete_instance_group(id, ={}) .merge!( 'command' => 'deleteInstanceGroup', 'id' => id ) request() end |
#delete_ip_forwarding_rule(id, options = {}) ⇒ Object
Deletes an ip forwarding rule
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_ip_forwarding_rule.rb', line 9 def delete_ip_forwarding_rule(id, ={}) .merge!( 'command' => 'deleteIpForwardingRule', 'id' => id ) request() end |
#delete_iso(id, options = {}) ⇒ Object
Deletes an ISO file.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_iso.rb', line 9 def delete_iso(id, ={}) .merge!( 'command' => 'deleteIso', 'id' => id ) request() end |
#delete_lb_health_check_policy(id, options = {}) ⇒ Object
Deletes a load balancer HealthCheck policy.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_lb_health_check_policy.rb', line 9 def delete_lb_health_check_policy(id, ={}) .merge!( 'command' => 'deleteLBHealthCheckPolicy', 'id' => id ) request() end |
#delete_lb_stickiness_policy(id, options = {}) ⇒ Object
Deletes a LB stickiness policy.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_lb_stickiness_policy.rb', line 9 def delete_lb_stickiness_policy(id, ={}) .merge!( 'command' => 'deleteLBStickinessPolicy', 'id' => id ) request() end |
#delete_load_balancer(id, options = {}) ⇒ Object
Deletes a load balancer
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_load_balancer.rb', line 9 def delete_load_balancer(id, ={}) .merge!( 'command' => 'deleteLoadBalancer', 'id' => id ) request() end |
#delete_load_balancer_rule(id, options = {}) ⇒ Object
Deletes a load balancer rule.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_load_balancer_rule.rb', line 9 def delete_load_balancer_rule(id, ={}) .merge!( 'command' => 'deleteLoadBalancerRule', 'id' => id ) request() end |
#delete_netscaler_load_balancer(lbdeviceid, options = {}) ⇒ Object
delete a netscaler load balancer device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_netscaler_load_balancer.rb', line 9 def delete_netscaler_load_balancer(lbdeviceid, ={}) .merge!( 'command' => 'deleteNetscalerLoadBalancer', 'lbdeviceid' => lbdeviceid ) request() end |
#delete_network(id, options = {}) ⇒ Object
Deletes a network
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_network.rb', line 9 def delete_network(id, ={}) .merge!( 'command' => 'deleteNetwork', 'id' => id ) request() end |
#delete_network_acl(id, options = {}) ⇒ Object
Deletes a Network ACL
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_network_acl.rb', line 9 def delete_network_acl(id, ={}) .merge!( 'command' => 'deleteNetworkACL', 'id' => id ) request() end |
#delete_network_acl_list(id, options = {}) ⇒ Object
Deletes a Network ACL
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_network_acl_list.rb', line 9 def delete_network_acl_list(id, ={}) .merge!( 'command' => 'deleteNetworkACLList', 'id' => id ) request() end |
#delete_network_device(id, options = {}) ⇒ Object
Deletes network device.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_network_device.rb', line 9 def delete_network_device(id, ={}) .merge!( 'command' => 'deleteNetworkDevice', 'id' => id ) request() end |
#delete_network_offering(id, options = {}) ⇒ Object
Deletes a network offering.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_network_offering.rb', line 9 def delete_network_offering(id, ={}) .merge!( 'command' => 'deleteNetworkOffering', 'id' => id ) request() end |
#delete_network_service_provider(id, options = {}) ⇒ Object
Deletes a Network Service Provider.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_network_service_provider.rb', line 9 def delete_network_service_provider(id, ={}) .merge!( 'command' => 'deleteNetworkServiceProvider', 'id' => id ) request() end |
#delete_nicira_nvp_device(nvpdeviceid, options = {}) ⇒ Object
delete a nicira nvp device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_nicira_nvp_device.rb', line 9 def delete_nicira_nvp_device(nvpdeviceid, ={}) .merge!( 'command' => 'deleteNiciraNvpDevice', 'nvpdeviceid' => nvpdeviceid ) request() end |
#delete_physical_network(id, options = {}) ⇒ Object
Deletes a Physical Network.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_physical_network.rb', line 9 def delete_physical_network(id, ={}) .merge!( 'command' => 'deletePhysicalNetwork', 'id' => id ) request() end |
#delete_pod(id, options = {}) ⇒ Object
Deletes a Pod.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_pod.rb', line 9 def delete_pod(id, ={}) .merge!( 'command' => 'deletePod', 'id' => id ) request() end |
#delete_pool(poolname, options = {}) ⇒ Object
Delete a pool
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_pool.rb', line 9 def delete_pool(poolname, ={}) .merge!( 'command' => 'deletePool', 'poolname' => poolname ) request() end |
#delete_port_forwarding_rule(id, options = {}) ⇒ Object
Deletes a port forwarding rule
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_port_forwarding_rule.rb', line 9 def delete_port_forwarding_rule(id, ={}) .merge!( 'command' => 'deletePortForwardingRule', 'id' => id ) request() end |
#delete_portable_ip_range(id, options = {}) ⇒ Object
deletes a range of portable public IP’s associated with a region
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_portable_ip_range.rb', line 9 def delete_portable_ip_range(id, ={}) .merge!( 'command' => 'deletePortableIpRange', 'id' => id ) request() end |
#delete_private_gateway(id, options = {}) ⇒ Object
Deletes a Private gateway
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_private_gateway.rb', line 9 def delete_private_gateway(id, ={}) .merge!( 'command' => 'deletePrivateGateway', 'id' => id ) request() end |
#delete_project(id, options = {}) ⇒ Object
Deletes a project
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_project.rb', line 9 def delete_project(id, ={}) .merge!( 'command' => 'deleteProject', 'id' => id ) request() end |
#delete_project_invitation(id, options = {}) ⇒ Object
Accepts or declines project invitation
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_project_invitation.rb', line 9 def delete_project_invitation(id, ={}) .merge!( 'command' => 'deleteProjectInvitation', 'id' => id ) request() end |
#delete_remote_access_vpn(publicipid, options = {}) ⇒ Object
Destroys a l2tp/ipsec remote access vpn
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_remote_access_vpn.rb', line 9 def delete_remote_access_vpn(publicipid, ={}) .merge!( 'command' => 'deleteRemoteAccessVpn', 'publicipid' => publicipid ) request() end |
#delete_secondary_staging_store(id, options = {}) ⇒ Object
Deletes a secondary staging store .
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_secondary_staging_store.rb', line 9 def delete_secondary_staging_store(id, ={}) .merge!( 'command' => 'deleteSecondaryStagingStore', 'id' => id ) request() end |
#delete_security_group(options = {}) ⇒ Object
Deletes security group
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/delete_security_group.rb', line 9 def delete_security_group(={}) .merge!( 'command' => 'deleteSecurityGroup' ) request() end |
#delete_service_offering(id, options = {}) ⇒ Object
Deletes a service offering.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_service_offering.rb', line 9 def delete_service_offering(id, ={}) .merge!( 'command' => 'deleteServiceOffering', 'id' => id ) request() end |
#delete_snapshot(id, options = {}) ⇒ Object
Deletes a snapshot of a disk volume.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_snapshot.rb', line 9 def delete_snapshot(id, ={}) .merge!( 'command' => 'deleteSnapshot', 'id' => id ) request() end |
#delete_snapshot_policies(options = {}) ⇒ Object
Deletes snapshot policies for the account.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/delete_snapshot_policies.rb', line 9 def delete_snapshot_policies(={}) .merge!( 'command' => 'deleteSnapshotPolicies' ) request() end |
#delete_srx_firewall(fwdeviceid, options = {}) ⇒ Object
delete a SRX firewall device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_srx_firewall.rb', line 9 def delete_srx_firewall(fwdeviceid, ={}) .merge!( 'command' => 'deleteSrxFirewall', 'fwdeviceid' => fwdeviceid ) request() end |
#delete_ssh_key_pair(name, options = {}) ⇒ Object
Deletes a keypair by name
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_ssh_key_pair.rb', line 9 def delete_ssh_key_pair(name, ={}) .merge!( 'command' => 'deleteSSHKeyPair', 'name' => name ) request() end |
#delete_static_route(id, options = {}) ⇒ Object
Deletes a static route
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_static_route.rb', line 9 def delete_static_route(id, ={}) .merge!( 'command' => 'deleteStaticRoute', 'id' => id ) request() end |
#delete_storage_network_ip_range(id, options = {}) ⇒ Object
Deletes a storage network IP Range.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_storage_network_ip_range.rb', line 9 def delete_storage_network_ip_range(id, ={}) .merge!( 'command' => 'deleteStorageNetworkIpRange', 'id' => id ) request() end |
#delete_storage_pool(id, options = {}) ⇒ Object
Deletes a storage pool.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_storage_pool.rb', line 9 def delete_storage_pool(id, ={}) .merge!( 'command' => 'deleteStoragePool', 'id' => id ) request() end |
#delete_tags(resourceids, resourcetype, options = {}) ⇒ Object
Deleting resource tag(s)
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/delete_tags.rb', line 9 def (resourceids, resourcetype, ={}) .merge!( 'command' => 'deleteTags', 'resourceids' => resourceids, 'resourcetype' => resourcetype ) request() end |
#delete_template(id, options = {}) ⇒ Object
Deletes a template from the system. All virtual machines using the deleted template will not be affected.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_template.rb', line 9 def delete_template(id, ={}) .merge!( 'command' => 'deleteTemplate', 'id' => id ) request() end |
#delete_traffic_monitor(id, options = {}) ⇒ Object
Deletes an traffic monitor host.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_traffic_monitor.rb', line 9 def delete_traffic_monitor(id, ={}) .merge!( 'command' => 'deleteTrafficMonitor', 'id' => id ) request() end |
#delete_traffic_type(id, options = {}) ⇒ Object
Deletes traffic type of a physical network
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_traffic_type.rb', line 9 def delete_traffic_type(id, ={}) .merge!( 'command' => 'deleteTrafficType', 'id' => id ) request() end |
#delete_ucs_manager(ucsmanagerid, options = {}) ⇒ Object
Delete a Ucs manager
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_ucs_manager.rb', line 9 def delete_ucs_manager(ucsmanagerid, ={}) .merge!( 'command' => 'deleteUcsManager', 'ucsmanagerid' => ucsmanagerid ) request() end |
#delete_user(id, options = {}) ⇒ Object
Deletes a user for an account
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_user.rb', line 9 def delete_user(id, ={}) .merge!( 'command' => 'deleteUser', 'id' => id ) request() end |
#delete_vlan_ip_range(id, options = {}) ⇒ Object
Creates a VLAN IP range.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_vlan_ip_range.rb', line 9 def delete_vlan_ip_range(id, ={}) .merge!( 'command' => 'deleteVlanIpRange', 'id' => id ) request() end |
#delete_vm_snapshot(vmsnapshotid, options = {}) ⇒ Object
Deletes a vmsnapshot.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_vm_snapshot.rb', line 9 def delete_vm_snapshot(vmsnapshotid, ={}) .merge!( 'command' => 'deleteVMSnapshot', 'vmsnapshotid' => vmsnapshotid ) request() end |
#delete_volume(id, options = {}) ⇒ Object
Deletes a detached disk volume.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_volume.rb', line 9 def delete_volume(id, ={}) .merge!( 'command' => 'deleteVolume', 'id' => id ) request() end |
#delete_vpc(id, options = {}) ⇒ Object
Deletes a VPC
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_vpc.rb', line 9 def delete_vpc(id, ={}) .merge!( 'command' => 'deleteVPC', 'id' => id ) request() end |
#delete_vpcoffering(id, options = {}) ⇒ Object
Deletes VPC offering
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_vpcoffering.rb', line 9 def delete_vpcoffering(id, ={}) .merge!( 'command' => 'deleteVPCOffering', 'id' => id ) request() end |
#delete_vpn_connection(id, options = {}) ⇒ Object
Delete site to site vpn connection
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_vpn_connection.rb', line 9 def delete_vpn_connection(id, ={}) .merge!( 'command' => 'deleteVpnConnection', 'id' => id ) request() end |
#delete_vpn_customer_gateway(id, options = {}) ⇒ Object
Delete site to site vpn customer gateway
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_vpn_customer_gateway.rb', line 9 def delete_vpn_customer_gateway(id, ={}) .merge!( 'command' => 'deleteVpnCustomerGateway', 'id' => id ) request() end |
#delete_vpn_gateway(id, options = {}) ⇒ Object
Delete site to site vpn gateway
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_vpn_gateway.rb', line 9 def delete_vpn_gateway(id, ={}) .merge!( 'command' => 'deleteVpnGateway', 'id' => id ) request() end |
#delete_zone(id, options = {}) ⇒ Object
Deletes a Zone.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/delete_zone.rb', line 9 def delete_zone(id, ={}) .merge!( 'command' => 'deleteZone', 'id' => id ) request() end |
#deploy_virtual_machine(serviceofferingid, templateid, zoneid, options = {}) ⇒ Object
Creates and automatically starts a virtual machine based on a service offering, disk offering, and template.
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/deploy_virtual_machine.rb', line 9 def deploy_virtual_machine(serviceofferingid, templateid, zoneid, ={}) .merge!( 'command' => 'deployVirtualMachine', 'serviceofferingid' => serviceofferingid, 'templateid' => templateid, 'zoneid' => zoneid ) request() end |
#destroy_lun_on_filer(path, options = {}) ⇒ Object
Destroy a LUN
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/destroy_lun_on_filer.rb', line 9 def destroy_lun_on_filer(path, ={}) .merge!( 'command' => 'destroyLunOnFiler', 'path' => path ) request() end |
#destroy_router(id, options = {}) ⇒ Object
Destroys a router.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/destroy_router.rb', line 9 def destroy_router(id, ={}) .merge!( 'command' => 'destroyRouter', 'id' => id ) request() end |
#destroy_system_vm(id, options = {}) ⇒ Object
Destroyes a system virtual machine.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/destroy_system_vm.rb', line 9 def destroy_system_vm(id, ={}) .merge!( 'command' => 'destroySystemVm', 'id' => id ) request() end |
#destroy_virtual_machine(id, options = {}) ⇒ Object
Destroys a virtual machine. Once destroyed, only the administrator can recover it.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/destroy_virtual_machine.rb', line 9 def destroy_virtual_machine(id, ={}) .merge!( 'command' => 'destroyVirtualMachine', 'id' => id ) request() end |
#destroy_volume_on_filer(ipaddress, aggregatename, volumename, options = {}) ⇒ Object
Destroy a Volume
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/destroy_volume_on_filer.rb', line 9 def destroy_volume_on_filer(ipaddress, aggregatename, volumename, ={}) .merge!( 'command' => 'destroyVolumeOnFiler', 'ipaddress' => ipaddress, 'aggregatename' => aggregatename, 'volumename' => volumename ) request() end |
#detach_iso(virtualmachineid, options = {}) ⇒ Object
Detaches any ISO file (if any) currently attached to a virtual machine.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/detach_iso.rb', line 9 def detach_iso(virtualmachineid, ={}) .merge!( 'command' => 'detachIso', 'virtualmachineid' => virtualmachineid ) request() end |
#detach_volume(options = {}) ⇒ Object
Detaches a disk volume from a virtual machine.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/detach_volume.rb', line 9 def detach_volume(={}) .merge!( 'command' => 'detachVolume' ) request() end |
#disable_account(lock, options = {}) ⇒ Object
Disables an account
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/disable_account.rb', line 9 def disable_account(lock, ={}) .merge!( 'command' => 'disableAccount', 'lock' => lock ) request() end |
#disable_auto_scale_vm_group(id, options = {}) ⇒ Object
Disables an AutoScale Vm Group
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/disable_auto_scale_vm_group.rb', line 9 def disable_auto_scale_vm_group(id, ={}) .merge!( 'command' => 'disableAutoScaleVmGroup', 'id' => id ) request() end |
#disable_cisco_nexus_vsm(id, options = {}) ⇒ Object
disable a Cisco Nexus VSM device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/disable_cisco_nexus_vsm.rb', line 9 def disable_cisco_nexus_vsm(id, ={}) .merge!( 'command' => 'disableCiscoNexusVSM', 'id' => id ) request() end |
#disable_static_nat(ipaddressid, options = {}) ⇒ Object
Disables static rule for given ip address
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/disable_static_nat.rb', line 9 def disable_static_nat(ipaddressid, ={}) .merge!( 'command' => 'disableStaticNat', 'ipaddressid' => ipaddressid ) request() end |
#disable_user(id, options = {}) ⇒ Object
Disables a user account
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/disable_user.rb', line 9 def disable_user(id, ={}) .merge!( 'command' => 'disableUser', 'id' => id ) request() end |
#disassociate_ip_address(id, options = {}) ⇒ Object
Disassociates an ip address from the account.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/disassociate_ip_address.rb', line 9 def disassociate_ip_address(id, ={}) .merge!( 'command' => 'disassociateIpAddress', 'id' => id ) request() end |
#disassociate_ucs_profile_from_blade(bladeid, options = {}) ⇒ Object
disassociate a profile from a blade
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/disassociate_ucs_profile_from_blade.rb', line 9 def disassociate_ucs_profile_from_blade(bladeid, ={}) .merge!( 'command' => 'disassociateUcsProfileFromBlade', 'bladeid' => bladeid ) request() end |
#dissociate_lun(iqn, path, options = {}) ⇒ Object
Dissociate a LUN
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/dissociate_lun.rb', line 9 def dissociate_lun(iqn, path, ={}) .merge!( 'command' => 'dissociateLun', 'iqn' => iqn, 'path' => path ) request() end |
#enable_account(options = {}) ⇒ Object
Enables an account
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/enable_account.rb', line 9 def enable_account(={}) .merge!( 'command' => 'enableAccount' ) request() end |
#enable_auto_scale_vm_group(id, options = {}) ⇒ Object
Enables an AutoScale Vm Group
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/enable_auto_scale_vm_group.rb', line 9 def enable_auto_scale_vm_group(id, ={}) .merge!( 'command' => 'enableAutoScaleVmGroup', 'id' => id ) request() end |
#enable_cisco_nexus_vsm(id, options = {}) ⇒ Object
Enable a Cisco Nexus VSM device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/enable_cisco_nexus_vsm.rb', line 9 def enable_cisco_nexus_vsm(id, ={}) .merge!( 'command' => 'enableCiscoNexusVSM', 'id' => id ) request() end |
#enable_static_nat(ipaddressid, virtualmachineid, options = {}) ⇒ Object
Enables static nat for given ip address
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/enable_static_nat.rb', line 9 def enable_static_nat(ipaddressid, virtualmachineid, ={}) .merge!( 'command' => 'enableStaticNat', 'ipaddressid' => ipaddressid, 'virtualmachineid' => virtualmachineid ) request() end |
#enable_storage_maintenance(id, options = {}) ⇒ Object
Puts storage pool into maintenance state
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/enable_storage_maintenance.rb', line 9 def enable_storage_maintenance(id, ={}) .merge!( 'command' => 'enableStorageMaintenance', 'id' => id ) request() end |
#enable_user(id, options = {}) ⇒ Object
Enables a user account
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/enable_user.rb', line 9 def enable_user(id, ={}) .merge!( 'command' => 'enableUser', 'id' => id ) request() end |
#extract_iso(mode, id, options = {}) ⇒ Object
Extracts an ISO
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/extract_iso.rb', line 9 def extract_iso(mode, id, ={}) .merge!( 'command' => 'extractIso', 'mode' => mode, 'id' => id ) request() end |
#extract_template(mode, id, options = {}) ⇒ Object
Extracts a template
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/extract_template.rb', line 9 def extract_template(mode, id, ={}) .merge!( 'command' => 'extractTemplate', 'mode' => mode, 'id' => id ) request() end |
#extract_volume(zoneid, mode, id, options = {}) ⇒ Object
Extracts volume
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/extract_volume.rb', line 9 def extract_volume(zoneid, mode, id, ={}) .merge!( 'command' => 'extractVolume', 'zoneid' => zoneid, 'mode' => mode, 'id' => id ) request() end |
#find_hosts_for_migration(virtualmachineid, options = {}) ⇒ Object
Find hosts suitable for migrating a virtual machine.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/find_hosts_for_migration.rb', line 9 def find_hosts_for_migration(virtualmachineid, ={}) .merge!( 'command' => 'findHostsForMigration', 'virtualmachineid' => virtualmachineid ) request() end |
#find_storage_pools_for_migration(id, options = {}) ⇒ Object
Lists storage pools available for migration of a volume.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb', line 9 def find_storage_pools_for_migration(id, ={}) .merge!( 'command' => 'findStoragePoolsForMigration', 'id' => id ) request() end |
#generate_usage_records(enddate, startdate, options = {}) ⇒ Object
Generates usage records. This will generate records only if there any records to be generated, i.e if the scheduled usage job was not run or failed
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/generate_usage_records.rb', line 9 def generate_usage_records(enddate, startdate, ={}) .merge!( 'command' => 'generateUsageRecords', 'enddate' => enddate, 'startdate' => startdate ) request() end |
#get_api_limit(options = {}) ⇒ Object
Get API limit count for the caller
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/get_api_limit.rb', line 9 def get_api_limit(={}) .merge!( 'command' => 'getApiLimit' ) request() end |
#get_cloud_identifier(userid, options = {}) ⇒ Object
Retrieves a cloud identifier.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/get_cloud_identifier.rb', line 9 def get_cloud_identifier(userid, ={}) .merge!( 'command' => 'getCloudIdentifier', 'userid' => userid ) request() end |
#get_user(userapikey, options = {}) ⇒ Object
Find user account by API key
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/get_user.rb', line 9 def get_user(userapikey, ={}) .merge!( 'command' => 'getUser', 'userapikey' => userapikey ) request() end |
#get_vm_password(id, options = {}) ⇒ Object
Returns an encrypted password for the VM
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/get_vm_password.rb', line 9 def get_vm_password(id, ={}) .merge!( 'command' => 'getVMPassword', 'id' => id ) request() end |
#instantiate_ucs_template_and_assocaciate_to_blade(bladeid, templatedn, ucsmanagerid, options = {}) ⇒ Object
create a profile of template and associate to a blade
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/instantiate_ucs_template_and_assocaciate_to_blade.rb', line 9 def instantiate_ucs_template_and_assocaciate_to_blade(bladeid, templatedn, ucsmanagerid, ={}) .merge!( 'command' => 'instantiateUcsTemplateAndAssocaciateToBlade', 'bladeid' => bladeid, 'templatedn' => templatedn, 'ucsmanagerid' => ucsmanagerid ) request() end |
#ldap_config(options = {}) ⇒ Object
Configure the LDAP context for this site.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/ldap_config.rb', line 9 def ldap_config(={}) .merge!( 'command' => 'ldapConfig' ) request() end |
#ldap_remove(options = {}) ⇒ Object
Remove the LDAP context for this site.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/ldap_remove.rb', line 9 def ldap_remove(={}) .merge!( 'command' => 'ldapRemove' ) request() end |
#list_accounts(options = {}) ⇒ Object
Lists accounts and provides detailed account information for listed accounts
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_accounts.rb', line 9 def list_accounts(={}) .merge!( 'command' => 'listAccounts' ) request() end |
#list_affinity_group_types(options = {}) ⇒ Object
Lists affinity group types available
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_affinity_group_types.rb', line 9 def list_affinity_group_types(={}) .merge!( 'command' => 'listAffinityGroupTypes' ) request() end |
#list_affinity_groups(options = {}) ⇒ Object
Lists affinity groups
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_affinity_groups.rb', line 9 def list_affinity_groups(={}) .merge!( 'command' => 'listAffinityGroups' ) request() end |
#list_alerts(options = {}) ⇒ Object
Lists all alerts.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_alerts.rb', line 9 def list_alerts(={}) .merge!( 'command' => 'listAlerts' ) request() end |
#list_apis(options = {}) ⇒ Object
lists all available apis on the server, provided by the Api Discovery plugin
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_apis.rb', line 9 def list_apis(={}) .merge!( 'command' => 'listApis' ) request() end |
#list_async_jobs(options = {}) ⇒ Object
Lists all pending asynchronous jobs for the account.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_async_jobs.rb', line 9 def list_async_jobs(={}) .merge!( 'command' => 'listAsyncJobs' ) request() end |
#list_auto_scale_policies(options = {}) ⇒ Object
Lists autoscale policies.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_auto_scale_policies.rb', line 9 def list_auto_scale_policies(={}) .merge!( 'command' => 'listAutoScalePolicies' ) request() end |
#list_auto_scale_vm_groups(options = {}) ⇒ Object
Lists autoscale vm groups.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_auto_scale_vm_groups.rb', line 9 def list_auto_scale_vm_groups(={}) .merge!( 'command' => 'listAutoScaleVmGroups' ) request() end |
#list_auto_scale_vm_profiles(options = {}) ⇒ Object
Lists autoscale vm profiles.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_auto_scale_vm_profiles.rb', line 9 def list_auto_scale_vm_profiles(={}) .merge!( 'command' => 'listAutoScaleVmProfiles' ) request() end |
#list_baremetal_dhcp(options = {}) ⇒ Object
list baremetal dhcp servers
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_baremetal_dhcp.rb', line 9 def (={}) .merge!( 'command' => 'listBaremetalDhcp' ) request() end |
#list_baremetal_pxe_servers(options = {}) ⇒ Object
list baremetal pxe server
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_baremetal_pxe_servers.rb', line 9 def (={}) .merge!( 'command' => 'listBaremetalPxeServers' ) request() end |
#list_capabilities(options = {}) ⇒ Object
Lists capabilities
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_capabilities.rb', line 9 def list_capabilities(={}) .merge!( 'command' => 'listCapabilities' ) request() end |
#list_capacity(options = {}) ⇒ Object
Lists all the system wide capacities.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_capacity.rb', line 9 def list_capacity(={}) .merge!( 'command' => 'listCapacity' ) request() end |
#list_cisco_asa1000v_resources(options = {}) ⇒ Object
Lists Cisco ASA 1000v appliances
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_cisco_asa1000v_resources.rb', line 9 def list_cisco_asa1000v_resources(={}) .merge!( 'command' => 'listCiscoAsa1000vResources' ) request() end |
#list_cisco_nexus_vsms(options = {}) ⇒ Object
Retrieves a Cisco Nexus 1000v Virtual Switch Manager device associated with a Cluster
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_cisco_nexus_vsms.rb', line 9 def list_cisco_nexus_vsms(={}) .merge!( 'command' => 'listCiscoNexusVSMs' ) request() end |
#list_cisco_vnmc_resources(options = {}) ⇒ Object
Lists Cisco VNMC controllers
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_cisco_vnmc_resources.rb', line 9 def list_cisco_vnmc_resources(={}) .merge!( 'command' => 'listCiscoVnmcResources' ) request() end |
#list_clusters(options = {}) ⇒ Object
Lists clusters.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_clusters.rb', line 9 def list_clusters(={}) .merge!( 'command' => 'listClusters' ) request() end |
#list_conditions(options = {}) ⇒ Object
List Conditions for the specific user
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_conditions.rb', line 9 def list_conditions(={}) .merge!( 'command' => 'listConditions' ) request() end |
#list_configurations(options = {}) ⇒ Object
Lists all configurations.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_configurations.rb', line 9 def list_configurations(={}) .merge!( 'command' => 'listConfigurations' ) request() end |
#list_counters(options = {}) ⇒ Object
List the counters
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_counters.rb', line 9 def list_counters(={}) .merge!( 'command' => 'listCounters' ) request() end |
#list_dedicated_clusters(options = {}) ⇒ Object
Lists dedicated clusters.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_dedicated_clusters.rb', line 9 def list_dedicated_clusters(={}) .merge!( 'command' => 'listDedicatedClusters' ) request() end |
#list_dedicated_guest_vlan_ranges(options = {}) ⇒ Object
Lists dedicated guest vlan ranges
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_dedicated_guest_vlan_ranges.rb', line 9 def list_dedicated_guest_vlan_ranges(={}) .merge!( 'command' => 'listDedicatedGuestVlanRanges' ) request() end |
#list_dedicated_hosts(options = {}) ⇒ Object
Lists dedicated hosts.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_dedicated_hosts.rb', line 9 def list_dedicated_hosts(={}) .merge!( 'command' => 'listDedicatedHosts' ) request() end |
#list_dedicated_pods(options = {}) ⇒ Object
Lists dedicated pods.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_dedicated_pods.rb', line 9 def list_dedicated_pods(={}) .merge!( 'command' => 'listDedicatedPods' ) request() end |
#list_dedicated_zones(options = {}) ⇒ Object
List dedicated zones.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_dedicated_zones.rb', line 9 def list_dedicated_zones(={}) .merge!( 'command' => 'listDedicatedZones' ) request() end |
#list_deployment_planners(options = {}) ⇒ Object
Lists all DeploymentPlanners available.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_deployment_planners.rb', line 9 def list_deployment_planners(={}) .merge!( 'command' => 'listDeploymentPlanners' ) request() end |
#list_disk_offerings(options = {}) ⇒ Object
Lists all available disk offerings.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_disk_offerings.rb', line 9 def list_disk_offerings(={}) .merge!( 'command' => 'listDiskOfferings' ) request() end |
#list_domain_children(options = {}) ⇒ Object
Lists all children domains belonging to a specified domain
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_domain_children.rb', line 9 def list_domain_children(={}) .merge!( 'command' => 'listDomainChildren' ) request() end |
#list_domains(options = {}) ⇒ Object
Lists domains and provides detailed information for listed domains
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_domains.rb', line 9 def list_domains(={}) .merge!( 'command' => 'listDomains' ) request() end |
#list_egress_firewall_rules(options = {}) ⇒ Object
Lists all egress firewall rules for network id.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_egress_firewall_rules.rb', line 9 def list_egress_firewall_rules(={}) .merge!( 'command' => 'listEgressFirewallRules' ) request() end |
#list_event_types(options = {}) ⇒ Object
List Event Types
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_event_types.rb', line 9 def list_event_types(={}) .merge!( 'command' => 'listEventTypes' ) request() end |
#list_events(options = {}) ⇒ Object
A command to list events.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_events.rb', line 9 def list_events(={}) .merge!( 'command' => 'listEvents' ) request() end |
#list_external_firewalls(zoneid, options = {}) ⇒ Object
List external firewall appliances.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_external_firewalls.rb', line 9 def list_external_firewalls(zoneid, ={}) .merge!( 'command' => 'listExternalFirewalls', 'zoneid' => zoneid ) request() end |
#list_external_load_balancers(options = {}) ⇒ Object
Lists F5 external load balancer appliances added in a zone.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_external_load_balancers.rb', line 9 def list_external_load_balancers(={}) .merge!( 'command' => 'listExternalLoadBalancers' ) request() end |
#list_f5_load_balancer_networks(lbdeviceid, options = {}) ⇒ Object
lists network that are using a F5 load balancer device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_f5_load_balancer_networks.rb', line 9 def list_f5_load_balancer_networks(lbdeviceid, ={}) .merge!( 'command' => 'listF5LoadBalancerNetworks', 'lbdeviceid' => lbdeviceid ) request() end |
#list_f5_load_balancers(options = {}) ⇒ Object
lists F5 load balancer devices
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_f5_load_balancers.rb', line 9 def list_f5_load_balancers(={}) .merge!( 'command' => 'listF5LoadBalancers' ) request() end |
#list_firewall_rules(options = {}) ⇒ Object
Lists all firewall rules for an IP address.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_firewall_rules.rb', line 9 def list_firewall_rules(={}) .merge!( 'command' => 'listFirewallRules' ) request() end |
#list_global_load_balancer_rules(options = {}) ⇒ Object
Lists load balancer rules.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_global_load_balancer_rules.rb', line 9 def list_global_load_balancer_rules(={}) .merge!( 'command' => 'listGlobalLoadBalancerRules' ) request() end |
#list_hosts(options = {}) ⇒ Object
Lists hosts.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_hosts.rb', line 9 def list_hosts(={}) .merge!( 'command' => 'listHosts' ) request() end |
#list_hypervisor_capabilities(options = {}) ⇒ Object
Lists all hypervisor capabilities.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_hypervisor_capabilities.rb', line 9 def list_hypervisor_capabilities(={}) .merge!( 'command' => 'listHypervisorCapabilities' ) request() end |
#list_hypervisors(options = {}) ⇒ Object
List hypervisors
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_hypervisors.rb', line 9 def list_hypervisors(={}) .merge!( 'command' => 'listHypervisors' ) request() end |
#list_image_stores(options = {}) ⇒ Object
Lists image stores.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_image_stores.rb', line 9 def list_image_stores(={}) .merge!( 'command' => 'listImageStores' ) request() end |
#list_instance_groups(options = {}) ⇒ Object
Lists vm groups
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_instance_groups.rb', line 9 def list_instance_groups(={}) .merge!( 'command' => 'listInstanceGroups' ) request() end |
#list_internal_load_balancer_elements(options = {}) ⇒ Object
Lists all available Internal Load Balancer elements.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_internal_load_balancer_elements.rb', line 9 def list_internal_load_balancer_elements(={}) .merge!( 'command' => 'listInternalLoadBalancerElements' ) request() end |
#list_internal_load_balancer_vms(options = {}) ⇒ Object
List internal LB VMs.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_internal_load_balancer_vms.rb', line 9 def list_internal_load_balancer_vms(={}) .merge!( 'command' => 'listInternalLoadBalancerVMs' ) request() end |
#list_ip_forwarding_rules(options = {}) ⇒ Object
List the ip forwarding rules
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_ip_forwarding_rules.rb', line 9 def list_ip_forwarding_rules(={}) .merge!( 'command' => 'listIpForwardingRules' ) request() end |
#list_iso_permissions(id, options = {}) ⇒ Object
List iso visibility and all accounts that have permissions to view this iso.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_iso_permissions.rb', line 9 def (id, ={}) .merge!( 'command' => 'listIsoPermissions', 'id' => id ) request() end |
#list_isos(options = {}) ⇒ Object
Lists all available ISO files.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_isos.rb', line 9 def list_isos(={}) .merge!( 'command' => 'listIsos' ) request() end |
#list_lb_health_check_policies(lbruleid, options = {}) ⇒ Object
Lists load balancer HealthCheck policies.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_lb_health_check_policies.rb', line 9 def list_lb_health_check_policies(lbruleid, ={}) .merge!( 'command' => 'listLBHealthCheckPolicies', 'lbruleid' => lbruleid ) request() end |
#list_lb_stickiness_policies(lbruleid, options = {}) ⇒ Object
Lists LBStickiness policies.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_lb_stickiness_policies.rb', line 9 def list_lb_stickiness_policies(lbruleid, ={}) .merge!( 'command' => 'listLBStickinessPolicies', 'lbruleid' => lbruleid ) request() end |
#list_load_balancer_rule_instances(id, options = {}) ⇒ Object
List all virtual machine instances that are assigned to a load balancer rule.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_load_balancer_rule_instances.rb', line 9 def list_load_balancer_rule_instances(id, ={}) .merge!( 'command' => 'listLoadBalancerRuleInstances', 'id' => id ) request() end |
#list_load_balancer_rules(options = {}) ⇒ Object
Lists load balancer rules.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_load_balancer_rules.rb', line 9 def list_load_balancer_rules(={}) .merge!( 'command' => 'listLoadBalancerRules' ) request() end |
#list_load_balancers(options = {}) ⇒ Object
Lists Load Balancers
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_load_balancers.rb', line 9 def list_load_balancers(={}) .merge!( 'command' => 'listLoadBalancers' ) request() end |
#list_luns_on_filer(poolname, options = {}) ⇒ Object
List LUN
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_luns_on_filer.rb', line 9 def list_luns_on_filer(poolname, ={}) .merge!( 'command' => 'listLunsOnFiler', 'poolname' => poolname ) request() end |
#list_netscaler_load_balancer_networks(lbdeviceid, options = {}) ⇒ Object
lists network that are using a netscaler load balancer device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_netscaler_load_balancer_networks.rb', line 9 def list_netscaler_load_balancer_networks(lbdeviceid, ={}) .merge!( 'command' => 'listNetscalerLoadBalancerNetworks', 'lbdeviceid' => lbdeviceid ) request() end |
#list_netscaler_load_balancers(options = {}) ⇒ Object
lists netscaler load balancer devices
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_netscaler_load_balancers.rb', line 9 def list_netscaler_load_balancers(={}) .merge!( 'command' => 'listNetscalerLoadBalancers' ) request() end |
#list_network_acl_lists(options = {}) ⇒ Object
Lists all network ACLs
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_network_acl_lists.rb', line 9 def list_network_acl_lists(={}) .merge!( 'command' => 'listNetworkACLLists' ) request() end |
#list_network_acls(options = {}) ⇒ Object
Lists all network ACL items
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_network_acls.rb', line 9 def list_network_acls(={}) .merge!( 'command' => 'listNetworkACLs' ) request() end |
#list_network_device(options = {}) ⇒ Object
List network devices
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_network_device.rb', line 9 def list_network_device(={}) .merge!( 'command' => 'listNetworkDevice' ) request() end |
#list_network_isolation_methods(options = {}) ⇒ Object
Lists supported methods of network isolation
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_network_isolation_methods.rb', line 9 def list_network_isolation_methods(={}) .merge!( 'command' => 'listNetworkIsolationMethods' ) request() end |
#list_network_offerings(options = {}) ⇒ Object
Lists all available network offerings.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_network_offerings.rb', line 9 def list_network_offerings(={}) .merge!( 'command' => 'listNetworkOfferings' ) request() end |
#list_network_service_providers(options = {}) ⇒ Object
Lists network serviceproviders for a given physical network.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_network_service_providers.rb', line 9 def list_network_service_providers(={}) .merge!( 'command' => 'listNetworkServiceProviders' ) request() end |
#list_networks(options = {}) ⇒ Object
Lists all available networks.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_networks.rb', line 9 def list_networks(={}) .merge!( 'command' => 'listNetworks' ) request() end |
#list_nicira_nvp_device_networks(nvpdeviceid, options = {}) ⇒ Object
lists network that are using a nicira nvp device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_nicira_nvp_device_networks.rb', line 9 def list_nicira_nvp_device_networks(nvpdeviceid, ={}) .merge!( 'command' => 'listNiciraNvpDeviceNetworks', 'nvpdeviceid' => nvpdeviceid ) request() end |
#list_nicira_nvp_devices(options = {}) ⇒ Object
Lists Nicira NVP devices
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_nicira_nvp_devices.rb', line 9 def list_nicira_nvp_devices(={}) .merge!( 'command' => 'listNiciraNvpDevices' ) request() end |
#list_nics(virtualmachineid, options = {}) ⇒ Object
list the vm nics IP to NIC
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_nics.rb', line 9 def list_nics(virtualmachineid, ={}) .merge!( 'command' => 'listNics', 'virtualmachineid' => virtualmachineid ) request() end |
#list_os_categories(options = {}) ⇒ Object
Lists all supported OS categories for this cloud.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_os_categories.rb', line 9 def list_os_categories(={}) .merge!( 'command' => 'listOsCategories' ) request() end |
#list_os_types(options = {}) ⇒ Object
Lists all supported OS types for this cloud.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_os_types.rb', line 9 def list_os_types(={}) .merge!( 'command' => 'listOsTypes' ) request() end |
#list_physical_networks(options = {}) ⇒ Object
Lists physical networks
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_physical_networks.rb', line 9 def list_physical_networks(={}) .merge!( 'command' => 'listPhysicalNetworks' ) request() end |
#list_pods(options = {}) ⇒ Object
Lists all Pods.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_pods.rb', line 9 def list_pods(={}) .merge!( 'command' => 'listPods' ) request() end |
#list_pools(options = {}) ⇒ Object
List Pool
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_pools.rb', line 9 def list_pools(={}) .merge!( 'command' => 'listPools' ) request() end |
#list_port_forwarding_rules(options = {}) ⇒ Object
Lists all port forwarding rules for an IP address.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb', line 9 def list_port_forwarding_rules(={}) .merge!( 'command' => 'listPortForwardingRules' ) request() end |
#list_portable_ip_ranges(options = {}) ⇒ Object
list portable IP ranges
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_portable_ip_ranges.rb', line 9 def list_portable_ip_ranges(={}) .merge!( 'command' => 'listPortableIpRanges' ) request() end |
#list_private_gateways(options = {}) ⇒ Object
List private gateways
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_private_gateways.rb', line 9 def list_private_gateways(={}) .merge!( 'command' => 'listPrivateGateways' ) request() end |
#list_project_accounts(projectid, options = {}) ⇒ Object
Lists project’s accounts
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_project_accounts.rb', line 9 def list_project_accounts(projectid, ={}) .merge!( 'command' => 'listProjectAccounts', 'projectid' => projectid ) request() end |
#list_project_invitations(options = {}) ⇒ Object
Lists projects and provides detailed information for listed projects
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_project_invitations.rb', line 9 def list_project_invitations(={}) .merge!( 'command' => 'listProjectInvitations' ) request() end |
#list_projects(options = {}) ⇒ Object
Lists projects and provides detailed information for listed projects
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_projects.rb', line 9 def list_projects(={}) .merge!( 'command' => 'listProjects' ) request() end |
#list_public_ip_addresses(options = {}) ⇒ Object
Lists all public ip addresses
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_public_ip_addresses.rb', line 9 def list_public_ip_addresses(={}) .merge!( 'command' => 'listPublicIpAddresses' ) request() end |
#list_regions(options = {}) ⇒ Object
Lists Regions
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_regions.rb', line 9 def list_regions(={}) .merge!( 'command' => 'listRegions' ) request() end |
#list_remote_access_vpns(publicipid, options = {}) ⇒ Object
Lists remote access vpns
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_remote_access_vpns.rb', line 9 def list_remote_access_vpns(publicipid, ={}) .merge!( 'command' => 'listRemoteAccessVpns', 'publicipid' => publicipid ) request() end |
#list_resource_details(options = {}) ⇒ Object
List resource detail(s)
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_resource_details.rb', line 9 def list_resource_details(={}) .merge!( 'command' => 'listResourceDetails' ) request() end |
#list_resource_limits(options = {}) ⇒ Object
Lists resource limits.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_resource_limits.rb', line 9 def list_resource_limits(={}) .merge!( 'command' => 'listResourceLimits' ) request() end |
#list_routers(options = {}) ⇒ Object
List routers.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_routers.rb', line 9 def list_routers(={}) .merge!( 'command' => 'listRouters' ) request() end |
#list_s3s(options = {}) ⇒ Object
Lists S3s
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_s3s.rb', line 9 def list_s3s(={}) .merge!( 'command' => 'listS3s' ) request() end |
#list_secondary_staging_stores(options = {}) ⇒ Object
Lists secondary staging stores.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_secondary_staging_stores.rb', line 9 def list_secondary_staging_stores(={}) .merge!( 'command' => 'listSecondaryStagingStores' ) request() end |
#list_security_groups(options = {}) ⇒ Object
Lists security groups
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_security_groups.rb', line 9 def list_security_groups(={}) .merge!( 'command' => 'listSecurityGroups' ) request() end |
#list_service_offerings(options = {}) ⇒ Object
Lists all available service offerings.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_service_offerings.rb', line 9 def list_service_offerings(={}) .merge!( 'command' => 'listServiceOfferings' ) request() end |
#list_snapshot_policies(volumeid, options = {}) ⇒ Object
Lists snapshot policies.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_snapshot_policies.rb', line 9 def list_snapshot_policies(volumeid, ={}) .merge!( 'command' => 'listSnapshotPolicies', 'volumeid' => volumeid ) request() end |
#list_snapshots(options = {}) ⇒ Object
Lists all available snapshots for the account.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_snapshots.rb', line 9 def list_snapshots(={}) .merge!( 'command' => 'listSnapshots' ) request() end |
#list_srx_firewall_networks(lbdeviceid, options = {}) ⇒ Object
lists network that are using SRX firewall device
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_srx_firewall_networks.rb', line 9 def list_srx_firewall_networks(lbdeviceid, ={}) .merge!( 'command' => 'listSrxFirewallNetworks', 'lbdeviceid' => lbdeviceid ) request() end |
#list_srx_firewalls(options = {}) ⇒ Object
lists SRX firewall devices in a physical network
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_srx_firewalls.rb', line 9 def list_srx_firewalls(={}) .merge!( 'command' => 'listSrxFirewalls' ) request() end |
#list_ssh_key_pairs(options = {}) ⇒ Object
List registered keypairs
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_ssh_key_pairs.rb', line 9 def list_ssh_key_pairs(={}) .merge!( 'command' => 'listSSHKeyPairs' ) request() end |
#list_static_routes(options = {}) ⇒ Object
Lists all static routes
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_static_routes.rb', line 9 def list_static_routes(={}) .merge!( 'command' => 'listStaticRoutes' ) request() end |
#list_storage_network_ip_range(options = {}) ⇒ Object
List a storage network IP range.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_storage_network_ip_range.rb', line 9 def list_storage_network_ip_range(={}) .merge!( 'command' => 'listStorageNetworkIpRange' ) request() end |
#list_storage_pools(options = {}) ⇒ Object
Lists storage pools.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_storage_pools.rb', line 9 def list_storage_pools(={}) .merge!( 'command' => 'listStoragePools' ) request() end |
#list_storage_providers(type, options = {}) ⇒ Object
Lists storage providers.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_storage_providers.rb', line 9 def list_storage_providers(type, ={}) .merge!( 'command' => 'listStorageProviders', 'type' => type ) request() end |
#list_supported_network_services(options = {}) ⇒ Object
Lists all network services provided by CloudStack or for the given Provider.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_supported_network_services.rb', line 9 def list_supported_network_services(={}) .merge!( 'command' => 'listSupportedNetworkServices' ) request() end |
#list_swifts(options = {}) ⇒ Object
List Swift.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_swifts.rb', line 9 def list_swifts(={}) .merge!( 'command' => 'listSwifts' ) request() end |
#list_system_vms(options = {}) ⇒ Object
List system virtual machines.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_system_vms.rb', line 9 def list_system_vms(={}) .merge!( 'command' => 'listSystemVms' ) request() end |
#list_tags(options = {}) ⇒ Object
List resource tag(s)
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_tags.rb', line 9 def (={}) .merge!( 'command' => 'listTags' ) request() end |
#list_template_permissions(id, options = {}) ⇒ Object
List template visibility and all accounts that have permissions to view this template.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_template_permissions.rb', line 9 def (id, ={}) .merge!( 'command' => 'listTemplatePermissions', 'id' => id ) request() end |
#list_templates(templatefilter, options = {}) ⇒ Object
List all public, private, and privileged templates.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_templates.rb', line 9 def list_templates(templatefilter, ={}) .merge!( 'command' => 'listTemplates', 'templatefilter' => templatefilter ) request() end |
#list_traffic_monitors(zoneid, options = {}) ⇒ Object
List traffic monitor Hosts.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_traffic_monitors.rb', line 9 def list_traffic_monitors(zoneid, ={}) .merge!( 'command' => 'listTrafficMonitors', 'zoneid' => zoneid ) request() end |
#list_traffic_type_implementors(options = {}) ⇒ Object
Lists implementors of implementor of a network traffic type or implementors of all network traffic types
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_traffic_type_implementors.rb', line 9 def list_traffic_type_implementors(={}) .merge!( 'command' => 'listTrafficTypeImplementors' ) request() end |
#list_traffic_types(physicalnetworkid, options = {}) ⇒ Object
Lists traffic types of a given physical network.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_traffic_types.rb', line 9 def list_traffic_types(physicalnetworkid, ={}) .merge!( 'command' => 'listTrafficTypes', 'physicalnetworkid' => physicalnetworkid ) request() end |
#list_ucs_blades(ucsmanagerid, options = {}) ⇒ Object
List ucs blades
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_ucs_blades.rb', line 9 def list_ucs_blades(ucsmanagerid, ={}) .merge!( 'command' => 'listUcsBlades', 'ucsmanagerid' => ucsmanagerid ) request() end |
#list_ucs_managers(options = {}) ⇒ Object
List ucs manager
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_ucs_managers.rb', line 9 def list_ucs_managers(={}) .merge!( 'command' => 'listUcsManagers' ) request() end |
#list_ucs_profiles(ucsmanagerid, options = {}) ⇒ Object
List profile in ucs manager
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_ucs_profiles.rb', line 9 def list_ucs_profiles(ucsmanagerid, ={}) .merge!( 'command' => 'listUcsProfiles', 'ucsmanagerid' => ucsmanagerid ) request() end |
#list_ucs_templates(ucsmanagerid, options = {}) ⇒ Object
List templates in ucs manager
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_ucs_templates.rb', line 9 def list_ucs_templates(ucsmanagerid, ={}) .merge!( 'command' => 'listUcsTemplates', 'ucsmanagerid' => ucsmanagerid ) request() end |
#list_usage_records(enddate, startdate, options = {}) ⇒ Object
Lists usage records for accounts
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/list_usage_records.rb', line 9 def list_usage_records(enddate, startdate, ={}) .merge!( 'command' => 'listUsageRecords', 'enddate' => enddate, 'startdate' => startdate ) request() end |
#list_usage_types(options = {}) ⇒ Object
List Usage Types
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_usage_types.rb', line 9 def list_usage_types(={}) .merge!( 'command' => 'listUsageTypes' ) request() end |
#list_users(options = {}) ⇒ Object
Lists user accounts
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_users.rb', line 9 def list_users(={}) .merge!( 'command' => 'listUsers' ) request() end |
#list_virtual_machines(options = {}) ⇒ Object
List the virtual machines owned by the account.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_virtual_machines.rb', line 9 def list_virtual_machines(={}) .merge!( 'command' => 'listVirtualMachines' ) request() end |
#list_virtual_router_elements(options = {}) ⇒ Object
Lists all available virtual router elements.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_virtual_router_elements.rb', line 9 def list_virtual_router_elements(={}) .merge!( 'command' => 'listVirtualRouterElements' ) request() end |
#list_vlan_ip_ranges(options = {}) ⇒ Object
Lists all VLAN IP ranges.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_vlan_ip_ranges.rb', line 9 def list_vlan_ip_ranges(={}) .merge!( 'command' => 'listVlanIpRanges' ) request() end |
#list_vm_snapshot(options = {}) ⇒ Object
List virtual machine snapshot by conditions
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_vm_snapshot.rb', line 9 def list_vm_snapshot(={}) .merge!( 'command' => 'listVMSnapshot' ) request() end |
#list_vmware_dcs(zoneid, options = {}) ⇒ Object
Retrieves VMware DC(s) associated with a zone.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_vmware_dcs.rb', line 9 def list_vmware_dcs(zoneid, ={}) .merge!( 'command' => 'listVmwareDcs', 'zoneid' => zoneid ) request() end |
#list_volumes(options = {}) ⇒ Object
Lists all volumes.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_volumes.rb', line 9 def list_volumes(={}) .merge!( 'command' => 'listVolumes' ) request() end |
#list_volumes_on_filer(poolname, options = {}) ⇒ Object
List Volumes
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/list_volumes_on_filer.rb', line 9 def list_volumes_on_filer(poolname, ={}) .merge!( 'command' => 'listVolumesOnFiler', 'poolname' => poolname ) request() end |
#list_vpc_offerings(options = {}) ⇒ Object
Lists VPC offerings
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_vpc_offerings.rb', line 9 def list_vpc_offerings(={}) .merge!( 'command' => 'listVPCOfferings' ) request() end |
#list_vpcs(options = {}) ⇒ Object
Lists VPCs
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_vpcs.rb', line 9 def list_vpcs(={}) .merge!( 'command' => 'listVPCs' ) request() end |
#list_vpn_connections(options = {}) ⇒ Object
Lists site to site vpn connection gateways
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_vpn_connections.rb', line 9 def list_vpn_connections(={}) .merge!( 'command' => 'listVpnConnections' ) request() end |
#list_vpn_customer_gateways(options = {}) ⇒ Object
Lists site to site vpn customer gateways
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_vpn_customer_gateways.rb', line 9 def list_vpn_customer_gateways(={}) .merge!( 'command' => 'listVpnCustomerGateways' ) request() end |
#list_vpn_gateways(options = {}) ⇒ Object
Lists site 2 site vpn gateways
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_vpn_gateways.rb', line 9 def list_vpn_gateways(={}) .merge!( 'command' => 'listVpnGateways' ) request() end |
#list_vpn_users(options = {}) ⇒ Object
Lists vpn users
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_vpn_users.rb', line 9 def list_vpn_users(={}) .merge!( 'command' => 'listVpnUsers' ) request() end |
#list_zones(options = {}) ⇒ Object
Lists zones
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/list_zones.rb', line 9 def list_zones(={}) .merge!( 'command' => 'listZones' ) request() end |
#lock_account(account, domainid, options = {}) ⇒ Object
Locks an account
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/lock_account.rb', line 9 def lock_account(account, domainid, ={}) .merge!( 'command' => 'lockAccount', 'account' => account, 'domainid' => domainid ) request() end |
#lock_user(id, options = {}) ⇒ Object
Locks a user account
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/lock_user.rb', line 9 def lock_user(id, ={}) .merge!( 'command' => 'lockUser', 'id' => id ) request() end |
#login(username, password, domain) ⇒ Object
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 |
# File 'lib/fog/cloudstack/compute.rb', line 516 def login(username,password,domain) response = issue_request({ 'response' => 'json', 'command' => 'login', 'username' => username, 'password' => Digest::MD5.hexdigest(password), 'domain' => domain }) # Parse response cookies to retrive JSESSIONID token = CGI::Cookie.parse(response.headers['Set-Cookie']) sessionid = ['JSESSIONID'].first # Decode the login response response = Fog::JSON.decode(response.body) user = response['loginresponse'] user.merge!('sessionid' => sessionid) @cloudstack_session_id = user['sessionid'] @cloudstack_session_key = user['sessionkey'] user end |
#mark_default_zone_for_account(zoneid, domainid, account, options = {}) ⇒ Object
Marks a default zone for this account
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/cloudstack/requests/compute/mark_default_zone_for_account.rb', line 9 def mark_default_zone_for_account(zoneid, domainid, account, ={}) .merge!( 'command' => 'markDefaultZoneForAccount', 'zoneid' => zoneid, 'domainid' => domainid, 'account' => account ) request() end |
#migrate_system_vm(virtualmachineid, hostid, options = {}) ⇒ Object
Attempts Migration of a system virtual machine to the host specified.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/migrate_system_vm.rb', line 9 def migrate_system_vm(virtualmachineid, hostid, ={}) .merge!( 'command' => 'migrateSystemVm', 'virtualmachineid' => virtualmachineid, 'hostid' => hostid ) request() end |
#migrate_virtual_machine(virtualmachineid, options = {}) ⇒ Object
Attempts Migration of a VM to a different host or Root volume of the vm to a different storage pool
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/migrate_virtual_machine.rb', line 9 def migrate_virtual_machine(virtualmachineid, ={}) .merge!( 'command' => 'migrateVirtualMachine', 'virtualmachineid' => virtualmachineid ) request() end |
#migrate_virtual_machine_with_volume(hostid, virtualmachineid, options = {}) ⇒ Object
Attempts Migration of a VM with its volumes to a different host
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/migrate_virtual_machine_with_volume.rb', line 9 def migrate_virtual_machine_with_volume(hostid, virtualmachineid, ={}) .merge!( 'command' => 'migrateVirtualMachineWithVolume', 'hostid' => hostid, 'virtualmachineid' => virtualmachineid ) request() end |
#migrate_volume(volumeid, storageid, options = {}) ⇒ Object
Migrate volume
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/migrate_volume.rb', line 9 def migrate_volume(volumeid, storageid, ={}) .merge!( 'command' => 'migrateVolume', 'volumeid' => volumeid, 'storageid' => storageid ) request() end |
#modify_pool(algorithm, poolname, options = {}) ⇒ Object
Modify pool
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/modify_pool.rb', line 9 def modify_pool(algorithm, poolname, ={}) .merge!( 'command' => 'modifyPool', 'algorithm' => algorithm, 'poolname' => poolname ) request() end |
#prepare_host_for_maintenance(id, options = {}) ⇒ Object
Prepares a host for maintenance.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/prepare_host_for_maintenance.rb', line 9 def prepare_host_for_maintenance(id, ={}) .merge!( 'command' => 'prepareHostForMaintenance', 'id' => id ) request() end |
#prepare_template(templateid, zoneid, options = {}) ⇒ Object
load template into primary storage
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/prepare_template.rb', line 9 def prepare_template(templateid, zoneid, ={}) .merge!( 'command' => 'prepareTemplate', 'templateid' => templateid, 'zoneid' => zoneid ) request() end |
#query_async_job_result(jobid, options = {}) ⇒ Object
Retrieves the current status of asynchronous job.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/query_async_job_result.rb', line 9 def query_async_job_result(jobid, ={}) .merge!( 'command' => 'queryAsyncJobResult', 'jobid' => jobid ) request() end |
#reboot_router(id, options = {}) ⇒ Object
Starts a router.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/reboot_router.rb', line 9 def reboot_router(id, ={}) .merge!( 'command' => 'rebootRouter', 'id' => id ) request() end |
#reboot_system_vm(id, options = {}) ⇒ Object
Reboots a system VM.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/reboot_system_vm.rb', line 9 def reboot_system_vm(id, ={}) .merge!( 'command' => 'rebootSystemVm', 'id' => id ) request() end |
#reboot_virtual_machine(id, options = {}) ⇒ Object
Reboots a virtual machine.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/reboot_virtual_machine.rb', line 9 def reboot_virtual_machine(id, ={}) .merge!( 'command' => 'rebootVirtualMachine', 'id' => id ) request() end |
#reconnect_host(id, options = {}) ⇒ Object
Reconnects a host.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/reconnect_host.rb', line 9 def reconnect_host(id, ={}) .merge!( 'command' => 'reconnectHost', 'id' => id ) request() end |
#recover_virtual_machine(id, options = {}) ⇒ Object
Recovers a virtual machine.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/recover_virtual_machine.rb', line 9 def recover_virtual_machine(id, ={}) .merge!( 'command' => 'recoverVirtualMachine', 'id' => id ) request() end |
#refresh_ucs_blades(ucsmanagerid, options = {}) ⇒ Object
refresh ucs blades to sync with UCS manager
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/refresh_ucs_blades.rb', line 9 def refresh_ucs_blades(ucsmanagerid, ={}) .merge!( 'command' => 'refreshUcsBlades', 'ucsmanagerid' => ucsmanagerid ) request() end |
#register_iso(url, zoneid, displaytext, name, options = {}) ⇒ Object
Registers an existing ISO into the CloudStack Cloud.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/register_iso.rb', line 9 def register_iso(url, zoneid, displaytext, name, ={}) .merge!( 'command' => 'registerIso', 'url' => url, 'zoneid' => zoneid, 'displaytext' => displaytext, 'name' => name ) request() end |
#register_ssh_key_pair(publickey, name, options = {}) ⇒ Object
Register a public key in a keypair under a certain name
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/register_ssh_key_pair.rb', line 9 def register_ssh_key_pair(publickey, name, ={}) .merge!( 'command' => 'registerSSHKeyPair', 'publickey' => publickey, 'name' => name ) request() end |
#register_template(ostypeid, hypervisor, name, format, zoneid, displaytext, url, options = {}) ⇒ Object
Registers an existing template into the CloudStack cloud.
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/fog/cloudstack/requests/compute/register_template.rb', line 9 def register_template(ostypeid, hypervisor, name, format, zoneid, displaytext, url, ={}) .merge!( 'command' => 'registerTemplate', 'ostypeid' => ostypeid, 'hypervisor' => hypervisor, 'name' => name, 'format' => format, 'zoneid' => zoneid, 'displaytext' => displaytext, 'url' => url ) request() end |
#register_user_keys(id, options = {}) ⇒ Object
This command allows a user to register for the developer API, returning a secret key and an API key. This request is made through the integration API port, so it is a privileged command and must be made on behalf of a user. It is up to the implementer just how the username and password are entered, and then how that translates to an integration API request. Both secret key and API key should be returned to the user
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/register_user_keys.rb', line 9 def register_user_keys(id, ={}) .merge!( 'command' => 'registerUserKeys', 'id' => id ) request() end |
#release_dedicated_cluster(clusterid, options = {}) ⇒ Object
Release the dedication for cluster
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/release_dedicated_cluster.rb', line 9 def release_dedicated_cluster(clusterid, ={}) .merge!( 'command' => 'releaseDedicatedCluster', 'clusterid' => clusterid ) request() end |
#release_dedicated_guest_vlan_range(id, options = {}) ⇒ Object
Releases a dedicated guest vlan range to the system
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/release_dedicated_guest_vlan_range.rb', line 9 def release_dedicated_guest_vlan_range(id, ={}) .merge!( 'command' => 'releaseDedicatedGuestVlanRange', 'id' => id ) request() end |
#release_dedicated_host(hostid, options = {}) ⇒ Object
Release the dedication for host
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/release_dedicated_host.rb', line 9 def release_dedicated_host(hostid, ={}) .merge!( 'command' => 'releaseDedicatedHost', 'hostid' => hostid ) request() end |
#release_dedicated_pod(podid, options = {}) ⇒ Object
Release the dedication for the pod
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/release_dedicated_pod.rb', line 9 def release_dedicated_pod(podid, ={}) .merge!( 'command' => 'releaseDedicatedPod', 'podid' => podid ) request() end |
#release_dedicated_zone(zoneid, options = {}) ⇒ Object
Release dedication of zone
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/release_dedicated_zone.rb', line 9 def release_dedicated_zone(zoneid, ={}) .merge!( 'command' => 'releaseDedicatedZone', 'zoneid' => zoneid ) request() end |
#release_host_reservation(id, options = {}) ⇒ Object
Releases host reservation.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/release_host_reservation.rb', line 9 def release_host_reservation(id, ={}) .merge!( 'command' => 'releaseHostReservation', 'id' => id ) request() end |
#release_public_ip_range(id, options = {}) ⇒ Object
Releases a Public IP range back to the system pool
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/release_public_ip_range.rb', line 9 def release_public_ip_range(id, ={}) .merge!( 'command' => 'releasePublicIpRange', 'id' => id ) request() end |
#reload ⇒ Object
512 513 514 |
# File 'lib/fog/cloudstack/compute.rb', line 512 def reload @connection.reset end |
#remove_from_global_load_balancer_rule(id, loadbalancerrulelist, options = {}) ⇒ Object
Removes a load balancer rule association with global load balancer rule
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/remove_from_global_load_balancer_rule.rb', line 9 def remove_from_global_load_balancer_rule(id, loadbalancerrulelist, ={}) .merge!( 'command' => 'removeFromGlobalLoadBalancerRule', 'id' => id, 'loadbalancerrulelist' => loadbalancerrulelist ) request() end |
#remove_from_load_balancer_rule(id, virtualmachineids, options = {}) ⇒ Object
Removes a virtual machine or a list of virtual machines from a load balancer rule.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/remove_from_load_balancer_rule.rb', line 9 def remove_from_load_balancer_rule(id, virtualmachineids, ={}) .merge!( 'command' => 'removeFromLoadBalancerRule', 'id' => id, 'virtualmachineids' => virtualmachineids ) request() end |
#remove_ip_from_nic(id, options = {}) ⇒ Object
Assigns secondary IP to NIC.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/remove_ip_from_nic.rb', line 9 def remove_ip_from_nic(id, ={}) .merge!( 'command' => 'removeIpFromNic', 'id' => id ) request() end |
#remove_nic_from_virtual_machine(virtualmachineid, nicid, options = {}) ⇒ Object
Removes VM from specified network by deleting a NIC
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/remove_nic_from_virtual_machine.rb', line 9 def remove_nic_from_virtual_machine(virtualmachineid, nicid, ={}) .merge!( 'command' => 'removeNicFromVirtualMachine', 'virtualmachineid' => virtualmachineid, 'nicid' => nicid ) request() end |
#remove_region(id, options = {}) ⇒ Object
Removes specified region
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/remove_region.rb', line 9 def remove_region(id, ={}) .merge!( 'command' => 'removeRegion', 'id' => id ) request() end |
#remove_resource_detail(resourcetype, resourceid, options = {}) ⇒ Object
Removes detail for the Resource.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/remove_resource_detail.rb', line 9 def remove_resource_detail(resourcetype, resourceid, ={}) .merge!( 'command' => 'removeResourceDetail', 'resourcetype' => resourcetype, 'resourceid' => resourceid ) request() end |
#remove_vmware_dc(zoneid, options = {}) ⇒ Object
Remove a VMware datacenter from a zone.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/remove_vmware_dc.rb', line 9 def remove_vmware_dc(zoneid, ={}) .merge!( 'command' => 'removeVmwareDc', 'zoneid' => zoneid ) request() end |
#remove_vpn_user(username, options = {}) ⇒ Object
Removes vpn user
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/remove_vpn_user.rb', line 9 def remove_vpn_user(username, ={}) .merge!( 'command' => 'removeVpnUser', 'username' => username ) request() end |
#replace_network_acl_list(aclid, options = {}) ⇒ Object
Replaces ACL associated with a Network or private gateway
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/replace_network_acl_list.rb', line 9 def replace_network_acl_list(aclid, ={}) .merge!( 'command' => 'replaceNetworkACLList', 'aclid' => aclid ) request() end |
#request(params) ⇒ Object
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 |
# File 'lib/fog/cloudstack/compute.rb', line 541 def request(params) params.reject!{|k,v| v.nil?} params.merge!('response' => 'json') if has_session? params, headers = (params) elsif has_keys? params, headers = (params) end response = issue_request(params,headers) response = Fog::JSON.decode(response.body) unless response.body.empty? response end |
#reset_api_limit(options = {}) ⇒ Object
Reset api count
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/reset_api_limit.rb', line 9 def reset_api_limit(={}) .merge!( 'command' => 'resetApiLimit' ) request() end |
#reset_password_for_virtual_machine(id, options = {}) ⇒ Object
Resets the password for virtual machine. The virtual machine must be in a “Stopped” state and the template must already support this feature for this command to take effect. [async]
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/reset_password_for_virtual_machine.rb', line 9 def reset_password_for_virtual_machine(id, ={}) .merge!( 'command' => 'resetPasswordForVirtualMachine', 'id' => id ) request() end |
#reset_ssh_key_for_virtual_machine(id, keypair, options = {}) ⇒ Object
Resets the SSH Key for virtual machine. The virtual machine must be in a “Stopped” state. [async]
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/reset_ssh_key_for_virtual_machine.rb', line 9 def reset_ssh_key_for_virtual_machine(id, keypair, ={}) .merge!( 'command' => 'resetSSHKeyForVirtualMachine', 'id' => id, 'keypair' => keypair ) request() end |
#reset_vpn_connection(id, options = {}) ⇒ Object
Reset site to site vpn connection
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/reset_vpn_connection.rb', line 9 def reset_vpn_connection(id, ={}) .merge!( 'command' => 'resetVpnConnection', 'id' => id ) request() end |
#resize_volume(options = {}) ⇒ Object
Resizes a volume
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/resize_volume.rb', line 9 def resize_volume(={}) .merge!( 'command' => 'resizeVolume' ) request() end |
#restart_network(id, options = {}) ⇒ Object
Restarts the network; includes 1) restarting network elements - virtual routers, dhcp servers 2) reapplying all public ips 3) reapplying loadBalancing/portForwarding rules
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/restart_network.rb', line 9 def restart_network(id, ={}) .merge!( 'command' => 'restartNetwork', 'id' => id ) request() end |
#restart_vpc(id, options = {}) ⇒ Object
Restarts a VPC
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/restart_vpc.rb', line 9 def restart_vpc(id, ={}) .merge!( 'command' => 'restartVPC', 'id' => id ) request() end |
#restore_virtual_machine(virtualmachineid, options = {}) ⇒ Object
Restore a VM to original template/ISO or new template/ISO
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/restore_virtual_machine.rb', line 9 def restore_virtual_machine(virtualmachineid, ={}) .merge!( 'command' => 'restoreVirtualMachine', 'virtualmachineid' => virtualmachineid ) request() end |
#revert_to_vm_snapshot(vmsnapshotid, options = {}) ⇒ Object
Revert VM from a vmsnapshot.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/revert_to_vm_snapshot.rb', line 9 def revert_to_vm_snapshot(vmsnapshotid, ={}) .merge!( 'command' => 'revertToVMSnapshot', 'vmsnapshotid' => vmsnapshotid ) request() end |
#revoke_security_group_egress(id, options = {}) ⇒ Object
Deletes a particular egress rule from this security group
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/revoke_security_group_egress.rb', line 9 def revoke_security_group_egress(id, ={}) .merge!( 'command' => 'revokeSecurityGroupEgress', 'id' => id ) request() end |
#revoke_security_group_ingress(id, options = {}) ⇒ Object
Deletes a particular ingress rule from this security group
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/revoke_security_group_ingress.rb', line 9 def revoke_security_group_ingress(id, ={}) .merge!( 'command' => 'revokeSecurityGroupIngress', 'id' => id ) request() end |
#scale_system_vm(id, serviceofferingid, options = {}) ⇒ Object
Scale the service offering for a system vm (console proxy or secondary storage). The system vm must be in a “Stopped” state for this command to take effect.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/scale_system_vm.rb', line 9 def scale_system_vm(id, serviceofferingid, ={}) .merge!( 'command' => 'scaleSystemVm', 'id' => id, 'serviceofferingid' => serviceofferingid ) request() end |
#scale_virtual_machine(id, serviceofferingid, options = {}) ⇒ Object
Scales the virtual machine to a new service offering.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/scale_virtual_machine.rb', line 9 def scale_virtual_machine(id, serviceofferingid, ={}) .merge!( 'command' => 'scaleVirtualMachine', 'id' => id, 'serviceofferingid' => serviceofferingid ) request() end |
#start_internal_load_balancer_vm(id, options = {}) ⇒ Object
Starts an existing internal lb vm.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/start_internal_load_balancer_vm.rb', line 9 def start_internal_load_balancer_vm(id, ={}) .merge!( 'command' => 'startInternalLoadBalancerVM', 'id' => id ) request() end |
#start_router(id, options = {}) ⇒ Object
Starts a router.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/start_router.rb', line 9 def start_router(id, ={}) .merge!( 'command' => 'startRouter', 'id' => id ) request() end |
#start_system_vm(id, options = {}) ⇒ Object
Starts a system virtual machine.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/start_system_vm.rb', line 9 def start_system_vm(id, ={}) .merge!( 'command' => 'startSystemVm', 'id' => id ) request() end |
#start_virtual_machine(id, options = {}) ⇒ Object
Starts a virtual machine.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/start_virtual_machine.rb', line 9 def start_virtual_machine(id, ={}) .merge!( 'command' => 'startVirtualMachine', 'id' => id ) request() end |
#stop_internal_load_balancer_vm(id, options = {}) ⇒ Object
Stops an Internal LB vm.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/stop_internal_load_balancer_vm.rb', line 9 def stop_internal_load_balancer_vm(id, ={}) .merge!( 'command' => 'stopInternalLoadBalancerVM', 'id' => id ) request() end |
#stop_router(id, options = {}) ⇒ Object
Stops a router.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/stop_router.rb', line 9 def stop_router(id, ={}) .merge!( 'command' => 'stopRouter', 'id' => id ) request() end |
#stop_system_vm(id, options = {}) ⇒ Object
Stops a system VM.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/stop_system_vm.rb', line 9 def stop_system_vm(id, ={}) .merge!( 'command' => 'stopSystemVm', 'id' => id ) request() end |
#stop_virtual_machine(id, options = {}) ⇒ Object
Stops a virtual machine.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/stop_virtual_machine.rb', line 9 def stop_virtual_machine(id, ={}) .merge!( 'command' => 'stopVirtualMachine', 'id' => id ) request() end |
#suspend_project(id, options = {}) ⇒ Object
Suspends a project
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/suspend_project.rb', line 9 def suspend_project(id, ={}) .merge!( 'command' => 'suspendProject', 'id' => id ) request() end |
#update_account(newname, options = {}) ⇒ Object
Updates account information for the authenticated user
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_account.rb', line 9 def update_account(newname, ={}) .merge!( 'command' => 'updateAccount', 'newname' => newname ) request() end |
#update_auto_scale_policy(id, options = {}) ⇒ Object
Updates an existing autoscale policy.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_auto_scale_policy.rb', line 9 def update_auto_scale_policy(id, ={}) .merge!( 'command' => 'updateAutoScalePolicy', 'id' => id ) request() end |
#update_auto_scale_vm_group(id, options = {}) ⇒ Object
Updates an existing autoscale vm group.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_auto_scale_vm_group.rb', line 9 def update_auto_scale_vm_group(id, ={}) .merge!( 'command' => 'updateAutoScaleVmGroup', 'id' => id ) request() end |
#update_auto_scale_vm_profile(id, options = {}) ⇒ Object
Updates an existing autoscale vm profile.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_auto_scale_vm_profile.rb', line 9 def update_auto_scale_vm_profile(id, ={}) .merge!( 'command' => 'updateAutoScaleVmProfile', 'id' => id ) request() end |
#update_cluster(id, options = {}) ⇒ Object
Updates an existing cluster
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_cluster.rb', line 9 def update_cluster(id, ={}) .merge!( 'command' => 'updateCluster', 'id' => id ) request() end |
#update_configuration(name, options = {}) ⇒ Object
Updates a configuration.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_configuration.rb', line 9 def update_configuration(name, ={}) .merge!( 'command' => 'updateConfiguration', 'name' => name ) request() end |
#update_default_nic_for_virtual_machine(nicid, virtualmachineid, options = {}) ⇒ Object
Changes the default NIC on a VM
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/update_default_nic_for_virtual_machine.rb', line 9 def update_default_nic_for_virtual_machine(nicid, virtualmachineid, ={}) .merge!( 'command' => 'updateDefaultNicForVirtualMachine', 'nicid' => nicid, 'virtualmachineid' => virtualmachineid ) request() end |
#update_disk_offering(id, options = {}) ⇒ Object
Updates a disk offering.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_disk_offering.rb', line 9 def update_disk_offering(id, ={}) .merge!( 'command' => 'updateDiskOffering', 'id' => id ) request() end |
#update_domain(id, options = {}) ⇒ Object
Updates a domain with a new name
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_domain.rb', line 9 def update_domain(id, ={}) .merge!( 'command' => 'updateDomain', 'id' => id ) request() end |
#update_global_load_balancer_rule(id, options = {}) ⇒ Object
update global load balancer rules.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_global_load_balancer_rule.rb', line 9 def update_global_load_balancer_rule(id, ={}) .merge!( 'command' => 'updateGlobalLoadBalancerRule', 'id' => id ) request() end |
#update_host(id, options = {}) ⇒ Object
Updates a host.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_host.rb', line 9 def update_host(id, ={}) .merge!( 'command' => 'updateHost', 'id' => id ) request() end |
#update_host_password(password, username, options = {}) ⇒ Object
Update password of a host/pool on management server.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/update_host_password.rb', line 9 def update_host_password(password, username, ={}) .merge!( 'command' => 'updateHostPassword', 'password' => password, 'username' => username ) request() end |
#update_hypervisor_capabilities(options = {}) ⇒ Object
Updates a hypervisor capabilities.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/update_hypervisor_capabilities.rb', line 9 def update_hypervisor_capabilities(={}) .merge!( 'command' => 'updateHypervisorCapabilities' ) request() end |
#update_instance_group(id, options = {}) ⇒ Object
Updates a vm group
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_instance_group.rb', line 9 def update_instance_group(id, ={}) .merge!( 'command' => 'updateInstanceGroup', 'id' => id ) request() end |
#update_iso(id, options = {}) ⇒ Object
Updates an ISO file.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_iso.rb', line 9 def update_iso(id, ={}) .merge!( 'command' => 'updateIso', 'id' => id ) request() end |
#update_iso_permissions(id, options = {}) ⇒ Object
Updates iso permissions
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_iso_permissions.rb', line 9 def (id, ={}) .merge!( 'command' => 'updateIsoPermissions', 'id' => id ) request() end |
#update_load_balancer_rule(id, options = {}) ⇒ Object
Updates load balancer
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_load_balancer_rule.rb', line 9 def update_load_balancer_rule(id, ={}) .merge!( 'command' => 'updateLoadBalancerRule', 'id' => id ) request() end |
#update_network(id, options = {}) ⇒ Object
Updates a network
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_network.rb', line 9 def update_network(id, ={}) .merge!( 'command' => 'updateNetwork', 'id' => id ) request() end |
#update_network_acl_item(id, options = {}) ⇒ Object
Updates ACL Item with specified Id
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_network_acl_item.rb', line 9 def update_network_acl_item(id, ={}) .merge!( 'command' => 'updateNetworkACLItem', 'id' => id ) request() end |
#update_network_offering(options = {}) ⇒ Object
Updates a network offering.
9 10 11 12 13 14 |
# File 'lib/fog/cloudstack/requests/compute/update_network_offering.rb', line 9 def update_network_offering(={}) .merge!( 'command' => 'updateNetworkOffering' ) request() end |
#update_network_service_provider(id, options = {}) ⇒ Object
Updates a network serviceProvider of a physical network
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_network_service_provider.rb', line 9 def update_network_service_provider(id, ={}) .merge!( 'command' => 'updateNetworkServiceProvider', 'id' => id ) request() end |
#update_physical_network(id, options = {}) ⇒ Object
Updates a physical network
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_physical_network.rb', line 9 def update_physical_network(id, ={}) .merge!( 'command' => 'updatePhysicalNetwork', 'id' => id ) request() end |
#update_pod(id, options = {}) ⇒ Object
Updates a Pod.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_pod.rb', line 9 def update_pod(id, ={}) .merge!( 'command' => 'updatePod', 'id' => id ) request() end |
#update_port_forwarding_rule(publicport, privateport, protocol, ipaddressid, options = {}) ⇒ Object
Updates a port forwarding rule. Only the private port and the virtual machine can be updated.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/update_port_forwarding_rule.rb', line 9 def update_port_forwarding_rule(publicport, privateport, protocol, ipaddressid, ={}) .merge!( 'command' => 'updatePortForwardingRule', 'publicport' => publicport, 'privateport' => privateport, 'protocol' => protocol, 'ipaddressid' => ipaddressid ) request() end |
#update_project(id, options = {}) ⇒ Object
Updates a project
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_project.rb', line 9 def update_project(id, ={}) .merge!( 'command' => 'updateProject', 'id' => id ) request() end |
#update_project_invitation(projectid, options = {}) ⇒ Object
Accepts or declines project invitation
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_project_invitation.rb', line 9 def update_project_invitation(projectid, ={}) .merge!( 'command' => 'updateProjectInvitation', 'projectid' => projectid ) request() end |
#update_region(id, options = {}) ⇒ Object
Updates a region
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_region.rb', line 9 def update_region(id, ={}) .merge!( 'command' => 'updateRegion', 'id' => id ) request() end |
#update_resource_count(domainid, options = {}) ⇒ Object
Recalculate and update resource count for an account or domain.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_resource_count.rb', line 9 def update_resource_count(domainid, ={}) .merge!( 'command' => 'updateResourceCount', 'domainid' => domainid ) request() end |
#update_resource_limit(resourcetype, options = {}) ⇒ Object
Updates resource limits for an account or domain.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_resource_limit.rb', line 9 def update_resource_limit(resourcetype, ={}) .merge!( 'command' => 'updateResourceLimit', 'resourcetype' => resourcetype ) request() end |
#update_service_offering(id, options = {}) ⇒ Object
Updates a service offering.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_service_offering.rb', line 9 def update_service_offering(id, ={}) .merge!( 'command' => 'updateServiceOffering', 'id' => id ) request() end |
#update_storage_network_ip_range(id, options = {}) ⇒ Object
Update a Storage network IP range, only allowed when no IPs in this range have been allocated.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_storage_network_ip_range.rb', line 9 def update_storage_network_ip_range(id, ={}) .merge!( 'command' => 'updateStorageNetworkIpRange', 'id' => id ) request() end |
#update_storage_pool(id, options = {}) ⇒ Object
Updates a storage pool.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_storage_pool.rb', line 9 def update_storage_pool(id, ={}) .merge!( 'command' => 'updateStoragePool', 'id' => id ) request() end |
#update_template(id, options = {}) ⇒ Object
Updates attributes of a template.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_template.rb', line 9 def update_template(id, ={}) .merge!( 'command' => 'updateTemplate', 'id' => id ) request() end |
#update_template_permissions(id, options = {}) ⇒ Object
Updates a template visibility permissions. A public template is visible to all accounts within the same domain. A private template is visible only to the owner of the template. A priviledged template is a private template with account permissions added. Only accounts specified under the template permissions are visible to them.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_template_permissions.rb', line 9 def (id, ={}) .merge!( 'command' => 'updateTemplatePermissions', 'id' => id ) request() end |
#update_traffic_type(id, options = {}) ⇒ Object
Updates traffic type of a physical network
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_traffic_type.rb', line 9 def update_traffic_type(id, ={}) .merge!( 'command' => 'updateTrafficType', 'id' => id ) request() end |
#update_user(id, options = {}) ⇒ Object
Updates a user account
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_user.rb', line 9 def update_user(id, ={}) .merge!( 'command' => 'updateUser', 'id' => id ) request() end |
#update_virtual_machine(id, options = {}) ⇒ Object
Updates properties of a virtual machine. The VM has to be stopped and restarted for the new properties to take effect. UpdateVirtualMachine does not first check whether the VM is stopped. Therefore, stop the VM manually before issuing this call.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_virtual_machine.rb', line 9 def update_virtual_machine(id, ={}) .merge!( 'command' => 'updateVirtualMachine', 'id' => id ) request() end |
#update_vm_affinity_group(id, options = {}) ⇒ Object
Updates the affinity/anti-affinity group associations of a virtual machine. The VM has to be stopped and restarted for the new properties to take effect.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_vm_affinity_group.rb', line 9 def update_vm_affinity_group(id, ={}) .merge!( 'command' => 'updateVMAffinityGroup', 'id' => id ) request() end |
#update_volume(id, path, options = {}) ⇒ Object
Updates the volume.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/update_volume.rb', line 9 def update_volume(id, path, ={}) .merge!( 'command' => 'updateVolume', 'id' => id, 'path' => path ) request() end |
#update_vpc(id, name, options = {}) ⇒ Object
Updates a VPC
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/update_vpc.rb', line 9 def update_vpc(id, name, ={}) .merge!( 'command' => 'updateVPC', 'id' => id, 'name' => name ) request() end |
#update_vpcoffering(id, options = {}) ⇒ Object
Updates VPC offering
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_vpcoffering.rb', line 9 def update_vpcoffering(id, ={}) .merge!( 'command' => 'updateVPCOffering', 'id' => id ) request() end |
#update_vpn_customer_gateway(id, esppolicy, ikepolicy, cidrlist, gateway, ipsecpsk, options = {}) ⇒ Object
Update site to site vpn customer gateway
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/fog/cloudstack/requests/compute/update_vpn_customer_gateway.rb', line 9 def update_vpn_customer_gateway(id, esppolicy, ikepolicy, cidrlist, gateway, ipsecpsk, ={}) .merge!( 'command' => 'updateVpnCustomerGateway', 'id' => id, 'esppolicy' => esppolicy, 'ikepolicy' => ikepolicy, 'cidrlist' => cidrlist, 'gateway' => gateway, 'ipsecpsk' => ipsecpsk ) request() end |
#update_zone(id, options = {}) ⇒ Object
Updates a Zone.
9 10 11 12 13 14 15 |
# File 'lib/fog/cloudstack/requests/compute/update_zone.rb', line 9 def update_zone(id, ={}) .merge!( 'command' => 'updateZone', 'id' => id ) request() end |
#upload_custom_certificate(domainsuffix, certificate, options = {}) ⇒ Object
Uploads a custom certificate for the console proxy VMs to use for SSL. Can be used to upload a single certificate signed by a known CA. Can also be used, through multiple calls, to upload a chain of certificates from CA to the custom certificate itself.
9 10 11 12 13 14 15 16 |
# File 'lib/fog/cloudstack/requests/compute/upload_custom_certificate.rb', line 9 def upload_custom_certificate(domainsuffix, certificate, ={}) .merge!( 'command' => 'uploadCustomCertificate', 'domainsuffix' => domainsuffix, 'certificate' => certificate ) request() end |
#upload_volume(zoneid, name, url, format, options = {}) ⇒ Object
Uploads a data disk.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fog/cloudstack/requests/compute/upload_volume.rb', line 9 def upload_volume(zoneid, name, url, format, ={}) .merge!( 'command' => 'uploadVolume', 'zoneid' => zoneid, 'name' => name, 'url' => url, 'format' => format ) request() end |