def create_or_update_with_http_info(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers:nil)
      create_or_update_async(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers:custom_headers).value!
    end
def create_or_update_with_http_info(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers:nil)
      create_or_update_async(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers:custom_headers).value!
    end
def create_or_update_with_http_info ( resource_group_name , server_name , job_agent_name , target_group_name , parameters , custom_headers : nil ) create_or_update_async ( resource_group_name , server_name , job_agent_name , target_group_name , parameters , custom_headers :custom_headers ) . value! end
Creates or updates a target group.

 @param resource_group_name [String] The name of the resource group that
 contains the resource. You can obtain this value from the Azure Resource
 Manager API or the portal.
 @param server_name [String] The name of the server.
 @param job_agent_name [String] The name of the job agent.
 @param target_group_name [String] The name of the target group.
 @param parameters [JobTargetGroup] The requested state of the target group.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.
Creates or updates a target group .