lib/azure/armrest/template_deployment_service.rb
# Delete a deployment and all associated resources that were generated by the
# deployment.
#
# This is a synchronous call. It waits until all deletions complete
Delete a deployment and all associated resources that were generated by the
deployment.

This is a synchronous call. It waits until all deletions complete
Delete a deployment and all associated resources that were generated by the deployment . This is a synchronous call . It waits until all deletions complete
def delete_associated_resources(deploy_name, resource_group = configuration.resource_group)
        operations = list_deployment_operations(deploy_name, resource_group)
        resource_ids = operations.collect do |op|
          if op.properties.provisioning_operation =~ /^create$/i
            op.properties.target_resource.id
          end
        end.compact
        resource_ids << build_id_string(resource_group, deploy_name)
        delete_resources(resource_ids, resource_ids.size)
      end
def delete_associated_resources ( deploy_name , resource_group = configuration . resource_group ) operations = list_deployment_operations ( deploy_name , resource_group ) resource_ids = operations . collect do | op | if op . properties . provisioning_operation =~ / ^create$ /i op . properties . target_resource . id end end . compact resource_ids << build_id_string ( resource_group , deploy_name ) delete_resources ( resource_ids , resource_ids . size ) end
Delete a deployment and all associated resources that were generated by the
deployment.
Delete a deployment and all associated resources that were generated by the deployment .
deploy_name
<not_specific>
resource_group
<not_specific>
configuration
<not_specific>