Class: Chef::Knife::Cloud::OraclecloudOrchestrationDelete
Instance Method Summary
collapse
included
#check_for_missing_config_values!, #create_service_instance, #verify_ssl?
Instance Method Details
#execute_command ⇒ Object
45
46
47
48
49
|
# File 'lib/chef/knife/oraclecloud_orchestration_delete.rb', line 45
def execute_command
@name_args.each do |orchestration_id|
service.delete_orchestration(orchestration_id)
end
end
|
#validate_params! ⇒ Object
36
37
38
39
40
41
42
43
|
# File 'lib/chef/knife/oraclecloud_orchestration_delete.rb', line 36
def validate_params!
if @name_args.empty?
ui.error('You must supply at least one Orchestration ID to delete.')
exit 1
end
super
end
|